Take the 2-minute tour ×
TeX - LaTeX Stack Exchange is a question and answer site for users of TeX, LaTeX, ConTeXt, and related typesetting systems. It's 100% free, no registration required.

This question already has an answer here:

I am trying to change the font size of my document to 8pt.

However I can not get it to take effect. I am trying it in the \documentclass declaration.

Should it be specified elsewhere?

I am using XeTeX and fontspec, if that is relevant.

share|improve this question

marked as duplicate by Joseph Wright May 2 '13 at 7:08

This question has been asked before and already has an answer. If those answers do not fully address your question, please ask a new question.

    
No problem, but I was unable to find it through searching. –  Tiago Veloso Feb 7 '11 at 10:56
add comment

1 Answer 1

up vote 8 down vote accepted

The basic font sizes of the standard document classes are built into the classes themselves. The extsizes classes define a number of parallel classes to the standard ones with a variety of sizes, including 8 pt.

\documentclass[8pt]{extarticle} % or {scrartcl} (Koma class)
\usepackage{fontspec}
\usepackage{lipsum} % for random text
\setmainfont{Linux Libertine}
\begin{document}
\section{A section}
\subsection{A subsection}
\lipsum
\end{document}

The since all sizes of other text (such as \Large, \footnotesize etc.) are defined relative to the document class size, it's better to use this sort of solution, if the normal document classes work for you.

The memoir class also allows a 9pt option, but not 8pt.

The koma document classes also allow specifying an arbitrary point size.

share|improve this answer
    
Exactly like I wanted. –  Tiago Veloso Feb 6 '11 at 22:09
add comment

Not the answer you're looking for? Browse other questions tagged or ask your own question.