Graphics, Figures & Tables ⇒ how to change the font size in table
how to change the font size in table
I need to have a table with different font size compared to whole document.
how can I do this.
Cells in table also contains math formulas.
Plz guide me.
Learn LaTeX easily with newest books:
The LaTeX Beginner's Guide: 2nd edition and perfect for students writing a thesis
The LaTeX Cookbook: 2nd edition full of practical examples for mathematics, physics, chemistry, and more
LaTeX Graphics with TikZ: the first book about TikZ for perfect drawings in your LaTeX thesis
how to change the font size in table
Code: Select all
\documentclass{article}
\begin{document}
Regular text
\begin{small}% or footnotesize, scriptsize, tiny, etc.
\begin{tabular}{rl}
some text & $a^2 + b^2 = c^2$
\end{tabular}
\end{small}
Regular text
\end{document}
- Stefan Kottwitz
- Site Admin
- Posts: 10366
- Joined: Mon Mar 10, 2008 9:44 pm
how to change the font size in table
another possibility, similar to frabjous' suggestion: if you use table environments, you can use \small etc. instead of \begin{small} ... \end{small}, because the effect will be local to the surrounding environment:
Code: Select all
\documentclass{article}
\begin{document}
Regular text
\begin{table}[ht]
\small% or footnotesize, scriptsize, tiny, etc.
\begin{tabular}{rl}
some text & $a^2 + b^2 = c^2$
\end{tabular}
\end{table}
Regular text
\end{document}
Re: how to change the font size in table
My other question is
Is there any command for font size to change.
I want to change the size of text block in points not by tiny, footnote size or any other option.
- Stefan Kottwitz
- Site Admin
- Posts: 10366
- Joined: Mon Mar 10, 2008 9:44 pm
how to change the font size in table
how to change the font size in table
http://superuser.com/questions/227039/l ... point-size
Do read all the answers.
