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

Learn LaTeX easily with newest books:

The LaTeX Beginner's Guide: 2nd edition and perfect for students writing a thesis

The LaTeX Cookbook: 2nd edition full of practical examples for mathematics, physics, chemistry, and more

LaTeX Graphics with TikZ: the first book about TikZ for perfect drawings in your LaTeX thesis

User avatar
Stefan Kottwitz
Site Admin
Posts: 10360
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