Tell me more ×
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.

I have a table and it appears I only have two options when it comes to font size: large and small. There should be a medium option, correct? I get an error when I replace small or large with medium.

The beginning of my table looks like this:

\begin{table*}[ht]
{\small
\hfill{}
\small
\begin{tabular}{|p{3.5cm}|p{8cm}|p{5cm}|}

How do I get a universal font size for the table that is not huge or too small to read?

share|improve this question

2 Answers

up vote 6 down vote accepted

There's no \medium font size; between \small and \large you have \normalsize (which is the default font size). The standard font size switches are: \tiny, \scriptsize, \footnotesize, \small, \normalsize, \large, \Large, \LARGE, \huge, and \Huge.

By the way, you only need one font switch command inside table and braces are not required since table forms a group, so you can simple say something like

\begin{table}
\small
\begin{tabular}{p{3.5cm}p{8cm}p{5cm}}
text & text & text
\end{tabular}
\end{table}
share|improve this answer

If you need to fine tune the size of a table, you can include it in a scaleboxfrom the graphicx or graphics-package and scale the table to fit. If you need more options, you can use the adjustbox-package.

share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

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