Hla Hla Htay’s Notes


LaTex : changing font size for the whole table entries
August 6, 2008, 6:02 am
Filed under: Latex, Writing | Tags: ,

font size command such as \Large , \large, \tiny etc just before tabular.
{\Large \begin{tabular}{|c|l|l|} …. \end{tabular} }

The original example can be found in the following URL http://www.cqf.info/forum/viewtopic.php?t=3850

\usepackage{subfigure} are required to place side by side . \subfigure{} and \subtable{} commands are used.


\begin{figure}
\centering
\subtable{
\centering
\renewcommand{\arraystretch}{1.2}
{\Large
\begin{tabular}{|c|l|l|}
%\toprule
\hline
Region & nMOS & pMOS\\
%\midrule
\hline
A & cutoff & linear\\
B & saturation & linear\\
C & saturation & saturation\\
D & linear & saturation\\
E & linear & cutoff\\
\hline
%\bottomrule
\end{tabular}}}
\subtable{
\centering
\renewcommand{\arraystretch}{1.2}
{\tiny\tt
\begin{tabular}{|c|l|l|}
\hline
Region & nMOS & pMOS\\
\hline
A & cutoff & linear\\
B & saturation & linear\\
C & saturation & saturation\\
D & linear & saturation\\
E & linear & cutoff\\
\hline
\end{tabular}} }
\end{figure}


5 Comments so far
Leave a comment

Worked perfectly — thanks for post this.

Best,

Barry

Comment by Barry Rountree

thanks for sharing

Comment by roy

Great! Was searching around on how to do this. Thanks for posting.

Comment by David Galvan

Thanks for the quick, simple solution

Comment by Ryan

Hi,

any idea of how to change also the size of the Title of the table (caption) and footnotes?

Thanks,
andrea

Comment by Andrea




Leave a comment
Line and paragraph breaks automatic, e-mail address never displayed, HTML allowed: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <pre> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>