Tag Info

New answers tagged

1

You need to install the institute in head/foot color; for example: \setbeamercolor{institute in head/foot}{fg=black} You need to redefine the footline template used by the Ilmenau; I marked the line were the change was made using %<- here. You have several possible (all of them basic) modifications for the sections/subsections in toc allowing you to ...


6

From the beamer's official documentation: When beamer typesets your text, it is always in one of the following five modes: beamer is the default mode. second is the mode used when a slide for an optional second screen is being typeset. handout is the mode for creating handouts. trans is the mode for creating transparencies. article is the ...


10

You can pass the [t] option to the class like \documentclass[t]{beamer} so that all frames are top aligned. If any frame needs to be center aligned then use \begin{frame}[c] (or [b] for bottom alignment) to that single frame. \documentclass[t]{beamer} \begin{document} \begin{frame} Some text \end{frame} \begin{frame} Again some more ...


1

Nesting tikzpictures generally spells trouble. Sometimes it works, but you can't complain they didn't warn you if it breaks. Therefore, it should be considered only as a last resort. In this case, the code is safer and simpler if the tikzmark library is used to support the \subnode{}{} syntax. The first argument is the name. The second the content. Note ...


0

As of LyX 2.1.0, put the cursor at the beginning of the frame (so your layout should say "Frame"), then go to Insert > Frame Options and put in 't'. For more information, please read the LyX Beamer guide under Help > Specific Manuals > Beamer Presentations.


1

Here a solution taken from this answer, we replace scale=0.3 with width=\linewidth to fit box. \documentclass[10pt]{beamer} \usetheme{Warsaw} \usepackage[english]{babel} \usepackage[utf8x]{inputenc} \setbeamertemplate{navigation symbols}{}%remove navigation symbols \setbeamercovered{transparent} \makeatother \title{title} \begin{document} \begin{frame} ...


1

You have to be a little careful in mixing up \pause and <n-m> commands as beamer is not always able to work out what you want. One nice trick is that \pause[5] tells beamer that pause should start counting from the slide 5 on-wards. Another nice trick is that many commands, including \item, accept the <n-m> modifiers, which allows you to ...


0

Here's a possible solution. I couldn't manage to make the "mouse-click-progress" work, but it will work if you click the right arrow. I'll try to have a look later and see if I can include that. Code \documentclass[step]{beamer} \usetheme{Boadilla} \usepackage{lmodern} \usepackage[absolute,overlay]{textpos} %\usepackage[frenchb]{babel} \usepackage{tikz} ...


2

The LaTeX3 "clist" data type can be used as an Array-like container of arbitrary data. A clist variable is initialised from a comma separated list. Individual elements are accessed by index: \documentclass[spanish,10pt]{beamer} \usepackage[ansinew]{inputenc} % Language = Spanish % \usepackage{color} \usepackage{tikz} \usepackage{hyperref} ...


0

