diff options
Diffstat (limited to 'Master/texmf-dist/doc/latex/texpower/spanelexample.tex')
-rw-r--r-- | Master/texmf-dist/doc/latex/texpower/spanelexample.tex | 124 |
1 files changed, 124 insertions, 0 deletions
diff --git a/Master/texmf-dist/doc/latex/texpower/spanelexample.tex b/Master/texmf-dist/doc/latex/texpower/spanelexample.tex new file mode 100644 index 00000000000..f1dfa1aa839 --- /dev/null +++ b/Master/texmf-dist/doc/latex/texpower/spanelexample.tex @@ -0,0 +1,124 @@ +%% +%% This is file `spanelexample.tex', +%% generated with the docstrip utility. +%% +%% The original source files were: +%% +%% texpower-doc.dtx (with options: `spanelexample') +%% +%% -------------------------------------------------------------- +%% TeXPower bundle - dynamic online presentations with LaTeX +%% Copyright (C) 1999-2004 Stephan Lehmke +%% +%% This program is free software; you can redistribute it and/or +%% modify it under the terms of the GNU General Public License +%% as published by the Free Software Foundation; either version 2 +%% of the License, or (at your option) any later version. +%% +%% This program is distributed in the hope that it will be useful, +%% but WITHOUT ANY WARRANTY; without even the implied warranty of +%% MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +%% GNU General Public License for more details. +%% -------------------------------------------------------------- +%% +%% The list of all files belonging to the TeXPower bundle is +%% given in the file `00readme.txt'. +%% +\ProvidesFile{spanelexample.tex}% + [2004/07/27 TeXPower example file] +%----------------------------------------------------------------------------------------------------------------- +% File: spanelexample.tex +% +% Very simple panel example - compare with panelexample.tex + +\documentclass[calcdimensions,landscape,letterpaper,KOMA]{powersem} + +\usepackage[colorlinks,pdfpagemode=FullScreen,plainpages=false]{hyperref} + +\usepackage[lightbackground,display]{texpower} +\renewcommand{\currentpagevalue}{\value{slide}} +\usepackage{tpslifonts} + +\newlength{\buttonwidth} +\renewcommand{\buttonsep}{0.2\fboxsep} +\renewcommand{\buttonshadowhshift}{0.1\fboxsep} +\renewcommand{\buttonshadowvshift}{-0.1\fboxsep} + +\DeclarePanel{left} +{% + \textsf{\textbf{\footnotesize + \begin{tabular}[b]{@{}l@{}} + Your Logo\\ + Your Name\\ + Your Company\\ + \end{tabular}% + }}% + \vfill + + \setlength{\buttonwidth}{.5\linewidth-.5ex} + \button[\buttonwidth]{\Acrobatmenu{FirstPage}}{Start} + \button[\buttonwidth]{\Acrobatmenu{LastPage}}{End} + \button[\buttonwidth]{\Acrobatmenu{PrevPage}}{Back} + \button[\buttonwidth]{\Acrobatmenu{NextPage}}{Next} +}% + +\newcommand{\MyHeader}{} + +\newcommand{\myheader}[1]{\renewcommand{\MyHeader}{#1}} + +\DeclarePanel{top}{\Large\strut\MyHeader} + +\backgroundstyle{vgradient} + +\slideframe{none} +\centerslidesfalse +\pagestyle{empty} + +\mklength{\slideleftmargin}{\leftpanelwidth*\ratio{1cm}{\semcm}+.5cm} +\renewcommand{\sliderightmargin}{.5cm} +\mklength{\slidetopmargin}{\toppanelheight*\ratio{1cm}{\semcm}+.5cm} +\renewcommand{\slidebottommargin}{.5cm} + +\begin{document} + +\begin{slide} + +\myheader{Just some info about panels} + +If you're using a package that has it's own panel and/or naviagtion buttons (as +\href{ftp://ftp.dante.de/tex-archive/help/Catalogue/entries/pdfscreen.html}% +{\code{pdfscreen}}) don't even consider using the preliminary support for this +in \concept{\TeX Power}. + +Using it for \code{seminar} / \code{powersem} as we are doing here is OK \dots + +Things to remember: +\begin{itemize} +\item If you want to declare your own panels, you have to call +\macroname{backgroundstyle} after the panel declaration. +\item The font color used in the panels are controlled by \code{\carg{pos}paneltextcolor}. +\end{itemize} + +\newslide + +\myheader{Some examples for \macroname{pause}} + +\pageTransitionDissolve +With dissolve page transition +\begin{itemize} +\item foo\pause +\item bar\pause +\end{itemize} +\pageTransitionReplace +and with plain replace page transition +\begin{itemize} +\item foo\pause +\item bar\pause +\end{itemize} + +\end{slide} + +\end{document} +\endinput +%% +%% End of file `spanelexample.tex'. |