General ⇒ fonts
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
- Stefan Kottwitz
- Site Admin
- Posts: 10360
- Joined: Mon Mar 10, 2008 9:44 pm
fonts
welcome to the board!
those are truetype fonts. I guess you've quoted them because you've meant a serif font, a sans-serif font and a monospaced font. The standard font used by LaTeX is Computer Modern, some commands to change the font typeface arefouad wrote: for example write the first paragraph with a " times new roman" font, the second with "arial", the third with " courier new"
- \rmfamily - switch to Roman (serif)
- \sffamily - switch to Sans Serif
- \ttfamily - switch to Typeweriter (monospaced)
- Stefan Kottwitz
- Site Admin
- Posts: 10360
- Joined: Mon Mar 10, 2008 9:44 pm
fonts
you could just try.
Or compile this document:
Code: Select all
\documentclass[a4paper,10pt]{article}
\begin{document}
hi all
\ttfamily
hi everyone
\sffamily
hi everybody
\rmfamily
good bye
\end{document}
Stefan