LaTeX allows you to change the font type and size in the preamble of your document. (The preamble is the section before \begin{document}, and where most of the global formatting commands are made.) This will affect your document's font size globally, but you can use the relative sizing for local changes. By default, your paper will be in Computer Modern (a font invented by Donald Knuth, the inventor of TeX) and 11pt. For something different, you will have to insert options and packages in the preamble. To change the font size, add the desired font size between the square brackets of the document class declaration. Remember, font size must be of the form "12pt", "11pt", or "14pt".
\documentclass[12pt]{article}
To change the font, you will need to add the font's package to your document by putting \usepackage{ packagename} in the preamble:
\documentclass[12pt]{article}
\usepackage{times}
\begin{document}
The body of your document!
\end{document}
|
avantgar
|
![]() |
|
bookman
|
![]() |
|
courier
|
![]() |
|
helvetic
|
![]() |
|
newcent
|
![]() |
|
palatino
|
![]() |
|
times
|
![]() |
|
zapfchan
|









