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}