Hot answers tagged

9

I provide \earmark in the manner requested. To elaborate, I use the atbegshi package to allow things to be added at page shipout. I create the \atxy{<x>}{<y>}{<content>} macro for placing these shipout items in the foreground at the specified (x,y) location. Finally, I define \earmark to place a transparent triangle at (x,y) = (0pt, ...


5

First, why not just use \insertframetitle? Second, I don't think \beamer@frametitle is defined outside of a frame. That's why you probably get the error message. Third, you should also consider the font (shape, size, ...) in your calculations. Have a look at this example. \documentclass{beamer} \newlength\myframetitlelength \begin{document} ...


5

The following example patches the \frametitle command to update the length \titlelen that gives the length of the title under the current theme's font: \documentclass{beamer} \let\Tiny\tiny% http://tex.stackexchange.com/a/94159/5764 \usepackage{etoolbox} \makeatletter \newlength{\titlelen} \tracingpatches \patchcmd{\beamer@@frametitle}% <cmd> ...


4

The solution in this case is easier than using absolute positioning on beamer. As both graphics are similar in size, except for the left label, you can include this long label in first graphic as a \phantom text. This way is not printed but the corresponding space is preserved, both graphics have same width and both will be centered on same slide position. ...


3

You can do calculations of page positions: \documentclass{beamer} \usepackage{tikz} \usetheme{default} \usepackage{zref-savepos} \begin{document} \begin{frame} \tikz[overlay,remember picture]\draw[red] (current page.north)--(current page.south); \centering \hspace*{\dimexpr\zposx{end}sp-\zposx{midright}sp-\zposx{midleft}sp+\zposx{start}sp}% ...


2

Until a proper answer comes along, you might consider using this quick and dirty trick: \hyperlink{some label}{\textcolor{normal text.fg}{link text}} If you use it very often, then create a command for it: \newcommand\myhlink[2]{\hyperlink{#1}{\textcolor{normal text.fg}{#2}} MWE \documentclass{beamer} \hypersetup{colorlinks=true} ...


2

To reset the counter, you can use \setcounter{subfigure}{0}. In case you have many figures with this problem there are already some questions and answers on this side, how to to this automatically. \documentclass{beamer} \usepackage{natbib} \usetheme{Warsaw} \usepackage{caption} \usepackage{subcaption} \captionsetup{compatibility=false} ...


2

Your color in the title triggers the error. Hide it with \texorpdfstring: \title { \texorpdfstring{\color{red}}{}Example Presentation Created with the Beamer Package }


1

beamer has its own methods to set colours. To modify the title colour it is better to use \setbeamercolor{title}{fg=red} instead of messing with the argument of \title{}. \PassOptionsToPackage{unicode=true}{hyperref} \documentclass[xcolor=svgnames]{beamer} \setbeamercolor{title}{fg=red} \title{Example Presentation Created with the Beamer Package} ...


1

As you don't use footnotes for anything else, you can modify \@makefnmark (this is what \insertfootnotemark calls) % arara: pdflatex % arara: bibtex % arara: pdflatex % arara: pdflatex % arara: clean: {files:[temp.aux, temp.bbl, temp.bib, temp.blg, temp.log, temp.nav, temp.out, temp.run.xml, temp.snm, temp.toc, temp-blx.bib]} \documentclass{beamer} ...


1

I think the immediate cause of this error message were the empty brackets in \includegraphics{}, as this will look for an image with an empty file name which will most likely not be found. But to avoid further errors, much of the superfluous code should be removed. beamer itself provides many packages, so there is no need use graphicx, hyperref, color or ...


1

Here is a hack that almost accomplishes the intention, but non-ideal because the bullet does not become transparent (and also is a hassle to code) \setbeamercovered{transparent} \begin{frame} \begin{itemize} \item{\temporal<2>{outside}{\color{black!15}{outside}}{outside}} \begin{itemize} \item<->{inside} ...


1

Include \visible with your \items \documentclass{beamer} \begin{document} \setbeamercovered{transparent} \begin{frame} \begin{itemize} \item\visible<1,3>{outside} \begin{itemize} \item\visible<2->{inside} \end{itemize} \item\visible<1,3>{outside} \end{itemize} \end{frame} \end{document} ...


1

This is a bit hacked, but does work. We use two columns with a List in each one, so that the items are next to each other. Then we remove the bullets and indentation from the second list. Perhaps you want to fiddle with the width to get the distance between the two lists to your liking: \documentclass[demo]{beamer} \usepackage{enumitem} ...


1

Here is an alternative solution using minipages. \documentclass[demo]{beamer} \usepackage{biblatex} \begin{document} \begin{frame}{Workload Categorization} \begin{minipage}[t]{0.5\linewidth} Benchmark suites: \begin{itemize} \item 22 SPECcpu2006 \item 11 SPLASH2x \item 9 PARSEC 3.0 \item 6 NAS \end{itemize} \end{minipage}% ...


1

By replacing \insertsubtitle with \visible<2>{\insertsubtitle} in the default definition of the titlepage, the subtitle gets only visible on the second slide, but its space is already reserved on the first slide. For more information, I recommend the the section about overlays in the beameruserguide. \documentclass{beamer} \usetheme{default} ...


1

Try putting stuff in columns. (Beamer manual -- 12.7 Splitting a Frame into Multiple Columns). This way you can later add content to the left side later if you wish so. Example from the manual \begin{columns}[t] \begin{column}{5cm} Two\\lines. \end{column} \begin{column}{5cm} One line (but aligned). \end{column} \end{columns} The below example does not ...


1

This solution uses \settowidth. I added a \rule at the center for comparison. \documentclass{beamer} \usetheme{default} \newlength{\tempdima} \newlength{\tempdimb} \begin{document} \begin{frame} \begin{center} \settowidth{\tempdima}{\fbox{one}}% \settowidth{\tempdimb}{\fbox{three four five}}% \rule{1pt}{\baselineskip}\\ \hspace{\dimexpr ...


1

You probably mean the frame title. The command \setbeamerfont{frametitle}{shape=\scshape} sets the shape of the frame titles to SmallCaps. So you probably just want to remove this line.


1

To make things only appear not immediately on a frame you can use \onslide<2-> What you want to appear\onslide<1->. Everything you write in between the two \onslide commands will only be visible on the second part of the frame. So in your example you want something like that: \begin{frame} \begin{tikzpicture} %Draw your graph(always ...


1

Well, is is perhaps worth noting that, if the alignment of the columns is really what the OP says (rcl without vertical rules, at least to the left of the first column and to the right of the last one), there is also a trivial solution: just pretend that the two outer columns have zero width. % My standard header for TeX.SX answers: ...


1

This method works here since both graphs have the same right-side limit. Graphs with the same left-side limit could be dealt with by eliminating the \llap. However, this approach will not intrinsically work if one graph has extra stuff off to both the left and right. It works with the atbegshi package to overlay something over the graph at a specified ...



Only top voted, non community-wiki answers of a minimum length are eligible