Tag Info

New answers tagged

0

The problem is in interaction with the magyar option: this is what I get if I add \errorcontextlines=100 to the example file \nag@@warning@xliii ->\nag@captioncheck \nag@haslabeltrue \@@magyar@orig@label ->\nag@@warning@xliii \nag@@label@xliii \@@magyar@labelb ...


2

The following is similar to samcarter's answer but with an interface: \stopnavigation turns off the beamer navigation; \resumenavigation turns it back on again. The above interface redefined \headcommand in the .nav file to temporarily do nothing, rather than write nothing to the .nav at all. It may not be ideal, but it works in your case: ...


3

Is it enough to hide the subsection? The following idea is taken from http://tex.stackexchange.com/a/66633/36296 (There you will also finde much additional explanation). \documentclass{beamer} \setbeamertemplate{navigation symbols}{} \usetheme{Warsaw} \setbeamercovered{transparent} \let\origaddtocontents=\addtocontents \def\dontaddtocontents#1#2{} % or ...


1

You are drawing on the same line as First/Second Column titles (Remember: LaTeX does not add a new line when you simply press Return on the keyboard). Adding a \centering at the begining of each column can easily fix this. \documentclass{beamer} \usepackage{tikz} \begin{document} \begin{frame} \begin{columns} \column{0.5\textwidth}\centering First ...


1

The 'ODE-soln' node you have named incl. You can place a \node to the left of it with \node[left=of incl] {Hello}; which requires \usetikzlibrary{positioning}. \node is a shorthand for \path node. Below is a complete example. I also changed below of= to below=of, because of what is described in Difference between "right of=" and ...


6

Sometimes spurious " " (white space) are important in beamer and you need to eliminate them with %. I don't know if all of them are necessary but next code works as expected: \documentclass{beamer} \usepackage{tikz} \begin{document} \begin{frame} \foreach\x in {1,...,9}{% \begin{minipage}{.5\textwidth}% \only<\x>{% \begin{tikzpicture} \draw (0,0) -- ...


1

