Тёмный

LaTeX in a Minute: Line Spacing 

Maths Partner
Подписаться 17 тыс.
Просмотров 47 тыс.
50% 1

\usepackage{setspace}
\onehalfspacing
\doublespacing
\singlespacing
\spacing{3}

Опубликовано:

 

14 окт 2024

Поделиться:

Ссылка:

Скачать:

Готовим ссылку...

Добавить в:

Мой плейлист
Посмотреть позже
Комментарии : 10   
@sirknightartorias68
@sirknightartorias68 3 месяца назад
How to change the line spacing between only two lines?
@alexandrufilipescu1301
@alexandrufilipescu1301 Год назад
Hello there! I noticed that if I use for example: \usepackage{setspace} \spacing{1.5} I get 55 pages for my thesis, but if I use: \usepackage[onehalfspacing]{setspace} I get 50 pages. I literally want a space of 1.5 pt and I don't understand which one is the true 1.5pt. From where does this strange phenomenon come from? Thank you for your quick tutorial!!
@MathPartner
@MathPartner Год назад
Interesting! I've done a bit of reading and it is actually more complicated than the basic "number of lines" definition which I naively gave in the video... It seems that the scaling factors used in the video are a ratio of the baselineskip (which measures the length from the bottom of one line to the bottom of the next line) compared to the font size. If you change the font size, the baselineskip also changes to accommodate this, so that the ratio will always be around 1.2: 10pt font: baselineskip=12pt 11pt font: baselineskip=13.6pt 12pt font: baselineskip=14.5pt So you are actually redefining this scaling ratio which varies slightly depending on your font size e.g., 10pt font: \spacing{1.25}=\onehalfspacing 11pt font: \spacing{1.213}=\onehalfspacing 12pt font: \spacing{1.241}=\onehalfspacing If you wanted "true" 1.5 scaling, you should probably change the baselineskip in your preamble to be the same as your font size by doing something like "\fontsize{}{}" to make it easy. HOWEVER, I would not worry too much about this. Just stick with \onehalfspacing and this should be good enough for most purposes. Source: tex.stackexchange.com/a/30114
@alexandrufilipescu1301
@alexandrufilipescu1301 Год назад
@@MathPartner Thank you for your in-depth explanation, I have also been browsing around and found several forums explaining the topic, best of luck!
@edwardliu5133
@edwardliu5133 5 месяцев назад
Clear and concise
@thuongtrinhvan2001
@thuongtrinhvan2001 8 месяцев назад
Thank you so much
@hindtabit-hr9rs
@hindtabit-hr9rs 4 месяца назад
Thank you
@jakobbensch6620
@jakobbensch6620 2 месяца назад
👍
@mohamedsahli9935
@mohamedsahli9935 5 месяцев назад
ty
@chandaccn6248
@chandaccn6248 Год назад
Thank you
Далее
LaTeX in a Minute: Changing Page Margins
0:52
Просмотров 22 тыс.
Flipping Robot vs Heavier And Heavier Objects
00:34
Просмотров 36 млн
How to Make References/Citations in Overleaf
8:24
Просмотров 81 тыс.
Labelling and Referencing Equations in LaTeX
8:23
Просмотров 30 тыс.
Using Tikz and PgfPlots (1 of 8: Basic Drawing)
10:45
How to Change Latex Font Sizes
8:09
Просмотров 4,9 тыс.
Learn JSON in 10 Minutes
12:00
Просмотров 3,2 млн
LaTeX for Students - A Simple Quickstart Guide
13:51
Просмотров 159 тыс.