GeneralBeamer Shadow Problem

LaTeX specific issues not fitting into one of the other forums of this category.
Post Reply
davidpage
Posts: 11
Joined: Sat Jan 16, 2010 12:05 pm

Beamer Shadow Problem

Post by davidpage »

The problem:
The shadow generated using the beamer presentation class is weird... as follows:
shadow1.png
shadow1.png (32.87 KiB) Viewed 10695 times
shadow2.png
shadow2.png (28.4 KiB) Viewed 10695 times
It is supposed to be a continuous grey shadow below the box, but instead only two dots appeared.

The code I used:

Code: Select all

\documentclass{beamer}
\usetheme{Warsaw}

\title{Example title}
\author{The author}

\begin{document}

\begin{frame}
	\titlepage
\end{frame}

\begin{frame}
	\begin{theorem}
		2+2=4
	\end{theorem}
\end{frame}

\end{document}
Thanks in advance!

Recommended reading 2024:

LaTeXguide.org • LaTeX-Cookbook.net • TikZ.org

NEW: TikZ book now 40% off at Amazon.com for a short time.

User avatar
localghost
Site Moderator
Posts: 9202
Joined: Fri Feb 02, 2007 12:06 pm

Beamer Shadow Problem

Post by localghost »

I can't comprehend the problem. See the attachment for the result. May be a matter of package versions. Add the \listfiles commands as very first line to the sample code. Post the section between *File List* and *********** from the log file here. For comparison see my list below.

Code: Select all

 *File List*
  beamer.cls    2007/03/11 cvs version 3.07 A class for typesetting presentatio                                                         
ns (rcs-revision 1.70)                                              
beamerbasercs.sty    2007/01/28 (rcs-revision 1.4)                  
beamerbasemodes.sty    2007/01/28 (rcs-revision 1.22)               
beamerbasedecode.sty    2007/01/28 (rcs-revision 1.20)              
beamerbaseoptions.sty    2007/01/28 (rcs-revision 1.8)              
  keyval.sty    1999/03/16 v1.13 key=value parser (DPC)             
 pgfcore.sty    2008/01/15 v2.00 (rcs-revision 1.6)                 
graphicx.sty    1999/02/16 v1.0f Enhanced LaTeX Graphics (DPC,SPQR) 
graphics.sty    2009/02/05 v1.0o Standard LaTeX Graphics (DPC,SPQR) 
    trig.sty    1999/03/16 v1.09 sin cos tan (DPC)                  
graphics.cfg    2009/08/28 v1.8 graphics configuration of TeX Live  
  pdftex.def    2009/08/25 v0.04m Graphics/color for pdfTeX         
  pgfsys.sty    2008/02/07 v2.00 (rcs-revision 1.31)                
  pgfrcs.sty    2008/02/20 v2.00 (rcs-revision 1.21)                
  pgfrcs.code.tex                                                   
  pgfsys.code.tex                                                   
pgfsyssoftpath.code.tex    2008/01/23  (rcs-revision 1.6)           
pgfsysprotocol.code.tex    2006/10/16  (rcs-revision 1.4)           
  xcolor.sty    2007/01/21 v2.11 LaTeX color extensions (UK)        
   color.cfg    2007/01/18 v1.5 color configuration of teTeX/TeXLive
 pgfcore.code.tex                                                   
pgfbaseimage.sty                                                    
 xxcolor.sty    2003/10/24 ver 0.1                                  
 amssymb.sty    2009/06/22 v3.00                                    
amsfonts.sty    2009/06/22 v3.00 Basic AMSFonts support             
geometry.sty    2008/12/21 v4.2 Page Geometry                       
   ifpdf.sty    2009/04/10 v2.0 Provides the ifpdf switch (HO)      
  ifvtex.sty    2008/11/04 v1.4 Switches for detecting VTeX and its modes (HO)                                                          
