Hot answers tagged beamer
4
You could simply check whether the lastpage reference (i.e. \r@lastpagenum) is defined (using the \ifdefined macro) before performing your calculations:
\makeatletter% required as some of the commands we will use contain "@" in their name
\lhead{
% only perform the calculations if the "lastpagenum" reference is defined
\ifdefined\r@lastpagenum%
% ...
4
This is how I use columns environment for alignment at the top (you may repalce the [t], by [c] for centering).
\begin{columns}[t]
\begin{column}{5cm}
\begin{figure}
\includegraphics[scale=0.08]{2ENQ-A.png}
\end{figure}
\end{column}
\begin{column}{5cm}
\begin{itemize}
\item<1-> 345, 453 and 420 are all ...
4
This error only occurs if the document is typeset with pdflatex or lualatex, while xelatex, latex+dvips+ps2pdf work smoothly.
animate puts the animation frame content first into a box, using the LaTeX \savebox command. The filled box is then distilled into a PDF Form XObject using the command \pdfxform from pdfTeX. The last step fails, if the box contains ...
3
To get that particular effect, do not use the uncover for blocks:
\documentclass{beamer}
\usepackage{lmodern}
\usetheme{CambridgeUS}
\setbeamercovered{transparent}
\begin{document}
\begin{frame}{myFrame}{subtitle}
\begin{columns}
\begin{column}{.4\textwidth}
\begin{enumerate}
\item<1->item 1
\item<2->item 2
...
2
beamer defines the global structure of list environments in the file beamerbaselocalstructure.sty. Inside this file the default definitions are done be the following commands:
%
% List stuff
%
\setlength\leftmargini {2em}
\setlength\leftmarginii {2em}
\setlength\leftmarginiii {2em}
\setlength \labelsep {.5em}
\setlength \labelwidth{\leftmargini}
...
2
The xr package, or maybe zref-xr for more powerful features, is the tool you're looking for.
However, you have to use different names for your files, say
jakob-art.tex
and
jakob-pres.tex
for the article mode and presentation mode versions respectively. Both can input a common file jakob.tex, of course. In the presentation version you'll add
...
2
You could also use the textpos package.
\documentclass{beamer}
\usepackage[absolute,overlay]{textpos}
\usepackage{graphicx}
\begin{document}
\begin{frame}
\begin{textblock*}{5cm}(3cm,1cm) % {block width} (coords)
\includegraphics[width=5cm]{images/logo.jpg}
\end{textblock*}
\end{frame}
\end{document}
2
beamer doesn't really support floats as they don't make sense in a presentation. The figure environment is allowed but doesn't really do much.
\vspace*{2cm}
\hspace*{3cm}\includegraphics[width=0.15\textwidth,natwidth=69,natheight=87]{images/logo.jpg}
would probably do what you want, adjust the lengths to fit. Leave blank lines before and after these two ...
2
I suppose that, when you say ''anytime I try to scroll down the document'' you mean you are trying to visualize it in Yap.
I've had the same problem in some .dvi documents of mine and I've solved changing the Render Method to Dvips.
To do this in Yap, go to View -> Render Method and change it from Pk to Dvips.
If you want to change it globally, go to View ...
2
The following produces five slides: the first contains four images that are scaled down to fit within one frame, and the rest of the four slides each contains a bigger version of the images. By clicking on a smaller image, you can jump to the slide containing the bigger version of that image, and clicking the larger image will take you back to the initial ...
2
Version 4.0 of linguex added some code to fix an odd spacing problem with beamer. I suspect that source of this problem was subsequently fixed in beamer and now the fix in linguex is causing the problem. I'll e-mail the author about it, but for the meantime, you can simply undo the fix using the etoolbox package:
I've added two lines to your document:
...
2
It's not a good idea to use the enumitem package with beamer since beamer has its own ways of dealing with the standard list-like environments. Just by loading enumitem when using beamer you loose the special beamer formatting and the overlay-awareness of the list-like components.
To suppress the spacing, you can redefine itemize as implemented by beamer in ...
1
As described in the enumitem documentation, you have two parameters to play with regarding vertical top space: topsep and partopsep.
So, for example, writing this:
\begin{enumerate}[topsep={0pt},partopsep={0pt}]
\item First item
\item Second item
\end{enumerate}
Will produce something like this:
Of course, if you want to play with the separation ...
1
Here's a solution, using a redefinition of the internal command \beamer@sectionintoc implemented in the beamerbasetoc.sty file; with the redefinition, no number is typeset in the ToC if it's less than 1:
\documentclass{beamer}
\usetheme{CambridgeUS}
\makeatletter
\def\beamer@sectionintoc#1#2#3#4#5{%
\ifnum\c@tocdepth>0%
...
1
There is an example in the documentation (chapter 11.3) and a special command \framezoom for doing this.
Here is my example:
\documentclass[17pt]{beamer}
\begin{document}
% Main part of presentation
\begin{frame}<1>[plain,label=tramwaje]
\framezoom<1><2>[border](0.3cm,2cm)(2cm,2cm)
...
1
I had the same problem today, and here is my simple solution: I just define a single column using the "columns" environment. By default, Beamer will put that column in the center of the page, so this should take care of both margins.
\begin{frame}[allowframebreaks]{References}
\begin{columns}
\column{0.85\paperwidth}
\printbibliography
\end{columns}
...
Only top voted, non community-wiki answers of a minimum length are eligible