New answers tagged

0 votes

How can I add notes to my first slide, which is a PDF from \includepdf?

Here the pdf is included by classical \includegraphics, on a costumed background canvas beamer template. \documentclass{beamer} \usepackage{pdfpages} \usepackage{pgfpages} \setbeameroption{show notes ...
user avatar
  • 21.8k
2 votes

Animation frames flash if animation is split with `\only`

This might indeed depend on the device that the animation is run on. Unfortunately, autopause is not effective anymore as soon as the animation has reached the end. The problem can be worked around by ...
user avatar
  • 51.2k
5 votes
Accepted

Beamer: Can't use itemize within if-statement

Frames are very fragile and the error is at a rather low level. \documentclass{beamer} \begin{document} \begin{frame}[fragile] \ifdim\textwidth=\textheight equal \...
user avatar
  • 993k
3 votes

Beamer: Can't use itemize within if-statement

While I still don't know why the above MWE fails (I can only assume that beamer uses some if-wizardry in its modified version of itemize that interferes with the outer if-statement that I added to the ...
user avatar
  • 2,395
0 votes

Beamer: Reuse Slides from same Presentation for Summary Slide

We can do even better by using references for the pdf page numbers: \documentclass[t,english,aspectratio=169]{beamer} \usetheme{metropolis} \usepackage{refcount} \begin{document} \begin{frame} ...
user avatar
0 votes

Fill 16:9 page with LaTeX in R-project

Putting classoption: "aspectratio=169" at the end of the header function properly in my case. The header follow below: title: 'Title' author: "Name" date: "r Sys.Date()" ...
user avatar
0 votes

How can I fix this beamer presentation error?

Move tikzpicture option to document preamble. Content of your frame cannot be fit on on one frame, so in MWE below are split between two frames: I took liberty and make small changes in bot diagrams \...
user avatar
  • 255k
0 votes

Why do I need to use "hard" specifications for the second part of the slide in this frame?

The root of your problem is that \only does not typeset its content and then throws it away. Instead, it just throws it away. That is, on slide four, the content of \only<1-3> is never executed, ...
user avatar
  • 12.7k
8 votes
Accepted

My legacy PSTricks code is not compilable anymore

preview has not been adapted to the current LaTeX and chokes over some hooks. You can try to empty the hooks. For lualatex you should also load the pro-file in the picture: \documentclass{beamer} \...
user avatar
1 vote

How to remove beamer overlays in received PDF?

You can use pdftk for that: (from this answer) #! /bin/bash INPUT=$1 OUTPUT=$2 PAGE_NUMBERS=$((pdftk ${INPUT} dump_data | egrep "PageLabelNewIndex" | sed 's/[^0-9]//g' | sed '1d' | sed -r '...
user avatar
  • 23
6 votes
Accepted

Change the font inside `tabular` globally, in LaTeX Beamer (metropolis)

Like this: Edit: After reading your comments below, your question is not entirely clear, what all are your problems. Anyway, please one problem per question. Now I add one possible solution for option ...
user avatar
  • 255k
5 votes
Accepted

How to use \overprint to prevent 'wobble'

A simple workaround is to use top alignment. Or you can measure the largest block and use overlayarea. \documentclass{beamer} \newsavebox{\overprintbox} \begin{document} \begin{frame}[t]{Results}...
user avatar
  • 993k
1 vote

How to stop Beamer \only overlay regenerating random parameters on parts of frame previously rendered

You can also define a macro for the \setbox line \documentclass{beamer} \usepackage[first=0,last=1000,seed=0]{lcg} \newsavebox\RBox \begin{document} \sbox\RBox{\rand\arabic{rand},\rand\arabic{...
user avatar
  • 12.9k
-1 votes

Accessing colors defined by a beamer color theme for a standalone tikzpicture

Adding crop=true to the accepted answer makes the bounding box fit the tikzpicture: \documentclass[tikz,beamer,crop=true]{standalone} \begin{document} \begin{tikzpicture} \draw[structure.fg] (0,0) --...
user avatar
  • 1
3 votes
Accepted

Add another logo in right lower corner in the Overleaf's Berkeley theme

In the file beamerthemeUCBerkeley.sty, search for \setbeamertemplate{background} and replace that with this code. \setbeamertemplate{background}{% \begin{tikzpicture}[overlay,remember picture] \fill[...
user avatar
  • 373
1 vote
Accepted

Insert additional box in section slide

Try this code. \documentclass[11pt]{beamer} \usepackage[utf8]{inputenc} \usepackage[T1]{fontenc} \usepackage{lipsum} \usetheme{Frankfurt} \AtBeginSubsection[]{% added <<<<<<<&...
user avatar
0 votes

Insert a tikz figure to the top left in Beamer

Start from this code: % Put the logo in each slide's top left area \setbeamertemplate{headline}{} % Define frame title and subtitle layout \setbeamertemplate{frametitle}{% \vspace*{2ex}\tikz[...
user avatar
  • 4,388
0 votes

Modifiying environments color (theorem, definition, etc) in beamer

Use \setbeamercolor. \documentclass[11pt]{beamer} \usetheme{Berkeley} \usecolortheme{default} % Additional code \setbeamercolor{block title}{fg=white, bg=green!50!black} \setbeamercolor{block body}{...
user avatar
  • 373
1 vote
Accepted

How can I remove the logo from title and other pages in uoy-beamer theme?

Start your code as follows (using uoy-example.tex included in the distribution) % !TeX TS-program = pdflatex \documentclass[t,compress,aspectratio=169]{beamer} \usepackage[english]{babel} \usepackage[...
user avatar
2 votes
Accepted

Is there an equivalent of "AtBeginSection" for appendix?

Turns out, as John suggested in his comment, this is very easy to do by redefining \appendix! I did not add a hook, as I have trouble getting \write\@auxout to work, and instead simply made the ...
user avatar
1 vote

add pause to align

With alignat*, array math environments and uncover beamer function: \documentclass{beamer} \begin{document} \begin{frame} \setlength\arraycolsep{2pt} \begin{alignat*}{4} \begin{array}{rl} \...
user avatar
  • 255k
2 votes

add pause to align

You can use columns: \documentclass{beamer} \usepackage{amsmath} \begin{document} \begin{frame}{Title} \begin{columns}[onlytextwidth] \column<+->{0.25\textwidth} \begin{align*} \...
user avatar
  • 2,913
1 vote
Accepted

Beamer background color is not set when using XePersian

In version 37.8 , bidi solved thanks to Mr. Vafa
user avatar
  • 1,427
3 votes
Accepted

Cannot use \pause in Beamer

You have to remove [allowframebreaks]. From the beamer manual: allowframebreaks=⟨fraction⟩. When this option is given, the frame will be automatically broken up into several frames if the text does ...
user avatar
  • 2,913
1 vote
Accepted

How to reference an url on a frame in a beamer environment

You can add a link in the caption to the \item with the url \documentclass[xcolor=dvipsnames]{beamer} \hypersetup{% colorlinks=true, linkcolor=blue, urlcolor=magenta, } \begin{...
user avatar
0 votes
Accepted

Subsections and section indicators in metropolis (beamer)

This is the expected default behavior, and can be configured by passing compress to beamer class (\documentclass[compress]{beamer}). Note by default, the number of lines of circles represent the ...
user avatar
  • 21.8k
1 vote
Accepted

Beamer figure (with text) overlay positioning

This may not be a perfect solution. Using tikz remember picture,overlay option to put the figure in the absolute center position of the page. Then you need carefully decide where to type text and ...
user avatar
  • 4,388
1 vote
Accepted

Side By Side Beamer Slide (Text & PGFPlot)

This should be working: \documentclass[compress]{beamer} \mode<presentation> \usetheme{JuanLesPins} \usepackage{amsmath} \usepackage{amsfonts} \usepackage{multicol} \usepackage{amssymb} \...
user avatar
  • 4,388
0 votes

Beamer: How to hide top-bar when there is no slide title (and on the main title page)?

Pass the argument [plain] to the frame command: \documentclass[]{beamer} \usetheme{Rochester} \title {Test} \begin{document} \begin{frame}[plain] \titlepage \end{frame} \begin{frame}[plain] Test\\\...
user avatar
  • 527
2 votes

Progress bar with sections and subsections, beamer

Here is a first attempt to add the current subsection. The only problem are jumps when the subsection contains letters like p, q and y (e.g. change from slide 2 to 3). Maybe an anchor problem, but I ...
user avatar
  • 772
1 vote
Accepted

beamer: much more useable space in the frames

The title page of the presentation must have its own frame with subtitle, author, institute, etc. To change the space above and below the title, it is possible to add some negative space, creating a ...
user avatar
2 votes

Equation breaking without Losing alignment

You're missing the & in the continuation line. I'd split in a different place, though. And remove all \alpha symbols except the first one. I'd also add some vertical space between the rows to ...
user avatar
  • 993k
3 votes
Accepted

beamer: How to get top-alignment if working with columns?

It's with a capital T. \documentclass{beamer} \usepackage[english]{babel} \usepackage{lmodern} \usetheme{CambridgeUS} \setbeamertemplate{navigation symbols}{} % Background color \setbeamercolor{...
user avatar
0 votes

polynom package with only

Using the reference cited by @Alan Munn, (here), and adding your alertblock and a theme, in this case \usetheme{Copenhagen}, the following MWE produces the steps of your polynom division. \...
user avatar
  • 3,222
0 votes

Equation breaking without Losing alignment

With use of the multlined environment defined in mathtools package (nested in align* environment): \documentclass{beamer} \usepackage{mathtools} \begin{document} \begin{frame}{Type Two Error} ...
user avatar
  • 255k
1 vote

Equation breaking without Losing alignment

Here is a solution with a nested aligned environment: \documentclass{beamer} \usepackage{amsmath} \begin{document} \begin{frame}{Type Two Error} \let\thefootnote\relax\footnotetext{Rukhsana ...
user avatar
  • 261k
0 votes

Fixing Image When Pausing Texts

Do you want this: \documentclass{beamer} \begin{document} \begin{frame}{Funciones Crecientes y Decrecientes} La gráfica que se muestra en la figura-- sube desde $A$ hasta $B$, desciende desde $B$ ...
user avatar
  • 772
1 vote

Adding a shape (square, circle, etc.) to part of a math expression in beamer (tikz and overlay)

I just want to highlight something with regard to spacing. This should be considered an extended comment on the solutions above. To avoid terms jumping around when switching frames then it is ...
user avatar
1 vote

Decrease separation between columns beamer

Your prescribed image width (4cm) is smaller then prescribed column width (0.58\textwidth ~ 48mm), consequently appears that column separation is large. Distance between image and text you can reduce ...
user avatar
  • 255k
2 votes
Accepted

beamer background repeated figure

For example: \documentclass{beamer} \usepackage{multido} \setbeamertemplate{background}{% \parbox{\paperwidth}{\offinterlineskip% \multido{}{20}{\multido{}{20}{\includegraphics[width=0.05\...
user avatar
  • 51.2k
0 votes

How can I change the color of the line in the title page when using beamer?

You can change the entire color theme by adding something like this to your preamble. \usecolortheme{beaver} For other options, look for 'Complete Color Themes' section in beamer user guide. However, ...
user avatar
  • 373
0 votes

How can I change the color of the line in the title page when using beamer?

First you need to make sure you are giving the xcolor package (which beamer loads) an option that defines the color you want. In this case, for "Navy", we can use the svgnames option. You ...
user avatar
  • 36.7k
1 vote

Dual-screen beamer and zoom conferencing

When you choose to "share" in a Zoom session, you should be given an option of sharing a single window or sharing an entire screen/desktop. Use one of the tools specified in existing ...
user avatar
  • 726
5 votes
Accepted

Adding a shape (square, circle, etc.) to part of a math expression in beamer (tikz and overlay)

Edit: Ups, I forgot on other shapes ... Added now: With tikzmark library: \documentclass{beamer} \mode<presentation> { \usetheme{Boadilla} } \usepackage{tikz} \usetikzlibrary{shapes, ...
user avatar
  • 255k
6 votes

Adding a shape (square, circle, etc.) to part of a math expression in beamer (tikz and overlay)

You can use tikz for that \documentclass{beamer} \usepackage{tikz} \usefonttheme[onlymath]{serif} \setbeamercovered{transparent} \mode<presentation> { \usetheme{Boadilla} } \begin{document} \...
user avatar
  • 2,135
2 votes
Accepted

Remove bibliography from table of contents beamer

Delete \addcontentsline{toc}{chapter}{\bibname} and use a normal section. For long bibliographies you need to use the option allowframebreaks: \begin{frame}[allowframebreaks]{Bibliography} \begin{...
user avatar
  • 19.5k
0 votes
Accepted

How to left-align figures in beamer?

In your code, you ask for the image to be centered in your minipage. If you'd rather have it left-aligned, try this: \documentclass{beamer} \usepackage{graphicx} \begin{document} \begin{frame}{some ...
user avatar
  • 5,403

Top 50 recent answers are included