Graphics, Figures & Tablesbeamer | Change Table Font

Information and discussion about graphics, figures & tables in LaTeX documents.
Post Reply
michaelwujian
Posts: 5
Joined: Thu Oct 13, 2011 9:35 pm

beamer | Change Table Font

Post by michaelwujian »

hi, I keep a figure and a table side by side using \minipage command. Now I want to change the table font in one slide. However, even I use the command \small, the font keeps the same as other slides. I tried to put \small in several places, but it still does't work. What's the problem? Thanks!

\begin{figure}[hb]
\begin{minipage}[h]{0.6\textwidth}
\centering
\includegraphics[scale=0.5]{spotprice19912009}
\caption{Spot Price for WTI Crude Oil 1999-2009}
\end{minipage}
\begin{minipage}[h]{0.3\textwidth}
\centering
\small
\begin{tabular}{lr}
\hline
Mean & 36.04987 \\
Median & 25.64500 \\
Maximum & 145.3100 \\
Minimum & 10.82000 \\
\hline
\end{tabular}
\tabcaption{WTI}
\end{minipage}
\end{figure}
\end{frame}
Last edited by michaelwujian on Tue Oct 25, 2011 2:00 pm, edited 1 time in total.

Recommended reading 2024:

LaTeXguide.org • LaTeX-Cookbook.net • TikZ.org

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

michaelwujian
Posts: 5
Joined: Thu Oct 13, 2011 9:35 pm

beamer | Change Table Font

Post by michaelwujian »

michaelwujian wrote:hi, I keep a figure and a table side by side using \minipage command. Now I want to change the table font in one slide. However, even I use the command \small, the font keeps the same as other slides. I tried to put \small in several places, but it still does't work. What's the problem? Thanks!

\begin{figure}[hb]
\begin{minipage}[h]{0.6\textwidth}
\centering
\includegraphics[scale=0.5]{spotprice19912009}
\caption{Spot Price for WTI Crude Oil 1999-2009}
\end{minipage}
\begin{minipage}[h]{0.3\textwidth}
\centering
\small
\begin{tabular}{lr}
\hline
Mean & 36.04987 \\
Median & 25.64500 \\
Maximum & 145.3100 \\
Minimum & 10.82000 \\
\hline
\end{tabular}
\tabcaption{WTI}
\end{minipage}
\end{figure}
\end{frame}

Finally I figured out why. I think the Beamer's default font size is \small. So whenever I use \small, it's the same. But I changed the \small to some littler font, like \tiny or \footnote, the appearance changed apparently.
Post Reply