New answers tagged

0 votes

Beamer default overlay: show subitem at the same time as the item

I was also trying to figure out how to do this. I don't have a full solution, but this at least is an improvement for large outlines. Add [<.->] to each sublist. Then all subitems will appear ...
Kenneth Hanson's user avatar
0 votes

\pause in beamer us changing the theorem counters which is creating issues

You can use \resetcounteronoverlays{theoremcnt} to make sure that overlays don't influence this counter. You will have to do the same for each of your custom counters: \documentclass[notheorems]{...
samcarter_is_at_topanswers.xyz's user avatar
0 votes

beamer, overlays, and handout: exclude frames from handout

The idea behind the answers here is excellent -- thank you! However, I find a slightly different interface more flexible and easier to use. This is based on a wrapper to \againframe: \makeatletter \...
maneesh's user avatar
2 votes
Accepted

Mark (only) handout slides in handout mode in beamer

Adaptations added two toggles, that are set to true, if handout mode was set in a frame or in an altenv (e.g. with onlyenv): \newtoggle{handoutmarkerframe} \newtoggle{handoutmarkeraltenv} set ...
dexteritas's user avatar
  • 8,836
3 votes
Accepted

Why does this Beamer plain option only works when it's not the first slide?

For some reason, your theme redefines the plain frame option to only work for frame numbers > 0. At the same time it decreases the frame number by one for plain frames, which means that if there ...
samcarter_is_at_topanswers.xyz's user avatar
2 votes
Accepted

In LaTeX beamer, show subitems one by one

To uncover the subitems one by one, you can use <+->. If you would like your first subitem to appear on the same slide as World, you can modify this to <+(-1)->: \documentclass{beamer} \...
samcarter_is_at_topanswers.xyz's user avatar
2 votes
Accepted

Setting beamer label from xparse option

