3
votes
1answer
189 views

Colorbox with complex content in Beamer

Here is my problem. I try to create a macro that displays a colored background for "any" kind of elements in a beamer presentation. Here is what I did : \documentclass{beamer} \usepackage{xcolor} ...
2
votes
0answers
113 views

Wrapper box for TikZ picture

I am trying to wrap a tikzpicture node inside a box, so that I can refer to this "bounding box" from inside the picture for positioning the nodes relative to that box. I am looking for a command ...
8
votes
1answer
142 views

Beamer: Overfull hbox in headline

I try to redefine the header of my frames, but for some mysterious reason I get an overfull hbox of 1.6 points or slightly more: \documentclass{beamer} \usepackage{times} ...
6
votes
1answer
71 views

Change direction of a textbox, taking up space from above instead from below

I am designing a custom theme for my LaTeX presentations. This is my title page: Now when I have a longer title, this happens: Here's my code (according to this post): \defbeamertemplate*{title ...
10
votes
2answers
278 views

LaTeX Beamer Block “Sandwich Style”

How can I create a block in LaTeX Beamer in "Sandwich Style", i.e., that has both a title and a footer. Ideally, the background colors could even be different. Here is an illustration (with incorrect ...
1
vote
0answers
52 views

Dropping boxes on top of the listings environment [closed]

I was wondering if anyone knew a decent way to drop boxes of text on top of the listings environment. This would be most useful for a beamer presentation that I am currently writing. Ideally the text ...
5
votes
1answer
228 views

Box around several but different items in an itemize environment

I am trying to highlight, at the end of my slide, several items in a list with a box in something similar as in the method shown in Box around a few items in an itemize environment. The difference ...
1
vote
0answers
173 views

Covered Box Beamer Shadows [closed]

It seems to me that in beamer, a (rounded) box with shadows that is covered (transparent, normally visible on the next slide) has buggy shadows, I'm not sure if this is a know bug, or maybe an error ...
5
votes
1answer
188 views

Hide paragraph but keep space

I need a command that replaces its contents by white space of the same size. Unlike \phantom it should work paragraphs and/or images. It should do more or less the same as the \visible command of the ...
7
votes
2answers
2k views

Beamer overlay box around text - the correct way?

I have something that "works," but I'm wondering if there's a more elegant solution. I want to box some text after an itemize in beamer, so this is what I'm doing: \documentclass{beamer} ...
5
votes
1answer
226 views

Putting text in a box: custom box : different color for each line

For a beamer presentation, I would like to enclose text in a box such that: - all the line of the box are blank, - except the upper left corner, and the lower right corner of the box which are color ...
2
votes
1answer
239 views

hbox out of margin, beamer

I wanna put a round image in a presentation il LaTeX out from the margin. I would like to show it just as a 1/4 of the image in the left bottom corner. I tried: \begin{frame} \tableofcontents ...
5
votes
1answer
222 views

Savebox with \bgroup/\egroup doesn't work in beamer (for environment)

This works: \documentclass{article} \newsavebox{\mybox} \begin{document} \savebox{\mybox}\bgroup This is a test.\egroup\usebox{\mybox} \end{document} But this fails (Missing } inserted. at the ...
6
votes
1answer
687 views

How can I align text, on my title slide, from two different boxes?

I'm trying to match a PowerPoint template, because, well, does anybody here like PowerPoint? Swapping the images out for those that are in the public domain, it looks something like this: No, I did ...
8
votes
1answer
834 views

Partially transparent text box

I am trying to make a poster using beamer. Can any one please reply me, my question is: How can I make my boxes partially transparent so that my background will be visible through the boxes?
7
votes
1answer
3k views

Beamer: highlighting aligned math with overlay

This question led to a new package: hf-tikz Minimal working example: \documentclass{beamer} \usepackage{amsmath} \begin{document} \begin{frame} \begin{align} a_i + b_j = 10 & ...
7
votes
1answer
527 views

Repeat scaled version of slide, \savebox and \usebox in multi-slide frame?

I have a frame where I uncover a tikz-diagram in 12 slides. In the next frame, I want to repeat a scaled-down version of the full diagram (slide 12). I've tried to use a combination of \savebox, ...
9
votes
2answers
526 views

Beamer: content in box register does not survive \end{frame}

Consider the following example (I edited the example to include LaTeX lrbox environment): \documentclass{beamer} \newsavebox\mybox \newsavebox\myboxb \begin{document} \frame{ \sbox\mybox{Hello ...
4
votes
2answers
507 views

How to get consistent positioning for a node with \usebox containing a \tikzpicture

I'm using beamer and tikz to create an animation of a photon travelling between snowflakes. I have ten Koch snowflakes (hence the \newcommand in my MWE) typeset with decorate{ decorate{ decorate{ ...
5
votes
1answer
2k views

Preparing a beamer poster: how to create a border box?

I am preparing a poster with LaTeX using beamerposter, following the examples of the beamerposter site. In these examples, the title is themed with a background color. I would like to have the title ...
7
votes
2answers
2k views

How can I add vertical space to a beamercolorbox to make it align with another one?

I'm doing beamer slides in the 16:9 aspect ratio, so I want to use a more horizontal flow than I was when I had 4:3 slides. For example, I'd like to place a theorem and its proof side-to-side rather ...
14
votes
2answers
7k views

Changing style of alert environment in beamer

I would like to specify a background color in the alert environment. I can, for example, use \setbeamercolor{alerted text}{fg=blue} to change the colour of the alterted text to blue, but this ...
7
votes
1answer
2k views

How to define a new environment with a fancy box (tikz) around sample source-code (listings)?

This is what I want to do: \documentclass{beamer} \begin{document} \begin{frame}[fragile]{Frame 1} Some \structure{Python} code here: % I want to define a new "pythoncode" environment, so ...
2
votes
2answers
6k views

Add a textbox overtop an image in a beamer slide

I have a slide with a figure in it. I want show a vertically and horizontally centered (relative to the image if possible) text box overtop of it as an overlay which will contain a few lines of text. ...
2
votes
1answer
3k views

beamer: How to change border size of beamercolorbox?

Is it possible to style a border of a "beamercolorbox"? Like in the theme Szeged, but with ONE thin line above the footer instead of the two thick lines.
2
votes
2answers
939 views

It's possible to remove the internal shading from a beamer rounded box?

I'm trying to modify a Beamer template in order to have at the same time: 1) rounded boxes 2) shadows around the box 3) a defined line (without shading) between block title and block body (as in ...