Page Layout ⇒ making a slide transparent and superimposing content
-
- Posts: 3
- Joined: Thu Dec 11, 2014 3:41 am
making a slide transparent and superimposing content
which works very well, except the node also greys out my frame title, which I would like to remain full strength. Oddly enough, the footline is not covered, and I'm not really sure why.
1) Is there a better way to accomplish what I want to do than what I've done?
2) If not, how to I convince tikz to leave the title uncovered? I do have a variable in my template that measures how tall the title is, and I thought of using that to make an offset for the white box, but it appears to be set to 0 when I try to reference it in a slide. Why is this? (I don't know how beamer gets compiled)
Thanks in advance.
NEW: TikZ book now 40% off at Amazon.com for a short time.
And: Currently, Packt sells ebooks for $4.99 each if you buy 5 of their over 1000 ebooks. If you choose only a single one, $9.99. How about combining 3 LaTeX books with Python, gnuplot, mathplotlib, Matlab, ChatGPT or other AI books? Epub and PDF. Bundle (3 books, add more for higher discount): https://packt.link/MDH5p
- Johannes_B
- Site Moderator
- Posts: 4182
- Joined: Thu Nov 01, 2012 4:08 pm
Re: making a slide transparent and superimposing content
I am not a tikz expert i have to say.
You mention a template you have that measures the height of the title. Having this seems to be important for a solution. Can you post a working example, that gives us code we can take and test immediately?
My personal opinion: Keep the presentation as simple and clean as possible. If you want the listeners to have a great and magical time, get them tickets to a magic show.
- Stefan Kottwitz
- Site Admin
- Posts: 10324
- Joined: Mon Mar 10, 2008 9:44 pm
Re: making a slide transparent and superimposing content
Also I would test your code in order to find a possible solution, if you would like to post it. A small compilable example as start for working would be great! You could replace text and logo of course. A lion or a duck photo or drawing would be great as logo.

The advice of Johannes is also good, regarding keeping special effects to a minimum. Fine designed legible presentation is great, effects might be a bit distracting. I guess they are not mandatory if the template is matched regarding the layout. The magic show word was with a smile of course.

Well, programming an effect is fun too for it's own sake. So I would say it's easy to achieve that: just put a TikZ node into the slide foreground layer, which covers the whole page, with opacity<1 and possible shading/fading. And the title should be in the foreground layer. Well, sounds like we need a background layer for the text, middle layer for the overlay and foreground for the title. But two layers could suffice with normal beamer slide overlay. Perhaps I could built it into your sample code.
Stefan
-
- Posts: 3
- Joined: Thu Dec 11, 2014 3:41 am
Re: making a slide transparent and superimposing content
- Attachments
-
- template_test.tex
- Tex file I use to test my template
- (2.17 KiB) Downloaded 523 times
-
- nonmae_template.zip
- File with my beamer template
- (248.06 KiB) Downloaded 302 times
- Stefan Kottwitz
- Site Admin
- Posts: 10324
- Joined: Mon Mar 10, 2008 9:44 pm
making a slide transparent and superimposing content
yshift
and changed \filldraw to \fill:Code: Select all
\newcommand<>{\superimpose}[2][]{%
\tikz[overlay, remember picture]{%
\fill#3[fill=white, opacity=0.8] ([yshift=-1.3cm]current page.north west) rectangle (current page.south east);
%\filldraw#3[fill=white, opacity=0.8] (accent_left.south east) rectangle (current page.south east);
\node#3[at=(current page.center), line width=0.3mm, rounded corners=20pt, drop shadow, #1]
{\vspace{35pt} #2 \vspace{35pt}};
}%
}
Stefan
-
- Posts: 3
- Joined: Thu Dec 11, 2014 3:41 am
making a slide transparent and superimposing content
Code: Select all
\newcommand<>{\superimpose}[2][]{%
\tikz[overlay, remember picture]{%
\filldraw#3[fill=white, opacity=0.8, draw=none] (accent_left.south west) rectangle (current page.south east);
\node#3[at=(current page.center), line width=0.3mm, rounded corners=20pt, drop shadow, #1]
{\vspace{35pt} #2 \vspace{35pt}};
}%
}
- Stefan Kottwitz
- Site Admin
- Posts: 10324
- Joined: Mon Mar 10, 2008 9:44 pm
Re: making a slide transparent and superimposing content
With TikZ you can make anything.

Stefan