geometry.cfg                                                        
hyperref.sty    2009/10/09 v6.79a Hypertext links for LaTeX         
 ifxetex.sty    2009/01/23 v0.5 Provides ifxetex conditional        
 hycolor.sty    2009/10/02 v1.5 Code for color options of hyperref/bookmark (HO                                                         
)                                                                   
xcolor-patch.sty    2009/10/02 xcolor patch                         
  pd1enc.def    2009/10/09 v6.79a Hyperref: PDFDocEncoding definition (HO)                                                              
etexcmds.sty    2007/12/12 v1.2 Prefix for e-TeX command names (HO) 
infwarerr.sty    2007/09/09 v1.2 Providing info/warning/message (HO)
hyperref.cfg    2002/06/06 v1.2 hyperref configuration of TeXLive   
kvoptions.sty    2009/08/13 v3.4 Keyval support for LaTeX options (HO)                                                                  
kvsetkeys.sty    2009/07/30 v1.5 Key value parser with default handler support                                                          
(HO)                                                                
     url.sty    2006/04/12  ver 3.3  Verb mode for urls, etc.       
  bitset.sty    2007/09/28 v1.0 Data type bit set (HO)              
 intcalc.sty    2007/09/27 v1.1 Expandable integer calculations (HO)
bigintcalc.sty    2007/11/11 v1.1 Expandable big integer calculations (HO)                                                              
pdftexcmds.sty    2009/09/23 v0.6 LuaTeX support for pdfTeX utility functions (                                                         
HO)                                                                 
ifluatex.sty    2009/04/17 v1.2 Provides the ifluatex switch (HO)   
 ltxcmds.sty    2009/08/05 v1.0 Some LaTeX kernel commands for general use (HO)                                                         

atbegshi.sty    2008/07/31 v1.9 At begin shipout hook (HO)
 hpdftex.def    2009/10/09 v6.79a Hyperref driver for pdfTeX
  size11.clo    2007/10/19 v1.4h Standard LaTeX file (size option)
beamerbasecompatibility.sty    2007/01/28  (rcs-revision 1.63)    
beamerbasefont.sty    2007/01/28  (rcs-revision 1.16)             
beamerbasemisc.sty    2007/01/28  (rcs-revision 1.24)             
beamerbasetwoscreens.sty    2009/06/14  (rcs-revision 1.71)       
beamerbaseoverlay.sty    2007/01/28  (rcs-revision 1.50)          
beamerbasetitle.sty    2007/01/28  (rcs-revision 1.25)            
beamerbasesection.sty    2007/01/28  (rcs-revision 1.21)          
beamerbaseframe.sty    2007/01/28  (rcs-revision 1.60)            
beamerbaseverbatim.sty    2007/01/28  (rcs-revision 1.8)          
beamerbaseframesize.sty    2007/01/28  (rcs-revision 1.18)        
beamerbaseframecomponents.sty    2007/01/28  (rcs-revision 1.41)  
beamerbasecolor.sty    2007/01/28  (rcs-revision 1.42)            
beamerbasenotes.sty    2007/01/28  (rcs-revision 1.23)            
beamerbasetoc.sty    2007/01/28  (rcs-revision 1.21)              
beamerbasetemplates.sty    2007/01/28  (rcs-revision 1.51)        
beamerbaseauxtemplates.sty    2007/01/28  (rcs-revision 1.28)     
beamerbaseboxes.sty    2007/03/11  (rcs-revision 1.32)            
beamerbaselocalstructure.sty    2007/01/28  (rcs-revision 1.53)   
enumerate.sty    1999/03/05 v3.00 enumerate extensions (DPC)      
beamerbasenavigation.sty    2007/01/28  (rcs-revision 1.36)       
beamerbasetheorems.sty    2007/01/28  (rcs-revision 1.10)         
translator.sty    2007/03/11 ver 1.00                             
translator-language-mappings.tex                                  
 amsmath.sty    2000/07/18 v2.13 AMS math features                
 amstext.sty    2000/06/29 v2.01                                  
  amsgen.sty    1999/11/30 v2.0                                   
  amsbsy.sty    1999/11/29 v1.2d                                  
  amsopn.sty    1999/12/14 v2.01 operator names                   
  amsthm.sty    2004/08/06 v2.20                                  
