diff options
author | Karl Berry <karl@freefriends.org> | 2010-02-12 01:04:43 +0000 |
---|---|---|
committer | Karl Berry <karl@freefriends.org> | 2010-02-12 01:04:43 +0000 |
commit | 6c5a3105a3772c17259244d2a30209278dfc2adc (patch) | |
tree | 46fe4dbd9538afaecb233ee7eccb8385dd75ca30 /Master/texmf-dist/doc/latex/presentations/02-08-1.ltxpd | |
parent | 89fa37c98ade4735241407567ed223cc32bed675 (diff) |
new doc examples presentations(_de)
git-svn-id: svn://tug.org/texlive/trunk@16981 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/doc/latex/presentations/02-08-1.ltxpd')
-rw-r--r-- | Master/texmf-dist/doc/latex/presentations/02-08-1.ltxpd | 51 |
1 files changed, 51 insertions, 0 deletions
diff --git a/Master/texmf-dist/doc/latex/presentations/02-08-1.ltxpd b/Master/texmf-dist/doc/latex/presentations/02-08-1.ltxpd new file mode 100644 index 00000000000..e1ba5a4422b --- /dev/null +++ b/Master/texmf-dist/doc/latex/presentations/02-08-1.ltxpd @@ -0,0 +1,51 @@ +%% +%% A DANTE-Edition example +%% +%% Beispiel 02-08-1 on page 36. +%% +%% Copyright (C) 2010 Voss +%% +%% It may be distributed and/or modified under the conditions +%% of the LaTeX Project Public License, either version 1.3 +%% of this license or (at your option) any later version. +%% +%% See http://www.latex-project.org/lppl.txt for details. +%% + +% Show page(s) 1 + +\documentclass[size=11pt,style=simple]{powerdot} +\pagestyle{empty} +\setcounter{page}{6} +\usepackage[utf8]{inputenc} +\usepackage[ngerman]{babel} +\usepackage{animate,multido} + %-------------------- write timeline file ---------------------% + \newwrite\TimeLineFile + \immediate\openout\TimeLineFile=sinus.txt + \immediate\write\TimeLineFile{::0x0,1}% + %remaining frames: overlay filled circle at its current postion + \multido{\i=2+1}{90}{\immediate\write\TimeLineFile{::\i % put filled circle on top + }} + \immediate\closeout\TimeLineFile + +\usepackage{animate,multido,pstricks-add} + +\begin{document} +\begin{slide}{Animate} +\psset{xunit=\pstRadUnit,dashadjust=false} +\begin{animateinline}[controls,timeline=sinus.txt,begin={\begin{pspicture}(-0.5,-1.5)(6.6,2)}, + end={\end{pspicture}}]{24} + \psaxes[trigLabels,trigLabelBase=3]{->}(0,0)(-2mm,-1.5)(6.5,1.5)[t,-90][$y=\sin(t)$,0] + \psplot[xunit=1cm,linestyle=dashed,algebraic]{0}{\psPiTwo}{sin(x)} + \newframe + \multiframe{91}{n=0+4}{\psset{xunit=1cm,linecolor=blue} + \pscustom[xunit=1cm,fillcolor=blue!30,fillstyle=solid,linestyle=none,algebraic,dimen=inner]{% + \psplot{0}{\n\space DegtoRad}{sin(x)} + \psline(!\n\space DegtoRad 0)} + \psplot[xunit=1cm,linestyle=dashed,linecolor=black,algebraic]{0}{\n\space DegtoRad}{sin(x)} + \psdot[opacity=0.4,dotsize=3mm](!\n\space dup DegtoRad exch sin) + \psline[linestyle=dashed](!\n\space dup DegtoRad exch sin)(!\n\space DegtoRad 0)} +\end{animateinline} +\end{slide} +\end{document} |