# Tag Info

3

In your linked question Yiannis writes: When using the \DeclareMathSizes the first parameter for the text font must be exactly what is used in the class declaration. For example with Beamer rather declare \documentclass[10pt]{beamer}, otherwise the command will appear as it is not working. That is not a hundred percent correct. You have to use ...

2

To patch "normal" frames, the solution can be found text justify in beamer Itemize has also already a solution on this side: Justify text inside itemize environment with beamer class But I could not find one to automatically justify the contents of columns. So I tried a bit, failed in the attempt to patch \begin{column}..., but with \column it works as ...

2

With \setbeamertemplate{bibliography item}[triangle] you are replacing the complete label by a triangle. You need some new template: \documentclass[xcolor=dvipsnames]{beamer} \usepackage[ngerman]{babel} \usepackage[utf8]{inputenc} %\usetheme{Antibes} \usepackage[style=alphabetic,maxalphanames=1,backend=biber]{biblatex} ...

3

With \begin{columns}[T] you can have the columns aligned to the top. \documentclass[14pt,handout,t]{beamer} \usepackage{lmodern} \addtobeamertemplate{frametitle}{\vspace*{2cm}}{\vspace*{1mm}} \geometry{paperwidth=297mm,paperheight=210mm} \usepackage{graphicx} \usepackage{lipsum} \setbeamersize{text margin left=100pt,text margin right=100pt} \begin{document} ...

2

The reference point of an image is at its bottom. Add some space in the left column, \vspace{\topsep} is the same as what's added by the itemize environment in the right column. In other cases you can use \vspace{0pt}. \documentclass[14pt,handout,t]{beamer} \usepackage{lipsum} \geometry{paperwidth=297mm,paperheight=210mm} \setbeamersize{text margin ...

2

