Tag Info

New answers tagged

1

You need not use empty \nextgroupplot to insert the Row 1 etc. But use a node like \node[rotate=90,above=5mm] at (my plots c1r1.west) {Row 1}; \node[rotate=90,above=5mm] at (my plots c1r2.west) {Row 2}; \node[above=5mm] at (my plots c1r1.north) {Column 1}; \node[above=5mm] at (my plots c2r1.north) {Column 2}; The width problem comes as you have width=1cm ...


2

After a small correction of (first version of) your code: \documentclass{beamer} \usetheme{Ilmenau} \usecolortheme{beaver} \begin{document} \begin{equation} 1+1=2 \end{equation} \begin{equation} 1+1=2 \tag{mytag} \end{equation} \end{document} The source of your problem seems to be inline formula, i.e. between dollar signs, not inside, say, equation ...


3

You can modify the indention with \setbeamersize{description width=0.57cm}, just play around to whatever value you need. \documentclass[14pt,handout]{beamer} \setbeamersize{description width=0.57cm} \begin{document} \begin{frame}\frametitle{} \begin{description} \item[FooBarBazZot] - foo bar \\ baz zot \end{description} \end{frame} \end{document} ...


0

In file beamerfontthememetropolis.sty from the theme, change the line \setsansfont[BoldFont={Fira Sans}]{Fira Sans Light} to \setsansfont[BoldFont={Fira Sans},ItalicFont={Fira Sans Light Italic}]{Fira Sans Light} I don't know why luaLaTeX need to specify the italic font explicitly, because XeLaTex compiles the demo file without any problem on my ...


1

How to convert: convert -coalesce something.gif something.png How to get an embedded looping animation: \documentclass{beamer} \usepackage{animate} \begin{document} \begin{frame}{Embedded Animation} \animategraphics[loop,controls,width=\linewidth]{12}{something-}{0}{16} \end{frame} \end{document}


1

Here is a more automated solution using counters. \documentclass[landscape,9pt]{beamer} % COMANDI INIZIALI \usepackage[italian]{babel} % sillabazione italiana \usepackage[utf8]{inputenc} % Per le lettere accentate IN UNIX E IN WINDOWS \usepackage{ragged2e} ...


1

Once upon a time I wanted to have not-so-random sequence of frame numbers for my audience to guess during my talk. The same trick works here. As you have done you need to change the footline template. In what you have the frame numbers are controlled by the commands \insertframenumber{} / \inserttotalframenumber and it enough to replace these with ...


4

Ok, let's start with the .gif from @SeanAllred comment. First Step: Converting There are probably many methods to do so. To be independent of the operation system, there are online converter, like http://gifmaker.me/exploder/ or if you prefer using the command line use convert from ImageMagick: convert -coalesce VHJmL.gif something.png Make sure you ...


5

I suggest you do the following: Insert a line-break instruction (\\) and one additional alignment point indicator (&). That way, TeX can tell where to break the lines and on which points to align the rows. With this change in place, one gets: I would like to urge you to consider making a few more changes: Use a \notag instruction at the end of ...


2

I don't believe you can. In the documentation (Beamer User Guide, v.3.33, section 12.1 on p.110) it says "The ⟨default overlay specification⟩ is inherited by subenvironments. Naturally, in a subenvironment you can reset it locally by setting it to <1->." I may be wrong and there may be a hack around it, but it seems that this was the intended ...


0

As suggested by Jojo Boulix in the comments beamer options are the way to go. The three files could then look like: main.tex \documentclass{beamer} \author{George Orwell} \title{Animal Farm} \date{\today} \institute[TUD] \usetheme[location=Berlin]{tudrobert} \begin{document} \begin{frame} \titlepage \end{frame} \end{document} ...


3

