diff options
author | Norbert Preining <norbert@preining.info> | 2019-09-02 13:46:59 +0900 |
---|---|---|
committer | Norbert Preining <norbert@preining.info> | 2019-09-02 13:46:59 +0900 |
commit | e0c6872cf40896c7be36b11dcc744620f10adf1d (patch) | |
tree | 60335e10d2f4354b0674ec22d7b53f0f8abee672 /graphics/tpic2pdftex/beamerexample.pic |
Initial commit
Diffstat (limited to 'graphics/tpic2pdftex/beamerexample.pic')
-rw-r--r-- | graphics/tpic2pdftex/beamerexample.pic | 88 |
1 files changed, 88 insertions, 0 deletions
diff --git a/graphics/tpic2pdftex/beamerexample.pic b/graphics/tpic2pdftex/beamerexample.pic new file mode 100644 index 0000000000..558bfaaaf1 --- /dev/null +++ b/graphics/tpic2pdftex/beamerexample.pic @@ -0,0 +1,88 @@ +%$Id: beamerexample.pic,v 1.3 2004/04/13 21:36:47 hahe Exp hahe $ +\documentclass{beamer} +\beamertemplatenavigationsymbolsempty +\newcommand\gpicbox[1]{\vbox{\unvcopy\csname #1\endcsname\kern0pt}} +%*********************************************************************** +\begin{document} + +\section{PDF File Generation} + +\frame{ +\frametitle{How a PDF File is generated\ldots} +.PS +[ + boxwid=0.8; boxht=0.2 + ellipsewid=0.8; ellipseht=0.25 + down + A:ellipse "{\ttfamily foo.tex}" + arrow 0.2 at A.s + B:box "tex" + [ + right + ellipse wid 1.2*ellipsewid "{\ttfamily $\ast$.tfm}" + arrow 0.2 + ] with .e at B.w + arrow 0.2 at B.s + C:ellipse "{\ttfamily foo.dvi}" +\only<2-3>{% + arrow 0.2 + D:box "dvips" + Q:[ + D: ellipse wid 1.2*ellipsewid "{\ttfamily $\ast$.vf}, {\ttfamily $\ast$.tfm}" + move 0.1 + E: ellipse ht 0.8 wid 1.2*ellipsewid "{\ttfamily psfonts.map}" \ + "{\ttfamily $\ast$.enc}, {\ttfamily $\ast$.pfb}" + ] with .e at D.w - (0.2,0) + spline -> right 0.05 from Q.D.e to D.nw + spline -> right 0.05 from Q.E.e to D.sw + arrow down 0.2 at D.s + ellipse "{\ttfamily foo.ps}" +\relax}% +\only<3>{% + arrow 0.2 + X:box "ps2pdf" + arrow 0.2 + ellipse "{\ttfamily foo.pdf}" +\relax}% +\only<4-| handout:0>{% + arrow 0.2 at C.s + D1:box "dvipdfm\textcolor{black!50}{x}" + Q1:[ + D: ellipse wid 1.2*ellipsewid "{\ttfamily $\ast$.vf}, {\ttfamily $\ast$.tfm}" + move 0.1 + E: ellipse ht 0.8 wid 1.2*ellipsewid "{\ttfamily psfonts.map}" \ + "{\ttfamily $\ast$.enc}, {\ttfamily $\ast$.pfb}" + ] with .e at D.w - (0.2,0) + spline -> right 0.05 from Q1.D.e to D1.nw + spline -> right 0.05 from Q1.E.e to D1.sw + arrow down 0.2 at D1.s + ellipse "{\ttfamily foo.pdf}" +\relax}% +\only<5->{% + move right 2.2 at A.n + down + ellipse "{\ttfamily foo.tex}" + arrow 0.2 + P:box ht (B.n.y - D1.s.y) "pdftex" + [ + right + ellipse wid 1.2*ellipsewid "{\ttfamily $\ast$.vf}, {\ttfamily $\ast$.tfm}" + arrow 0.2 + ] with .e at (P.w.x,Q.D.y) + RR:[ + A:ellipse ht 0.8 wid 1.2*ellipsewid "{\ttfamily pdftex.map}" \ + "{\ttfamily $\ast$.enc}, {\ttfamily $\ast$.pfb}" + ] with .e at (P.w.x - 0.2,Q.E.y) + spline -> right 0.05 from RR.A.e to P.sw + down + arrow 0.2 at P.s + ellipse "{\ttfamily foo.pdf}" +] +\relax}% +.PE + +\centering +\leavevmode\gpicbox{graph} +} + +\end{document} |