LaTeX forum ⇒ Fonts & Character Setswhat does mean \fontsize{}{}

Information and discussion about fonts and character sets (e.g. how to use language specific characters)
Posts: 55
Joined: Sat Oct 27, 2018 10:38 pm

what does mean \fontsize{}{}

Postby yaozhao » Fri Nov 08, 2019 12:40 am

Code: [Select all] [Expand/Collapse] [Download] ({untitled.tex})
  1. \pretitle{\vspace{-30pt} \begin{flushleft} \HorRule
  2. \fontsize{45}{45} \usefont{OT1}{phv}{b}{n} \color{DarkRed} \selectfont
  3. }
  4. \title{Ending Mass Incarceration: \\
  5. An Issue in 2020 Election} % Title of your article goes here
  6. \posttitle{\par\end{flushleft}\vskip 0.5em}

I downloaded a template. But I want to make sure that Ending Mass Incarceration is within one line. How to adjust? What does mean \fontsize{}{} ?

Many thanks in advance!

User avatar
Stefan Kottwitz
Site Admin
Posts: 9597
Joined: Mon Mar 10, 2008 9:44 pm

Postby Stefan Kottwitz » Fri Nov 08, 2019 3:30 am

It is \fontsize{font size}{line height}. The first argument is for the height of the text in points, the second line is the height of the line in points. The latter is usually higher so you have some space between text of consecutive lines.

Stefan admin

Return to “Fonts & Character Sets”

Who is online

Users browsing this forum: No registered users and 1 guest