Graphics, Figures & Tables ⇒ beamer | Change Table Font
-
- Posts: 5
- Joined: Thu Oct 13, 2011 9:35 pm
beamer | Change Table Font
\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}
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
-
- Posts: 5
- Joined: Thu Oct 13, 2011 9:35 pm
beamer | Change Table Font
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.