I think the following source code gives the results that you want: \documentclass{beamer} \usetheme{Luebeck} \setbeamercovered{transparent} \usepackage{totcount} % Get the last number of a counter \regtotcounter{section} \usepackage{etoolbox} \makeatletter \patchcmd{\beamer@sectionintoc}{\vskip1.5em}{\vskip0.5em}{}{} \makeatother \AtBeginSection{% \frame{% ...


2

Use \begin{frame}[fragile]....


1

When you want to change anything from a beamer theme I'd suggest to take a look at original theme definition file (beamerthemeGoettingen.sty in this case). There you'll see what other themes (innr, outer, font, ...) are used and which templates do you need to change. Goettingen theme file is only 34 lines long and only load and customizes side bar outer ...


2

I am unsure which colors of the different navigation components you want to change, so let me go through some of them. The color of the navigation symbols can be changed using: \setbeamercolor{navigation symbols}{fg=red, bg=green} The color of the navigation panel you can change by putting \setbeamercolor{structure}{fg=red} before ...


0

I got it my own: Simply ad \newcommand{\pause}{ }inside the preamble to replace all occurences of \pause by a whitespace in the documenet.


0

I find this way to solve your problem, just add the adjust box package in your preamble and copy the following code \documentclass{beamer} \usepackage{booktabs} \usepackage{adjustbox} \begin{document} \begin{frame} \begin{table} \begin{adjustbox}{max width=\textwidth} \begin{tabular}{l l l} \toprule Band & & \\ \hline Total stop band & No ...


1

You have two possibilities (as stated John Kormylo in his comment): reduce font size to tiny reduce font size to small and instead tabular use for example tabularx which broke lines and reduce \tobcolsep to 3pt. MWE: \documentclass{Beamer} \usepackage{booktabs,tabularx} \newcolumntype{L}{>{\raggedright\arraybackslash}X} \begin{document} ...


0

I solved this problem changing the way to compile. Right now I'm compiling with pdfLatex. The "build and view" uses the following chain: DVI->PS->PDF chain But have some problems with a new presentation. I want to put images, but when compiling and view the presentation, the images are shown in black and white. I have the package of graphicx in the preamb. ...


1

Some remarks: \multirow is completely unnecessary, there are too many c, thus that p{3cm} is not applied to this row. Removing one c fixes the issue without the need for a \mutlirow/\parbox construct. Chemical formulas can be set with the help of package mhchem. Numbers and units are covered by package siunitx with lots of configuration options. \resizebox ...


0

If the following changes are applied to your (updated) example: Add the instruction \usepackage[T1]{fontenc}, Add the instruction \usepackage{multirow}, Replace \usepackage[latin2]{inputenc} with \usepackage[utf8]{inputenc}, and Replace \resizebox{10cm}{8cm}{ with \resizebox{\textwidth}{!}{ one gets: Note the use of ! as the second argument of ...


1

I can't compile your code, it complains about encoding, but your code has an uneven number of $, 25 to be exact. This means that one couple is "open", so the rest of the document is in "math mode", including \end{document}. In the first row you have {\rm{P2_1/n}}$, add a dollar sign at the beginning so it becomes ${\rm{P2_1/n}}$. Also, as egreg said in the ...


1

You can also add \vspace{-X.Ypt) just below \frametitle, where X and Y are numbers that suit the space size you want. For example \vspace{-20.5pt). If you want to increase the space, you just remove the minus size and set the number.


0

Thanks a lot for answering this question. By the way I am trying to add a logo in the sidebar but again I face problems with the vertical space... which does not seem to respond. If you have a idea of how to shift the logo please let me know. \addtobeamertemplate{sidebar right}{}{ %\vspace*{-1ex}\hspace*{-25pt}% \vspace{3pt}\hspace*{-27pt}% { ...


0

The sidebar outer theme has a documented height option: height=⟨dimension⟩ specifies the height of the frame title rectangle. If it is set to 0pt, no frame title rectangle is created. Instead, the frame title is inserted normally into the frame. Thus, you can just provide a 0pt value for this option: \useoutertheme[right, height=0pt]{sidebar}


4

Try this: \documentclass{beamer} \usefonttheme[onlymath]{serif} \begin{document} \begin{frame} Here goes the text $x + y = Z$ \end{frame} \end{document}


2

If you would like to give the boxing job to tcolorbox, I can provide a solution for the problem. Three boxes with equal width are created by \tcbitem within a tcbitemize environment. The box properties are set by the options of tcbitemize: \documentclass{beamer} \usepackage[skins,raster]{tcolorbox} \begin{document} \begin{frame}{if/else/elseif} ...


2

Here a simple footline template \setbeamercolor{progress bar progress}{use=progress bar,bg=progress bar.fg} \defbeamertemplate{footline}{progress bar}{ \dimen0=\paperwidth \multiply\dimen0 by \insertframenumber \divide\dimen0 by \inserttotalframenumber \edef\progressbarwidth{\the\dimen0} \leavevmode% ...


0

I've made a few changes to the original code and now the pdf is being made, though some warnings still exist. In the preamble I've included \usepackage{csquotes} \usepackage[backend=biber, style=numeric]{biblatex} \usepackage{chs_2015} ('numeric' style makes no difference at all in a Beamer presentation!) In the last frame of the presentation I've ...


0

Your code works for me if I load natbib instead of bibtex. Is this acceptable? Result:


6

You introduced some spurious space by adding new lines in your code. Just get rid of the new lines or use % at its end. The very problem here was your seventh line of code. % arara: pdflatex \documentclass{beamer} \usepackage{booktabs} \begin{document} \begin{frame} \begin{tabular}{ll} \toprule Foo & Bar\\ \midrule ...


4

For \author, date, and \title there is an optional argument, that is used in the structure of the frame (i.e. the footline) so you could use \title[Group Theory]{A longer title of the talk concerning Group Theory} \author[short name]{My full name} \institute[My Inst.]{Full Institut Name} % logo of my university ...


0

You should first compile the .tex with pdfLaTeX once, to produce a .aux file. Then compile the created .aux file with bibtex to create a .bbl from the .bib and finaly compile the .tex twice. This should work


0

This is an other method. You entierly define here your title page. This template is to be modified. % ------------------------------------------------------------------------- % Definitions (do not change this) % ------------------------------------------------------------------------- \makeatletter \def\printtitle{{\centering \@title\par}}\makeatother % ...


3

Something like this? \documentclass{beamer} \usepackage{array} \let\Tiny\tiny \beamertemplatenavigationsymbolsempty \begin{document} \frame{ \begin{tabular}{>{\onslide<1->}c >{\onslide<3->}c >{\onslide<5->}c} A & B & C \\ 1 & 2 & 3 \\ 3 & 4 & 5 \\ \onslide<2->5 & \onslide<4-> ...


2

Remark: This is no answer, but may help to find the problem. (an the content is too long for a comment) I find no difference in the results. If you add a \listfiles in the document header you get a list of all loaded packages at the end of the log-file. Maybe you have a modified file or some personal configurations? My list of files with the critical ...


0

Do you necessarily need overprint? Otherwise check out if the following code gives the desired result. \documentclass{beamer} \begin{document} \begin{frame} \frametitle{Intuition: Continued...} \begin{itemize} \item 0 \only<1>{\item A} \item<2-> B \item<3> C ...


2

You second box in the image and your second item both have overlay specification <2-> meaning that they appear on slide two, and after. To make the second item turn up a slide after the second image write \item<3-> instead: \documentclass{beamer} \usepackage[latin1]{inputenc} \usepackage{times} \usepackage{tikz} \usetikzlibrary{calc} ...


2

In the definition of beamer@frameslide environment in beamerbaseframe.sty, there is an empty vbox above the frametitle: \ifx\beamer@frametitle\@empty% \setbox\beamer@frametitlebox=\box\voidb@x% \else% \setbox\beamer@frametitlebox=\vbox{ \vbox{}% {\parskip0pt\usebeamertemplate***{frametitle}\vskip0.25em}% }% \fi% Now assume we remove ...


1

I think in this case it's better to use TikZ and not textpos (more information in Christian's answer to How can I position an image in an arbitrary position in beamer?) textpos manual explains that overlay option places the contents over anything else, so it's not possible to draw something over the rule later on because the rule is on top of each slide. ...


5

The difference is in the fact that beamer redefines itemize to have an optional argument, which isn't done for enumerate. Thus your attempt to patch \itemize adds the code in the wrong place. With xpatch it works: \documentclass{beamer} \usepackage{tikz} \usepackage{xpatch} \usepackage{polyglossia} \setdefaultlanguage[numerals=maghrib]{arabic} ...


0

You have to specify which component of the beamercolor you want to use. So if you want to use the foreground colour, use usebeamercolor[fg]{framesubtitle}. For the background component, it would be [bg]. \documentclass{beamer} \setbeamercolor{framesubtitle}{fg=yellow}% \setbeamerfont{framesubtitle}{size=\Large}% \defbeamertemplate*{frametitle}{my theme} ...


2

I'm not sure this is what you want. Probably you can automatise the arrows to be drawn only in certain cases but it's not worth it that much if you need to do it this once. Some notes: arrows is deprecated, use arrows.meta. The definitions for the arrow tips have changed too. Check the Tikz manual (v 3.0.0). It's better to use \tikzset than \tikzstyle, ...


3

You can do this redefining the frametitle template as defined by the shadow outer theme (internally used by Warsaw) to include the navigation bar. The theme displays the title and the subtitle using a minipage having a width of \paperwidth width, so I changed the width to 0.5\paperwidth and added another minipage of the same width to add the navigation bar; ...


4

Simple Example showing solution \documentclass{beamer} \usepackage{lipsum} \begin{document} \begin{frame} \frametitle{From Beamer Manual -- topic columns} \begin{columns} \begin{column}{.5\textwidth} \tiny Lorem ipsum dolor sit amet, consectetur adipiscing elit. Etiam sit amet scelerisque sem. Integer aliquam turpis id felis ...


1

You can just combine the idea you mentioned with this one. Eventually you need: \makeatletter \let\beamer@writeslidentry@miniframeson=\beamer@writeslidentry \def\beamer@writeslidentry@miniframesoff{% \expandafter\beamer@ifempty\expandafter{\beamer@framestartpage}{}% does not happen normally {%else % removed \addtocontents ...


0

One way of doing it is to use the \input inside a frame. For example \documentclass[demo]{beamer} \usepackage{filecontents} \begin{filecontents}{\jobname title.tex} \begin{titlepage} \begin{center} % Upper part of the page. The '~' is needed because \\ % only works if a paragraph has started. \includegraphics[width=0.15\textwidth]{./logo}~\\[1cm] ...


2

beamer uses \insertslideintonotes to insert a frame thumbnail into notes page. This command is defined in beamerbasenotes.sty file: \newcommand{\insertslideintonotes}[1]{{% \begin{pgfpicture}{0cm}{0cm}{#1\paperwidth}{#1\paperheight} \begin{pgflowlevelscope}{\pgftransformscale{#1}}% \color{normal text.bg} ...


1

Here is a solution using the ifthenpackage \usepackage{ifthen} \AtBeginSection[]{ \ifthenelse{\thesection > 1}{ \begin{frame}<beamer> \frametitle{Outline} \tableofcontents[currentsection] \end{frame} } }


2

I think clip can help. Also a grid can help to position nodes. \PassOptionsToPackage{svgnames}{xcolor} \documentclass[]{beamer} \usepackage{tikz} \usetikzlibrary{shapes.geometric,shadows} \begin{document} \tikzset{ cauldron filler/.style={draw=black, outer color=black, inner color=black!50, postaction={fill=black, fill opacity=.5}}, ...


2

Version [2015-05-11] of media9 provides SlideShow.swf which is an image gallery app for live and static remote (downloaded at viewing time) and static embedded image files in the PNG, JPEG and GIF formats. SlideShow.swf is configured via an XML file with very simple syntax. The app can be interacted with using the right-click menu or the keyboard. The link ...


1

I managed to filter the warnings, with either \usepackage{silence} \WarningFilter{latexfont}{Font shape} or, if silence package have to be loaded in safe mode: \usepackage[safe]{silence} \WarningFilter*{latexfont}{Font}


2

You can load beamerarticle with the notheorems option, that disables the default definition of all the theorem-like environments. \documentclass{refart} \usepackage[notheorems]{beamerarticle} \begin{document} This runs without errors. \end{document} Of course, you'll have to define yourself the theorem-like environments you need. Why the refart ...


2

This runs without error. \documentclass{refart} \let\example\relax \usepackage{beamerarticle} \begin{document} this is doc-class refman.article: refart, usepackage beamerarticle. the error in the log is LaTeX Error: Command \verb!\example! already defined. \end{document}


1

You should use the techniques described at this answer \documentclass{beamer} \usepackage{tikz} \usetikzlibrary{decorations.pathmorphing} \usetikzlibrary{decorations.markings} \usetikzlibrary{% calc,% fadings,% shadings% } \usetikzlibrary{arrows,shapes} \usetikzlibrary{shapes.geometric,calc} \usetikzlibrary{backgrounds,fit} ...



Top 50 recent answers are included