beamerbasethemes.sty    2007/01/28  (rcs-revision 1.10)
beamerthemedefault.sty    2007/01/28  (rcs-revision 1.7)
beamerfontthemedefault.sty    2007/01/28  (rcs-revision 1.13)
beamercolorthemedefault.sty    2007/01/28  (rcs-revision 1.28)
beamerinnerthemedefault.sty    2007/01/28  (rcs-revision 1.20)
beamerouterthemedefault.sty    2007/01/28  (rcs-revision 1.14)
beamerthemeWarsaw.sty    2007/01/28  (rcs-revision 1.9)
beamerinnerthemerounded.sty    2007/01/28  (rcs-revision 1.5)
beamerouterthemeshadow.sty    2007/01/28  (rcs-revision 1.9)
beamerouterthemesplit.sty    2007/01/28  (rcs-revision 1.5)
beamercolorthemeorchid.sty    2007/01/28  (rcs-revision 1.3)
beamercolorthemewhale.sty    2007/01/28  (rcs-revision 1.4)
supp-pdf.mkii
 nameref.sty    2007/05/29 v2.31 Cross-referencing by name of section
refcount.sty    2008/08/11 v3.1 Data extraction from references (HO)
beamer-Warsaw-xmpl.out
beamer-Warsaw-xmpl.out
translator-theorem-dictionary-English.dict
 ***********

Best regards
Thorsten
Attachments
beamer-Warsaw-xmpl.pdf
The provided sample code compiled on a TeX Live 2009 system.
(50.7 KiB) Downloaded 481 times
davidpage
Posts: 11
Joined: Sat Jan 16, 2010 12:05 pm

Beamer Shadow Problem

Post by davidpage »

The code is as follows:

Code: Select all

 *File List*
  beamer.cls    2005/10/23 cvs version 3.06 A class for typesetting presentations (rcs-revision 1.67)
beamerbasercs.sty    2004/10/07 (rcs-revision 1.3)
beamerbasemodes.sty    2004/12/09 (rcs-revision 1.21)
beamerbasedecode.sty    2005/05/09 (rcs-revision 1.18)
beamerbaseoptions.sty    2004/11/15 (rcs-revision 1.7)
  keyval.sty    1999/03/16 v1.13 key=value parser (DPC)
 pgfcore.sty    2008/01/15 v2.00 (rcs-revision 1.6)
graphicx.sty    1999/02/16 v1.0f Enhanced LaTeX Graphics (DPC,SPQR)
graphics.sty    2006/02/20 v1.0o Standard LaTeX Graphics (DPC,SPQR)
    trig.sty    1999/03/16 v1.09 sin cos tan (DPC)
graphics.cfg    2007/01/18 v1.5 graphics configuration of teTeX/TeXLive
  pdftex.def    2009/08/25 v0.04m Graphics/color for pdfTeX
  pgfsys.sty    2008/02/07 v2.00 (rcs-revision 1.31)
  pgfrcs.sty    2008/02/20 v2.00 (rcs-revision 1.21)
  pgfrcs.code.tex
  pgfsys.code.tex
pgfsyssoftpath.code.tex    2008/01/23  (rcs-revision 1.6)
pgfsysprotocol.code.tex    2006/10/16  (rcs-revision 1.4)
  xcolor.sty    2007/01/21 v2.11 LaTeX color extensions (UK)
   color.cfg    2007/01/18 v1.5 color configuration of teTeX/TeXLive
 pgfcore.code.tex
pgfbaseimage.sty    
 xxcolor.sty    2003/10/24 ver 0.1
 amssymb.sty    2009/06/22 v3.00
amsfonts.sty    2009/06/22 v3.00 Basic AMSFonts support
geometry.sty    2008/12/21 v4.2 Page Geometry
   ifpdf.sty    2009/04/10 v2.0 Provides the ifpdf switch (HO)
  ifvtex.sty    2008/11/04 v1.4 Switches for detecting VTeX and its modes (HO)