In beamerbasetoc.sty, there is the definition of \beamer@tableofcontents \def\beamer@tableofcontents[#1]{% \def\beamer@toc@cs{show}% \def\beamer@toc@os{show}% \def\beamer@toc@css{show}% \def\beamer@toc@oss{show}% \def\beamer@toc@ooss{show}% \def\beamer@toc@csss{show}% \def\beamer@toc@osss{show}% \def\beamer@toc@oosss{show}% ...


3

One way is to define a new command which takes as arguments the frame content before the image, the file name of the image and, optionally, any frame content following the image. So that these can be specified in their natural order, I use xparse's \NewDocumentCommand to define \fitimage{<content before>}{<image file name>}[<content ...


1

With \NewEnviron{myframe}[1][]{...} you are declaring that myframe has an optional argument (default empty), so when you use \begin{myframe}{TITLE} the value of #1 is empty. The title is there, but it's empty. You can prove it by changing \NewEnviron{myframe}[1][]{% into \NewEnviron{myframe}[1][Hey!]{% and you'll see “Hey!” in the title place. You ...


0

I solved the issue as follows, The inner theme file contains the following code, \setbeamertemplate{section page}{ \global\boolfalse{SHOW_LINE_IN_FOOTER} \ifbool{DIVIDER_IS_YELLOW}{% \begin{tikzpicture}[remember picture, overlay] \node at (current page.center) { \includegraphics[width=\paperwidth]{yellow_divider.pdf} }; ...


3

When giving a presentation, do try to anticipate what the audience is supposed to take away from your talk. What do you want the members to remember ten minutes after the talk ends, let alone two days, or two weeks, after the talk has ended? Do you think there's any chance at all that they'll remember the contents of the full table? If the chance of this ...


3

As percusse mentions in his comment, \only<> will delay the border created by hyperref: \documentclass{beamer} \setbeamertemplate{navigation symbols}{} \hypersetup{colorlinks = false, urlbordercolor = 0 1 0, pdfborder = 0 0 .5} \begin{document} \begin{frame} \begin{itemize} \item A link will appear below: \only<2->{\item ...


2

This is a similar idea to other answers, implemented using the list features provided by etoolbox. I define three new user-level commands for configuring the logo. \setmylogo{} This command sets a comma-separated list of images as the current logo (to be used until further notice, if used outside a frame environment). For example, ...


0

Based on Passing arguments to custom frame option you can define custom beamer templates for the frametitle and chose them via frameoptions \documentclass{beamer} \usetheme[height=9mm]{Rochester} \usecolortheme{beaver} \usepackage{tikz} \usepackage{etoolbox} \title{The title} \institute[Inst.]{The Institute} \date{\today} \makeatletter ...


4

You could define the frametitle template so it puts the logos by fetching which ones from a macro that you redefine at the right points. \documentclass{beamer} \usetheme[height=9mm]{Rochester} \usecolortheme{beaver} \usepackage{tikz} \title{The title} \institute[Inst.]{The Institute} \date{\today} \def\thisframelogos{} ...


0

To change the colour locally for one frame, put the commands inside e.g. {} in order to keep the changes within this group. \documentclass{beamer} \usepackage[style=verbose]{biblatex} \usepackage{filecontents}% to embed the file `myreferences.bib` in your `.tex` file \begin{filecontents*}{myreferences.bib} @online{foo12, year = {2012}, title = ...


2

And why not a simpler and safer newcommand* as \newcommand*{\myincludegraphics}[2]{{\centering\includegraphics[#1]{#2}\par}} which keep original \includegraphics and the options? \documentclass{beamer} \usepackage{lmodern} \begin{document} \newcommand*{\myincludegraphics}[2]{{\centering\includegraphics[#1]{#2}\par}} \begin{frame} ...


4

The beamer class redefines \includegraphics to make it a robust command and overlay aware. It's a bit complicated to get the thing right, because the redefinitions happen at begin document. \documentclass{beamer} \usepackage{etoolbox} \AtBeginDocument{% \letcs\oig{@orig\string\includegraphics}% \renewcommand<>\includegraphics[2][]{% ...


3

You can use TikZ and put your images inside \nodes placed at the current page.center special anchor (\node is overlay aware). Compile the code twice so the images reach their final positions: \documentclass[12pt,utf8]{beamer} \usepackage{tikz} \begin{document} \begin{frame} \begin{itemize} \item<1,3,6-> item \item<3,6-> item \item<6-> ...


3

Here's one way to do it; \caption* inherits the same formatting as \caption (in particular, it has the same skips above and below and the single line feature): The code: \documentclass{beamer} \usepackage{letltxmacro} \usepackage{xparse} \LetLtxMacro\oldcaption\caption \makeatletter \RenewDocumentCommand\caption{som}{ \IfBooleanTF{#1} { ...


1

Just as an addition to Zarko, I'd use tikz \documentclass[a4paper]{memoir} \usepackage{tikz} \newcommand\PIC{\rule{5cm}{5cm}} \begin{document} \begin{tikzpicture} \node[inner sep=0pt,anchor=south west] at (0,0) {\PIC}; \node[anchor=north west] at (0,0) {\footnotesize \textbf{Source:} URL}; \end{tikzpicture} \end{document} Might be a bit simpler ...


2

As cfr mentioned in his comment, better looking way is not to use footnote references for pictures. Try to put reference immediately below picture like this: \begin{frame} \includegraphics[width=\textwidth]{example-image}\\[-1ex] {\tiny Source: \cite{foo12}} \end{frame} Edit: An attempt to make command for stack of figure and citation of image source. ...


0

You could load beamerarticle. Then you can use whatever commands and environments you like from Beamer. For example: \documentclass{scrartcl} \usepackage{beamerarticle} \usepackage{tikz} \begin{document} \begin{frame} \begin{tikzpicture} \node {Slide 1}; \pause \node [below] {Slide 2}; \end{tikzpicture} \end{frame} \end{document} I'm not ...


1

Does this solution work for you? \documentclass{beamer} \usefonttheme{serif} \setbeamerfont{title}{series=\bfseries,parent=structure} \setbeamerfont{frametitle}{series=\bfseries,parent=structure} \title{Test} \begin{document} \begin{frame} \titlepage \end{frame} \begin{frame} \frametitle{Test} Test \end{frame} ...


1

The snippet contains: \end{minipage}% \begin{minipage}... Thus, there is no horizontal space between them. The second minipage can be moved to the right by: \end{minipage}\hfill \begin{minipage}... and putting both minipages in a box: \noindent \hbox to \linewidth{% \begin{minipage}... \end{minipage}% \hfill \begin{minipage}... ...


2

You have to process your document once with pdflatex, then once with biber and then twice again with pdflatex. With this example (modified from the linked question to use beamer): \documentclass{beamer} \usepackage[style=verbose]{biblatex} \usepackage{filecontents}% to embed the file `myreferences.bib` in your `.tex` file ...


2

You can do this using side-by-side \parboxes for the numbers and the titles; change \secinsidebarindent (dafault=10pt) to control the width of the box reserved for the numbers: \documentclass{beamer} \usetheme{Marburg} \newlength\secinsidebarindent \setlength\secinsidebarindent{10pt} \makeatletter \setbeamertemplate{sidebar \beamer@sidebarside} { ...


2

The border can be enabled by option pdfborder. The third number is the border thickness. Since the navigation elements should probably not have borders, the example sets the border in the frame only: \documentclass{beamer} \hypersetup{ urlbordercolor = {0 1 0}, } \begin{document} \makeatletter \begin{frame} \hypersetup{pdfborder={0 0 1}} ...


1

here's an approach that uses \smash and some space adjustments to reposition the elements so that they appear to remain in the same locations when the slides are advanced. \documentclass{beamer} \newcommand{\fixit}{\mkern6mu{}} \begin{document} \begin{frame} \jot=6pt \begin{align} \only<1,3>{\fixit \sum a \fixit &= b \\ } ...


1

Here, I create a complementary macro \nulboxed[color]{content} that takes the content and places it in a default white box. Thus, it takes the same space as \boxed, since it uses the same macro. If one is unhappy with the asymmetric left/right space, one could always add \nulboxed wrappers around the b, d, and f terms, as well. \documentclass{beamer} ...


3

You can use <.-> (or just <.> if the inner list should only appear on slide one) as overlay specification for the inner list: \documentclass{beamer} \begin{document} \begin{frame} \begin{itemize}[<+->] \item ONE \begin{itemize}[<.->] \item B \item C \end{itemize} \item two \end{itemize} \end{frame} ...


2

Looks like a problem with auto-pst-pdf. Run your example without that package and with xelatex and everything will be fine. The problem is that the included graphics which is created by auto-pst-pdf has its lower left outside the line whereas xelatex or latex->dvips->ps2pdf have the middle of the line as the lower left.


1

I've come across another solution to this problem that is slightly different because it takes up the entire page including margins. I have an analogous one for "fullheightgraphic" that uses \paperheight instead of paperwidth \newcommand{\fullwidthgraphic}[2] { { \usebackgroundtemplate{\includegraphics[height=\paperwidth]{#1}} \begin{frame}{#2} ...


2

For your case you need \setbeamertemplate{frametitle}[default][center] to center the frame title \setbeamercolor{frametitle}{fg=blue} for blue color \setbeamerfont{frametitle}{series=bfseries} to change frame title font \documentclass{beamer} \usetheme{default} \usecolortheme{default} \usefonttheme{professionalfonts} ...


1

I prefer pdfscreen and texpower to beamer. You can still use \begin{slide} ... \end{slide} but I generally don't. Note that \section does not start a new page in article class. \documentclass{article} \usepackage{xspace,xcolor} \usepackage[screen,nopanel]{pdfscreen} \hypersetup{pdftoolbar=true,allcolors=blue} %\usepackage[display]{texpower} ...


2

Gonzalo Medina said in the linked question that you don't need the figure environment if there are not captions. But inversely, you can use this environment if you want captions: \documentclass{beamer} %just to simplifly the body of the document \def\img#1{% \begin{figure} \includegraphics[width=\linewidth, height=.2\textheight, keepaspectratio]% ...


2

This is a halfway construction. \documentclass{beamer} \usepackage{xparse} \ExplSyntaxOn \def\addpause#1{\rotatebox{180}{$\mathord{}=#1$}\pause} \DeclareDocumentCommand\BeamerRep{>{\SplitList{=}}m}{ \edef\tempA{{\tl_reverse_items:n{#1}}} \expandafter\ProcessList\tempA{\addpause} } \ExplSyntaxOff \begin{document} \begin{frame}\Huge ...


8

Here you go (adjust the settings according to your needs): \documentclass[compress]{beamer} \usetheme{sthlm} \usepackage{ booktabs, datetime, dtklogos, multicol, pgfplots, ragged2e, tabularx, tikz, wasysym } \pgfplotsset{compat=1.8} \usepackage[utf8]{inputenc} \usepackage[T1]{fontenc} \usepackage{newpxtext,newpxmath} \usetikzlibrary{ backgrounds, ...


3

Package color helps. The range of the color is limited by TeX groups. Curly braces have a side effect of creating a sub formula in math mode, which affects the horizontal spacing, therefore \begingroup and \endgroup is used without that side effect: \documentclass{article} \usepackage{color} \usepackage{amsmath} \begin{document} \[ z = \overbrace{ ...


1

tried it with this minimalistic approach: \begin{tabular}{ccc} \cellcolor{structure!80}{\textbf{soziales Interaktionssystem}} & & \\ \cellcolor{structure!80}{Myelinisierter Vagus} & \cellcolor{structure!50}{\textbf{Sympathikus}} & \\ \cellcolor{structure!80}{} & \cellcolor{structure!50}{} & ...


2

You can use another overlayarea environment for the inner list: \documentclass{beamer} \begin{document} \begin{frame}{Example} These are my points: \begin{overlayarea}{\textwidth}{.8\textheight} \begin{itemize} \item<1-3> Point 1, which spans\par over two rows \only<2>{ \begin{overlayarea}{\linewidth}{1.6cm} ...


2

The package sets the colour without using it and this is not enough in this case. You can workaround the bug by telling Beamer to activate the colours yourself: \documentclass{beamer} \usepackage{colourchange} \useoutertheme{shadow} \useinnertheme{rectangles} \title{Changing the Colours of Individual Slides} \begin{document} \frame{\titlepage} ...


2

The problem here is that invoking \setlength{\parindent}{2em} you are affecting not only the frame title but also some other elements such as blocks. You can then use \addtobeamertemplate to "correct" each element for which you don't want to apply the indentation; my example code below shows this for the frametitle, block begin and blobk example begin ...


2

I also had a custom footers and using a combination of both plain and noframenumbering worked for me. This removes any footnotes and does not increase the frame increment. \documentclass[]{beamer} % Custom numbering for the footline \setbeamertemplate{footline}{% \raisebox{5pt}{% \makebox[\paperwidth]{% \hfill\makebox[10pt]{% ...


2

This creates an invisible link box in the center of the frame. You can tell where it is when the cursor changes. (Not on the image here, which is only a .png copy.) \documentclass{beamer} \usepackage{hyperref} \makeatletter \setbeamertemplate{background}{% ...


1

I believe \itemsep is reset at the start of each itemize or enumerate and is given different values for different levels or when cramped. For a global value, see Global setting of spacing between items in itemize environment for beamer \documentclass{beamer} \begin{document} \begin{frame} \begin{itemize} \item Here I go again \item creating a ...


2

You can just use \pause normally: \documentclass{beamer} \usepackage{tikz} \usetikzlibrary{shapes} \begin{document} \begin{frame} \begin{figure} \begin{tikzpicture} \node (A) [draw=blue] {Text1}; \pause \node (B) [draw=yellow, below of=A] {Text2}; \end{tikzpicture} \end{figure} \end{frame} \end{document} I have placed node B ...



Top 50 recent answers are included