I would try to avoid scaling tables, and avoid using tabularx for numeric data (tabularx adjusts column widths by changing the target width for line breaking but you don't normally want line breaking within cells for this kind of table) \documentclass{beamer} \usepackage[english]{babel} \usepackage{tabularx,booktabs,dcolumn} ...


4

One possibility is to omit the second \item. In your example, this seems the right option to me: \documentclass{beamer} \begin{document} \begin{frame} \begin{itemize}[<+->] \item Next up a lemma. \begin{lemma}A lemma.\end{lemma} \end{itemize} \end{frame} \end{document} Alternatively, if you need the \item (e.g. for the \item ...


4

Without counters and without the need of telling the number of images in advance: just define the list of images in the shown way and you're done. \documentclass{beamer} \usepackage{tikz} \newenvironment{autoimageframe} {% Set background image \usebackgroundtemplate{% \begin{tikzpicture}[remember picture,overlay] \node[inner sep=0] at (current ...


4

You can generate a few macros and a name list and loop through via a mod operation. \documentclass{beamer} \usepackage{tikz,mwe}% For dummy images \newcounter{backgroundimagecounter} \setcounter{backgroundimagecounter}{0} \newenvironment{autoimageframe} {% Set background image \usebackgroundtemplate{% \begin{tikzpicture}[remember picture,overlay]% ...


1

You can find here the combination of themes and colors https://www.hartwork.org/beamer-theme-matrix/ To change the font just put this on your preamble \usepackage[urw-garamond]{mathdesign} \usepackage[T1]{fontenc} I hope it helps


0

After some time I got the 'setorder' command working, which makes the example relatively easy to define. I will try to use it and see whether its useful. Sorry for the bad indention. I asked an extended version of this question on this site. \documentclass{beamer} \usepackage{xstring} \usepackage{etoolbox} \usepackage{tikz} \newcounter{mycounter} % #1 is ...


0

Another possible suggestion, as you'd like to define several frames types... I used this definition to print a separation frame with some text in the middle. \newcommand{\sepframe}[1]{ \begin{frame}[noframenumbering,plain] \begin{tikzpicture}[remember picture,overlay] \node[font=\sffamily\huge\bfseries\color{grayd},text width=10cm,text badly ...


1

Beamer's rule "Your presentation will look exactly the same no matter which computer or viewer program is being used." If this won't happen you have to check your "accessibility option" in your pdf viewer and disable unwanted options. Using Adobe Reader (for example):


0

You can use \tableofcontents[currentsection] to show a TOC for the current section, all other sections and subsections greyed out. See my MWE below. Additionally I added the options onlyand uncover for the overlay specifications. You can play with them. I hope this is what you want. \documentclass{beamer} \setbeamercovered{transparent} \begin{document} ...


3

Do you mean this? \documentclass{beamer} \setbeamercovered{transparent} \begin{document} \begin{frame} \begin{itemize} \only<1>{\item a} \only<2>{\item b} \only<3>{\item c} \end{itemize} \end{frame} \end{document}


4

Pandoc has you covered! It is set up to produce document "fragments" by default, but there's the -s or --standalone flag, which will give you a whole .tex file. So something like pandoc -s -t beamer SLIDES -o example8.tex should do the trick.


0

I am also facing a problem with the beamer class file. I am using the following code: \documentclass[slidestop,mathsrif]{beamer} \usetheme{CambridgeUS} \usecolortheme{lily} \beamertemplateballitem \usepackage{graphicx} \usepackage{xcolor} %\usepackage{ragged2e} %\usepackage{hyperref} \title[Many-body Physics with Stationary Light]{\color{red!50!green}{\bf ...


1

By patching \beamer@sectionintoc command, I could use varwidth inside center environment to make ToC lines left aligned and in the center. The only limitation of this solution is, ToC lines could not be wrapped. \documentclass{beamer} \usepackage{varwidth} \usepackage{etoolbox} \makeatletter ...


1

This is some code from beamerbasesection.sty, with some annotations There is no distinction between \section and \section* regarding the stepping of the section counter, contrary to the standard classes like article. As such, the section counter is increased even by a \section* command. Is this a bug? No, I think, it's easier to do so for bookkeeping all ...


1

Here is a MWE created according to Using pause without increasing page number. By putting the frame number into the footer it just solves the problem with increasing page numbers. \documentclass{beamer} \usetheme{Warsaw} \setbeamertemplate{navigation symbols}{} \author{Authorname} \date{\today} \title{Biochemistry} \setbeamertemplate{footline}[frame ...


2

The origin of this code is different, but - maybe - can help you: \documentclass[ignorenonframetext]{beamer} \usepackage{graphicx} \newcommand{\gooditem}[1]{\setbeamercolor{item}{fg=green}\item #1} \newcommand{\pooritem}[1]{\setbeamercolor{item}{fg=red}\item #1} \begin{document} \begin{frame} \begin{itemize} \gooditem good \pooritem bad ...


3

Here is one way; using a tabular-like structure: \documentclass{beamer} \usetheme{CambridgeUS} \newcommand{\tabitem}{% \usebeamertemplate{itemize item}\hspace*{\labelsep}} \begin{document} \begin{frame}{Centering the itemize} My first try: Centering the itemize \begin{itemize} \item item1 \item item2 \end{itemize} \begin{center} ...


5

Those colours are taken from item projected so use \setbeamercolor{item projected}{fg=white,bg=red} MWE \documentclass{beamer} \usetheme{CambridgeUS} \setbeamercolor{item projected}{fg=white,bg=red} \begin{document} \begin{frame} \begin{enumerate} \item one \item two \item three \end{enumerate} \end{frame} \end{document}


0

Formalizing based on Christian's comment as an answer. I added \usebeamercolor[fg]{normal text} as following: \setbeamercolor{normal text}{fg=red} \setbeamercolor{frametitle}{fg=red} \usebeamercolor[fg]{normal text} \begin{frame} \frametitle{Red Title} Some text in red \end{frame}


3

Don't use $$, use \[...\] instead (for details see this question and answers). You can put \noalign{\pause} at the end. Then \pause is applied just when the one row is finished and before the next row is started. Also, it is better to use \text instead of \mbox as the former is more font friendly. \documentclass{beamer} \usepackage{amsmath} ...


3

I wouldn't do it, but here it is. I'd much prefer giving the overlay options to \begin{itemize}: how many cases do you have where you'd like to apply this? \documentclass{beamer} \makeatletter % similar to \@ifnextchar, tests if the next token is a control sequence \newcommand{\@ifnextcs}[2]{% \def\reserved@a{#1}\def\reserved@b{#2}% ...


1

Easiest is to add the picture as a background to the slides, and then clearing it after the title slide: \setbeamertemplate{background}{% \put(0,-265){% \pgfuseimage{mybackground} } } Here is the full code: \documentclass [compress]{beamer} \newcommand\Fontvi{\fontsize{6}{7.2}\selectfont} \usepackage{remreset} \usepackage{textpos} ...


3

I think this command is only available from inside a beamer template. In any case, redefining the frame environment is a bad idea. Instead, try changing the style using beamer template commands (you may need to adjust the spacing): \setbeamercolor{frametitle}{fg=black} \setbeamertemplate{frametitle}{ \vspace{4cm} \begin{tikzpicture}[remember ...


0

As mentioned in the question there was a related question. I can just use the method given there in a loop. The example below produces the same output as the example in the question, however it is not necessary to adapt the whole frame to the overlays to be included. The optional parameter to \includestandaloneslides specifies from which slide on all ...


5

You are already using IEEEtrantools, hence it is possible to use IEEEeqnarray. The following works: \documentclass{beamer} \mode<presentation> { \usetheme{Warsaw} \useoutertheme{infolines} } \usepackage{graphicx} % Allows including images \usepackage{mathtools} % \usepackage{IEEEtrantools} %% makes IEEE tools available in other classes. ...


1

\documentclass{beamer} \usepackage{standalone, filecontents, tikz} \begin{document} \begin{filecontents}{pic.tex} \begin{tikzpicture} \draw[use as bounding box] (0,0) rectangle (3,3); \draw<1-> (0,0) -- (3,3); \draw<2-> (3,0) -- (0,3); \draw<3-> (0,1) -- (3,1); \end{tikzpicture} \end{filecontents} \begin{frame} ...


1

Here is a start with darthbith's suggestion. \documentclass{beamer} \usepackage{tikz} \begin{document} \begin{frame}{picture} %\framepic{images/bg.jpg} \frametitle{Nothing was the same.} \begin{tikzpicture}[remember picture,overlay] \node[at=(current page.center)] { \includegraphics[width=\paperwidth]{bg} }; ...


3

You're almost there: the environment should have an argument, but the inner theorem environment should be declared with \newtheorem*, with a “variable part” in the name that's set when the environment is opened. \documentclass[xcolor=x11names,compress]{beamer} \usepackage{xcolor} \usepackage{framed} \usepackage{amsthm} \usepackage[utf8]{inputenc} ...


2

Use \begin{frame}[t] \maketitle \end{frame} and remove \vskip-0.59cm% so that the frame starts from top. \documentclass{beamer} \usepackage{tikz} % Custom title page \setbeamertemplate{title page} { %\vskip-0.59cm% \hskip-.7cm% \inserttitlegraphic% \vfill% \begin{beamercolorbox}[sep=6pt]{title} \usebeamerfont{title}\inserttitle\par% ...


3

If you install the cm-super package then the bold p will be extracted from the type 1 font sfso1000.pfb.


5

Beamer (and from the same author TikZ/PGF) follows the compartmentalization scheme. What you are describing is still following that scheme actually but in a larger scale. It is both a class and it has its internal packages (themes actually). Why is it a document class ? Because, it alters the page size, page elements, typical title and author ...


2

You can use columns environment and include one figure in each column: \documentclass{beamer} \begin{document} \begin{frame} \begin{columns}[onlytextwidth] \begin{column}{.45\textwidth} \begin{figure} \includegraphics[width=\textwidth]{example-image-a} \caption{First image} \end{figure} \end{column} \hfill \begin{column}{.45\textwidth} \begin{figure} ...


3

CambridgeUS theme uses infolines outer theme which design head and footlines. Footline template is defined with: \defbeamertemplate*{footline}{infolines theme} { \leavevmode% \hbox{% \begin{beamercolorbox}[wd=.333333\paperwidth,ht=2.25ex,dp=1ex,center]{author in head/foot}% \usebeamerfont{author in ...


0

Typically one don't include floats inside a presentation and reference them. It's far better to repeat an image with addition context if you want to reference it. As such, you can set the images in a box-like structure without a number. I've done this using a full-width tabular: \documentclass{beamer} \usepackage{array} ...


2

As described in section 3.3 of the beamer documentation, \title, \author, etc. accept optional short arguments in square brackets. This short version will be placed into the footline. \documentclass{beamer} \usetheme{CambridgeUS} \usepackage[T1]{fontenc} % european characters \usepackage{amssymb,amsmath} % use mathematical symbols ...


3

beamer adds center to figure which causes nag to complain whatever you do. You could not load nag or if you want to load it you can stop it messing with center \let\zcenter\center \let\zendcenter\endcenter \RequirePackage[l2tabu,orthodox]{nag} \documentclass[aspectratio=43]{beamer} \usepackage{mwe} \usepackage{lmodern} \begin{document} \let\center\zcenter ...


2

If there is no important reason for using fancyhdr with beamer, I'd suggest to declare headers and footers with footline and headline beamertemplates which is the beamer's way. Following code shows an starting point. %%%%%%%%%%%%%%%%%%%%%% % Class and packages % %%%%%%%%%%%%%%%%%%%%%% \documentclass[12pt]{beamer} \usetheme{default} \usepackage{lipsum} ...


3

Here is a TikZ simpler solution using the command \addtobeamertemplate{headline}{}{}. \addtobeamertemplate{headline}{}{% \begin{tikzpicture}[remember picture,overlay] \node at([shift={(.25\paperwidth,-.42)}]current page.north) {\includegraphics[height=.5cm,width=.7cm]{logo}}; \end{tikzpicture}} Only the vertical position should be manually adjusted for ...


1

Very raw, but should serve as starting point. Only thing remaining is to calculate the vertical length of the box accurately (now bit large). You can play with \@tempdimb=5mm% , if you have only one section. %% Help logo top right code \documentclass{beamer} %% Use warsaw theme \usetheme{Warsaw} \makeatletter \ifbeamer@compress ...



Top 50 recent answers are included