Categories

Auto size of images in Beamer class \usepackage…

Auto size of images in Beamer class.

\usepackage{letltxmacro}
\makeatletter
\def\maxwidth{\ifdim\Gin@nat@width>\linewidth\linewidth\else\Gin@nat@width\fi}
\makeatother
\AtBeginDocument{
\LetLtxMacro\Oldincludegraphics\includegraphics
\renewcommand{\includegraphics}[2][]{%
\Oldincludegraphics[#1,width=\maxwidth]{#2}}
}


http://tex.stackexchange.com/questions/67434/redefine-includegraphics-for-beamer#comment143600_67434

Categories

Beamer paper size is smaller than usual paper…

Beamer paper size is smaller than usual paper size.
The “paper size” of a beamer presentation is ﬁxed to 128mm times 96mm.

With this trick, the normal font can be shown nicely.
But be cautious setting the image size with absolute value.
or use

\includegraphics[width=0.6\textwidth]{graphics.pdf}


http://web.mit.edu/8.13/presentations/beameruserguide.pdf

Citation

Categories

An nice example of using in Beamer clas …

An nice example of using in the Beamer class in LaTex

Using overlays for source code listings in LaTeX Beamer