Simply put the colour modifications inside a {} \documentclass{beamer} \begin{document} \frame { \frametitle{Hello} \framesubtitle{Hi} { \setbeamercolor{block title}{use=structure,fg=white,bg=black} \setbeamercolor{block body}{use=structure,fg=black,bg=gray!60} \begin{block}{Say you will} \begin{itemize} \item ...

4

First \visible command is from beamer not tikz. you can do that with a third variable \anim inside \foreach loop to control apparence of edges. Code \documentclass{beamer} \usepackage{tikz} \begin{document} \begin{frame} \centering \begin{tikzpicture} [scale=.5,auto=left,minimum size=2mm,inner sep=0pt,outer sep=0pt,every ...

1

Following code shortens navigation line and includes page number on left side. Is this what you want? \documentclass[t]{beamer} \usetheme{Frankfurt} \usecolortheme{dove} \setbeamercolor{titlelike}{parent=structure} \usefonttheme{structuresmallcapsserif} \setbeamercolor{frametitle}{bg=light-gray} \definecolor{light-gray}{gray}{0.80} ...

2

You need to use the professionalfonts theme if using your own configuration to avoid unexpected weirdnesses cropping up at inconvenient moments. You do not need fontenc as far as I can tell. You do need lmodern because otherwise the default maths will still use Computer Modern, even though fontspec switches text to Latin Modern. I am not sure exactly what ...

3

By default the content of a beamer frame is vertically centered. So what you want to do is align the content at the top. For one frame you can do that like this. \begin{frame}[t] ... \end{frame} If you want to align all the frames at the top, add the t option when loading the beamer class. \documentclass[t]{beamer}

1

Dirty hack, that uses the logo for the line and stole the example code from http://tex.stackexchange.com/a/290740/36296 since the question did not provide any. \documentclass[xcolor={dvipsnames}]{beamer} \usetheme{default} \setbeamertemplate{navigation symbols}{}%remove navigation symbols \setbeamertemplate{logo}{% \setlength{\unitlength}{1mm} % ...

3

If you want to use the default \footnote commands then you can consider not using the footline and redefine \footnoterule to display the blue line above the footnotes: \documentclass[xcolor={dvipsnames}]{beamer} \mode<presentation> { \usetheme{default} \setbeamertemplate{navigation symbols}{}%remove navigation symbols ...

1

Caveat: This 'hack' is a modification of http://stackoverflow.com/questions/3103989/how-do-i-change-the-footer-footline-of-a-single-frame-in-beamer. It only allows the change of the contents of the single line of the footline. This does not allow more than one line. (I do not know how to extend the height of the footline) Also note that the braces with ...

2

\documentclass{beamer} \newcommand{\myitem}{ {\leavevmode \usebeamercolor[fg]{itemize item} \usebeamertemplate{itemize item}~~} } \begin{document} \frame { \frametitle{Marco Teórico} \begin{equation*} \setbeamertemplate{itemize items}[ball] \begin{array}{l} \left\{ \begin{array}{l} ...

7

Using some of biblatex's on-board technologies we can make the code a bit shorter. (And I'm really not a fan of constructs such as \citeauthor{#2}, \citetitle{#2}, \citeyear{#2}, they go horribly wrong when several works are cited and they don't deal with pre- and postnotes that well. Granted, that might not be a problem here, but still ...) Note first that ...

4

OK. I came up with something which seems to work - that is, it survives absolutely minimal testing, but will no doubt break as soon as I try to use it in a real document. I am sure, however, that this cannot possibly be the simplest solution. There must be a more straightforward way of extracting the URL for use as a hyperlink target, mustn't there? I ...

3

I would just put the title page into a plain frame. \frame[plain]{\titlepage} Personally I redefine make title like this: \def\maketitle{% \ifbeamer@inframe \titlepage \else \frame[plain]{\titlepage} \fi } This way I can use \maketitle directly in my presentations without having to put it into a frame. I don't really understand your ...

2

I think the problem lies in the definition of northeast, especially in pgf@x=.5\pgf@xa and \pgf@y=.5\pgf@ya as this takes only half the page. So try without the .5 \savedanchor{\northeast}{ \pgf@y=.5\ht\pgfnodeparttextbox % height of the box \pgf@x=.5\wd\pgfnodeparttextbox % width of the box \addtolength{\pgf@x}{2ex} ...

2

The space above the vertical navigation is usually reserved for the title and the author of the presentation. But these are not visible in your MWE because you didn't set them. You want a stripped version of the sidebar with just the navigation? You can do that by adding the following lines to your preamble: \makeatletter \setbeamertemplate{sidebar ...

2

There's a bunch of errors in here. In my opinion, the frame environment is more failsafe. The matrix shouldn't be typeset in the frametitle and pmatrix should be used as well. The alignment of the figures is difficult, of course. \documentclass{beamer} \usepackage{mathtools} \begin{document} \begin{frame}{A title} \small %frametitle{... and the ...

1

Placing your text in the logo-layer is probably saver, as it will be shown on all slides, including the title page and frames without frametitle. \documentclass[10pt,handout]{beamer} \setbeamertemplate{frametitle}[default][center] \addtobeamertemplate{frametitle}{\vskip4.5ex}{} \usepackage[english,italian]{babel} \usepackage[utf8]{inputenc} ...

2

2

The beamer package offers a 'handout' mode. You can mark frames to be only printed in the 'beamer' (projector) version, to be only printed in the handout version or in both. The beameruserguide explains how to do this.

0

You have to insert the bibliography without the .bib extension, therefore as \bibliography{reff} % file name of the bibtex

0

Those spaces are left for title and authors. Fill in the \title{} and \author{} and you will see. If you do want to ignore those information, the definition is originally in beamerouterthemesidebar.sty line 129-155 \defbeamertemplate*{sidebar \beamer@sidebarside}{sidebar theme} { \beamer@tempdim=\beamer@sidebarwidth% \advance\beamer@tempdim by ...

3

If you want to draw your figure with TiKZ, it's possible to use the undocumented beamer overlay specifications detailed in reference on TikZ and Beamer overlay specifications Your figure could be drawn with: \documentclass{beamer} \usepackage{tikz} \usetikzlibrary{positioning} \begin{document} \begin{frame} \begin{tikzpicture}[every ...

6

This works for roughly the reasons explained in the comments: \documentclass{beamer} \usefonttheme{professionalfonts} \usefonttheme{serif} \usepackage{fontspec} \setmainfont{Latin Modern Sans}%TeX Gyre Schola} % \setsansfont{Latin Modern Sans} \usepackage{unicode-math} \setmathfont{TeX Gyre Pagella Math} \usepackage{siunitx} \sisetup{% detect-all,% } ...

0

(This is an explanation. I am not going to answer it. I gave an workaround, but I do not know if it will always work.) In beamerbaseframe.sty line 417-493 one sees this decision tree \def\beamer@@@@frame<#1>[#2]{% \framewidth\textwidth \beamer@savemode% \def\beamer@mode{\mode<all>}% \def\beamer@frametemplate{}% ...

2

The best solution is to start a new part with \part{}. \part{} \begin{frame}{System Design and Database} Content of database. \end{frame}

1

Press TAB. This is what "nests" the environment in the parent environment in LyX. The rectangles give an indication of how deep the nesting is. Note also that Shift + TAB (on Linux at least, not sure if different on other OS) does the opposite---it reduces the nesting level by one.

1

You don't need the column environment. Just place two minipages next to each other inside the shadowed theorem environment. \begin{frame} \begin{THM_mini} \begin{minipage}[c]{0.58\textwidth} Here is a theorem. Here is an equation: $E = m c^2.$ Here is a theorem. \end{minipage} \begin{minipage}[c]{0.4\textwidth} \begin{tikzpicture}[>=latex', ...

3

Here is a solution: \documentclass{beamer} \newcommand<>{\itemarrow}{\mbox{}\visible#1{\llap{\color{structure}$\rightarrow$\hspace{1.5em}}}} \begin{document} \begin{frame} \frametitle{Test} \begin{itemize} \item \itemarrow<1,4>Text one \item \itemarrow<2,5>Text two \item \itemarrow<3,6>Text three \item Text four ...

1

While alltt doesn't bother changing the category code of < and >, because it assumes that ligatures with these characters are intended for output, verbatim modes do and there is no interface in fancyvrb for changing them back. So you have to do it manually: \documentclass{beamer} \usepackage{alltt,fancyvrb} \makeatletter % fix the ligature list and ...

7

Most of the beamer element colors in a beamer template are dependent on other colors. Look for example at the default color theme. Nearly all the element's colors are dependent on these four "base colors". \setbeamercolor{normal text}{fg=black,bg=white} \setbeamercolor{alerted text}{fg=red} \setbeamercolor{example text}{fg=green!50!black} ...

0

I don't think exactly what you are looking for exists. However when you said that: "I want to use LaTeX combined with a graphical editing tool." as usual I can't help but mention Inkscape + LaTeX which is just like that although probably not exactly what you want...

4

Just add the font size to your basicstyle, e.g., basicstyle = \ttfamily\small, Of course, with that dramatic indentation, you need much smaller fonts: If you do \begin{lstlisting}[style=json,basicstyle=\ttfamily\tiny] [{"stops": [{ "arrival_time": { "mon-fri": [ "04:31", "04:43"], ...

0

Pretty simple solution. Problem was that I set beamercovered to transparent. It seems LaTeX doesn't like that for listings/blocks. Just remove \setbeamercovered{transparent} or set it to invisible before the listings. ... \setbeamercovered{invisible} % frame with blocks and listings etc. ... \setbeamercovered{transparent} ... This makes overlayed ...

1

This question gets some votes but the answer is somehow hidden in the comments. To sum up: this difference is due to the pdf viewer. Everything works fine with Adobe Reader, which should always be the reference. The reason why most viewers can display the effect when the class article is used, and not when the class beamer is used remains a mystery. For ...

6

If you delete this line keywords = {false,true}, the string "true" is treated as a string and goes red

2

I don't know what happens, but the problem seems to be that \only is placed between items. If you insert inside colorized item, there's no change. In next code I've introduced t option to top align frames and better see where changes start. \documentclass[10pt]{beamer} \setbeamersize{text margin left=0pt, text margin right=0pt} \paperheight=24mm ...

3

You need to modify the definition of \slideentry. You can see this command in the .nav file. This file is used to generate the dots. The original definition is in beamerbasenavigation.sty. I add only three lines: those contain %%%. \documentclass[compress]{beamer} \useoutertheme[subsection=false]{miniframes} \makeatletter \def\slideentry#1#2#3#4#5#6{% ...

2

1

Its seems something with the font colour is broken, so that the text is displayed in white. Workaround Reset the font colour in every frame. The following code adds \usebeamercolor[fg]{normal text} to the definition of a slide (taken from beamerbaseframe.sty). \documentclass{beamer} \usepackage{pgfpages} \setbeameroption{show notes on second screen} ...

1

The texpower package allows for pauses and transitions of many sorts, without beamer. So you can use, for example, the article class, and set the page size and margins to anything you like with geometry, and produce documents that look nothing like beamer, and perhaps like nothing on earth. Here’s a silly example: \documentclass[12pt,svgnames]{article} ...

3

Your log shows (beamer.cls ("C:\Program Files\MiKTeX 2.9\tex\latex\beamer\base\beamerbasercs.sty") That is, you have a beamer.cls in the current folder but are then including beamer internals from the main miktex input tree. the file in the current folder almost certainly should not be there, then miktex would show ("C:\Program Files\MiKTeX ...

4

From the beamer manual, section 17.6 (Transparency Effects), use \setbeamercovered to set the default cover behavior, and override it for old items with the again covered option. \documentclass{beamer} \setbeamercovered{invisible} \setbeamercovered{% again covered={\opaqueness<1->{15}}} \begin{document} \begin{frame} \begin{itemize}[<+>] \item ...

2

The beamer class loads many packages, included graphics. As such, you need to act before loading the class. \def\pdftexversion{200} \documentclass{beamer}

2

I see two possible solutions to this issue: (1) I guess that the figure has some white space on the top. If that is the case, you can use crop and trim: \includegraphics[trim=1cm 2cm 3cm 4cm, clip=true, scale=0.35]{figure} (2) You can forcefully move something upwards by using vspace: \vspace{-2cm} places something 2cm higher. For future posts it ...

2

Beamer has a build in mechanism to hide subsections in the toc: \tableofcontents[hidesubsections] Full MWE: \documentclass[xcolor=dvipsnames]{beamer} \usepackage[utf8]{inputenc} \usepackage[T1]{fontenc} \usepackage[english]{babel} \usetheme{Antibes} \usecolortheme[named=Maroon]{structure} \setbeamercovered{transparent} \title{Test} \author{Alex XYZ} ...

4

Why you use geometry package? You should have in mind, that the actually size of the beamer slide is 128 x 96 mm, so you with \geometry{left = 30mm, right = 30mm} cut-of of half slide width! Consequently, all content is moved to right and since it has to small space, this make a problems. Edit (1): Delete geometry package and with it defined text width ...

Top 50 recent answers are included