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.
NEW: TikZ book now 40% off at Amazon.com for a short time.
And: Currently, Packt sells ebooks for $4.99 each if you buy 5 of their over 1000 ebooks. If you choose only a single one, $9.99. How about combining 3 LaTeX books with Python, gnuplot, mathplotlib, Matlab, ChatGPT or other AI books? Epub and PDF. Bundle (3 books, add more for higher discount): https://packt.link/MDH5p
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: 10324
- 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: 10324
- 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.
