Text Formattinglarge text for whole document (and specifying it in preamble

Information and discussion about LaTeX's general text formatting features (e.g. bold, italic, enumerations, ...)
Post Reply
dl3fo3
Posts: 10
Joined: Mon Jan 05, 2009 4:35 pm

large text for whole document (and specifying it in preamble

Post by dl3fo3 »

What commands should I put in the preamble in order to get larger than normal size text?


Background:

Code: Select all

Code, edit and compile here:
\documentclass{article}
\begin{document}
\Large
blah blah blah
\end{document}
הההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההה
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
Putting \Large right after \begin{document} like above works. All texts in the document is large as I wanted.
But the catch is that when I use partial compile feature (compiling only a current section, or only a current paragraph instead of compiling the whole document) of my LaTeX editor, the text size of the resulting dvi is not large, because the \Large command is not in the preamble.

But putting a \Large command in the preamble doesn't work either.

Recommended reading 2024:

LaTeXguide.org • LaTeX-Cookbook.net • TikZ.org

NEW: TikZ book now 40% off at Amazon.com for a short time.

User avatar
localghost
Site Moderator
Posts: 9202
Joined: Fri Feb 02, 2007 12:06 pm

large text for whole document (and specifying it in preamble

Post by localghost »

For a font size smaller than 10pt and bigger than 12pt try the document classes of the extsizes package.


Best regards
Thorsten¹
phi
Posts: 577
Joined: Tue Oct 21, 2008 8:10 pm

Re: large text for whole document (and specifying it in preamble

Post by phi »

Or use a document class that comes with support for nonstandard font sizes, like the KOMA-Script classes or memoir.
Post Reply