Fonts & Character Setswhat does mean \fontsize{}{}

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

what does mean \fontsize{}{}

Post by yaozhao »

Code: Select all

\pretitle{\vspace{-30pt} \begin{flushleft} \HorRule 
				\fontsize{45}{45} \usefont{OT1}{phv}{b}{n} \color{DarkRed} \selectfont 
				}
\title{Ending Mass Incarceration: \\
An Issue in 2020 Election}					% Title of your article goes here
\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!

Recommended reading 2024:

LaTeXguide.org • LaTeX-Cookbook.net • TikZ.org
LaTeX Beginner's Guide LaTeX Cookbook LaTeX TikZ graphics TikZによるLaTeXグラフィックス
User avatar
Stefan Kottwitz
Site Admin
Posts: 10290
Joined: Mon Mar 10, 2008 9:44 pm

what does mean \fontsize{}{}

Post by Stefan Kottwitz »

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
LaTeX.org admin
Post Reply