Skip to main content

New answers tagged

0 votes

Beamer: get the total number of frames

I finally found a solution by discovering the package totcount which deals with .aux files. Here is an ECM of what I have wrote: \documentclass[t]{beamer} \usepackage{totcount} \regtotcounter{...
Dor4's user avatar
  • 1
0 votes

How to change the playback speed of a video in media9?

According to the manual, the option 3Dplayspeed applies to 3D files and not to an mp4 file thus it does not modify the playing speed in the example in the question.
matexmatics's user avatar
  • 5,389
1 vote

Splitting slide into items left and according graphs on the right

You could either temporarily switch to another set of default overlay specificatons or explicitly specify the overlays like this: \documentclass[compress,aspectratio=169]{beamer} \...
samcarter_is_at_topanswers.xyz's user avatar
1 vote
Accepted

Limit symbol in different font

Change the main font and it will change the font for lim as well: % !TeX TS-program = lualatex \documentclass{beamer} \usepackage{fontspec} \setsansfont{Arial} \setmainfont{Fira Sans} \usepackage{...
samcarter_is_at_topanswers.xyz's user avatar
1 vote
Accepted

How to add section number in Beamer miniframes?

Quick hack to smuggle in the section number: \documentclass[compress]{beamer} \useoutertheme[subsection=false]{smoothbars} %% Remove sections names in the head. \setbeamertemplate{section in head/...
samcarter_is_at_topanswers.xyz's user avatar
0 votes

Beamer with ignorenonframetext ignores \maketitle command too. Why?

This has been fixed in commit https://github.com/josephwright/beamer/commit/226e0f747675dda03c2c192dd8fb97d269f97204 , which should be included in beamer v3.72 or later. Beamer now recognises \...
samcarter_is_at_topanswers.xyz's user avatar
0 votes

Beamer with ignorenonframetext ignores \maketitle command too. Why?

\maketitle without a \begin{frame}...\end{frame} is expanded to \begin{frame} \titlepage \end{frame} Therefore, writing the above explicitly keeps the titlepage when ignorenonframetext is set.
heroxbd's user avatar
  • 101
1 vote
Accepted

beamer section slide with name in colorbox centered in the frame

The default section page automatically has a box around the section title. In some themes, the default colour is empty, but it can be changed to make the box visible: \documentclass{beamer} \usetheme{...
samcarter_is_at_topanswers.xyz's user avatar
4 votes

Using a different background image for every LaTeX Beamer slide

You can use the background canvas template for the image. This way it won't cover up the frame title: \documentclass[compress,aspectratio=169]{beamer} \defbeamertemplate{background canvas}{image}[1]{\...
samcarter_is_at_topanswers.xyz's user avatar
1 vote
Accepted

Column too wide in table in a beamer: 'p' option and footnotesize don't help

To summarise the various comments in a community-wiki answer: you shouldn't typeset anything in beamer without a frame environment (notice the incorrect vertical alignment and broken numbering). Use ...
1 vote
Accepted

overlayarea and image shading in beamer not working correctly when combined

You can use \node<2->{...} to remove the image from the first overlay: \documentclass{beamer} \usetheme{Boadilla} \usepackage{tikz} \usetikzlibrary{positioning} \tikzset{ opinvisible/....
samcarter_is_at_topanswers.xyz's user avatar
2 votes

Is it possible to invert/substitute the colors of included graphics?

One can use: \includegraphics[width=4cm,decodearray={1 0 1 0 1 0}]{images/amande_noir.png} decodearray basically takes for each color component (here RGB, so 3) a tupple (a,b): 0 in the original ...
tobiasBora's user avatar
  • 8,964
0 votes

bibliography in Beamer

Since I encountered the same problem with the 3-line-splitting in a presentation I made recently, I searched the Forum for hours and hours, and nothing I could find worked in my System. Here, I used \...
Theodoros Tsatsaronis's user avatar
0 votes

How to change author alignment in Beamer?

Since beamer v3.70, the default title page is modular and users can redefine individual elements as needed. For example the user can now easily add a table to the author template: \documentclass{...
samcarter_is_at_topanswers.xyz's user avatar
1 vote
Accepted

beamer titlepage how to organize authors in a table which spans slide-width

I wouldn't mess with the content of macros like \author etc. Instead you could either redefine the author template (and add your table there) and/or redefine the whole title page template if you need ...
samcarter_is_at_topanswers.xyz's user avatar
4 votes
Accepted

Beamer overlay makes tikz picture move

If you use \node<3-> etc. the nodes will only be present on the specified overlays and thus the size of your tikz picture will change on each overlay. To avoid the problem, you could use the ...
samcarter_is_at_topanswers.xyz's user avatar
1 vote

Making citations with many names display correctly in beamer

If you want to use the natbib bibliography style plainnat, you should load the natbib package If you would like to display all others without et al., you could use \citet*{...} etc. Depending on ...
samcarter_is_at_topanswers.xyz's user avatar
0 votes

Spacing between equations in columns in Beamer

With exploiting amsmath package, which loaded by beamer document class and using pifont package for check marks and X cross marks you can write your slide with quite shorter code: \documentclass[...
Zarko's user avatar
  • 300k
2 votes

bug with beamer and lastpage?

Beamer loaded part of hyperref, and then lastpage thought that hyperref had been loaded completely. This has been fixed since version 2.1b 2024-07-03 of the lastpage package.
Stephen's user avatar
  • 15.1k
0 votes

Spacing between equations in columns in Beamer

You can avoid much of vertical space by removing the empty lines in your source code: \documentclass[xcolor={svgnames}]{beamer} \usepackage{tikz} \newcommand{\tikzxmark}{% \tikz[scale=0.23] { \...
samcarter_is_at_topanswers.xyz's user avatar
2 votes
Accepted

Incompatibility of the '\onslide' environment with environments that have a running counter

You could use \resetcounteronoverlays{boxedthmcounter} to add your counter to the list of counters which get reset at the start of an overlay: \documentclass[xcolor=dvipsnames]{beamer} \usepackage{...
samcarter_is_at_topanswers.xyz's user avatar
1 vote

Fancy table: Remove cells and split lines within cells

Here is a solution with {NiceTabular} of nicematrix. The special color nocolor used in the lower left corner ensures that no color will be put in that cell despite the other color instructions (in ...
F. Pantigny's user avatar
  • 43.2k
0 votes

Fix total number of pages in beamer

You can use \setbeamertemplate{page number in head/foot}[appendixframenumber] to count the frame in the appendix separately: \documentclass{beamer} \setbeamertemplate{footline}[frame number] \...
samcarter_is_at_topanswers.xyz's user avatar
0 votes

Total number of pages of section

Beamer provides the start and end page of sections and subsection via \insertsectionstartpage etc. You can use these to calculate both the total number of pages in each (sub)section as well as the ...
samcarter_is_at_topanswers.xyz's user avatar
0 votes

TikZ Node with not exceeding right page border

Thanks for your answer @samcarte_is_at_topanswer.xyz. Nevertheless, I found this post Distance computation (answer from Alain Matthes), which inspired me, and thanks to this, I do not need to change ...
Krzysztof's user avatar
  • 121
2 votes
Accepted

In LaTeX beamer, can you reveal points on a slide with an animation, without resetting the animation?

beamer overlays are physical PDF pages and a self-contained, independent animate animation will be embedded on each of them. While scrolling through the overlays, these animation "incarnations&...
AlexG's user avatar
  • 55.4k
1 vote

TikZ Node with not exceeding right page border

\documentclass{beamer} \usepackage[T1]{fontenc} \usepackage{tabto} \makeatletter \setbeamertemplate{frametitle}{% \begin{beamercolorbox}[wd=\paperwidth,sep=0.2cm]{frametitle} \fontsize{11}{12}\...
samcarter_is_at_topanswers.xyz's user avatar
2 votes
Accepted

How to change locally beamer frametitle using pagestye?

you can not change the frametitle in the page style, as the page style is set later. And generally beamer's option are not really well suited for such a setup. As beamer collects its body the \end{...
Ulrike Fischer's user avatar
3 votes

bug with beamer and lastpage?

Instead of lastpage, you could use beamer's own macros to insert the number of the last page/frame/etc. \documentclass{beamer} \usepackage{biblatex} \addbibresource{biblatex-examples.bib} \begin{...
samcarter_is_at_topanswers.xyz's user avatar
1 vote
Accepted

Beamer background canvas template resolution order

The title page template is executed within the frame. At this point the background canvas is already in place. With your \usebeamertemplate*{background canvas} you add the background canvas a second ...
samcarter_is_at_topanswers.xyz's user avatar
0 votes

Chart for Recorder fingering notation in Musixtex with Tikz and Beamer

There is a new package for Recorder, the package can be located on: undar-digitacion A basic example is as follow: % !TEX encoding = UTF-8 Unicode \documentclass[border=8pt,varwidth]{standalone} \...
ABV's user avatar
  • 451
4 votes
Accepted

Fancy bibliography items

With the syntax \setbeamertemplate{bibliography item}[foo] you can load a predefined template with the name foo. This template needs to be defined via \defbeamertemplate{bibliography item}{foo}{...}. ...
samcarter_is_at_topanswers.xyz's user avatar
-1 votes

How to align an English paragraph left and write English numbers in English in a Persian beamer?

You can use: \begin{latin} English paragraph \end{latin}
Shadi Azizi's user avatar
3 votes
Accepted

Algorithm in Beamer

Load some package which defines the algorithm environment: \documentclass{beamer} \mode<presentation> { \usetheme{Warsaw} \usecolortheme{beaver} } \usepackage{algorithm} \usepackage{...
samcarter_is_at_topanswers.xyz's user avatar
1 vote
Accepted

Beamer strange interaction between fragile, standalone and new frame option

You can avoid the problem if you don't add a group. A couple of alternative ways: \documentclass{beamer} \begin{filecontents*}[overwrite]{header.tex} \usepackage[group=false]{standalone} %\usepackage{...
samcarter_is_at_topanswers.xyz's user avatar
0 votes
Accepted

Latex Beamer - Add left padding to table of contents

You could redefine the section in toc template and change the left skip how you want: \documentclass[10pt]{beamer} %\usepackage[utf8]{inputenc} \usetheme{Boadilla} \usecolortheme{beaver} \...
samcarter_is_at_topanswers.xyz's user avatar
0 votes
Accepted

Beamer: reference in theorem environment,

to use \cite[...]{...} inside of an optional argument, wrap it in {...} to hide the square bracket from the optional argument to remove the (...) around the theorem addition, redefine the theorem ...
samcarter_is_at_topanswers.xyz's user avatar
1 vote

How to manually change page numbering in beamer?

Another option is \setcounter{framenumber}{42} for an absolute instead of a relative change.
Lennart Oelschläger's user avatar
1 vote

Using tipa in beamer: How to match fonts?

You could use the serif font theme to get the normal serif latex font: \documentclass{beamer} \usepackage{tipa} \usefonttheme{serif} \begin{document} \begin{frame} abc \textipa{[""Ekspl@...
samcarter_is_at_topanswers.xyz's user avatar
1 vote

\footfullcite not changing font size with new version of LaTeX

You can avoid the problem by using the moloch theme instead of metropolis. It is an updated fork of metropolis which fixes a lot of problems: \documentclass{beamer} \usetheme{moloch}% modern fork of ...
samcarter_is_at_topanswers.xyz's user avatar
1 vote

Flushright an image under a title but aligned beside a name/affiliation

Beamer does not have a floating mechanism. There is no real advantage to wrap an image into a figure environment if it does not have a caption. To position your name etc. beside the image, you could ...
samcarter_is_at_topanswers.xyz's user avatar

Top 50 recent answers are included