Skip to main content
Skip to main menu Skip to spotlight region Skip to secondary region Skip to UGA region Skip to Tertiary region Skip to Quaternary region Skip to unit footer


LaTex Frequently Asked Questions

The answers provided here are from someone who is not very experienced with LaTeX. If you have better solutions for any of these questions, I will be delighted and thankful to learn about them.

1. How can I use font sizes that are not predefined as options in a LaTeX class?

Article and revtex4 classes have options for 10pt, 11pt and 12pt font sizes. To use different font sizes (or font types) you can define fonts in the LaTeX document with the \DeclareFixedFont command (this has to come after \begin{document})


{\CodelineFont} name of the font created
{\encodingdefault} Encoding if the font, which is usually OT1.
{\familydefault} Family of the font, which is cmr by default.  For time package, the default is ptm.
{\seriesdefault} Series of the font, which is m by default.
{\shapedefault} Shape of the font, which is n by default.  Other values can be it, sl, sc, ui and ol.
{size} Size of the font, which is 10 by default.  Two values can be specified, one for the size and one for the baseline (space between 2 lines).

(i) To use the default font, size 14pt:

Text goes here.

This defines a new font called fourteenpt  (use a name of your choice).

(ii) Helvetica, 9pt:


(iii) Helvetica, 9pt, italic:


(iv) Times Roman, 12pt, boldface:


NOTE: LaTeX not always manages to use the font and size defined in \DeclareFixedFont.  Watch for the warnings during the compilation of your text to see the actual font size used.

2. How can I place a figure exactly where I want it to be?

Many LaTeX classes (including article.cls and revtex4.cls) use floating figures, that is, LaTeX decides where to place each figure. Here is an example of how to place a figure exactly where you want it to be (uses caption2 package, it does not use the figure environment):


To insert a figure:

\figcaption{\label{fig:one} Figure caption goes here.}

3. How can I insert a onecolumn text/equation when using the twocolumn option in Revtex4?


This text is in the twocolumn format.

This text is in the onecolumn format.
This equation is in the onecolumn format.

4. How do I change the default paragraph indentation?

Paragraph indentation can be set as follows:


This command has to appear after \begin{document}. E.g. for a 8mm indentation:


Shan-Ho (shtsai at uga dot edu)

Support us

We appreciate your financial support. Your gift is important to us and helps support critical opportunities for students and faculty alike, including lectures, travel support, and any number of educational events that augment the classroom experience. Click here to learn more about how to help us grow.

Every dollar given has a direct impact upon our students and faculty.