geometry.cfg
hyperref.sty    2009/09/10 v6.78u Hypertext links for LaTeX
 ifxetex.sty    2009/01/23 v0.5 Provides ifxetex conditional
 hycolor.sty    2008/09/08 v1.4 Code for color options of hyperref/bookmark (HO)
xcolor-patch.sty    2008/09/08 xcolor patch
  pd1enc.def    2009/09/10 v6.78u Hyperref: PDFDocEncoding definition (HO)
etexcmds.sty    2007/12/12 v1.2 Prefix for e-TeX command names (HO)
infwarerr.sty    2007/09/09 v1.2 Providing info/warning/message (HO)
hyperref.cfg    2002/06/06 v1.2 hyperref configuration of TeXLive
kvoptions.sty    2009/08/13 v3.4 Keyval support for LaTeX options (HO)
kvsetkeys.sty    2009/07/30 v1.5 Key value parser with default handler support (HO)
     url.sty    2006/04/12  ver 3.3  Verb mode for urls, etc.
  bitset.sty    2007/09/28 v1.0 Data type bit set (HO)
 intcalc.sty    2007/09/27 v1.1 Expandable integer calculations (HO)
bigintcalc.sty    2007/11/11 v1.1 Expandable big integer calculations (HO)
pdftexcmds.sty    2009/04/10 v0.4 LuaTeX support for pdfTeX utility functions (HO)
ifluatex.sty    2009/04/17 v1.2 Provides the ifluatex switch (HO)
atbegshi.sty    2008/07/31 v1.9 At begin shipout hook (HO)
 hpdftex.def    2009/09/10 v6.78u Hyperref driver for pdfTeX
  size11.clo    2005/09/16 v1.4f Standard LaTeX file (size option)
beamerbasecompatibility.sty    2005/01/25  (rcs-revision 1.60)
beamerbasefont.sty    2005/05/17  (rcs-revision 1.15)
beamerbasemisc.sty    2005/05/17  (rcs-revision 1.23)
beamerbasetwoscreens.sty    2005/10/14  (rcs-revision 1.6)
beamerbaseoverlay.sty    2005/05/18  (rcs-revision 1.49)
beamerbasetitle.sty    2005/10/23  (rcs-revision 1.23)
beamerbasesection.sty    2005/04/20  (rcs-revision 1.18)
beamerbaseframe.sty    2005/06/02  (rcs-revision 1.58)
beamerbaseverbatim.sty    2005/04/12  (rcs-revision 1.6)
beamerbaseframesize.sty    2005/06/09  (rcs-revision 1.17)
beamerbaseframecomponents.sty    2004/11/08  (rcs-revision 1.40)
beamerbasecolor.sty    2005/01/25  (rcs-revision 1.41)
beamerbasenotes.sty    2005/10/14  (rcs-revision 1.22)
beamerbasetoc.sty    2004/12/09  (rcs-revision 1.20)
beamerbasetemplates.sty    2004/10/07  (rcs-revision 1.50)
beamerbaseauxtemplates.sty    2005/06/09  (rcs-revision 1.27)
beamerbaseboxes.sty    2005/06/09  (rcs-revision 1.28)
beamerbaselocalstructure.sty    2005/04/20  (rcs-revision 1.51)
enumerate.sty    1999/03/05 v3.00 enumerate extensions (DPC)
beamerbasenavigation.sty    2005/06/01  (rcs-revision 1.34)
beamerbasetheorems.sty    2005/04/04  (rcs-revision 1.7)
translator.sty    2007/03/11 ver 1.00
translator-language-mappings.tex
 amsmath.sty    2000/07/18 v2.13 AMS math features
 amstext.sty    2000/06/29 v2.01
  amsgen.sty    1999/11/30 v2.0
  amsbsy.sty    1999/11/29 v1.2d
  amsopn.sty    1999/12/14 v2.01 operator names
  amsthm.sty    2004/08/06 v2.20
