Tag Info

2

Something like this? I use \tikzmarknodes, which simplify things since they e.g. detect that one is in math mode, and visible on=<.(1)>, a trick that I learned from samcarter, which allows one to avoid hardcoded numbers like 9. \documentclass{beamer} \usepackage{etex} \usepackage[utf8]{luainputenc} % --> oui ! Ça fonctionne pour œ ! \usepackage[T1]{...

1

You can use the option notes with the position of the notes (manpage for pdfpc): -n, --notes=P Position of notes on the PDF page. Position can be either left, right, top or bottom (Default none) So in your case: pdfpc --notes=right filename.pdf If you insert a frame number, the frames will be recognized correctly. If there is a frame with ...

0

The following approach (apart from the font) could be a good starting point. I tried to keep the things as simple as possible. Code \documentclass[10pt,xcolor=dvipsnames]{beamer} \usepackage{kerkis} \usepackage{kmath} \usecolortheme[named=Blue]{structure} \setbeamerfont{title}{series=\bfseries} \setbeamerfont{author}{size=\normalsize} \setbeamercolor{...

0

Maybe I didn't get it right, but why another list in another frame? \documentclass{beamer} \geometry{paperheight=1.5in,paperwidth=2in} \begin{document} \begin{frame} \begin{enumerate} \item \only<1>{First}\only<2>{First again}\label{1} \item<1> Second\label{2} \item \only<1>{Third}\only<2>{Third again}...

5

You could use the refcount package to have an expandable reference number that you can play with. This allows you to use the tricks of your first code in the last one. \documentclass[pdf]{beamer} \usepackage[utf8]{inputenc} \usepackage{tipa} \usepackage{refcount} \usecolortheme{beaver} \setbeamercovered{highly dynamic} \mode<presentation>{} \begin{...

4

The beamer specification <all:0> is probably your friend. Code \documentclass{beamer} \usetheme{Boadilla} \begin{document} \begin{frame}{Some Title} The text before an invisible block: \medskip {\itshape Lorem ipsum dolor sit amet, consectetuer adipiscing elit. Aenean commodo ligula eget dolor.} % % Invisible block; see the ...

-1

It looks like this problem has been fixed upstream by https://github.com/loopspace/tikzmark/commit/1427ccaa0be7932d964d3f51b26b5a4d3444e1af or https://github.com/loopspace/tikzmark/commit/00141c09c0b53c14459c206dc23ea6ea90f96b0b So if you use the work-around presented above on a recent TeXlive distribution (I have tried on Ubuntu 19.04 & 19.10 and ...

2

As the \mpcolor command has been designed to be used after withcolor operator, it will not work in a simple assignment situation such as background. However, xcolor package provides a quite useful command, \extractcolorspecs, which we can use in the OP's example as follows: \documentclass[10pt]{beamer} \usepackage{luamplib} \usetheme{Boadilla} \begin{...

2

The same answer as @Oleg Domanov but also adding a hyperlink to the citation: \documentclass{article} \usepackage[backref=true]{biblatex} \usepackage{hyperref} \usepackage{filecontents} \begin{filecontents}{\jobname.bib} @misc{A01, author = {Author, A.}, year = {2001}, title = {Alpha}, } @misc{B02, author = {Buthor, B.}, year = {2002}, title = {Bravo}, } \...

0

Based on this, it turns out hyperref has a command for setting its options after the package is loaded. Using hypersetup I was able to get it working by putting the following in my header .tex file: \hypersetup{colorlinks=true,linkcolor=black,urlcolor=blue}

1

With TikZ, we can put more nodes along the path. I think similar things can be done with Metapost, or it's better moving to TikZ ^^ \documentclass{beamer} \usepackage{tikz} \usetheme{Boadilla} \begin{document} \begin{frame} \begin{exampleblock}{}\centering\leavevmode \begin{tikzpicture}[yscale=2,xscale=1.5,font=\sffamily] \path (0,0) coordinate (O) (-2,-...

2

Judging from the error message you're using unicode-math. The problem is that this package assigns a value to the “active ′” at begin document, thus overriding what your \newunicodechar does. Solution: postpone \newunicodechar. \documentclass{article} \usepackage{unicode-math} \usepackage{newunicodechar} \AtBeginDocument{\newunicodechar{′}{\makebox[\...

0

You can also use following : Please add this in the preamble. \usepackage{tikz} Then, in the body of your document (right after \begin{document}) add the following: %-----------LOGO ADDED TO NORTH EAST----------------% \addtobeamertemplate{headline}{} {\begin{tikzpicture}[remember picture, overlay] \node [anchor=north east, inner sep=6.5cm] at (...

1

Just for variety. Note that TeXpower does not automatically pause between items. Wasn't sure if you wanted that or not. \documentclass{article} \usepackage{xcolor} \usepackage[screen,nopanel]{pdfscreen} \usepackage[display]{texpower} \margins{0.25in}{0.25in}{0.25in}{0.25in} \screensize{4.5in}{6in} \backgroundcolor{lightgray} \renewcommand\familydefault{...

0

Recent developements of babel (from v3.23) enabled to change the direction of writing implicitely depending on script with option bidi=basic, it allow to overcome many obstacles to write a right to left beamer presentation. Some minor changes remained I collected in a class beamer-rl which call babel with option bidi=basic-r and need lualatex % compile ...

2

The following beamer based MWE looks at least somehow similar to your presentation. Probably you can use it as a place to start from: beamer based version _________________________article based version \documentclass[t]{beamer} \beamertemplatenavigationsymbolsempty \setbeamertemplate{itemize items}[circle] \setbeamercolor{structure}{fg=black} \...

2

Just remove \usepackage{lmodern} and \usepackage[T1]{fontenc}. \documentclass[9pt]{beamer} \mode<presentation> { \usetheme{JuanLesPins} \usefonttheme{serif} \usecolortheme{beaver} \setbeamercovered{invisible} \setbeamertemplate{blocks}[rounded][shadow=true] \setbeamertemplate{navigation symbols}{} \setbeamertemplate{footline}[...

1

It very much looks like the issue you've come across is a (bad) side-effect of using the polyglossia package, which seems to have a few issues when used with the brazil language option. Unless you absolutely must use the polyglossia package, an easy remedy consists of (a) getting rid of (or, at least, commenting out) the instructions \usepackage{...

0

No idea how this could be done automatically, would require a bit of patching of beamer's internals. The following does it manually, using minipages, which is not adviced by beamer, but for some reasons we have to use \only before \tableofcontents, or else the \only macros for the images wouldn't work correctly. \documentclass[30pt]{beamer} \...

3

One option is to put the content in a fitted box using the fitting library and the tcolorbox package (see chapter 21 of the tcolorbox manual). Several fitting algorithms are available to fit text to the nominated height and width of a box. \documentclass[20pt]{beamer} \usetheme{Warsaw} \usepackage[fitting]{tcolorbox} \newcommand*{\mytext}{This is a random ...

2

By using environ package and pgffor (just to simplify the \loop): \documentclass[12pt]{beamer} \usetheme{Warsaw} \usepackage{environ} \usepackage{pgffor} \newcounter{boxCounter} \newsavebox{\boxA} \newsavebox{\boxB} \newsavebox{\boxC} \newsavebox{\boxD} \newlength{\availafter} \NewEnviron{autotext}[1][0.5cm] {\setcounter{boxCounter}{0}\foreach \mysize in ...

1

Using etoolbox with the command \AtEndDocument seems to work as required. \documentclass[t,10pt]{beamer} \usetheme{Warsaw} \usepackage{etoolbox} \title{Title of the talk} \author{Some X. Author} \begin{document} \maketitle \AtEndDocument\maketitle \begin{frame}{Frame 1} Some text \end{frame} \begin{frame}{Frame 2} Another text \end{frame} \end{...

0

Probably something like the following is closer to what you wanted to achieve. The descriptive texts can be placed individually, so you can easily skip an equation line. I have also aligned all equations with respect to the = sign and changed the size of the parentheses. \documentclass{beamer} \newcommand{\stepone}{\text{1. Mul by LCD, Distribute}} \...

1

With the help of \setbeamercolor{title} you can achieve the following result: \documentclass{beamer} \usetheme{Madrid} \usecolortheme{dolphin} \definecolor{LightCyan}{rgb}{0.88,1,1} \setbeamercolor{title}{bg=LightCyan} \title[Mock Presentation, UC3M]{Title ABC} \author[ABC]{ABC} \institute[AUMM]{XYZ} \date{October, 2019} \begin{document} \begin{frame} \...

3

As requested; to add a new geometry setting to beamer, first make sure you are changing a local copy of beamer.cls. You can see where the file is in your computer by looking at the beginning of log: (c:/texlive/2019/texmf-dist/tex/latex/beamer/beamer.cls Document Class: beamer 2019/09/29 v3.57 A class for typesetting presentations then copy that file to ...

2

The same way you do it for any document, add: \tableofcontents in the frame you want to show the TOC.

1

lstlisting is an environment like a figure or an equation and includes in its definition vertical spaces above and below of it. You could control this vertical above and below spaces by using the command: \lstset{aboveskip=0pt, belowskip=0pt} This way you could have a result like: \documentclass$a4paper${beamer} \usepackage{listings} \usetheme{Warsaw} ...

0

If this can be a solution for you, I would rather have my codes in their dedicated files (e.g., code.c) and then use this command: \lstinputlisting[style=CStyle]{code.c} Otherwise, there is an answer here: Environment inside \newcommand Edit You can also include several codes from the same file at different places of your document by using the optional ...

6

There is the key auto counter for that purpose. As it turns out, it does not yet automatically harmonize with beamer \pauses. This can be fixed by redefining \tcb@proc@counter@auto to become \def\tcb@proc@counter@auto#1{% \newcounter{tcb@cnt@#1}% \csxdef{tcb@cnt@#1}{tcb@cnt@#1}% \tcb@proc@counter@autoanduse{#1}% \ifcsname resetcounteronoverlays\...

0

After installing the complete version of Miktex the following worked for me: I created a folder. In it I saved as greekslides.sty the following \ProvidesPackage{common} \usepackage{subfiles} \usepackage{fontspec} \AtBeginDocument{ \mathcodeα=\alpha \mathcodeβ=\beta \mathcodeγ=\gamma \mathcodeΓ=\Gamma \mathcodeδ=\delta \mathcodeΔ=\Delta \mathcode`ε=...

2

You will have to redefine the heading command - at least the default one, perhaps more if you expect that others are used too. On the whole I don't think that it is a great idea to redefine section - it is a quite standard command and people expect it to behave in a certain way. \documentclass{beamer} \usepackage{biblatex} \addbibresource{biblatex-...

2

It works with the serif option because then the roman font is used instead of sans serif: \documentclass[10pt,serif]{beamer} \usepackage{polyglossia} \setmainlanguage[numerals=Devanagari]{bengali} \setotherlanguage{english} \newfontfamily\englishfont[Scale=MatchLowercase]{Times New Roman} \newfontfamily\bengalifont[Script=Bengali]{Bangla MN} \title{\LARGE \...

1


1

The issue comes from the \onslide command, which I fixed. I also used the opportunity to clean up, replace \tikzstyle by the corresponding \tikzset syntax and to draw your attention to \usetikzlibrary{overlay-beamer-styles}, which is made for these things. \documentclass[14pt,compress]{beamer} \usepackage{tikz} \usetikzlibrary{overlay-beamer-styles} \...

0

One option is to employ tikz and use an overlay picture with absolute positioning (which requires remember picture). (You could also use, say, eso-pic.) \documentclass{beamer} \usepackage{tikz} \begin{document} \begin{frame}[t] \frametitle{Pauses} \begin{tikzpicture}[overlay,remember picture] \node[above=1.5em] at (current page.south) {\includegraphics[...

0

If you just want to top align the contents of two columns in a beamer frame, then there is no need for paracols: \documentclass{beamer} \begin{document} \begin{frame}[t] \begin{columns}[t] \begin{column}{0.5\textwidth} xxx \end{column} \begin{column}{0.5\textwidth} yyy more text \end{column} \...

0

You could use the visible on style from this great answer. Note the proposed style is now provided by the aobs-tikz package. Instead of setting opacity to 0 just set it to another value that fits your need (I do not know the default opacity that beamer uses. \documentclass[10pt]{beamer} \usepackage{tikz} \tikzset{ invisible/.style={opacity=0.3}, ...

0

This is not a really elegant solution (yet?) but shows that this can be done in principle. The key ingredient is Martin Scharrer's solution of a closely related problem. The strategy is to save the tcolorbox in a \savebox and then to decompose it into bits that fit. Ironically, for this we do not need breakable. I also added some analog of the \textheight, ...

1

if your footer had no text then it would be equivalent to \leavevmode\hbox{}% \vskip0pt Which starts a paragraph, adds a white line of "text" ends the paragraph and then adds a vertical skip of 0pt (which potentially moves the alignment point). Your \ifnum replaces that by nothing, which means that the behaviour is likely to be different, move the test ...

1

As pointed out in this answer, it is often advantageous to introduce a local coordinate system that has the dimensions of the picture. In these coordinates, the crosses have coordinates like (1/4,1/4), but we won't need them explicitly. Rather you can use the overlay-beamer-styles library (which as a "side-effect" avoid jumps) to get \documentclass{beamer} ...

0

So here is my workaround for this. It opens your standard video player when you click on the image. \documentclass{beamer} \usepackage{multimedia} \begin{frame} \centering \movie[externalviewer]{\includegraphics[width=1.0\textwidth]{image.jpg}}video.mp4} \end{frame}

0

Without the \caption* command you can use something like the following: \documentclass{beamer} \begin{document} \begin{frame} \frametitle{Total Variance Decomposition of Grades} \begin{figure}[H] \centering \caption{Vriance decomposition} \includegraphics[scale=0.25]{example-image} {\small Source of the image.} \end{figure} \end{frame} \...

2

With minipage You can also do this using a minipage: Here's the corresponding LaTex code where the image appears at the same time¹ as the third text item: \documentclass{beamer} % No "Figure:" prefix for image captions \usepackage{caption} \captionsetup[figure]{labelformat=empty} % Define appearance of the slides \usetheme{Rochester} \usecolortheme{...

1

Well you can naturally add them, but this is a rather unusual place - there is not much space there. I'm not sure if is worth to develop an interface. \documentclass[compress]{beamer} \usepackage[export]{adjustbox} \usepackage[version=4]{mhchem} \usepackage{graphicx} %%%%%Theme&Colors%%%%%%% \usetheme{Warsaw} %\usetheme{Madrid} \definecolor{Navyblue}{...

Top 50 recent answers are included