You can avoid the problem by using an empty default value for your optional argument. This way you can always pass it to the frame: \documentclass{beamer} \NewDocumentEnvironment{slide}{ O{} +b } { ...
samcarter_is_at_topanswers.xyz's user avatar
1 vote
Accepted

Beamer - How to change section and subsection text color

You can change the colour of the (sub)section in the headline via (sub)section in head/foot: \documentclass[t,compress,squeeze,smaller]{beamer} \usepackage[T1]{fontenc} \usefonttheme[onlymath]{serif} \...
samcarter_is_at_topanswers.xyz's user avatar
3 votes

Use same font in text and math operators sin, cos, log etc

Since you’re using Beamer, you aren’t submitting to one of the people who still only accept 8-bit fonts in 2023, and can use modern OpenType forks of your fonts. Specifically, Libertinus Sans is ...
Davislor's user avatar
  • 43.1k
2 votes

Use same font in text and math operators sin, cos, log etc

An example for lualatex: \documentclass[professionalfonts]{beamer} \usepackage{FiraSans} \usepackage[mathrm=sym]{firamath-otf} \begin{document} \begin{frame} Now you get this \...
user187802's user avatar
  • 16.1k
8 votes
Accepted

Use same font in text and math operators sin, cos, log etc

You can change the operators font and use professionalfonts from Beamer to take control of the font setup: \documentclass{beamer} \usefonttheme{professionalfonts} \usepackage[scaled=1.04]{biolinum} \...
cfr's user avatar
  • 189k
1 vote
Accepted

How to remove white space from beamer background?

Tikz automatically adds some space around the content of a node. You can disable this by setting the inner sep to zero: \documentclass{beamer} \usepackage{tikz} \begin{document} {\...
samcarter_is_at_topanswers.xyz's user avatar
1 vote
Accepted

How to define font to the current frame font size

The first level item will automatically be in the surrounding font size, so just do nothing. For the second and third level items, you can overwrite the default beamer font like this: \documentclass{...
samcarter_is_at_topanswers.xyz's user avatar
0 votes

Only, Uncover and Visible Beamer overlay commands within a minted codeblock

You can't escape the start and end of an argument separately. I would use \onslide and its variants for your use case. As an alternative, you could use the tikzmarks library to mark the start and end ...
samcarter_is_at_topanswers.xyz's user avatar
1 vote

Is it possible to put a picture on the header of a slide in beamer?

Quick hack (you will make sure that your title is short enough to not be hidden by the logo): \documentclass{beamer} \usetheme{Madrid} \title{The Title} \author{The Author} \institute{The Institute} ...
samcarter_is_at_topanswers.xyz's user avatar
1 vote

How to blur covered elements in Beamer instead of making them invisible or transparent

Inspired by this answer https://tex.stackexchange.com/a/696769/36296 by @Cicada, you could censor the still covered text: % !TeX TS-program = lualatex \documentclass{beamer} \usepackage{lipsum} \...
samcarter_is_at_topanswers.xyz's user avatar
0 votes
Accepted

Beamer metropolis theme: How to add smoothbars progress indicators?

You could load the miniframes outer theme after you load metropolis: \documentclass{beamer} \usetheme{metropolis} \useoutertheme[subsection=false]{miniframes} \setbeamercolor{section in head/foot}{fg=...
samcarter_is_at_topanswers.xyz's user avatar
0 votes

Beamer makes \pgfplotsinvokeforeach go insane

\pgfplotsinvokeforeach{0,...,\rowcount}{...} will do 4 iterations, for 0, 1, 2 and 3. This will cause an error as your data only has 3 rows. \documentclass[intlimits,t,xcolor={dvipsnames,table}]{...
samcarter_is_at_topanswers.xyz's user avatar
2 votes
Accepted

Change beamer compiled defaults to Finnish

beamer uses the translator package to translate, but there is no finnish dictionary, you could use the english dictionary as a template and fill in all the needed words (I changed only the three from ...
Ulrike Fischer's user avatar
1 vote

Change equation using beamer without reformatting slide

An easy way to avoid vertical shifts in your frame is to use a [t]op aligned frame to avoid horizontal jumping from adding the box around your formula, you could already draw it in the previous slide, ...
samcarter_is_at_topanswers.xyz's user avatar
0 votes

Typeset Theorems in Upright Fonts for Beamer

If you want to number the theorems and keep them in regular font, you can do so. Please see Beamer: Typesetting theorems in upright font *and* numbering them \documentclass{beamer} \setbeamertemplate{...
Bing Tan's user avatar
1 vote

How can I use todonotes with beamer?

Another option to inline todonotes by default, based of diabonas' answer, but this one doesn't require additional packages: \documentclass{beamer} \usepackage{todonotes} \setuptodonotes{inline} % can ...
jmrt's user avatar
  • 11
0 votes

Remove header/footer from titlepage BEAMER

Similar to the answer by @TobiBS, but to make this theme independent, one could redefine the head- and footline templates within a group, so this affect the other frames: \documentclass[12pt]{beamer} \...
samcarter_is_at_topanswers.xyz's user avatar
1 vote
Accepted

Try to generate frame title followed by a underline

The left option of a beamercolorbox is basically an horizontal fill inserted on the the right side of the box. This means that the remaining space is equally distributed between the \hfill from your ...
samcarter_is_at_topanswers.xyz's user avatar
0 votes

Adjust spacing between main text and footnote in beamer slides

In Beamer, this distance is adjusted by \skip\@mpfootins, for example: \makeatletter \skip\@mpfootins0pt \makeatother
Alberto López's user avatar
3 votes

Use beamer overlays in "normal" latex document

You could already define in your tikz files which nodes should be (in-)visible in the article version. This allows you to reuse the same files for your article without having to touch them again. \...
samcarter_is_at_topanswers.xyz's user avatar
1 vote
Accepted

Beamer: Show frame if it is defined

You could replace the error with a warning: \documentclass{beamer} \makeatletter \def\beamer@@@againframe<#1>[#2][#3]#4{% \@ifundefined{beamer@again@#4}% {\ClassWarning{beamer}{No frame has ...
samcarter_is_at_topanswers.xyz's user avatar
2 votes
Accepted

Beamer zooming - change color and depth of zoom outline?

You could redefine the \beamer@framezoom macro. See the line I marked with % <- change here to change the colour and linewidth. \documentclass{beamer} \makeatletter \def\beamer@framezoom<#1>&...
samcarter_is_at_topanswers.xyz's user avatar
2 votes
Accepted

How to make minted work inside custom environments?

Use a custom environment and not a macro: % !TeX program = txs:///arara % arara: pdflatex: {synctex: on, interaction: nonstopmode, shell: yes} \documentclass{beamer} \usepackage{minted} \...
samcarter_is_at_topanswers.xyz's user avatar
2 votes

change bar in metropolis theme title

Two possibilities: \setbeamercolor{progress bar}{fg=myblue} will change the colour of all progress bars, be it on the title or section pages \setbeamercolor{title separator}{fg=myblue} will only ...
samcarter_is_at_topanswers.xyz's user avatar
1 vote

beamer shading columns and highlight extra

Here is a way to do such tabular with {NiceTabular} of nicematrix. You need several compilations. \documentclass{beamer} \usetheme{CambridgeUS} \usecolortheme{seahorse} \usepackage{fontawesome} \...
F. Pantigny's user avatar
  • 36.6k
1 vote
Accepted

Alter \temporal command behaviour in the handout mode

Quick and dirty hack: \documentclass[ handout ]{beamer} \mode<handout>{ \protected\long\def\temporal<#1>#2#3#4{#4} } \begin{document} \begin{frame} \temporal<2>{First}{...
samcarter_is_at_topanswers.xyz's user avatar
2 votes
Accepted

LaTeX beamer which style is this?

The theme looks like metropolis with a couple of colour tweaks: \documentclass{beamer} \usetheme{metropolis} \definecolor{myblue}{RGB}{76,138,225} \setbeamercolor{palette primary}{bg=myblue} \...
samcarter_is_at_topanswers.xyz's user avatar
3 votes
Accepted

LaTeX Beamer Template: Why aren't title and subititle/auther info aligned?

Columns have different margins. You can use the same margins as for the surrounding text with the onlytextwidth option Using a list for the title seems awfully complicated Instead of \usebeamercolor{...
samcarter_is_at_topanswers.xyz's user avatar
1 vote
Accepted

Title over multicolumn array and side-by-side arrays

You can use beamer's own column mechanism: \documentclass[12pt,aspectratio=169]{beamer} \begin{document} \begin{frame} \begin{columns} \begin{column}{.23\textwidth} \centering \textbf{title} $\...
samcarter_is_at_topanswers.xyz's user avatar
1 vote
Accepted

Beamer custom breakable box

You can manually split the tcolorbox using \framebreak: \documentclass{beamer} \usetheme{default} \usepackage[T1,T2A]{fontenc} \usepackage[utf8]{inputenc} \usepackage[english]{babel} \usepackage{...
samcarter_is_at_topanswers.xyz's user avatar
1 vote

Org-mode export bold text to beamer

You could use \setbeamercolor{alerted text}{fg=black} \setbeamerfont{alerted text}{series=\bfseries} to tell beamer to display alerted text in bold
samcarter_is_at_topanswers.xyz's user avatar
1 vote
Accepted

How to extend rule until the end of beamer slide?

You could place your image and rule into some element which spans the whole paper width and not just the text width. Such elements could for example be a columns environment or the footline. Example ...
samcarter_is_at_topanswers.xyz's user avatar
4 votes
Accepted

Problems with numbered custom styles of theorems beamer

Your syntax is wrong. Your custom theorems take two mandatory arguments, one for the title and one for the label. You can't just leave one out. At the very minimum, it can be empty, but it can't ...
samcarter_is_at_topanswers.xyz's user avatar
2 votes

How can I have more than six itemize environments in beamer?

The following is meant as a companion piece to @cabobah's answer, which explains that your code contains a syntax error: a multitude of \itemize instructions without corresponding \enditemize ...
Mico's user avatar
  • 490k
3 votes
Accepted

How can I have more than six itemize environments in beamer?

You are not using an itemize environment, but only the itemize begin code without the corresponding itemize end code. Even using the start and end code of an environment instead of the environment ...
cabohah's user avatar
  • 8,258
1 vote
Accepted

Replacing a block of code with a macro (Beamer)

The fragile frame option should only be used if it is really necessary. It severely restricts the frame. In your case, the fragile frame option is not necessary. Fragile content can't be the argument ...
samcarter_is_at_topanswers.xyz's user avatar
1 vote
Accepted

Create an appendix title frame with just a title in beamer class

You could mimic the title frame like this: \documentclass{beamer} \usetheme{Boadilla} %\usecolortheme{default} % PACKAGES %\usepackage[utf8]{inputenc} \usepackage[ngerman]{babel} %\usepackage{...
samcarter_is_at_topanswers.xyz's user avatar
2 votes
Accepted

How avoid empty slide with TikZ-overlay footnote in beamer

I don't see any jumping in the footnote, so I'm not convinced that the absolute positioning with tikz is necessary. And even if, I doubt that a tikz picture wrapped around the outside of \footnotetext ...
samcarter_is_at_topanswers.xyz's user avatar
0 votes
Accepted

Customize a Beamer (slide) - similar to a .pptx model

Here is yet a different approach, following and adapting Trudy Fireston's "How to Make a Presentation in LaTeX"; you may also want to consult the beamer manual/documentation, e.g. ch 15.1 ...
MS-SPO's user avatar
  • 7,699
2 votes
Accepted

How to add a page number (out of total) at end of beamer headline containing a miniframe

As we were anyway redefining the headline for your previous question, you could add the page number in head/foot template to your headline like this (change the width of the navigation however you ...
samcarter_is_at_topanswers.xyz's user avatar
2 votes
Accepted

Beamer headline height or depth insufficient with compressed miniframes

You could redefine the headline and add as much space as you want (see the <- change here comment in the code below): \documentclass[compress]{beamer} \useoutertheme[subsection=false]{miniframes} \...
samcarter_is_at_topanswers.xyz's user avatar
2 votes
Accepted

Is there a gallery of beamer outer themes available?

You'll find a list, including images, of all the outer themes which ship with beamer, in section 16.2 Outer Themes of the beamer user guide. Here a short overview with just the images without all the ...
1 vote
Accepted

How to order multiple columns right to left in Beamer?

This solution is inspired by the answer by @samcarter_is_at_topanswers.xyz, which explains that Beamer's own column environment uses minipages. In the end, that other solution came close to working, ...
jejb's user avatar
  • 95
4 votes

How to order multiple columns right to left in Beamer?

As @MS-SPO already mentioned in comments, beamer has its own column mechanism. Internally, beamer places a bunch of minipages besides each other (like letters in a word) to create these columns. This ...
samcarter_is_at_topanswers.xyz's user avatar

Top 50 recent answers are included