beamerbasethemes.sty    2004/10/07  (rcs-revision 1.9)
beamerthemedefault.sty    2004/10/07  (rcs-revision 1.6)
beamerfontthemedefault.sty    2005/03/15  (rcs-revision 1.12)
beamercolorthemedefault.sty    2005/03/15  (rcs-revision 1.27)
beamerinnerthemedefault.sty    2005/06/17  (rcs-revision 1.19)
beamerouterthemedefault.sty    2005/06/09  (rcs-revision 1.13)
beamerthemeWarsaw.sty    2004/10/07  (rcs-revision 1.8)
beamerinnerthemerounded.sty    2004/10/07  (rcs-revision 1.4)
beamerouterthemeshadow.sty    2005/06/01  (rcs-revision 1.8)
beamerouterthemesplit.sty    2004/10/07  (rcs-revision 1.4)
beamercolorthemeorchid.sty    2004/10/07  (rcs-revision 1.2)
beamercolorthemewhale.sty    2004/10/07  (rcs-revision 1.3)
supp-pdf.tex
 nameref.sty    2007/05/29 v2.31 Cross-referencing by name of section
refcount.sty    2008/08/11 v3.1 Data extraction from references (HO)
    test.out
    test.out
 ***********
Actually what I want is a continuous shadow, something like the bottom box in the figure below (instead of just having two "dots" - one at bottom-left and one top-right - as shown in the upper box of the same figure).
shadow3.png
shadow3.png (10.92 KiB) Viewed 10689 times
Thanks for your help!
User avatar
localghost
Site Moderator
Posts: 9202
Joined: Fri Feb 02, 2007 12:06 pm

Beamer Shadow Problem

Post by localghost »

davidpage wrote:[...] Actually what I want is a continuous shadow, something like the bottom box in the figure below (instead of just having two "dots" - one at bottom-left and one top-right - as shown in the upper box of the same figure). [...]
I absolutely realize what you want. If you compared the two lists, you would have noticed that at least your version of the beamer class is older than mine. I suggest just to update your LaTeX system.
davidpage
Posts: 11
Joined: Sat Jan 16, 2010 12:05 pm

Beamer Shadow Problem

Post by davidpage »

localghost wrote:
davidpage wrote:[...] Actually what I want is a continuous shadow, something like the bottom box in the figure below (instead of just having two "dots" - one at bottom-left and one top-right - as shown in the upper box of the same figure). [...]
I absolutely realize what you want. If you compared the two lists, you would have noticed that at least your version of the beamer class is older than mine. I suggest just to update your LaTeX system.
I've upgraded to beamer 3.07. Now I find that I can see a continuous shadow when the pdf is viewed full-screen, but still the same two dots when I quit full-screen mode. Is this normal?
User avatar
localghost
Site Moderator
Posts: 9202
Joined: Fri Feb 02, 2007 12:06 pm

Beamer Shadow Problem

Post by localghost »

davidpage wrote:I've upgraded to beamer 3.07. Now I find that I can see a continuous shadow when the pdf is viewed full-screen, but still the same two dots when I quit full-screen mode. Is this normal?
I can't tell you. With my sample document from an earlier post there's no problem in full screen mode (Okular on openSUSE). Just attach your resulting output so we can test it.
davidpage
Posts: 11
Joined: Sat Jan 16, 2010 12:05 pm

Beamer Shadow Problem

Post by davidpage »

It seems alright now after I've also upgraded Adobe reader, but still occasionally I do get files that won't show the shadow correctly outside full screen mode.

The following is a pdf file created, which happens to be OK.
test.pdf
(50.49 KiB) Downloaded 479 times
Vesa Linja-aho
Posts: 1
Joined: Sun Jul 10, 2011 7:30 pm

Re: Beamer Shadow Problem

Post by Vesa Linja-aho »

I'm having a problem closely related to this:
https://bitbucket.org/rivanvx/beamer/is ... when-using
http://www.slideshare.net/linjaaho/late ... al-7275984

To summarize: the shadows of boxes are distorted, when using a Flash based pdf viewer. Weird. If I turn the shadows off:
\setbeamertemplate{blocks}[rounded][shadow=false]
then the blocks disappear.
Post Reply