Tag Info

New answers tagged

0

Haven't tried this with a tikzpicture, but since you say it'd be easy if it were in beamer, I'll use beamer pages as included graphics: Main tex file: \documentclass{article} \usepackage{amsmath} \usepackage{graphicx} \begin{document} \begin{align} x &= ...


2

When you define the footer: % Define footer \setbeamertemplate{footline}{bg=primary} \makeatother \setbeamertemplate{footline} { \leavevmode% \hbox{% \begin{beamercolorbox}[wd=.4\paperwidth,ht=2.25ex,dp=1ex,center]{author in head/foot}% \usebeamerfont{author in head/foot}\insertshortauthor\ (IRE PW) \end{beamercolorbox}% ...


0

\leftmargini=10 %(the value 10 works well for me, but you can changed it ) \begin{itemize} \item one \item two ..... \end{itemize}


3

I use the following approach with my lecture notes. Create a command called \markslide, which uses some symbol of your choice. Then, place \only<0|handout:N>{\markslide} at the beginning of \frametitle{}. The first 0 tells beamer to hide the contents of \only{} from beamer mode, while the handout:N part tells beamer to display the contents of \only{} ...


1

Just for completeness, here is a Unicode solution. It uses Latin Modern, which is based on Computer Modern but extends into the Unicode range. You can access this range by using the fontspec package and compiling with lualatex or xelatex. \documentclass{article} \usepackage{lmodern} \renewcommand*\familydefault{\sfdefault} \usepackage{fontspec} ...


3

It depends on what you expect a “sans serif dagger” would be. \documentclass{article} \usepackage{textcomp} \newcommand{\sfdagger}{{\sffamily\textdagger}} \newcommand{\sfdaggerdbl}{{\sffamily\textdaggerdbl}} \begin{document} A\sfdagger A\textdagger A\sfdaggerdbl A\textdaggerdbl \end{document} Of course, if the text is already sans serif, there's no ...


2

use it this way: \documentclass[11pt]{beamer} \usefonttheme{professionalfonts}%% do not define math settings by beamer itself \usepackage[T1]{fontenc} \usepackage[libertine]{newtxmath} \usepackage{libertine} \usepackage{sfmath} \usepackage[utf8]{inputenc} \usepackage[ngerman]{babel} \usepackage{siunitx} \begin{document} \begin{frame} test $f(x)$ ...


1

You can use \hypersetup{colorlinks,urlcolor=blue} \addtobeamertemplate{headline}{\hypersetup{linkcolor=.}}{} \addtobeamertemplate{footline}{\hypersetup{linkcolor=.}}{} to set the linkcolor to the current color . inside the templates headline and footline. Code: \documentclass[]{beamer} \usepackage{beamerthemebars} \usepackage{lmodern} ...


2

You can change allcolors to the current color . inside the footline template using \addtobeamertemplate{footline}{\hypersetup{allcolors=.}}{} Code: \documentclass[leqno]{beamer} \usetheme{Madrid} \usecolortheme{whale} \usepackage{lmodern} \hypersetup{colorlinks=true, allcolors=blue} \addtobeamertemplate{footline}{\hypersetup{allcolors=.}}{} ...


0

I was having the same trouble and fix it differently. Two main things to know : - the beamer command \usetheme is indeed the same as \usepackage apart from the fact that it concatenates the argument with beamertheme - you can specify backward directories to \usepackage with ../ Using these two points you only need to know the relative path from your .tex ...


1

You can apply overlay specifications separately to beamer and handout mode by adding |handout:"overlay specification" after the initial (beamer) specification. In your first list you have \begin{itemize}[<+->], which flattens everything onto one handout frame because no overlay specifications are given to say otherwise. If you change this to ...


3

This might do the trick. \newenvironment{itemizeframe} { \begin{frame}[fragile,environment=itemizeframe] \begin{itemize} } { \end{itemize} \end{frame} } Here a little explanation from the user guide: The environment name (itemizeframe) is used to determine the end of the scanning when gathering the frame contents. Normally, the frame ends ...


1

Please see my MWE and let me know, if you have tried that. You have to include an empty line between the two images. % arara: pdflatex \PassOptionsToPackage{demo}{graphicx} \documentclass{beamer} \begin{document} \begin{frame} \frametitle{title} \framesubtitle{subtitle} \begin{columns} \begin{column}{.5\textwidth} ...


1

You can switch to a different font size outside the frame, and specify the scope using a group: \documentclass[11pt]{beamer} \let\Tiny\tiny% http://tex.stackexchange.com/q/58087/5764 \begin{document} \begin{frame} \frametitle{This is a title 11pt} Here is some content on the slide \[ f(x) = ax^2 + bx + c \] Some more content \end{frame} ...


2

Same, run with xelatex. Includes small capitals "ikipedi" and capital "W" and "A". \documentclass{article} \usepackage{libertine} \begin{document} \Huge \char57391\sc{ikipedi}A \end{document}


3

Run with xelatex or lualatex \documentclass{article} \usepackage{libertine} \begin{document} \Huge \char57391 ikipedia \end{document}


3

The use of ragged2e's \justifying is the cause of the problem. One could just add \centering to the start of the center environment via the following preamble addition: \makeatletter \g@addto@macro\center\centering \makeatother


1

A quick and dirty solution is to add a \vspace{} after the frametitle % Now that we have changed the headline, we will need to orient the frame titles in a way that the come at the right stop just above the horizontal line. \setbeamertemplate{frametitle}{ \vspace*{4mm}\hspace*{0mm}\insertframetitle \vspace*{1cm}} Full code: %% beamerthemeMedian.sty %% ...


2

I don't understand the usage of \Tiny (unless it's a beamer - internal command), but the empty lines before and after \frac in the align* environment are wrong. There are some other points which should be improved As it stands, the align* environment is not necessary, a \[...\] would do as well '*' looks weird as multiplication symbol use \cdot or ...


0

The following compiles also fine in my Ubuntu machine: \includegraphics[width=\paperwidth, height=\headheight, baby=0.25]{heads/test} Seems that Fedora has a more up to date version of graphicx package (and/or of some other related package) that does not contain the bug. (Obviously, "baby" does not belong in the keyval options for includegraphics, but the ...


0

Finally after all of experimentation I found the solution to my problem. I noticed that things get complicated when I use the final \only<4>{}. If I do not use the final \only<4>{} the enumeration continues normally but not the expected output. So I searched for alternative solutions and I found the \visible{}, with reference to this question: ...


-1

I'm a bit late to the party, I realize. Similar to the previous answer, I use Inkscape and JessyInk (or sozi) to make presentations which heavily rely on maths and imported graphics. However, (probably unlike the OP) I'm really reluctant to type code to elaborate presentations and I much prefer create them visually WYSIWYG end-to-end. My math too is done ...


2

If you do not mind using a package for the job, you can use tcolorbox. Note that you will need the brand-new version 3.30 (2014/11/17) for this. \documentclass[pdf]{beamer} \usepackage[many]{tcolorbox} \begin{document} \begin{frame} \begin{tcbitemize}[raster columns=3,raster equal height,blanker, raster column skip=5mm,raster left skip=-5mm,raster ...


3

No need for guessing shifting values. You can let LaTeX do all the calculations for you: use minipages, measure the total height of the right and left minipages, select the maximum height and then use this value in the optional argument for minipage to get the desired alignment. The \TCTcolumns will do this; it has three mandatory arguments: ...


2

It is easy, use \parbox. You will have to do some dirty tweak of the actual vertical displacement of the rule. \documentclass[pdf]{beamer} \begin{document} \begin{frame} \begin{columns}[T] \begin{column}{0.33\linewidth} This is the first column. This is the first column. \end{column} \begin{column}{0.33\linewidth} \centering ...


0

You can also apply the patch from Why is it that coloring in soul in beamer is not visible: \makeatletter \newcommand\SoulColor{% \let\set@color\beamerorig@set@color \let\reset@color\beamerorig@reset@color} \makeatother \SoulColor which yields: Code: \PassOptionsToPackage{dvipsnames,svgnames,x11names}{xcolor} \documentclass[t, 10 pt, ...


0

You don't add a bar, you change aspect ratio to 16:9. \documentclass[aspectratio=169]{beamer} or... \documentclass[aspectratio=1610]{beamer} Sets aspect ratio to 16:9, and frame size to 160mm by 90mm. \documentclass[aspectratio=149]{beamer} Sets aspect ratio to 14:9, and frame size to 140mm by 90mm. \documentclass[aspectratio=141]{beamer} Sets aspect ...


1

Now I’ve also experimented with the solution below. It’s seriously hacky, but it’s more DRY, meaning it leads to less code duplication. There’s also no problem with frame numbers. Many thanks to diabonas for the backgroundblock code. \documentclass{beamer} \usepackage{mwe} % beamer: How to place images behind text (z-order) % ...


2

A simple change to the code works in this case: replace \setulcolor{#1}% by simply \color{#1}% in the definition of \sotwo. \PassOptionsToPackage{dvipsnames,svgnames,x11names}{xcolor} \documentclass[t, 10pt]{beamer} \usepackage{xparse,soul} \makeatletter \NewDocumentCommand{\sotwo}{O{red}O{black}+m} {% \begingroup \color{#1}% ...


1

You can define a new template based on the frame number one for footline: \documentclass[compress,final]{beamer} \usepackage{ragged2e} % for justifying \usepackage{lipsum} % for random texts \usepackage{geometry} \geometry{lmargin=.5cm, rmargin=.5cm} ...


0

You can use \vspace before the align. Try this: \begin{frame} \frametitle{GSA on the Black-Scholes Model} \begin{exampleblock}{Black-Scholes} \vspace{-.8cm} \begin{align*} \text{Call: } C & = S\mathcal{N}(d_1) - K\mathrm{e}^{-r\tau} \mathcal{N}(d_2), \\ \text{Put: } P & = -S\mathcal{N}(-d_1) + K\mathrm{e}^{-r\tau} ...


1

Try setup a style: \usepackage[style=alphabetic]{biblatex} or \usepackage[style=authoryear]{biblatex} See the biblatex documentation to see the styles avaiable. another suggestion not related to the question. You can replace notes=show to shownotes to avoid a warning.


3

The problem is caused by ending the final paragraph of the institutes without ending the paragraph. This means that when the paragraph is ended, the line spacing for that final paragraph is applied according to the current font size, which is normal. On the other hand, the first two paragraphs are ended while the font size is tiny and so the line spacing ...


0

From beameruserguide.pdf page 58: fragile is one of possible options, therefore should be written before title: \begin{frame}[fragile]{Concept}


1

The problem is, that the fragile option is ignored, if the frame title is provided that way. I used the following and it works: \documentclass[12pt]{beamer} \usepackage{listings} \begin{document} \begin{frame}[fragile] \frametitle{Concept} \begin{lstlisting} PTable \end{lstlisting} \end{frame} \end{document}


1

Just had a similar problem and used a more succinct solution \let\olditem\item \renewcommand{\item}{\olditem \color{INBObrown}} the same for lower levels.


4

In beamer, the \part subdivisions are treated as completely separate entities with their own table of contents. What \appendix does is start a new \part. So firstly, a \tableofcontents after \appendix gives a list of the \sections etc. in the \appendix only. A demonstration of this is included in the beamer documentation. One simple way to get the ...


0

Probably, it is not the answer to your question, but it is too long to put it in the comment. What kind of advantage you want from using bib bibliography in presentation? Presentations usually mean few (three maximum) references per slide and the usual machinery (track order, etc) is just distracting here. For my presentations I use the following ...


7

a node is an \hbox and can't have paragraph things unless you specify either text width or align=<...> keys (when it becomes a minipage environment) \documentclass{beamer} \usepackage{tikz,shapepar} \setbeamertemplate{title page}{% \begin{tikzpicture}[remember picture,overlay] \node[text width=6cm, fill=black,text=white] {\shapepar{\circleshape} ...


1

So, here is the answer mostly coming from this post. The code \usecolortheme{myct} loads the file usecolorthememyct.sty. If this file is included in another folder than the working directory, we have to use \usepackage{template/beamercolothememyct}.


0

The problem is that beamer requests hyperref not to load fully, and so hyperref's \ref (and support commands) are not used. Instead, beamer tries to emulate the behaviour of hyperref's \ref in terms of link support, but does not attempt to emulate the external link support. I'm sure the following is really bad and will break lots of things, but one can ...


1

Here is an example of doing it in artificial way. Just create a third column and adjust the columns' width accordingly. The mid column contains a vertical ruler. \documentclass{beamer} \usepackage[utf8]{inputenc} \begin{document} \begin{frame} \begin{columns}[c] \begin{column}{.475\textwidth} \begin{block}{Column 1} Column 1 \end{block} \end{column} % ...


1

The sans-serif default font does not have small capitals. You can use a different font, eg KP Sans-Serif. With \usepackage[sfmath]{kpfonts} in the preambule it produces the following result:


3

itemize is really intended for bullets of various sorts, description adjusts better to large labels: \documentclass{beamer} \usetheme{Madrid} \begin{document} \begin {frame}{Upper gastro-intestinal endoscopy } \begin{description} \item[Esophagus] Four columns of grade IV esophageal varices were noted. Red colored signs present \item ...


1

In addition to the titleframe \vfill I mention, in my comment, better centering can also be achieved with more \vfills in the definition of \blankframe. \documentclass[xelatex]{beamer} \usepackage[quiet]{fontspec} \usepackage{xunicode} \usepackage{xltxtra} \usepackage{graphicx} \usepackage{xcolor} \setbeamerfont{question}{size*={14}{1.4em}} ...


1

You can use footnotemark and footnotetext to correct this. \documentclass[10pt]{beamer} \mode<presentation> { %\usetheme{Hannover} \usepackage{beamerthemeshadow} \usetheme{boxes} } \begin{document} \begin{frame} \frametitle<presentation>{\hfill Heading \footnotemark[1]} \footnotetext[1]{footnote 1} \begin{block}{This is a block ...


2

As far as I know the beamer class does not provide the total number of breaks a slide had with allowframebreaks. You can add \setbeamertemplate{frametitle continuation}{[\insertcontinuationcount]} to the preamble to get a arabic counter. And some recommendation from the beamer manual: Do not use the option allowframebreaks except for long ...


0

flashvars={ src=animate.mp4 &loop=true ... Strobe uses the src FlashVar for setting the video source, see Table 7 of the documentation. Moreover, remove the comma after the file name.


1

Meanwhile I found a very straight forward approach by try and error. Multiple affiliations can just be included by using a comma inside of the \inst command. For my example, it would look like this: \author{author1\inst{1,2}} Sometimes, the world can be very easy...


7

If you are planning to use a non-default font (lmodern, in your case), it is advisable to use the professionalfonts font theme \usefonttheme{professionalfonts} to prevent beamer from doing some undesired replacements: \documentclass{beamer} \usepackage[T1]{fontenc} \usepackage[utf8]{inputenc} \usepackage[english,spanish]{babel} \uselanguage{spanish} ...



Top 50 recent answers are included