pdf tricks in latex - eng.auburn.edusjreeves/classes/elec... · 4 animation overview syntax 5...
Post on 18-Jul-2020
8 Views
Preview:
TRANSCRIPT
IntroductionBalloons
VideoAnimation
PDFCommentsConclusion
PDF tricks in LATEX
Timmy SandersDepartment of Mathematics and Statistics
Auburn University
July 28, 2010
1 / 28
IntroductionBalloons
VideoAnimation
PDFCommentsConclusion
Outline
1 IntroductionOverviewHelpful Links and ExamplesPackages
2 BalloonsOverviewSyntax
3 VideoOverviewSyntax
4 AnimationOverviewSyntax
5 PDFCommentsOverviewSyntax
6 ConclusionQuestions
2 / 28
IntroductionBalloons
VideoAnimation
PDFCommentsConclusion
OverviewHelpful Links and ExamplesPackages
Outline
1 IntroductionOverviewHelpful Links and ExamplesPackages
2 BalloonsOverviewSyntax
3 VideoOverviewSyntax
4 AnimationOverviewSyntax
5 PDFCommentsOverviewSyntax
6 ConclusionQuestions
3 / 28
IntroductionBalloons
VideoAnimation
PDFCommentsConclusion
OverviewHelpful Links and ExamplesPackages
Overview
OverviewThe Portable Document Format (PDF) has many end uses. Most users only consider PDF for static printabledocuments. However, Adobe has integrated many of the multimedia aspects of Flash.
4 / 28
IntroductionBalloons
VideoAnimation
PDFCommentsConclusion
OverviewHelpful Links and ExamplesPackages
Helpful Links
Linkshttp://www.uoregon.edu/˜noeckel/index.html
http://www.ctan.org/tex
http://emacsworld.blogspot.com
5 / 28
IntroductionBalloons
VideoAnimation
PDFCommentsConclusion
OverviewHelpful Links and ExamplesPackages
Examples
Exampleshttp://www.tug.org/texshowcase/#dynamics
http://www.adobe.com/products/acrobat/readermain.html
6 / 28
IntroductionBalloons
VideoAnimation
PDFCommentsConclusion
OverviewHelpful Links and ExamplesPackages
Packages
BasicsThe packages needed to utilize the dynamic features of Portable Document Format (PDF) include:
hyperrefgeometrymovie15animatecooltooltips
7 / 28
IntroductionBalloons
VideoAnimation
PDFCommentsConclusion
OverviewSyntax
Outline
1 IntroductionOverviewHelpful Links and ExamplesPackages
2 BalloonsOverviewSyntax
3 VideoOverviewSyntax
4 AnimationOverviewSyntax
5 PDFCommentsOverviewSyntax
6 ConclusionQuestions
8 / 28
IntroductionBalloons
VideoAnimation
PDFCommentsConclusion
OverviewSyntax
Overview
BasicsThe packages needed to include cooltooltip commands:
cooltooltipshyperref
9 / 28
IntroductionBalloons
VideoAnimation
PDFCommentsConclusion
OverviewSyntax
Overview
OverviewThe package cooltooltips is a macro that allows the developer of PDFs to include different interactive features.There are two commands that initiate cooltooltips:
\cooltooltip
\cooltooltiptoggle
10 / 28
IntroductionBalloons
VideoAnimation
PDFCommentsConclusion
OverviewSyntax
Syntax
Commands\cooltooltip[<popup color>][<link color>]{<subject>}{<message>}{<url>}{<tooltip>}{<text>}
\cooltooltiptoggle{<text>}
11 / 28
IntroductionBalloons
VideoAnimation
PDFCommentsConclusion
OverviewSyntax
Syntax
Syntax for cooltooltippopup color color of box around textlink color color of box around hyperlinksubject subject in popup windowmessage text in popup windowurl hyperlinktooltip text displayed while mouse over linktext text in hyperlink
Syntax for cooltooltiptoggletext text in toggle button
12 / 28
IntroductionBalloons
VideoAnimation
PDFCommentsConclusion
OverviewSyntax
Example
Syntax\cooltooltip[0 0 1]\{Example}\{This is an example of a cool tooltip. Pretty cool, eh?}\{http://www.ctan.org/}{Visit CTAN on the Web}\{This text\strut} is an example.
13 / 28
IntroductionBalloons
VideoAnimation
PDFCommentsConclusion
OverviewSyntax
Outline
1 IntroductionOverviewHelpful Links and ExamplesPackages
2 BalloonsOverviewSyntax
3 VideoOverviewSyntax
4 AnimationOverviewSyntax
5 PDFCommentsOverviewSyntax
6 ConclusionQuestions
14 / 28
IntroductionBalloons
VideoAnimation
PDFCommentsConclusion
OverviewSyntax
Overview
BasicsThe packages needed to include a mp4 or Flash multimedia are:
movie15hyperref
15 / 28
IntroductionBalloons
VideoAnimation
PDFCommentsConclusion
OverviewSyntax
Syntax
SyntaxLATEX processes the syntax for multimedia within the figure environment.
\begin{figure}[h]\includemovie[poster,text={text here}]{cm}{cm}{name of file}\end{figure}
16 / 28
IntroductionBalloons
VideoAnimation
PDFCommentsConclusion
OverviewSyntax
Outline
1 IntroductionOverviewHelpful Links and ExamplesPackages
2 BalloonsOverviewSyntax
3 VideoOverviewSyntax
4 AnimationOverviewSyntax
5 PDFCommentsOverviewSyntax
6 ConclusionQuestions
17 / 28
IntroductionBalloons
VideoAnimation
PDFCommentsConclusion
OverviewSyntax
Overview
BasicsIn a PDF, the movie15 package creates video via frames of image files. Similarly, a PDF can use vector graphics forthe frames to create motion within a document. The packages needed are:
animategraphicx
18 / 28
IntroductionBalloons
VideoAnimation
PDFCommentsConclusion
OverviewSyntax
Syntax
Environment\begin{animateinline}[<options>]{<frame rate>} ... \end{animateinline}
19 / 28
IntroductionBalloons
VideoAnimation
PDFCommentsConclusion
OverviewSyntax
Syntax
Command\animategraphics[<options>]{<frame rate>}{<file basename>}{<first>}{<last>}
20 / 28
IntroductionBalloons
VideoAnimation
PDFCommentsConclusion
OverviewSyntax
Example
SyntaxThis animation is of the function y = exp(x).
\animategraphics[controls, loop,timeline=timeline.txt]{4}{exp_}{0}{8}!
21 / 28
IntroductionBalloons
VideoAnimation
PDFCommentsConclusion
OverviewSyntax
Outline
1 IntroductionOverviewHelpful Links and ExamplesPackages
2 BalloonsOverviewSyntax
3 VideoOverviewSyntax
4 AnimationOverviewSyntax
5 PDFCommentsOverviewSyntax
6 ConclusionQuestions
22 / 28
IntroductionBalloons
VideoAnimation
PDFCommentsConclusion
OverviewSyntax
OverviewA PDF has several different styles of comments to add various information in a document.
23 / 28
IntroductionBalloons
VideoAnimation
PDFCommentsConclusion
OverviewSyntax
Syntax
Environment\begin{pdfsidelinecomment}[<options>]{<comments>} ... \end{pdfsidelinecomment}
24 / 28
IntroductionBalloons
VideoAnimation
PDFCommentsConclusion
OverviewSyntax
Syntax
Commands\pdfcomment[<options>]{<comment>}
\pdfmargincomment[<options>]{<comment>}
\pdfmarkup[<options>]{<markup text>}{<comment>}
\pdfsquarecomment[<options>]{<comment>}
\pdfcirclecomment[<options>]{<comment>}
\pdflinecomment[<options>]{<comment>}
25 / 28
IntroductionBalloons
VideoAnimation
PDFCommentsConclusion
Questions
Outline
1 IntroductionOverviewHelpful Links and ExamplesPackages
2 BalloonsOverviewSyntax
3 VideoOverviewSyntax
4 AnimationOverviewSyntax
5 PDFCommentsOverviewSyntax
6 ConclusionQuestions
26 / 28
IntroductionBalloons
VideoAnimation
PDFCommentsConclusion
Questions
ConclusionMultimedia is imbedded into a PDF to transform a traditional static document into a dynamical document. Theinteraction of the document and the user, provides the developer the ability to include hyperlinks, popups,descriptions, etc. to enrich the document style.
27 / 28
IntroductionBalloons
VideoAnimation
PDFCommentsConclusion
Questions
QUESTIONS?
28 / 28
top related