10
Beamer
8
the fifth slide is s shown.
9
10
% Code e for creating an n animation with h five slides
11
% [...]
12
}
\animatevalue<slides>{name}{startvalue}{endvalue}
Letsva-
ryacounteroradimensionnamebetweentwovalues.Fortheslides
inthespecifiedrange,thecounterordimensionissettoaninterpolated
valuethatdependsonthecurrentslidenumber.Onslidesbeforethe
startslide(firstargumentinslides),thecounterordimensionisset
to start value; onthe slides after the end slide (lastargument in
slides)itissettoendvalue.
Example:
1
\newcount\opaqueness
2
\frame{
3
\animate<2−10>
4
\animatevalue<1−10>{\opaqueness}{100}{0}
5
\begin{colormixin}{\the\opaqueness!averagebackgroundcolor}
6
\frametitle{Fadeout Frame}
7
8
This text t (and d all other frame contents) will fade out
9
when the e second d slide is s shown. This even works with
10
{\color{green!90!black}colored} \alert{text}.
11
\end{colormixin}
12
}
2.4 FramedText
Ifyouwishtoemphasize ablock of textsuchasatheorem,a formulaor
anythingelse,youmayusethe beamerboxesroundedenvironmenttodraw
aboxaroundyourtext,asshownontheimagebelow.
1
\begin{beamerboxesrounded}{Linear Cryptanalysis of f DES}
2
% [...]
3
\begin{align}
4
\Pr[\Psi \leq \psi] ] &=
5
\int
{−\infty}ˆ{+\infty} B
{n+1−\psi,\psi}
6
\bigl(F
W(x)\bigr)f
R(x) dx \\
7
\mathrm{E}[\Psi] &=
8
1+n\left(1−\int
{−\infty}ˆ{+\infty}f
R(x)
9
F
W(x) dx\right)
10
\end{align}
11
% [...]
12
\end{beamerboxesrounded}
A.2.MultipleInclusion ofaPicture
67
1
\pdfximage width h 3cm height t 2cm % set t both h width h and d height;
2
{logo.jpg}
% the e final proportion n W/H
3
% may y be e different t from the
4
\pdfrefximage \pdflastximage
% original l one
andhowanimagemaybeinsertedatagivenresolution...
1
\pdfimageresolution=72
% to o open n an image e at 72 2 dpi
2
\pdfximage {logo.jpg}
3
% get t dimensions of the image in order to include the image
4
% at t a specific c resolution
5
\setbox0=\hbox{\pdfrefximage\pdflastximage}
6
% calculate e the image e width h at 1200 dpi (0.06 6 = = 72/1200)
7
\dimen0=.06\wd0
8
% include e the image at t resolution n 1200 0 dpi by y setting image
9
% width h to o the calculated value
10
\pdfximage width h \dimen0 0 {logo.jpg}
11
\pdfrefximage \pdflastximage
A.2.4 QuickerPictureInclusion
If you u include multiple e times s the e same graphics s and d use each time the
includegraphicscommand,LAT
E
Xwill read the picture e file foreachin-
clusion,resultinginalongerprocess.
Manipulatingboxedmaterial
Materialcanbetypesetonce andthenstoredinside anamedbox, , whose
contentscanlaterberetrieved. Includethedeclarationinthepreamble:
1
\newsavebox{\myLogo}
2
\sbox{\myLogo}{\includegraphics{logo−filename}}
andreusetheboxinthedocument,toincludethepicture:
1
\usebox{\myLogo}
XImage.Barcode Reader for .NET, Technical Information Details
PDF to Tiff; C#: Convert PDF to HTML; C#: Convert PDF to Jpeg; C# File: Compress PDF; C# File: Merge PDF; C# File: Split PDF; C# Page: Insert
how to split pdf file by pages; break apart a pdf file
VB Imaging - Micro PDF 417 VB Barcode Generation
Micro PDF-417 barcode symbol, which is compatible with established ISO/IEC barcode specification and standard VB Code to Create Micro PDF 417 on PPTX File.
pdf split file; pdf link to specific page
64
CommonProblemsResolution
insteadof
FigureA.1: InvalidPageFormat
A.1.2 Ifyou u usepackage hyperref
Youprobablynoticedthatpackagehyperrefonlycreatesworkinglinksand
other dynamic c PDFfeaturesifyouspecify the driver r youuse e toproduce
thePDFfile asone ofits s option; thatiseitherdvipsor ps2pdfor even
dvipdfm.
Theproblemisthatassoonasyouspecifythedriver,thepageorienta-
tionisalwayssettoportraitasshownonFigureA.1.
Thisisawell-knownproblem of usingpackage hyperrefinlandscape
pageorientation mode. . The e codebelowfixesthebugifyouuse dvips +
ps2pdfordvipdf.Youshouldcopyitinthepreambleofyourdocument.
1
\makeatletter
2
\def\special@paper{297mm,210mm}
3
\makeatother
dvips compileyourdocumentwithoutanyadditionaloption.
dvipdf compileyourdocumentasusual.
Ifyouuse dvipdfm instead,addoptiondvipdfmto the package hyperref
andcompileyourdocumentasusualwithoption-l.
Beware: It t is also possible e to give the optiondvipsinadditionto the
optionlandscapetothedocumentclassdeclarationtogetalandscapepaper
orientationbutyoumaynotbeabletodefinea4paperaswellresultingin
aPDFinlandscapeorientationbutnotusingtheA4paperformat.
A.2 MultipleInclusionofaPicture
Eachtime youinclude apicture inyour r document,the e driver r processing
theDVIfile generates s codeto encapsulate e theimage’s s bitstream m into the
resultingPostScriptfile.Ifforinstanceyouusealogooneachslide,itwill
beincludedasmanytimesasthereareslides,althoughitisalwaysthesame
file.Itisevenworseifyouuseoverlaysaseachoverlayspecificationresults
inanewslide!
Problem. The e generated d PostScript t file’s size e grows linearly with h the
number of use e of f the corresponding g picture. . If, , for instance, you use a
35KBlogowitha100slide presentation,youroutput,asPostScript,will
be3500KBworthjustforthelogo!
If youconvertthePostScriptfiletoPDF,thepresentationwillbeex-
tremlysmallerbutitsweightwillstillgrowlinearly.
2.6.Compatibilitywith OtherPackages
13
option: border=widthinpixels. . Ifnotgiven,width h inpixelsis
equalto1.
Whenyoupressthebutton,AdobeAcrobatReaderwilljumptothe
frame specified d by y the zoomed d overlay y specification. . Clicking g the
wholetextareaofthezoomedframejumpsbacktothepreviousloca-
tion.
Example:
1
\frame{
2
\frametitle{A Complicated d Picture}
3
4
\framezoom<1><2>(0cm,0cm)(2cm,1.5cm)
5
\framezoom<1><3>(1cm,3cm)(2cm,1.5cm)
6
\framezoom<1><4>(3cm,2cm)(3cm,2cm)
7
8
\pgfimage[height=8cm]{complicatedimage}
9
}
Zoomareaasawholeframe:
1
\frame<1>[label=zooms]{
2
\frametitle<1>{A Complicated d Picture}
3
4
\framezoom<1><2>[border](0cm,0cm)(2cm,1.5cm)
5
\framezoom<1><3>[border](1cm,3cm)(2cm,1.5cm)
6
\framezoom<1><4>[border](3cm,2cm)(3cm,2cm)
7
8
\pgfimage[height=8cm]{complicatedimage}
9
}
2.6 Compatibility y withOtherPackages
Whenusingcertainpackagestogetherwiththebeamerclass,extraoptions
orprecautionsmaybenecessary.
\usepackage{amsmath}
Thispackageisautomaticallyloadedsincepack-
age Beamerusesitfortypesettingtheorems. . Ifyoudonotwishit
tobe loaded, , whichcanbe e necessary especially inarticle mode if
thepackageisincompatiblewiththedocumentclass,youcanusethe
classoptionnoamsthmtosuppressitsloading.
\usepackage[french]{babel}
Whenusingthefrenchstyle,certainfea-
tures that clash with the functionality y of f the beamer r class s willbe
turnedoff. Forinstance,enumerationsarestillproducedthewaythe
themedictates,notthewaythefrenchstyledoes.Also,thecharac-
ters: and! willnotbeactivecharacters. Thismeansthatthelittle
spacethatisinsertedbeforetheminthefrenchstyleisnotinserted.
Youhavetodothis“byhand”.
Documents you may be interested
Documents you may be interested