| 1 |
%% |
| 2 |
%% This is file `picexample.tex', |
| 3 |
%% generated with the docstrip utility. |
| 4 |
%% |
| 5 |
%% The original source files were: |
| 6 |
%% |
| 7 |
%% texpower-doc.dtx (with options: `picexample,picexample-src,end') |
| 8 |
%% |
| 9 |
%% -------------------------------------------------------------- |
| 10 |
%% TeXPower bundle - dynamic online presentations with LaTeX |
| 11 |
%% Copyright (C) 1999-2004 Stephan Lehmke |
| 12 |
%% Copyright (C) 2003-2005 Hans Fredrik Nordhaug |
| 13 |
%% |
| 14 |
%% This program is free software; you can redistribute it and/or |
| 15 |
%% modify it under the terms of the GNU General Public License |
| 16 |
%% as published by the Free Software Foundation; either version 2 |
| 17 |
%% of the License, or (at your option) any later version. |
| 18 |
%% |
| 19 |
%% This program is distributed in the hope that it will be useful, |
| 20 |
%% but WITHOUT ANY WARRANTY; without even the implied warranty of |
| 21 |
%% MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
| 22 |
%% GNU General Public License for more details. |
| 23 |
%% -------------------------------------------------------------- |
| 24 |
%% |
| 25 |
%% The list of all files belonging to the TeXPower bundle is |
| 26 |
%% given in the file `00readme.txt'. |
| 27 |
%% |
| 28 |
\ProvidesFile{picexample.tex}% |
| 29 |
[2005/04/07 TeXPower example file] |
| 30 |
%----------------------------------------------------------------------------------------------------------------- |
| 31 |
% |
| 32 |
% Picture example for the package texpower.sty. |
| 33 |
% |
| 34 |
%----------------------------------------------------------------------------------------------------------------- |
| 35 |
% Use slifonts and a dark background. |
| 36 |
|
| 37 |
\PassOptionsToPackage{colormath,colorhighlight,darkbackground}{texpower} |
| 38 |
\RequirePackage{tpslifonts} |
| 39 |
|
| 40 |
% Input the generic preamble. |
| 41 |
|
| 42 |
\input{__TPpreamble} |
| 43 |
\hypersetup{pdftitle={texpower picture example}} |
| 44 |
|
| 45 |
|
| 46 |
\ifthenelse{\boolean{psspecialsallowed}}% Can we use PSTricks? |
| 47 |
{% Yes. |
| 48 |
% PsTricks (sic) is used for creating the picture example. |
| 49 |
|
| 50 |
\usepackage[noxcolor]{pstricks} |
| 51 |
\usepackage{pstcol} |
| 52 |
\usepackage{pst-node} |
| 53 |
|
| 54 |
\psset{unit=\unitlength} |
| 55 |
} |
| 56 |
{% No. We'll make do without. |
| 57 |
} |
| 58 |
|
| 59 |
|
| 60 |
%----------------------------------------------------------------------------------------------------------------- |
| 61 |
% Finally, everything is set up. Here we go... |
| 62 |
% |
| 63 |
\begin{document} |
| 64 |
\begin{slide} |
| 65 |
|
| 66 |
%----------------------------------------------------------------------------------------------------------------- |
| 67 |
% |
| 68 |
\makeslidetitle{\macroname{stepwise} Example: A Picture}\label{Sec:ExPic} |
| 69 |
|
| 70 |
\ifthenelse{\boolean{psspecialsallowed}}% Can we use PSTricks? |
| 71 |
{\input{picpsexample}}{\input{picltxexample}} |
| 72 |
\newslide |
| 73 |
\pageTransitionReplace |
| 74 |
\end{slide} |
| 75 |
\end{document} |
| 76 |
\endinput |
| 77 |
%% |
| 78 |
%% End of file `picexample.tex'. |