## LaTeX Tips

Other Assorted LaTeX Tips:

%%%%%%%%%%%%%
{\huge \bf
\begin{center}
Here is the\\
Title
\end{center}
}
%%%%%%%%%%%%%

The above does what you want.  The following doesn't (the center command
doesn't know to set the line spacing larger for a \huge font, and the \bf
gets ignored because it is before the font size command).

%%%%%%%%%%%%%
\begin{center}
{\bf \huge
Here is the\\
Title
}
\end{center}
%%%%%%%%%%%%%

Spacing after macros can sometimes get confusing.  "%" at the end of a line
will suppress any white space at the beginning of the next line.  Following
a macro name with {} will suppress white space after it, i.e., \latex{}2.0
to eliminate any space between \latex and 2.0.  The xspace.sty utility is
supposed to automate this?

%%%%%%%%%%%%%%%%%%%

To make pdf files that use good quality outline fonts for display on web
pages (and avoid previous problems with grainy bitmap fonts), do:

latex paper
dvips -Pwww paper
ps2pdf paper.ps

The key is the "-Pwww" switch above.



In most TeX distributions (like tetex), the default paper size for dvips is the European a4 size. To change the default paper size to US Letter (8.5in x 11in), download the file dvipsrc, rename it to .dvipsrc and put it your home directory (if you are using a unix/linux machine).

You can also use the texconfig command to set the default paper size for all users on your computer, but that requires you to have root privileges.