Monthly Archives: December 2012

latex beamer change font size table

One of the typical problem by using beamer class are tables respectively showing tables. If they are to big to be shown on one frame there are two possibilities to solve this problem.

Frist, use the plain option at the frame where you want to set the table

\begin{frame}[plain]
\frametitle{a table is to big}
\begin{table}
\begin{tabular}{|r|c|l|}
\hline
test 1 & test 2 & test 3\\
\hline
A & B & C \\
\hline
\dots & \dots & \dots \\
\hline
\end{tabular}
\end{table}
\end{frame}

By using plain you just get a little bit more space to fill.

Second, just change the font size within the table:
\begin{frame}
\frametitle{a table is to big}
\begin{tiny}
\begin{tabular}{|r|c|l|}
\hline
AAA & BBB & CCC \\
\hline
111 & 222 & 333 \\
\hline
\end{tabular}
\end{tiny}
\end{frame}

Now the font is tiny and has a size of 6 pt because normalsize is 11 pt.
An overview about the size and commands you will find here even for other documentclasses.

latex memoir 8pt

How to get 8 pt in memoir? In contrast to the default classes, memoir has 12 different sizes for normalsize. Five of them allow you to get a size of 8pt in your document. 9pt 10pt 11pt 12pt 14p

\documenclass[9pt]{memoir}
\begin{document}
\small
the text now is in 8pt 
\end{document}
\documenclass[10pt]{memoir}
\begin{document}
\footnotesize
the text now is in 8pt too
\end{document}
\documenclass[11pt]{memoir}
\begin{document}
\scriptsize
the text now is in 8pt too
\end{document}
\documenclass[12pt]{memoir}
\begin{document}
\tiny
the text is now also in 8pt
\end{document}
\documenclass[14pt]{memoir}
\begin{document}
\miniscule
the text is finally 8pt
\end{document}

latex book font size 14 pt

How to get font size 14 pt by using book as documentclass?

If you are using the default size i.e. 10 pt, the command \Large will change the size up to 14 pt.

\documentclass{book}
\begin{document}
\Large 
some text 
\end{document}

This also will work, if you set normalsize to 11 pt:

\documentclass[11pt]{book}
\begin{document}
\Large 
some text 
\end{document}

But if you set normalsize to 12 pt then use the command \large:

\documentclass[12pt]{book}
\begin{document}
\large 
some text 
\end{document}

what size is 20pt

Question: what size is 20 pt?
Answer: This depends on the default size you choose for normalsize and the document class you use.

E.g. article, report, book and letter

\LARGE and normalsize 12pt will be 20 pt

\huge and normalsize 11pt or 10 pt will be 20 pt

If you are are looking for more combinations of classes and commands which will lead to a size of 20 pt just take a look here.

latex font size 20pt

How to get a document with font size 20pt?

If your using one of the default documentclass e.g. article with default font size 10 pt then just use the command \huge and size will be increase to 20 pt.

\documentclass{article}
\begin{document}
\huge
text text ...
\end{document}

About

On this blog we just want to answer short question about LaTeX in a short way. If possible we also provide a small example for the named problem.