TeX - LaTeX Asked on August 22, 2020
Can somebody please help me with an example of a LaTeX table template for minimum fontsize of 8 point?
For example, I want to make a table like the following, but I am not sure how to make it of fontsize of 9 point. If I need to insert some command, can you kindly help me?
documentclass[a4paper,11pt]{article}
begin{document}
begin{table}[h!]
begin{center}
caption{Your first table.}
label{tab:table1}
begin{tabular}{l|c|r} % <-- Alignments: 1st column left, 2nd middle and 3rd right, with vertical lines in between
textbf{Value 1} & textbf{Value 2} & textbf{Value 3}
$alpha$ & $beta$ & $gamma$
hline
1 & 1110.1 & a
2 & 10.1 & b
3 & 23.113231 & c
end{tabular}
end{center}
end{table}
end{document}
since you have used the 11pt
option, 9pt (which you ask for in the question, despite it saying 8pt in the title) is footnotesize
so simply add that before the table.
documentclass[a4paper,11pt]{article}
begin{document}
begin{table}[htp] % don't use [h!] it usually generates a warning.
% better to use centering than `center` in a float as `table` already adds space.
centering
caption{Your first table.}
label{tab:table1}
footnotesize
%^^^^^^^^^^^^%
begin{tabular}{l|c|r} % <-- Alignments: 1st column left, 2nd middle and 3rd right, with vertical lines in between
textbf{Value 1} & textbf{Value 2} & textbf{Value 3}
$alpha$ & $beta$ & $gamma$
hline
1 & 1110.1 & a
2 & 10.1 & b
3 & 23.113231 & c
end{tabular}
end{table}
end{document}
Answered by David Carlisle on August 22, 2020
Get help from others!
Recent Questions
Recent Answers
© 2024 TransWikia.com. All rights reserved. Sites we Love: PCI Database, UKBizDB, Menu Kuliner, Sharing RPP