Tag Info

New answers tagged

2

Quick and dirty is to use \alert: \alert{Package pgf Error: No shape named is known} or to pass colorlinks option to \documentclass[a4paper,colorlinks]{beamer} %\documentclass[a4paper,colorlinks]{beamer} \documentclass[a4paper]{beamer} \usepackage{hyperref} \begin{document} \begin{frame}{tex.stackexchange.com} My first Question: ...


1

If using LuaLaTeX/XeLaTeX, the fontawesome package provides this possibility: \documentclass{beamer} \usepackage{fontawesome} \begin{document} \begin{frame} \begin{description} \item[\faSmile] good \item[\faMeh] indifferent \item[\faFrown] bad \end{description} \end{frame} \end{document}


1

No need to redefine frame; if I understand your question correctly, you can use overlays and \mode. Here's a simple example document: \documentclass{beamer} %\documentclass{article} %\usepackage{beamerarticle} \begin{document} \begin{frame} \frametitle{% \mode<presentation>{% \only<1>{Title A}% \only<2>{Title B}% ...


2

For testing purposes, said that the original presentation is xxx.pdf generated from: \documentclass{beamer} \usepackage{lipsum} \title{Non Source Presentation} \author{Someone} \usetheme{Berkeley} \begin{document} \maketitle \section{Lore} \begin{frame}{Lore ipsum} \lipsum[1] \end{frame} \section{Ipsum} \begin{frame}{Nam dui ligula} \lipsum[2] ...


10

Yout code won't work because the itemize/enumerate \beameritemnestingprefix body begin template is used before the \list internally used by itemize. You can patch \itemize (original definition in beamerbaselocalstructure.sty): \documentclass[14pt]{beamer} \usepackage{xpatch} \xpatchcmd{\itemize} {\def\makelabel} ...


3

If you know how big your presentation slides are do \documentclass{article} \usepackage[paperheight=197mm,paperwidth=254mm]{geometry} \usepackage{pdfpages} \begin{document} \includepdf[pages=1-15]{presentation.pdf} \end{document}


0

Correct solution would be to emit html tags around each word in listings, or better, around block of same syntax style, with class attribute set according to syntax style. Unfortunately, listings source code is complex and I can't figure out how to do that, so I will provide just a some helper to ease the color definition. Create file textstyle4ht.sty: ...


2

You need to find a frame-related hook. Below I've used \beamer@checkframetitle that inserts \insertsectiontitle only for the first frame after \section: \documentclass{beamer} \makeatletter \newcommand<>{\insertsectiontitle}{\frametitle{\thesection~\insertsection}} \let\oldbeamer@checkframetitle\beamer@checkframetitle% Store the \frametitle ...


1

Something like this? \begin{frame}[t] \frametitle{title} \framesubtitle{subtitle} my notes (top aligned) \vfill \begin{itemize}[<+->] \item item 1 \item item 2 \item item 3 \end{itemize} \end{frame}


0

The fix was 2-part \end{frame} can NOT be indented \end{frame} cannot have any comments directly after it Changing this line fixed the error.


0

Beamer provides commands \insertsection, \insertsubsection, \insertsubsubsection that will insert the current section, etc. Please see the Beamer Class User Guide, page 64 and 65. (It was v3.33 in my system).


0

I am not sure if this is that you are looking for, but you can insert \thesection. \insertsection or \thesubsection. \insertsubsection in the body frame as you want: \documentclass{beamer} \usetheme{Warsaw} \def\SecT#1{\begin{frame}[plain] \begin{block}{} \centering\huge\thesection. \insertsection \end{block} \vfill\Large #1 \end{frame}} ...


6

