Tag Info

New answers tagged

2

You need a redefinition of the beamer@barshade shading used by the smoothbars outer theme (original definition can be found in beamerouterthemesmoothbars.sty): \documentclass[ ]{beamer} \usetheme{Frankfurt} \useoutertheme{smoothbars} \makeatletter \AtBeginDocument{ \pgfdeclareverticalshading{beamer@barshade}{\the\paperwidth}{% color(0ex)=(black);% ...


1

I assume you are using the confposter theme from http://www.njohnston.ca/2009/08/latex-poster-template/. If this is the case, simply redefine the headline template to use \raggedright instead of the default \centering Original definition \setbeamertemplate{headline}{ \leavevmode \begin{columns} \begin{column}{\linewidth} \vskip1cm \centering ...


1

What you need is \resetcounteronoverlays{lstlisting} to prevent the counter from incrementing when using overlays. The complete code: \documentclass{beamer} \usetheme{Goettingen} %\usecolortheme{whale} \setbeamertemplate{frametitle continuation}[from second] % (cont.) from second slide \setbeamertemplate{bibliography item}{[\theenumiv]} % numbers ...


2

One option: using \onslide almost ecerywhere (except for the first \pause, which could aslo be replaced for a convenient \onslide); notice also that you can avoid manual numbering: \documentclass{beamer} %[handout] \usepackage[T1]{fontenc} \usepackage[italian]{babel} \usepackage[utf8x]{inputenc} \usetheme{Antibes} \setbeamercovered{dynamic} ...


1

Another option to avoid the "jumping" effect is simply to use an overlayarea environment which was designed specifically for these cases. Adjust the width and height according to your needs: \documentclass{beamer} \begin{document} \begin{frame} \begin{overlayarea}{\linewidth}{4cm} Some test text for the example test text for the example test text for the ...


1

Here a solution: \documentclass{beamer} \begin{document} \begin{frame} Blah, blah, blah, blah, blah, blah, blah, blah, blah, blah, blah, blah, blah, blah, blah, blah, blah, blah, blah, blah, blah, blah, blah, blah, blah, blah, blah, \begin{enumerate} \only<1>{% \item Blah \item Blah } \only<2>{% \item[3.] Blah \item[] } ...


2

It's a typical problem due to an unexpected spurious space. The longer line ends almost at the boundary of the available space and there is a space (due to the end-of-line in the input) between the last $ and \vspace. Thus the paragraph consists of two lines, the second of which only contains \vspace. When \vspace is issued in LR-mode (that is, when ...


3

\documentclass[11pt]{beamer} \usepackage[T1]{fontenc} \usepackage{tgpagella} \usetheme{Warsaw} \begin{document} \begin{frame}{Proof 2: Symmetry Preserving Maps} \begin{itemize}[<+->]\setlength\itemsep{3ex} \item $\mathbb{Z}_2$ symmetry on $\mathbb{R}$: $x\longleftrightarrow -x$ \item $\mathbb{Z}_2$ symmetry on ...


1

\documentclass[11pt]{beamer} \usetheme{Warsaw} \usepackage{graphicx} \usepackage{lmodern} \usepackage{enumitem} \setitemize{label=\usebeamerfont*{itemize item}% \usebeamercolor[fg]{itemize item} \usebeamertemplate{itemize item}} \begin{document} \begin{frame}{Proof 2: Symmetry Preserving Maps} \begin{itemize}[itemsep=.5cm] \item $\mathbb{Z}_2$ ...


1

Is the following what you want? The only things I changed were removing col sep=tab because the data came out spaced when pasted (so likely irrelevant to you) and moving the semi-colon. Everything else is just there because of missing definitions/packages in your sample code. For example, the colours were not necessarily defined, so I just switched to ...


2

The reason why \setbeamertemplate{author}{...} won't work is because author is not a beamer template. Using author in head/foot you can customize the color and font for the author in the headline/footline but not in the main body of the title page. On the other hand, the \author command, defined in the file beamerbasetitle.sty, is responsible for making the ...


2

That place shows the current subsection. This is the original headline definition, in beamerouterthememiniframes.sty: \defbeamertemplate*{headline}{miniframes theme} {% \begin{beamercolorbox}[colsep=1.5pt]{upper separation line head} \end{beamercolorbox} \begin{beamercolorbox}{section in head/foot} ...


0

\documentclass{beamer} \usepackage{etoolbox} \defbeamertemplate{frametitle}{mydefault}{% \insertframetitle% } \defbeamertemplate{frametitle}{imagetitle}[1]{% \insertframetitle \includegraphics[width=0.1\textwidth]{#1}% } \BeforeBeginEnvironment{frame}{% \setbeamertemplate{frametitle}[mydefault]% } \makeatletter ...


1

Here you must replace \insertpagenumber with \insertframenumber. To turn off the frame number for the first frame you can add noframenumbering as option in the start of frame environment \documentclass[xcolor={dvipsnames,table},11pt]{beamer} \setbeamertemplate{footline}{\vspace*{1mm}\hfill \insertframenumber/\inserttotalframenumber\hfill\vspace*{1mm}} ...


2

Instead or redefining the footline template, you can simply add the logos using \addtobeamertemplate: \documentclass[12pt]{beamer} \usetheme{Marburg} \usecolortheme{sidebartab} \useinnertheme{rounded} \addtobeamertemplate{footline}{}{% \makebox[\paperwidth]{% ...


0

Something like this: You need to redefine the footline template for the Marburg theme as this: \documentclass[12pt]{beamer} \mode<presentation>{} %\usepackage{beamerthemesplit} \usepackage{graphicx,lmodern} \usepackage{amsfonts} %\graphicspath{ {/home/user} } \usetheme{Marburg}%{Warsaw}%Goettingen \usecolortheme{sidebartab} ...


4

Instead of using \paperwidth and \paperheigh, I'd suggest you to use the current page. family of nodes and to place everything with respect to those modes (this implies that you have to use the remember picture,overlay keys for each tikzpicture and that the document needs two runs for the elements to reach their final positions). A complete example: ...


3

At first you need \addbibresource{\jobname.bib} The extension is needed. However, instead of \small use \tiny and you'll see the font change. \small is often difficult to see because it is only a bit smaller than \normalsize


2

Understanding this requires a subtle reading of the beamer manual. (Note: this is Till's text, not mine!) For beamer 3.36, on page 80 one finds the description of \onslide. The given syntax is \onslide⟨modifier⟩<⟨overlay specification⟩>{⟨text⟩} where the {⟨text⟩} argument is optional. There is then detail of what happens if there is no {⟨text⟩}, and ...


1

I was thinking of using bibexport to get a .bib file with only the cited references, and create a minimal file with essentially just with the title and such parafernalia only and a \nocite{*}...


4

The easiest way is to use a couple of wrappers and Beamer's article-creation facilities. For example, create main-bit.tex with almost everything: \usepackage[backend=biber]{biblatex} \addbibresource{\jobname.bib} \begin{document} \begin{frame} \frametitle{Test} The solution to all my troubles is in the book by Noes~\cite{Book1}. ...


1

Next code shows a possible solution which uses absolute coordinates (current page) to cover certain region. Another solution could be to include tikzmarks in your text and use them to draw covered regions. \documentclass{beamer} \usepackage{tikz} \usepackage{lmodern} \begin{document} \begin{frame} \begin{columns}[onlytextwidth] \column{.5\linewidth} ...


1

If you aren't bothered about the navigation symbols, you could just do this: \documentclass[14pt,aspectratio=1610]{beamer} \usetheme{Marburg} \def\mylogo{example-image-a} \mode<handout>{ \setbeamertemplate{footline}{\parbox{\paperwidth} {Slide \insertframenumber{} of \inserttotalframenumber{} \hfill\includegraphics[width=2cm]{\mylogo}}} } ...


0

beamer is not a standard class: it is a specialist class for making presentations. As such, you cannot expect that all of the standard LaTeX commands will do something appropriate or, even, be recognised. The class provides a wide range of customisation options, including overall themes, inner themes, outer themes, font themes, colour themes and templates. ...


2

The pagestyles empty and plain are defined by default, see latex.ltx: \def\ps@empty{% \let\@mkboth\@gobbletwo\let\@oddhead\@empty\let\@oddfoot\@empty \let\@evenhead\@empty\let\@evenfoot\@empty} \def\ps@plain{\let\@mkboth\@gobbletwo \let\@oddhead\@empty\def\@oddfoot{\reset@font\hfil\thepage \hfil}\let\@evenhead\@empty\let\@evenfoot\@oddfoot} ...


1

Use \addtobeamertemplate to add the image inside a TikZ \node to control the opacity (since internal calculations are involved two or three runs are needed until the image reaches its final position): Update: The image has to span the full width of the headline but without the sidebar and the height of the image has to be equal to the headline height; in ...


0

You can always define a new environment which builds a frame with a particular background color. Following code is just an starting point. It won't work with fragile frames and doesn't allow other frame options like b,c,t or overlay specifications. \documentclass[11pt]{beamer} \newenvironment{colorframe}[2][]{% \setbeamercolor{background canvas}{bg=#1} ...


3

You could provide the background using a command and a TikZ \node: \documentclass{beamer} \usepackage{tikz} \newcommand\Background{% \begin{tikzpicture}[remember picture,overlay] \node[inner sep=0pt,outer sep=0pt,opacity=0.5] at (current page.center) {\includegraphics[width=\paperwidth,height=\paperheight]{expl3}}; \end{tikzpicture}% } ...


0

The easiest way to do this is to put the \setbeamercolor and the frame inside a group. \documentclass[11pt]{beamer} \begin{document} \begin{frame}{Global Background Color} No Content \end{frame} \begingroup \setbeamercolor{background canvas}{bg=green} \begin{frame}{Different Background Color} No Content \end{frame} \endgroup \begin{frame}{Global ...


0

Do you want to do this only for your "quad"-frame or globally? For only this special frame, a quick hack would be to simply insert \vspace{} \documentclass[t]{beamer} \setbeamersize{text margin left=0.5em, text margin right=0.5em} \setbeamertemplate{frametitle}{\color{black}\bfseries\insertframetitle\par\vskip-6pt\hrulefill} \newcommand\FourQuad[4]{ ...


1

Something like this? This is not the 'right' way to do it but it involves minimal disruption to existing code. In particular, the frame content need not be altered. \documentclass{beamer} \newcommand\MyBoxInactive[1]{% \begin{minipage}[b][.20\textheight][t]{.20\textwidth}% \setbeamercolor{normal text}{fg=gray}\usebeamercolor[fg]{normal text}% ...


0

How about using TikZ to define your boxes? Something along these lines: \documentclass[t]{beamer} \setbeamersize{text margin left=0.5em, text margin right=0.5em} \setbeamertemplate{frametitle}{\color{black}\bfseries\insertframetitle\par\vskip-6pt\hrulefill} \usepackage{tikz} \usetikzlibrary{positioning} \tikzset{ invisible/.style={opacity=0.3}, ...


2

You need \tableofcontents[sectionstyle=show/hide,subsectionstyle=show/show/hide] at the beginning of each section. A complete example (I deleted parts of the code in the question that were not esential for the problem here): \documentclass[xcolor=table,compress,t,fleqn]{beamer} \usefonttheme[onlymath]{serif} \mode<presentation> { ...


3

I used 2 \parboxes to insert side-by-side. \documentclass{beamer} \usepackage{graphicx} % Allows including images \usepackage{booktabs} % Allows the use of \toprule, \midrule and \bottomrule in tables \usepackage{comment} \usepackage{listings} \usepackage{hyperref,xcolor} \usepackage{empheq} \newcommand*\widefbox[1]{\fbox{\hspace{2em}#1\hspace{2em}}} ...


1

First things first: the \section instruction (in standard LaTeX) does not initiate an environment. But, you kind of forsaw that you would need to change the interface with respect to the last said. At least my solution needs sections to be grouped inside environments. The conditional logic isn't that complex in the end. Say you have two conditionals ...


3

Like this? I used the current page. family of nodes (I used some opacity; adjust the settings according to your needs): The code: \documentclass{beamer} \usepackage{tikz} \usepackage{lipsum} \begin{document} \begin{frame} \lipsum[1] \begin{tikzpicture}[remember picture,overlay] \pause \fill[gray!80,opacity=0.8] (current page.north west) ...


1

Two options. Since minipage lets you control its height, instead of columns I'd rather use two side-by-side minipages, enclosing one of them in a \colorbox: The code: \documentclass[t]{beamer} \setbeamersize{text margin left=1em, text margin right=1em} \begin{document} \begin{frame} \frametitle{Test} ...


1

The export_overlays script from BeamerScape pretty much does this: You can combine a set of layers visible in each output step; you just put the normal beamer-style spec in the layer name inside inkscape (<1-2,4> Cat Layer, <3> Dog Layer). You should let export_overlays control the entire frame (so make your SVG the appropriate aspect ratio to ...


1

The culprit is \offinterlineskip in the code that typesets the headline or footline (the effect can also be observed in the headline template); this is used several times when building the header/footer: \def\beamer@typesetheadorfoot#1{% typeset the head or footline {\parskip0pt\offinterlineskip% \hbox{% \hskip-\Gm@lmargin% \hbox{% ...


3

This is a well known (and documented; cf. section 9.5 of the beamer documentation) effect with overlays and I am afraid there's no general solution. Two possible solutions are to use \struts for the \items or to use an overprint or an overlayarea environment: \documentclass{beamer} \begin{document} \begin{frame} \begin{block}{The One} ...


4

Here's what you need to do. First of all, for licensing issues (the files are licensed under the GNU General Public License v. 3 (GPLv3)), it's better not to change the original files. Make a copy of the files beamercolorthemeFeather.sty beamerinnerthemeFeather.sty beamerouterthemeFeather.sty beamerthemeFeather.sty and rename the copies as, for ...


1

Here's one way keeping the overprint (using its optional argument to prevent the following material to be pushed down): \documentclass[xcolor=dvipsnames]{beamer} \begin{document} \begin{frame} \frametitle{Intuition: Continued...} \begin{itemize} \item Use of \alert{sub-sampling} according to deterministic target poilcy from the given behavioural ...


7

Because even after scaling it, the image's width is bigger than \textwidth so it protrudes to the right. With your example code you get a warning about this: Overfull \hbox (11.64403pt too wide) in paragraph at lines 10--10 Instead of scale, control the width using: \includegraphics[width=\textwidth]{tikz.pdf} or a fraction of \textwidth: ...


2

Warsaw uses the shadow outer theme which applies a shading after the frame title: \pgfdeclareverticalshading{beamer@topshade}{\paperwidth}{% color(0pt)=(bg); color(4pt)=(black!50)} One way to hide the shading is to redefine it so it matches your canvas background color: \pgfdeclareverticalshading{beamer@topshade}{\paperwidth}{% ...


0

Just choose which elements of a frame you want to be bold. \AtBeginDocument{\bfseries\selectfont} makes the normal text bold. More options can be found at http://tex.stackexchange.com/a/183053/36296 \documentclass{beamer} \usetheme{Warsaw} \AtBeginDocument{\bfseries\selectfont} % normal text \setbeamerfont{alerted text}{series=\bfseries} ...


2

The theme uses the title page template as defined by the default inner theme, so you can do a redefinition of this template, as the example below shows. A placed the title page elements inside a columns environment; the column to the left is empty and the one to the right contains the information. Change their widths in the lines signales % Here in the ...


3

You can use the specification \only<+(1)->{\SBS}: The code: \documentclass{beamer} \makeatletter \def\c@slideinframe{\beamer@slideinframe} \def\beamerslideinframe{\beamer@slideinframe} \makeatother \newcommand{\SBS}{% \only<+->{Step} \only<.(1)->{by} \only<.(2)->{step} } \begin{document} \begin{frame} ...


2

You can place the second item (and associated content) inside \only<2-4>: \documentclass{beamer} \begin{document} \begin{frame} \frametitle{Title} \begin{block}{Block 1} \begin{overlayarea}{\textwidth}{0.85\textheight} \begin{itemize} \item<1-> Item 1. \only<2-4>{\item Item 2. \bigskip\centering ...


4

beamer has its own list definitions and loading package like enumitem or paralist can destroy them. It is better to define your own commands, e.g. something like this: \documentclass[xcolor=dvipsnames, fleqn]{beamer} \newcommand\paraitem{% \quad \makebox[\labelwidth][r]{% \makelabel{% \usebeamertemplate{itemize \beameritemnestingprefix ...


4

The shortlst package seems to be compatible with beamer. It deines a runenumerate and a runitemize environments. To redefine the item marker as in beamer, I had to load etoolbox and patch the item command on entering the environment. Note: Asshortlst is not part of TeX Live, nor MiKTeX (for licensing reasons, as far as I know), you will have to install it ...



Top 50 recent answers are included