align will have \abovedisplayskip above the its top. You have to get rid of it. Plus since making it zero will bring the equation in the next line (display equation!) making \setlength{\abovedisplayskip}{-\baselineskip} will do the job. Further, you need to add a `\par in {\tiny [Zvezdin, Modern Magnetooptics, IOP 1999]\par} Code: ...


4

Here comes another alternative. The tcblisting environment saves the content into a file which is read afterwards as a listings or as a compiled text or both. This process can be decoupled: The environment tcboutputlisting saves the content into the intermediate file. \tcbinputlisting reads the intermediate file. This gives: \documentclass{beamer} ...


4

This creates a command \handoutgap{} which will leave a gap in handout mode, typesetting the content normally otherwise. \documentclass[handout]{beamer} \newcommand\handoutgap[1]{\invisible<0| handout:1->{#1}} \begin{document} \begin{frame} This is some text and \handoutgap{that bit is} missing. \end{frame} \end{document} The handout: ...


2

You do need to tell beamer what you want to appear in each frame of the handout version. You can use \onslide specifications to do this so that you do not need to modify the existing overlay specifications at all. (I'm not sure this is what you want - probably not.) The following code modifies your MWE so that, in presentation mode, there would actually be ...


3

Simply remove the plain option for the frames in which you want numeration. To suppress the headline, redefine the template to be empty: \setbeamertemplate{headline}{} A complete example: \documentclass[11pt]{beamer} \mode<presentation>{} \usepackage{beamerthemesplit} \setbeamertemplate{footline}[frame number] \setbeamertemplate{headline}{} ...


4

(This answer got revised thoroughly after the OP clarified his/her objectives and affirmed a focus on working with the beamer theme "PaloAlto".) Don't use \frametitle{<some very long title>} on the title page. In fact, it's probably not necessary to provide a \frametitle instruction for the title page at all. Instead, work with \title, as noted in ...


2

You can use \vrule. Here's an example with fake images, replace them with yours. \documentclass{beamer} \usepackage{graphicx} \begin{document} \begin{frame} \frametitle{Foo Bar} \includegraphics[scale=0.18]{example-image-a} \hspace{5pt}\vrule\hspace{5pt}% \includegraphics[scale=0.18]{example-image-b} \end{frame} \end{document} Output If you want to ...


0

I'm a senior in high-school and I've used Beamer in my high-school presentations. It's very simplistic and straight to the point. Being able to have transitions from bullet point to bullet point in a .pdf is nifty! I haven't, however, used PowerPoint+LaTeXPDF+ArtRange. I'll look into it!


2

As @Gonzalo Medina suggested, I turned my comment into an answer. When you setup a matrix in Tikz and use nodes={...} as an option for the matrix itself, you specify the default behavior of the nodes. If you want to change the appearance of a single node, just put your specifications inside two vertical bars |...|: this notation accepts the specifications ...


5

You can put the boxes one per frame by \only<slide number>. If you don't know the slide number in a large presentation, but want to display them one by one, then use \only<+>. like in \documentclass{beamer} \usepackage{tikz} \begin{document} \begin{frame} \begin{overprint} \begin{tikzpicture}[ every pin edge/.style={thick,blue!50},pin ...


3

The first question has already been addressed in comments. Here, I address the second, together with the related question you asked in comments. The template is local. But the frame on which the stray text appears is not complete when the group containing the template specification opens. So the template is set while material is being collected for that ...


2

How about simply adding a \vspace*{-20pt} to you progress bar? \addtobeamertemplate{frametitle}{} {% \vspace*{-20pt} \begin{beamercolorbox}[wd=\paperwidth,ht=1pt,dp=1pt]{}% \progressbar@progressbar% \end{beamercolorbox}% }%


3

The package environ is handy in such situations. Here is how it looks: \documentclass{beamer} \usepackage{lipsum} \usepackage{environ} \NewEnviron{myframe}[1][]{% \begin{frame}{#1} \begin{minipage}{\textwidth} \BODY \end{minipage} \end{frame} } \begin{document} \begin{frame}{test} \begin{minipage}{\textwidth} \lipsum[1] \end{minipage} \end{frame} ...


1

CW from the comments: Use the mirror key as part of decoration to mirror the decoration along the path. The result here produces an ugly shortened brace, but I'm assuming the actual use case has more content so this problem goes away. \documentclass[french]{beamer} \usepackage{tikz} \usetikzlibrary{fit,calc,positioning,decorations.pathreplacing,matrix} ...


3

May be you should use native beamer columns instead of minipages. This is just for illustration: \documentclass{beamer} \usepackage{tikz} \begin{document} \begin{frame} \frametitle{Characteristics of ABCDE} \begin{columns} \column{0.5\linewidth} \begin{itemize} \item AAAAAAA \item BBBBBBBBBB \item CCCCCCCCCC \item DDDDDDDDDDDD \item EEEEEEEEE \end{itemize} ...


4

I've edited and changed your code a little bit. Mainly, a \node was missing around the \includepicture. Is the following what you want to have? \documentclass{beamer} \usepackage{tikz} \begin{document} \begin{frame} \frametitle{Characteristics of ABCDE} \begin{minipage}{.5\linewidth} \begin{itemize} \item AAAAAAA \item BBBBBBBBBB \item CCCCCCCCCC ...


2

Those circles are provided by Singapore theme. and to get only numbers in the enumerate, you have to provide a mini template like \begin{enumerate}[1.] To make this work for all enumerate environments put \setbeamertemplate{enumerate items}[default] in the preamble as commented by Gonzalo. Full code \documentclass{beamer} \usetheme{Singapore} ...


1

This is a somewhat different approach to rendering animations or movies in Linux Latex Beamer presentations. Firstly I uses Kazam to convert any animations into more compressed mp4 Secondly, I use \href{run:./directory/file.mp4}{MOVIE } in Latex/Lyx to generate the link within a pdf file. Thirdly I use mpv as a media player. In this the config file in ...


1

Perhaps this will give you something of what you seek. The commands/environments introduced are \previewmode[T or F] turns on or off preview mode (current default is on) \begin{sframe}...\end{sframe} to save, but not immediately display, a frame. Note that frames need to be saved in order for their preview to function. In essence, this replaces the use ...


0

First, my question is a duplicate, and there does seem to be a solution: Note page showing the next frame. Dunno why I couldn't find that when I was searching for it. Second, even if I implemented that solution, it wouldn't help much; it's hard to find software that will correctly display the "double screen" PDFs that Beamer uses for its notes. After ...


1

For the author as a quick hack: use \author[author name]{} Edit: For the date, you could use \date[\today]{} in the preamble and then add the date manually (with \today) at the bottom of your slide - simply below the mentor, student etc. maybe also the suggestions in here help.


3

tcblisting environments from tcolorbox package are a good tool to define fancy boxes around source code. tcolorbox provides the surrounding box and it works with listings and minted packages to format source code. Next it's just an example which shows some customization options: \documentclass{beamer} \usepackage[most]{tcolorbox} ...


2

You can redefine the subsection in toc template to achieve the desired layout. MWE \documentclass{beamer} \defbeamertemplate*{subsection in toc}{sub on 1 line} { \ifnum\inserttocsubsectionnumber=1 \phantom{---}\quad\inserttocsubsection \else ---\quad\inserttocsubsection \fi } \begin{document} \begin{frame} \tableofcontents \end{frame} ...


1

The problem appears due to the use of unicode-math (deleting line by line and all the extra fonts showed this...). You will have to put \usefonttheme{professionalfonts} to your preamble. For more information see here. % arara: xelatex \documentclass[aspectratio=169]{beamer} \usefonttheme{professionalfonts} \usepackage{fontspec} \usepackage{unicode-math} ...


0

You probably forgot to copy the remaining files from that template. \usetheme{confposter} % Use the confposter theme supplied with this template Download the whole project as ZIP and compile it.


2

If your toc is longer then a frame you can split it manually using the command \tableofcontents[sections={1-6}] to show sections from 1 to 6 in the first frame , and the others sections can be placed on the next frame like this : \frame{ \frametitle{\textarabic{فهرست مطالب}} \begin{minipage}{\textwidth} \begin{Arabic} ...


1

at first i don't know how to help you with diplaying the table of contents on two slides. But i suggest something else which is a good strategy in presentations i think. Limit the table of contents to display only the sections with these two statements: \setcounter{secnumdepth}{1} \setcounter{tocdepth}{1} This way your table of contents on the second ...


2

I don't know if it's possible using the built-in capabilities of the overlay-beamer-styles library, but I can achieve this using the accepted answer from How to make beamer overlays with Tikz node: \tikzset{onslide/.code args={<#1>#2}{% \only<#1>{\pgfkeysalso{#2}} }} creates the possibility of usage like onslide=<1-2>highlight to ...


1

There are at least two relatively simple options: beamer's \againframe (section 11.2 of the manual), or manipulating the figure counter: \documentclass{beamer} \setbeamertemplate{caption}[numbered] \begin{document} \begin{frame}[label=A] The original frame \begin{figure} \centering \includegraphics[width=0.5\textwidth]{example-image-a} ...


0

A simple alternative is to fall back to the overlay environments that beamer offers as well. These are described in §9.4 of the beamer manual: For each of the basic commands \only, \alt, \visible, \uncover, and \invisible there exists “environment versions” onlyenv, altenv, visibleenv, uncoverenv, and invisibleenv. So in your case, switching to ...


3

Use the beamer commands \only<_range_>{_content_} or \onslide<_range_>{_content_}. They only show the _content_ in the supplied _range_, e.g. \only<1>{} for slide one, \only<2->{} for all slides from 2 on etc. The difference between only and onslide is the rendering of the output: only acts like the code is only present on this ...


3

You have to give the proper options (ie color to be used for structural elements) to \usecolortheme[<options>]{structure} For example, from the manual, if you use \usecolortheme[named=SeaGreen]{structure} \documentclass[dvipsnames]{beamer} \usepackage[T1]{fontenc} \usepackage[utf8]{inputenc} \usepackage[portuges]{babel} \usetheme{PaloAlto} ...


4

Or use the naive minipage approach. \documentclass{beamer} \begin{document} \begin{frame} \frametitle{Example 2} \begin{block}{Calculations and Plots} Plot $\sin(2x)$, $\sin(x^2)$ and $\sin^2(x)$ when $0\leqslant x\leqslant 6$. \end{block} \begin{minipage}{0.5\linewidth} $\color{blue}{>> x=linspace(0,6,100);}$\\ $\color{blue}{>> ...


6

Use simply the native columns environment instead: \documentclass{beamer} \begin{document} \begin{frame} \frametitle{Example 2} \begin{block}{Calculations and Plots} Plot $\sin(2x)$, $\sin(x^2)$ and $\sin^2(x)$ when $0\leqslant x\leqslant 6$. \end{block} \begin{columns} \column{0.5\linewidth} $\color{blue}{>> x=linspace(0,6,100);}$\\ ...


3

You'll need a redefinition of the headline template (as defined in the split outer theme used by Warsaw) to swap the two beamercolorboxes used there for the navigation bars: \documentclass[10pt]{beamer} \usetheme{Warsaw} \usepackage{enumitem} \usepackage{fontspec} \usepackage{polyglossia} \setbeamertemplate{section in toc}[circle] ...


3

Something like this? Code \documentclass{beamer} \begin{document} \begin{frame} \begin{minipage}[c]{.4\linewidth} some text \end{minipage}\hfill \begin{minipage}[c]{.4\linewidth} \raggedleft\includegraphics[width=.5\linewidth]{example-image-a} \end{minipage} \begin{minipage}[c]{.4\linewidth} \includegraphics[width=.5\linewidth]{example-image-b} ...


2

Adding a \par before closing \hole solves the problem: \documentclass[10pt,lmodern,handout]{beamer} \usepackage[utf8]{inputenc} \usepackage[T1]{fontenc} \setbeamertemplate{blocks}[rounded][shadow=true] \setbeamercolor{block title}{bg=blue!20} \setbeamercolor{block body}{bg=blue!5} \newcommand\hole[1]{% \alt<handout>{\invisible<1->{#1}}{#1}% ...


3

You must change format of section , subsection , subsubsection in toc using the command \setRTL from bidi pachage This can be done with : \setbeamertemplate{section in toc}{% \setRTL \myenum{\inserttocsectionnumber} \inserttocsection\par } \setbeamertemplate{subsection in toc}{% \setRTL \myitem \inserttocsubsection\par% } ...



Top 50 recent answers are included