From e0c6872cf40896c7be36b11dcc744620f10adf1d Mon Sep 17 00:00:00 2001 From: Norbert Preining Date: Mon, 2 Sep 2019 13:46:59 +0900 Subject: Initial commit --- macros/latex/contrib/pdfscreen/but.pdf | 71 ++ macros/latex/contrib/pdfscreen/button.pdf | Bin 0 -> 4143 bytes macros/latex/contrib/pdfscreen/left.pdf | Bin 0 -> 67103 bytes macros/latex/contrib/pdfscreen/logo.pdf | Bin 0 -> 6651 bytes macros/latex/contrib/pdfscreen/manual-print.pdf | Bin 0 -> 139935 bytes macros/latex/contrib/pdfscreen/manual-screen.pdf | Bin 0 -> 272127 bytes macros/latex/contrib/pdfscreen/manual.tex | 663 ++++++++++ macros/latex/contrib/pdfscreen/nopanel.pdf | Bin 0 -> 27082 bytes macros/latex/contrib/pdfscreen/overlay.pdf | Bin 0 -> 1350 bytes macros/latex/contrib/pdfscreen/overlay0.pdf | Bin 0 -> 1392 bytes macros/latex/contrib/pdfscreen/overlay1.pdf | 74 ++ macros/latex/contrib/pdfscreen/overlay10.pdf | Bin 0 -> 1389 bytes macros/latex/contrib/pdfscreen/overlay2.pdf | 74 ++ macros/latex/contrib/pdfscreen/overlay3.pdf | Bin 0 -> 1384 bytes macros/latex/contrib/pdfscreen/overlay4.pdf | Bin 0 -> 9228 bytes macros/latex/contrib/pdfscreen/overlay5.pdf | Bin 0 -> 1381 bytes macros/latex/contrib/pdfscreen/overlay6.pdf | Bin 0 -> 1392 bytes macros/latex/contrib/pdfscreen/overlay7.pdf | 76 ++ macros/latex/contrib/pdfscreen/overlay8.pdf | 74 ++ macros/latex/contrib/pdfscreen/overlay9.pdf | 73 ++ .../latex/contrib/pdfscreen/pdfscreen.cfg.specimen | 63 + macros/latex/contrib/pdfscreen/pdfscreen.sty | 1260 ++++++++++++++++++++ macros/latex/contrib/pdfscreen/portrait.pdf | Bin 0 -> 87627 bytes macros/latex/contrib/pdfscreen/print.pdf | Bin 0 -> 40520 bytes macros/latex/contrib/pdfscreen/right.pdf | Bin 0 -> 64744 bytes macros/latex/contrib/pdfscreen/slide.pdf | Bin 0 -> 75442 bytes macros/latex/contrib/pdfscreen/slide.tex | 159 +++ macros/latex/contrib/pdfscreen/square.pdf | Bin 0 -> 84582 bytes macros/latex/contrib/pdfscreen/tex.png | Bin 0 -> 11154 bytes macros/latex/contrib/pdfscreen/widepanel.pdf | Bin 0 -> 79493 bytes 30 files changed, 2587 insertions(+) create mode 100644 macros/latex/contrib/pdfscreen/but.pdf create mode 100644 macros/latex/contrib/pdfscreen/button.pdf create mode 100644 macros/latex/contrib/pdfscreen/left.pdf create mode 100644 macros/latex/contrib/pdfscreen/logo.pdf create mode 100644 macros/latex/contrib/pdfscreen/manual-print.pdf create mode 100644 macros/latex/contrib/pdfscreen/manual-screen.pdf create mode 100644 macros/latex/contrib/pdfscreen/manual.tex create mode 100644 macros/latex/contrib/pdfscreen/nopanel.pdf create mode 100644 macros/latex/contrib/pdfscreen/overlay.pdf create mode 100644 macros/latex/contrib/pdfscreen/overlay0.pdf create mode 100644 macros/latex/contrib/pdfscreen/overlay1.pdf create mode 100644 macros/latex/contrib/pdfscreen/overlay10.pdf create mode 100644 macros/latex/contrib/pdfscreen/overlay2.pdf create mode 100644 macros/latex/contrib/pdfscreen/overlay3.pdf create mode 100644 macros/latex/contrib/pdfscreen/overlay4.pdf create mode 100644 macros/latex/contrib/pdfscreen/overlay5.pdf create mode 100644 macros/latex/contrib/pdfscreen/overlay6.pdf create mode 100644 macros/latex/contrib/pdfscreen/overlay7.pdf create mode 100644 macros/latex/contrib/pdfscreen/overlay8.pdf create mode 100644 macros/latex/contrib/pdfscreen/overlay9.pdf create mode 100644 macros/latex/contrib/pdfscreen/pdfscreen.cfg.specimen create mode 100644 macros/latex/contrib/pdfscreen/pdfscreen.sty create mode 100644 macros/latex/contrib/pdfscreen/portrait.pdf create mode 100644 macros/latex/contrib/pdfscreen/print.pdf create mode 100644 macros/latex/contrib/pdfscreen/right.pdf create mode 100644 macros/latex/contrib/pdfscreen/slide.pdf create mode 100644 macros/latex/contrib/pdfscreen/slide.tex create mode 100644 macros/latex/contrib/pdfscreen/square.pdf create mode 100644 macros/latex/contrib/pdfscreen/tex.png create mode 100644 macros/latex/contrib/pdfscreen/widepanel.pdf (limited to 'macros/latex/contrib/pdfscreen') diff --git a/macros/latex/contrib/pdfscreen/but.pdf b/macros/latex/contrib/pdfscreen/but.pdf new file mode 100644 index 0000000000..a38ffec78d --- /dev/null +++ b/macros/latex/contrib/pdfscreen/but.pdf @@ -0,0 +1,71 @@ +%PDF-1.3 +%쏢 +6 0 obj +<> +stream +xRN1 ^u-$ +~EjqVĉ#h&񌝄I8v@[xJɩCR(皴aaAY\{,o/P3q=2%h1j~(唾C&fV3ܱ?4[3ܻ|2}+b5ǤDε%+l5h3)S(,nh]JT'YcvӉR/+L.L]挏43#85|`TL bsmxVYcFh7A:$?~ |#endstream +endobj +7 0 obj +296 +endobj +4 0 obj +<> +/Contents 6 0 R +>> +endobj +3 0 obj +<< /Type /Pages /Kids [ +4 0 R +] /Count 1 +>> +endobj +1 0 obj +<> +/PageMode /none +/ViewerPreferences << +/HideToolbar true +/HideMenubar true +/HideWindowUI true +/FitWindow true +/CenterWindow true +>> +>> +endobj +5 0 obj +<> +>>endobj +2 0 obj +<>endobj +xref +0 8 +0000000000 65535 f +0000000580 00000 n +0000000915 00000 n +0000000521 00000 n +0000000400 00000 n +0000000817 00000 n +0000000015 00000 n +0000000381 00000 n +trailer +<< /Size 8 /Root 1 0 R /Info 2 0 R +>> +startxref +1055 +%%EOF diff --git a/macros/latex/contrib/pdfscreen/button.pdf b/macros/latex/contrib/pdfscreen/button.pdf new file mode 100644 index 0000000000..030eb15f12 Binary files /dev/null and b/macros/latex/contrib/pdfscreen/button.pdf differ diff --git a/macros/latex/contrib/pdfscreen/left.pdf b/macros/latex/contrib/pdfscreen/left.pdf new file mode 100644 index 0000000000..1de9606476 Binary files /dev/null and b/macros/latex/contrib/pdfscreen/left.pdf differ diff --git a/macros/latex/contrib/pdfscreen/logo.pdf b/macros/latex/contrib/pdfscreen/logo.pdf new file mode 100644 index 0000000000..bc63385fc3 Binary files /dev/null and b/macros/latex/contrib/pdfscreen/logo.pdf differ diff --git a/macros/latex/contrib/pdfscreen/manual-print.pdf b/macros/latex/contrib/pdfscreen/manual-print.pdf new file mode 100644 index 0000000000..170621029e Binary files /dev/null and b/macros/latex/contrib/pdfscreen/manual-print.pdf differ diff --git a/macros/latex/contrib/pdfscreen/manual-screen.pdf b/macros/latex/contrib/pdfscreen/manual-screen.pdf new file mode 100644 index 0000000000..7f72482143 Binary files /dev/null and b/macros/latex/contrib/pdfscreen/manual-screen.pdf differ diff --git a/macros/latex/contrib/pdfscreen/manual.tex b/macros/latex/contrib/pdfscreen/manual.tex new file mode 100644 index 0000000000..18c6ac6061 --- /dev/null +++ b/macros/latex/contrib/pdfscreen/manual.tex @@ -0,0 +1,663 @@ +\documentclass[a4paper]{article} +\usepackage{xspace,colortbl} +\usepackage[print,panelright,code,paneltoc,sectionbreak]{pdfscreen} +\begin{screen} + \margins{.65in}{.65in}{.65in}{.65in} + \screensize{6.25in}{8in} + \changeoverlay + \paneloverlay{but.pdf} + \overlay{logo.pdf} + \def\pfill{\vskip6pt} +\end{screen} + +\renewcommand\floatpagefraction{1} +\renewcommand\textfraction{0} +\def\pdfscreen{\texttt{\small\color{section1}pdfscreen}\xspace} + +\begin{print} +\notesname{Notes:} +\makeatletter +\def\@seccntformat#1{\llap{\scshape\color{section\thesection@level} + \csname the#1\endcsname.\hspace*{6pt}}} +\makeatother +\end{print} + +\begin{document} + +\begin{screen} +\title{\color{section0}\Huge Manual} +\end{screen} + +\begin{print} +\title{\Huge\texttt{pdfscreen.sty} --- Manual} +\end{print} + +\author{\color{section1}\Large C.~V.~Radhakrishnan\\ + {\small\href{mailto:cvr@river-valley.com} + {\color{section1}\texttt{cvr@river-valley.com}}}} +\maketitle +\begin{screen} +\vfill + +\end{screen} + +\begin{abstract} +\noindent \pdfscreen package helps to redesign the pdf output of your normal +documents fit to be read in a computer monitor while retaining the +freedom to format it for conventional printing. This has been brought +about by redefining the margins and page height/\allowbreak width and +related dimensions to fit into that of the computer screen. By +changing the options to \verb+print+ you can switch the package to +format the document in the conventional way as your class file +dictates. +\end{abstract} + +\begin{print} +\tableofcontents +\end{print} +\begin{screen} + +\vfill +\end{screen} + +\section{Setup}\label{setup} + +An elaborate manual is not needed for using \pdfscreen, since +it is nothing but an extension of the \verb+hyperref.sty+ of +\href{mailto:sebastian.rahtz@oucs.ac.uk}{Sebastian Rahtz}. +The primary aim of the package is to change the dimensions of the width +and height of the page so as to provide an ideal dimension +that is fit for screen viewing rather than printing. As such, all those +dimensions that control the page shape are redefined to result the +desired screen size. The preamble portion requires the package loading +command as given below: +\begin{decl} + |\usepackage|\Oarg{screen,panelleft}\Arg{pdfscreen} +\end{decl} +There is no need to specify the +\verb+\usepackage{hyperref}+ with its options, since \verb+hyperref+ is +loaded by the \pdfscreen. Unlike previous verions you can load +|hyperref.sty| prior to \pdfscreen with necessary options if you like, +if so \pdfscreen will not reload |hyperref|. The default backend driver +for \pdfscreen is |pdftex|. However, you can specify your backend +driver as an option. + +It will be nicer if \pdfscreen is loaded as the last package +in the preamble so as to avoid further redefinition of commands that +are used by \pdfscreen. + + +\subsection{Options}\label{options} +The following options are available: + +\begin{enumerate} + +\item \verb+screen+ -- generates the screen version + +\item \verb+print+ -- generates the print that looks like your +\verb+dvi+ + +\item \verb+panelleft+ -- navigation panel in the left +side + +\item \verb+panelright+ -- navigation panel in the right +side + +\item \verb+nopanel+ -- suppresses the panel + +\item \verb+paneltoc+ -- table of contents in the panel. With this +option invoked, please do not use |\tableofcontents| command in the +document and |paneltoc| stops as soon as |\tableofcontents| command is +encountered. + +\item |sectionbreak| -- will introduce pagebreak before a section. + +\item |code| -- provides commands that can be used to list |verbatim| +like listing of program code as found in the \LaTeX{} documentation. + +\begin{verbatim} + \begin{decl}\\ + |\usepackage|\oarg{options}\arg{package}\\ + |\screensize|\Arg{6.25in}\Arg{8in} + \end{decl} +\end{verbatim} + +\begin{decl} +|\usepackage|\oarg{options}\arg{package}\\ +|\screensize|\Arg{6.25in}\Arg{8in} +\end{decl} + +\item \textbf{Backend drivers}: |dvips|, |dvipsone|, \dots, |vtex| can be +specified as an optional backend driver. |pdftex| is the default. + +\item \textbf{Color schemes}: There are six color schemes -- +bluelace, blue, gray, orange, palegreen and chocolate -- available for +panel and buttons that you can give as an option to the package. +Default is blue. + +\item \textbf{Foreign language support}: Not all the foreign languages +are supported. Only 15 European languages are supported at the moment. +However, all the language names as you give in the \verb+babel+ +package can be given here as an option. If the language is not +supported, the package will default to English. I may request users to +send me the translation of the button text in the navigation panel in +your language, if it is not supported. + +\item \verb+nocfg+ -- an option to suppress the configuration file (see +\autoref{cfg}), if you don't want to use its specifications. + +\end{enumerate} + +\subsection{Other parameters to be passed}\label{parameters} +Few more parameters are to be passed on to the \pdfscreen to make it more +functional. They are: + +\begin{decl}\verb+\emblema+\arg{graphic file name}\end{decl} the name of the graphic file that appears on +the navigation panel. + +\begin{decl}\verb+\urlid+\arg{URL name}\end{decl} The |home page| +button in the navigation panel will be linked to the \textsc{url}. + +\begin{decl}\verb+\screensize+\arg{height}\arg{width}\end{decl} +This command will facilitate to specify the screen dimensions of the +pdf output. No default screen dimensions are available, and therefore +the user has to specify it explicitly. There are no restrictions on the +screen dimensions. Unlike previous versions, the user is free to choose +any dimension. The default width of the panel is 15\% of the width of +the screen. + +\begin{decl} + |\margins|\arg{left}\arg{right}\arg{top}\arg{bottom} +\end{decl} +This command will set the margins of the document. +There are no default values for margins and you will have to specify it +explicitly in the document preamble. + +With |\margins| and |\screensize| explicitly given in the document +preamble, \pdfscreen now obeys whatever screen size and +margins the user has specified. This change is brought consequent to +the bug report of \href{dpstory@uakron.edu}{D.~P.~Story}. + +\subsection{Typical preamble} +A typical document preamble is given below (with which this document is +formatted): + +\begin{decl} +|\documentclass[a4paper,11pt]{article}|\\ +|\usepackage{xspace,colortbl}|\\ +| |\\ +|\usepackage|\Oarg{screen,panelleft,gray,paneltoc}\Arg{pdfscreen}\\ +|\margins|\Arg{.75in}\Arg{.75in}\Arg{.75in}\Arg{.75in}\\ +|\screensize|\Arg{6.25in}\Arg{8in}\\ +|\overlay|\Arg{lightsteelblue.pdf}\\ +| |\\ +|\begin{document}| +\end{decl} + +\subsection{Packages needed to run \pdfscreen} +The following packages are needed for smooth compilation (grab the +latest from \textsc{ctan}: + +\begin{enumerate} +\item |hyperref.sty| +\item |comment.sty| +\item |truncate.sty| +\item |graphicx.sty| +\item |color.sty| +\item |colortbl.sty| +\item |calc.sty| +\item |amssymb.sty| +\item |amsbsy.sty| +\item |shortvrb.sty| +\item |fancybox.sty| + +\end{enumerate} + +\section{Navigation Panel} +The design of the navigation panel is left entirely to the imagination +of the user. One can create a panel as per his taste. A +newer command, \verb+\panel+ has been added and a default +panel is also supplied, which is nothing but a box with navigation +buttons vertically arranged. There is also a command: + +\begin{decl} + |\addButton|\arg{length}\arg{button text string} +\end{decl} +which you can use to generate buttons of your choice. Here is an +example of how to produce a Next Page button: +\begin{decl} + |\Acrobatmenu{NextPage}{\addButton|\Arg{1.25in}\Arg{Next Page}|}| +\end{decl} +This will generate the following navigation button +\begin{center} + \Acrobatmenu{NextPage}{\addButton{1.25in}{Next Page}} +\end{center} +and clicking this will take you to the next page. In the same way, you +can build buttons with images too, for which the command, +\begin{decl} + |\imageButton|\arg{width}\arg{height}\arg{graphic file name} +\end{decl} +will be useful. +\begin{center} +\href{http://www.tug.org}{\imageButton{.75in}{!}{tex}} +\end{center} + +The \textsc{tug} image button is generated by: +\begin{verbatim} + \href{http://www.tug.org}{\imageButton{.5in}{!}{tex.png}} +\end{verbatim} + +Clicking this button will take you to \url{http://www.tug.org}, the +\TeX{} Users Group web site. + +The navigation panel can be positioned at user's will either to the +left side or right side. To see different types of output click the +buttons in \autoref{fig2}. + +\begin{figure}\footnotesize\fboxsep 10pt +\colorbox{panelbackground}{% +\begin{minipage}{\linewidth-20pt} +\color{orange} +\begin{flushleft} +\def\pba#1{\begin{minipage}[c][18pt][c]{75pt}#1\end{minipage}} +\def\pbb#1{$\Rightarrow$\fboxsep3pt\colorbox{white} + {\begin{minipage}[c]{\linewidth-100pt} + \footnotesize\color{section1}#1 + \end{minipage}}} +\definecolor{buttonbackground}{rgb}{.902,.902,.980} +\definecolor{buttonshadow}{rgb}{.412,.412,.412} +\pba{\href{left.pdf}{\addButton{1in}{Left Panel}}} +\pbb{{\tt\string\usepackage}\Oarg{screen,panelleft}\Arg{pdfscreen}}\\[2pt] +\pba{\href{right.pdf}{\addButton{1in}{Right Panel}}} +\pbb{{\tt\string\usepackage}\Oarg{screen,panelright}\Arg{pdfscreen}}\\[2pt] +\pba{\href{nopanel.pdf}{\addButton{1in}{No Panel}}} +\pbb{{\tt\string\usepackage}\Oarg{screen,nopanel}\Arg{pdfscreen}}\\[2pt] +\pba{\href{portrait.pdf}{\addButton{1in}{Portrait}}} +\pbb{Change screen size with the command:\hfill\break + {\tt\string\screensize}\arg{height}\arg{width}}\\[2pt] +\pba{\href{square.pdf}{\addButton{1in}{Square}}} +\pbb{Change screen size with the command:\hfill\break + {\tt\string\screensize\arg{height}\arg{width}} command}\\[2pt] +\pba{\href{widepanel.pdf}{\addButton{1in}{Wide Panel}}} +\pbb{{\tt\string\panelwidth}=\textcolor{red}{\it\textless dimension\textgreater}}\\[2pt] +\pba{\href{print.pdf}{\addButton{1in}{Print version}}} +\pbb{{\tt\string\usepackage}\Oarg{print}\Arg{pdfscreen}} +\end{flushleft} +\end{minipage}} +\caption{Different types of panel positioning\label{fig2}} +\end{figure} + + +Width of the panel can be changed by explicitly giving in the preamble +of the document like \verb+\panelwidth=+. +The default is 15\% of the screen width, however, there is a minimum +value of 1in in case 15\% of the screen width goes below 1in. + +You can define your own panel which is nothing but a vertical box with +whatever stuff you want to fit into. The navigation panel of this +document is made up of the following code: + +\begin{verbatim} + \panelwidth=1.3in + \def\panel{\colorbox{panelbackground} + {\begin{minipage}[t][\paperheight][b]{\panelwidth} + \centering\null\vspace*{12pt} + \includegraphics[width=.75in]{univ}\par\vfill + \href{\@urlid}{\addButton{.85in}{\@Panelhomepagename}}\par\vfill + \Acrobatmenu{FirstPage}{\addButton{.85in} + {\FBlack\@Paneltitlepagename}}\par\vfill + \Acrobatmenu{FirstPage}{\addButton{.2in} + {\FBlack\scalebox{.8}[1.4]{\btl\btl}}}\hspace{-3pt} + \Acrobatmenu{PrevPage}{\addButton{.2in} + {\FBlack\scalebox{.8}[1.4]{\btl}}}\hspace{-3pt} + \Acrobatmenu{NextPage}{\addButton{.2in} + {\LBlack\scalebox{.8}[1.4]{\rtl}}}\hspace{-3pt} + \Acrobatmenu{LastPage}{\addButton{.2in} + {\LBlack\scalebox{.8}[1.4]{\rtl\rtl}}}\par\vfill + \Acrobatmenu{GoBack}{\addButton{.85in} + {\@Panelgobackname}}\par\vfill + \Acrobatmenu{FullScreen}{\addButton{.85in}{Full Screen}}\par\vfill + \Acrobatmenu{Close}{\addButton{.85in}{\@Panelclosename}}\par\vfill + \Acrobatmenu{Quit}{\addButton{.85in}{\@Panelquitname}}\par + \null\vspace*{12pt} + \end{minipage}}} +\end{verbatim} + +\section{Other facilities} +\subsection{Background} + +The background of the screen area can be overlayed with a graphic file +with the command |\overlay|\arg{graphic file name}. Alternatively, you +can specify a background color by saying |\backgroundcolor|\arg{color} +where \verb+color+ is a predefined color with the commands provided by +the \verb+color.sty+. + +The background of the panel can also be provided by a graphic file with +the command |\paneloverlay|\arg{graphic file}. If you do not specify +an overlay graphic for the panel, the panelbackground color will take +effect. You can redefine the panelbackground color to your choice, if +you find the default color distasteful, or else you can specify the +same in the \verb+pdfscreen.cfg+ file. +|\overlayempty| and |\paneloverlayempty| commands help you to +suppress the overlays at any stage. + +A new command |\changeoverlay| has been introduced and a series of +small pdf files, each with less than 2 KB file size are offered, so +that you can have different overlays with the change of each section +unit and it will reset on every tenth section. + +You can create your own overlays and modify the |\change| command +with your overlay files. + +\subsection{Bottom buttons} + +Bottom footer menu can be invoked with |\bottombuttons| and can be +closed with |\nobottombuttons|. So also in the academic interest, +|\topbuttons| and |\notopbuttons| are also available. You can +have both the buttons in the same page, though it is bizarre looking. + +\subsection{Table of contents in the panel} + +The package option \verb+paneltoc+ will allow you to have the table +of contents in the navigation panel. In an article, only section +headings are shown in the panel toc. Users are requested to use this +option with caution, since it is prone to blow up the list and verbatim +environments spanning multiple pages. However, a manual intervention +with a \verb+\clearpage+ command at the appropriate location can +ease you to a certain extent. + +\subsection{Configuration file}\label{cfg} + +You can keep a configuration file called \verb+pdfscreen.cfg+ in which +you can provide your own translation of button +text if your language is unsupported by the package, newer color +schemes if you dislike the schemes offered, your +\textsc{url} id, affiliation and division names, date +argument, graphic file name of your logo/\allowbreak emblem. I would +suggest to use a configuration file, in which you can give all your +site specific requirements, that has another advantage of eliminating +the clustered look at the preamble of the document. A typical +configuration file is supplied with the package. + +\section{Slides} + +A slide environment is available which can be entered as +\begin{verbatim} + \begin{slide} + . + . + . + slide material + . + . + . + \end{slide} + \end{verbatim} +This is a box spanning the width and height of the text area, within +which the material will be vertically centered. + +\subsection{Fonts} +All the font attributes have been redefined to make them larger than +the usual size inside the slide environment. However, if you want to +revert to the original size, you will have to add the word \verb+real+ +before the font size command, i.e., for \verb+\normalsize+, use +\verb+\realnormalsize+; for \verb+\large+ it is \verb+\reallarge+ and +so forth. + +\subsection{Post-processing} + +The postprocessor \emph{viz.}, \verb+PPower4+ can be applied to the pdf +generated with this package, so that incremental additions to the pages +are possible. \verb+PPower4+ is available at +\href{ftp://ftp.dante.de/support/PPower4}{\textsc{ctan}}. You may need +Java Virtual Machine running in your system to work with +\verb+PPower4+. I have not tried the \TeX{}Power package by +\href{mailto:Stephan.Lehmke@cs.uni-dortmund.de}{Stephan Lehmke} +with \verb+pdfscreen+, but I would recommend this for effecting +incremental builds. + +\begin{print} +With |print| option invoked, the slide environment will print as a +boxed minipage with another ovalbox adjacent to the slide box. This +will prove useful for the audience to record any notes/queries during +presentation which they can discuss with the speaker at the end of his +session. The `Notes' that appear in the query box can be redefined to +the string you like in your language by the command: +\begin{decl} +|\def\notesname|\arg{your string} +\end{decl} +\end{print} + +\noindent{\begin{slide} +\color{section0} +\begin{center} +\Large\itshape The objectives of the slide option are: +\end{center} +\sffamily +\rightmargin\leftmargin +\begin{itemize} +\rightmargin\leftmargin +\itshape +\item to devise a method for easier technical presentation. + +\item to help the mix of mathematical formulae with text and graphics +which the present day \textsc{wysiwyg} tools fail to accomplish. + +\item to exploit the platform independence of \TeX{} so that +presentation documents become portable. + +\item to offer the freedom and possibilities of using various +backgrounds and other embellishments that a user can imagine to have in +his presentation. + +\end{itemize} + +\end{slide}} + +\section{Page Transition} +\begin{itemize} +\item You can exploit the page transition facilities in the Acrobat. +Specify your choice by using the command |\pagedissolve|\arg{option}. + +\item A list of page dissolve options and keys are given in \autoref{tab1}. + +\end{itemize} + +The page dissolve options are taken from the well known book, \emph{Web +Publishing with Acrobat/\textsc{pdf}} by Thomas Merz will largely help to know +the options for \verb+\pagedissolve+ function. + +\definecolor{gray9}{rgb}{1,.894,.769} +\subsubsection*{Keys for page transitions} +\def\dash{\noalign{\vskip1.5pt}\hline\noalign{\vskip1.5pt}} +\begin{screen} +\begin{table}[b] +\sffamily\itshape\footnotesize +\setlength\arrayrulewidth{0pt} +\begin{tabular}{@{}p{.15\linewidth}p{.8\linewidth}@{}} +\rowcolor{section1}Key & Explanation\\\dash +\rowcolor{gray9} /Split & Two lines sweep across the screen to reveal + the new page similar to opening a curtain.\\\dash +\rowcolor{buttondisable} /Blinds & Similar to /Split, but with several lines + resembling ``Venetian blinds''\\\dash +\rowcolor{gray9} /Box & A box enlarges from the center of the old + page to reveal the new one.\\\dash +\rowcolor{buttondisable} /Wipe & A single line ``wipes'' across the old page + to reveal the new one.\\\dash +\rowcolor{gray9} /Dissolve & The old page ``dissolves'' to reveal the + new one.\\\dash +\rowcolor{buttondisable} /Glitter& Similar to /Dissolve, except the effect + sweeps from one edge to another.\\\dash +\rowcolor{gray9} /R (Replace) & The old page is simply replaced with + the new one without any special effect. + This is the default. +\end{tabular} +\caption{Keys for page transition\label{tab1}} +\end{table} +\end{screen} + +\begin{print} +\begin{table} +\sffamily\itshape\footnotesize +\setlength\arrayrulewidth{.1pt} +\begin{tabular}{@{}p{.15\linewidth}p{.8\linewidth}@{}} +\dash + Key & Explanation\\\dash + /Split & Two lines sweep across the screen to reveal + the new page similar to opening a curtain.\\\dash + /Blinds & Similar to /Split, but with several lines + resembling ``Venetian blinds''\\\dash + /Box & A box enlarges from the center of the old + page to reveal the new one.\\\dash + /Wipe & A single line ``wipes'' across the old page + to reveal the new one.\\\dash + /Dissolve & The old page ``dissolves'' to reveal the + new one.\\\dash + /Glitter& Similar to /Dissolve, except the effect + sweeps from one edge to another.\\\dash + /R (Replace) & The old page is simply replaced with + the new one without any special effect. + This is the default. \\\dash +\end{tabular} + +\caption{Keys for page transition\label{tab1}} +\end{table} +\end{print} + +For some of the transitions, additional parameters may be specified. The +code given below results in a split effect with the lines moving +horizontally (/H) from the inner parts of the page to the outer parts +(/O). The duration of the effect is two seconds (/D): +\begin{verbatim} + /S /Split /D 2 /Dm /H /M /O +\end{verbatim} + +All supported parameters for page dissolve, along with +the kind of transition on which the parameters may be applied are given +in \autoref{tab2}. + +\begin{screen} +\begin{table} +\sffamily\itshape\footnotesize +\setlength\arrayrulewidth{0pt} +\begin{tabular}{@{}p{.15\linewidth}p{.8\linewidth}@{}} +\rowcolor{section1}Key & Explanation\\ \dash +\rowcolor{gray9} /D & Duration of the transition effect in + seconds (applies to all effects)\\ \dash +\rowcolor{buttondisable} /Di\hfill\break + (Direction) & Direction of the movement (multiples of + 90$^\circ$ only). Values increase in a + counterclockwise fashion, 0$^\circ$ + points to the right (for /Wipe and + /Glitter).\\\dash +\rowcolor{gray9} /Dm\hfill\break + (Dimension) & Possible values are /H or /V for a + horizontal or vertical effect, + respectively (for /Split and + /Blinds).\\\dash +\rowcolor{buttondisable} /M \hfill\break + (Motion) & Specifies whether the effect is + performed from the center out or + the edges in. Possible values are + /I for in and /O for out (for /Split + and /Box). +\end{tabular} + +\caption{Additional parameters for page transitions\label{tab2}} +\end{table} +\end{screen} + +\begin{print} +\begin{table} +\sffamily\itshape\footnotesize +\setlength\arrayrulewidth{.10pt} +\begin{tabular}{@{}p{.15\linewidth}p{.8\linewidth}@{}} +\dash +Key & Explanation\\ \dash +/D & Duration of the transition effect in + seconds (applies to all effects)\\ \dash +/Di\hfill\break + (Direction) & Direction of the movement (multiples of + 90$^\circ$ only). Values increase in a + counterclockwise fashion, 0$^\circ$ + points to the right (for /Wipe and + /Glitter).\\\dash + /Dm\hfill\break + (Dimension) & Possible values are /H or /V for a + horizontal or vertical effect, + respectively (for /Split and + /Blinds).\\\dash + /M \hfill\break + (Motion) & Specifies whether the effect is + performed from the center out or + the edges in. Possible values are + /I for in and /O for out (for /Split + and /Box). \\ +\dash +\end{tabular} + +\caption{Additional parameters for page transitions\label{tab2}} +\end{table} +\end{print} + +\section{Bugs and TODO} + +\begin{enumerate} +\item Enumerated and itemized lists spanning across pages create a +nasty |missing \item| error. \href{mailto:dpstory@uakron.edu}{D.~P.~Story} +has found out the reason to be the centering command, |\begin{center}| +\dots |\end{center}| code inside the |\panel| macros. His suggestion to +change this to |\centering| has made a dramatic effect thus eliminating +the |missing \item| error. However, if |paneltoc| option is invoked, +there is a slight shift in the spacing between table of contents +entries in the panel toc is oberved. Still a bug \dots + +\item |verbatim| environment when spanned across pages (or if a page +break occurs amidst a verbatim environment) also had similar bug, +resulting in the panel toc items appearing in verbatim mode. A fix has +been made again by \href{mailto:dpstory@uakron.edu}{D.~P.~Story} by +putting the verbatim in a vertical box and spliting with |\vsplit| at +the pagebreak. This solved the above problem, but a new problem of loss +of colors and font attributes in the second box material after split +has errupted. + +\end{enumerate} + +\section{Acknowledgements} + +The development of this package was funded by the University of +Auckland, New Zealand (\href{mailto:j.hillas@auckland.ac.nz}{John +Hillas} of Department of Economics made available the funds, to whom I +owe much gratitude). I owe much thanks to +\href{mailto:sebastian.rahtz@oucs.ac.uk}{Sebastian Rahtz} for his +patient replies to my incessant queries. The design of the side +navigation panel is due to \href{mailto:kaveh@focal.demon.co.uk}{Kaveh +Bazargan} of Focal Image Ltd., London and it was at his goading that I +started writing this package. + +The current version (v1.3) is a complete rewrite and therefore +it may be possible that the documents compiled with older versions may +break down, though every effort has been made to keep the downward +compatibility and the old commands and options are still kept in order +not to blow up your documents which runs smoothly with previous +versions. + +I firmly believe that the code demands further optimization and may +have bugs that will show up during exhaustive usage. I request you to +send me the bug reports as and when they exhibit their ugly faces. + +My special thanks are for all those users who deploy +\verb+pdfscreen.sty+ for their document preparation, and for their kind +words of appreciation. + +\pdfscreen works well with the much used package, \verb+exerquiz.sty+ +of \href{mailto:dpstory@uakron.edu}{Donald P.~Story} +(\url{http://www.math.uakron.edu/~dpstory/pdf_demos.html}) without +clashes. Feedback on the usage of \TeX{}Power with \pdfscreen is +requested from users. + +My mail id for contact is \href{mailto:cvr@river-valley.com}% +{\tt cvr@river-valley.com}. + +\end{document} + diff --git a/macros/latex/contrib/pdfscreen/nopanel.pdf b/macros/latex/contrib/pdfscreen/nopanel.pdf new file mode 100644 index 0000000000..d1a2ef0a30 Binary files /dev/null and b/macros/latex/contrib/pdfscreen/nopanel.pdf differ diff --git a/macros/latex/contrib/pdfscreen/overlay.pdf b/macros/latex/contrib/pdfscreen/overlay.pdf new file mode 100644 index 0000000000..d82154881a Binary files /dev/null and b/macros/latex/contrib/pdfscreen/overlay.pdf differ diff --git a/macros/latex/contrib/pdfscreen/overlay0.pdf b/macros/latex/contrib/pdfscreen/overlay0.pdf new file mode 100644 index 0000000000..3f83f29eb4 Binary files /dev/null and b/macros/latex/contrib/pdfscreen/overlay0.pdf differ diff --git a/macros/latex/contrib/pdfscreen/overlay1.pdf b/macros/latex/contrib/pdfscreen/overlay1.pdf new file mode 100644 index 0000000000..c2d45aeb3b --- /dev/null +++ b/macros/latex/contrib/pdfscreen/overlay1.pdf @@ -0,0 +1,74 @@ +%PDF-1.3 +%쏢 +5 0 obj +<> +stream +xRN1 Nk= Q8+ +HC+l*zFcǑGW?Xω3ɇ9W,ξ̪TJU n~DD^_K%(f ']JITc6|?}$k+jPR,sفIQݡ8LmM,9&HQb#Hʉtf)(ʄl,M4#eS:$S2=۸ / *k/h#Qp߰V/>^Tendstream +endobj +6 0 obj +298 +endobj +4 0 obj +<> +/Contents 5 0 R +>> +endobj +3 0 obj +<< /Type /Pages /Kids [ +4 0 R +] /Count 1 +>> +endobj +1 0 obj +<> +/PageMode /none +/ViewerPreferences << +/HideWindowUI true +/FitWindow true +/CenterWindow true +/HideToolbar true +/HideMenubar true +>> +>> +endobj +7 0 obj +<> +/Doc-Start <> +>>endobj +2 0 obj +<>endobj +xref +0 8 +0000000000 65535 f +0000000583 00000 n +0000001017 00000 n +0000000524 00000 n +0000000402 00000 n +0000000015 00000 n +0000000383 00000 n +0000000820 00000 n +trailer +<< /Size 8 /Root 1 0 R /Info 2 0 R +>> +startxref +1151 +%%EOF diff --git a/macros/latex/contrib/pdfscreen/overlay10.pdf b/macros/latex/contrib/pdfscreen/overlay10.pdf new file mode 100644 index 0000000000..a22990face Binary files /dev/null and b/macros/latex/contrib/pdfscreen/overlay10.pdf differ diff --git a/macros/latex/contrib/pdfscreen/overlay2.pdf b/macros/latex/contrib/pdfscreen/overlay2.pdf new file mode 100644 index 0000000000..4048b068a8 --- /dev/null +++ b/macros/latex/contrib/pdfscreen/overlay2.pdf @@ -0,0 +1,74 @@ +%PDF-1.3 +%쏢 +5 0 obj +<> +stream +xRN1 ԛ*{@pVi7A\Uv=xƱȣvGEj/1W,ξ̪TJUY0~x7wa q[}Taqgip9Z)j̆Oe_6cNe&FuFLN,3!D5e +c*j%v<(Igf"L4;^\M11R63A2%o޳joL?ϺN6%M!1~ڌ7 am dVendstream +endobj +6 0 obj +294 +endobj +4 0 obj +<> +/Contents 5 0 R +>> +endobj +3 0 obj +<< /Type /Pages /Kids [ +4 0 R +] /Count 1 +>> +endobj +1 0 obj +<> +/PageMode /none +/ViewerPreferences << +/HideWindowUI true +/FitWindow true +/CenterWindow true +/HideToolbar true +/HideMenubar true +>> +>> +endobj +7 0 obj +<> +/Doc-Start <> +>>endobj +2 0 obj +<>endobj +xref +0 8 +0000000000 65535 f +0000000579 00000 n +0000001013 00000 n +0000000520 00000 n +0000000398 00000 n +0000000015 00000 n +0000000379 00000 n +0000000816 00000 n +trailer +<< /Size 8 /Root 1 0 R /Info 2 0 R +>> +startxref +1147 +%%EOF diff --git a/macros/latex/contrib/pdfscreen/overlay3.pdf b/macros/latex/contrib/pdfscreen/overlay3.pdf new file mode 100644 index 0000000000..21de947220 Binary files /dev/null and b/macros/latex/contrib/pdfscreen/overlay3.pdf differ diff --git a/macros/latex/contrib/pdfscreen/overlay4.pdf b/macros/latex/contrib/pdfscreen/overlay4.pdf new file mode 100644 index 0000000000..8ce02315df Binary files /dev/null and b/macros/latex/contrib/pdfscreen/overlay4.pdf differ diff --git a/macros/latex/contrib/pdfscreen/overlay5.pdf b/macros/latex/contrib/pdfscreen/overlay5.pdf new file mode 100644 index 0000000000..61b0575a5c Binary files /dev/null and b/macros/latex/contrib/pdfscreen/overlay5.pdf differ diff --git a/macros/latex/contrib/pdfscreen/overlay6.pdf b/macros/latex/contrib/pdfscreen/overlay6.pdf new file mode 100644 index 0000000000..3f83f29eb4 Binary files /dev/null and b/macros/latex/contrib/pdfscreen/overlay6.pdf differ diff --git a/macros/latex/contrib/pdfscreen/overlay7.pdf b/macros/latex/contrib/pdfscreen/overlay7.pdf new file mode 100644 index 0000000000..ee66c72c7f --- /dev/null +++ b/macros/latex/contrib/pdfscreen/overlay7.pdf @@ -0,0 +1,76 @@ +%PDF-1.3 +%쏢 +5 0 obj +<> +stream +xRN0_?Э^Z@%$ +> %V ~uE8p%=;;=Q.blĊ8`tW,ξvؗKfpǏ#%zU<"aqoip +I)Q /Oe_SNAeћsPLba7j;Vrb" !I)(#$R%v<$M3H@4͎gWhL>u&R2=[Ag׆Gh5f{czfuvm2J +Foo wn_^Tendstream +endobj +6 0 obj +295 +endobj +4 0 obj +<> +/Contents 5 0 R +>> +endobj +3 0 obj +<< /Type /Pages /Kids [ +4 0 R +] /Count 1 +>> +endobj +1 0 obj +<> +/PageMode /none +/ViewerPreferences << +/HideWindowUI true +/FitWindow true +/CenterWindow true +/HideToolbar true +/HideMenubar true +>> +>> +endobj +7 0 obj +<> +/Doc-Start <> +>>endobj +2 0 obj +<>endobj +xref +0 8 +0000000000 65535 f +0000000580 00000 n +0000001014 00000 n +0000000521 00000 n +0000000399 00000 n +0000000015 00000 n +0000000380 00000 n +0000000817 00000 n +trailer +<< /Size 8 /Root 1 0 R /Info 2 0 R +>> +startxref +1148 +%%EOF diff --git a/macros/latex/contrib/pdfscreen/overlay8.pdf b/macros/latex/contrib/pdfscreen/overlay8.pdf new file mode 100644 index 0000000000..a0d45f9478 --- /dev/null +++ b/macros/latex/contrib/pdfscreen/overlay8.pdf @@ -0,0 +1,74 @@ +%PDF-1.3 +%쏢 +5 0 obj +<> +stream +xN0 9)sa'uFH <@ŗ6x} 8pJu{N;؃E5Wcjs⌇cW,޶kUJY0~x7.xp=ӣ}{|!#ƝƬ Ǭj$1>?c_KdkK5p^ө$֯8t'HޖL!3rLB%[)Į'% R$P^c +t%1#e )YmꦗMO*k /~%dQ[H6~kXs㶺endstream +endobj +6 0 obj +302 +endobj +4 0 obj +<> +/Contents 5 0 R +>> +endobj +3 0 obj +<< /Type /Pages /Kids [ +4 0 R +] /Count 1 +>> +endobj +1 0 obj +<> +/PageMode /none +/ViewerPreferences << +/HideWindowUI true +/FitWindow true +/CenterWindow true +/HideToolbar true +/HideMenubar true +>> +>> +endobj +7 0 obj +<> +/Doc-Start <> +>>endobj +2 0 obj +<>endobj +xref +0 8 +0000000000 65535 f +0000000587 00000 n +0000001021 00000 n +0000000528 00000 n +0000000406 00000 n +0000000015 00000 n +0000000387 00000 n +0000000824 00000 n +trailer +<< /Size 8 /Root 1 0 R /Info 2 0 R +>> +startxref +1155 +%%EOF diff --git a/macros/latex/contrib/pdfscreen/overlay9.pdf b/macros/latex/contrib/pdfscreen/overlay9.pdf new file mode 100644 index 0000000000..229094898e --- /dev/null +++ b/macros/latex/contrib/pdfscreen/overlay9.pdf @@ -0,0 +1,73 @@ +%PDF-1.3 +%쏢 +5 0 obj +<> +stream +xRN1 ԛ*{@pV)T\Uv=xƱȣvGEj/1W,ξ̪TJUY0~x7wa q[}{e_=BӬ GsR՘ ˾ƒg9ԲXC#q&'ݙ"yۚ21 l5D;@RN33H@*4͎WhLM}LLl66> +/Contents 5 0 R +>> +endobj +3 0 obj +<< /Type /Pages /Kids [ +4 0 R +] /Count 1 +>> +endobj +1 0 obj +<> +/PageMode /none +/ViewerPreferences << +/HideWindowUI true +/FitWindow true +/CenterWindow true +/HideToolbar true +/HideMenubar true +>> +>> +endobj +7 0 obj +<> +/Doc-Start <> +>>endobj +2 0 obj +<>endobj +xref +0 8 +0000000000 65535 f +0000000580 00000 n +0000001014 00000 n +0000000521 00000 n +0000000399 00000 n +0000000015 00000 n +0000000380 00000 n +0000000817 00000 n +trailer +<< /Size 8 /Root 1 0 R /Info 2 0 R +>> +startxref +1148 +%%EOF diff --git a/macros/latex/contrib/pdfscreen/pdfscreen.cfg.specimen b/macros/latex/contrib/pdfscreen/pdfscreen.cfg.specimen new file mode 100644 index 0000000000..34f4346e62 --- /dev/null +++ b/macros/latex/contrib/pdfscreen/pdfscreen.cfg.specimen @@ -0,0 +1,63 @@ +%% +%% pdfscreen.cfg +%% +%% +%% ------- language specific commands -------- +%% +%% \paneltitlepagename{Title Page} +%% \panlabstractname{Abstract} +%% \panelcontentsname{Contents} +%% \panelfullscreenname{Full Screen} +%% \panelhomepagename{Home Page} +%% \panelgobackname{Go Back} +%% \panelclosename{Close} +%% \panelquitname{Quit} +%% \panelpagename{Page} +%% \panelofname{of} +%% +%% +%% ------- various colors --------- +%% + \definecolor{panelbackground}{gray}{.8} + \definecolor{buttonbackground}{gray}{.6} + \definecolor{buttonshadow}{gray}{.2} + \definecolor{orange}{rgb}{1,.549,0} + \definecolor{orange1}{rgb}{1,.5,0} + \definecolor{section0}{rgb}{0,.5,.1} + \definecolor{section1}{rgb}{0,.5,1} + \definecolor{section2}{rgb}{0,.5,.5} + \definecolor{section3}{rgb}{0,.5,.4} + \definecolor{section4}{rgb}{.4,.5,.2} + \definecolor{section5}{rgb}{.5,.5,.3} +%% +%%\screensize{6.25in}{8in} %%\screensize{height}{width} +\emailid{cvr@river-valley.com} +\urlid{www.river-valley.com} +\IfFileExists{univ.jpg}{\emblema{univ.jpg}}{} +% + \def\@linkcolor{red} + \def\@anchorcolor{black} + \def\@citecolor{blue} + \def\@filecolor{cyan} + \def\@urlcolor{magenta} + \def\@menucolor{red} + \def\@pagecolor{red} +\def\@seccntformat#1{\llap{\scshape\color{section\thesection@level} + \csname the#1\endcsname.\hspace*{6pt}}} +\def\pdfscreen{{\tt pdfscreen.sty}\xspace} + \definecolor{buttonbackground}{rgb}{.902,.902,.980} + \definecolor{buttonshadow}{rgb}{.412,.412,.412} + \definecolor{green}{rgb}{0,.7,0} + \definecolor{seashell}{rgb}{.285,.286,.28510} + \definecolor{Red}{rgb}{1,.347,0} + \definecolor{buttonbackground}{rgb}{.902,.902,.980} + \definecolor{buttonshadow}{rgb}{0,0,0} +\pagedissolve{R /D 0} +\urlid{www.river-valley.com} +\definecolor{lcyan}{rgb}{.895,.93,.916} +\definecolor{backgroundcolor}{rgb}{.889941,.917973,.9931} +\backgroundcolor{backgroundcolor} +\endinput +%% +%% end of file `pdfscreen.cfg' +%% \ No newline at end of file diff --git a/macros/latex/contrib/pdfscreen/pdfscreen.sty b/macros/latex/contrib/pdfscreen/pdfscreen.sty new file mode 100644 index 0000000000..f2c93522cb --- /dev/null +++ b/macros/latex/contrib/pdfscreen/pdfscreen.sty @@ -0,0 +1,1260 @@ +%% +%% +%% This is file `pdfscreen.sty', +%% generated with the docstrip utility. +%% +%% The original source files were: +%% +%% +%% pdfscreen.dtx (with options: `package') +%% +%% File: pdfscreen.dtx Copyright (c) 1999, 2000 C. V. Radhakrishnan +%% +%% This package may be distributed under the terms of the LaTeX Project +%% Public License, as described in lppl.txt in the base LaTeX distribution. +%% Either version 1.0 or, at your option, any later version. +%% +\NeedsTeXFormat{LaTeX2e} +\def\fileversion{v.1.5}\def\filedate{2000/07/07} +\ProvidesPackage{pdfscreen} + [\filedate\space\fileversion\space screen PDF design (CVR)] +\RequirePackage{graphicx} +\RequirePackage{color,calc} +\RequirePackage{comment} +\newcounter{panel} +\newif\if@screen \@screenfalse +\newif\if@print \@printfalse +\newif\if@sidebar \@sidebarfalse +\newif\if@samepage \@samepagefalse +\newif\if@nocfg \@nocfgfalse +\newif\if@orange \@orangefalse +\newif\if@bluelace \@bluelacefalse +\newif\if@chocolate \@chocolatefalse +\newif\if@palegreen \@palegreenfalse +\newif\if@blue \@bluefalse +\newif\if@gray \@grayfalse +\newif\if@default \@defaultfalse +\newif\if@paneltoc \@paneltocfalse +\newif\if@code \@codefalse +\newif\if@sectionbreak\@sectionbreakfalse +\newcounter{driver} \newcounter{scheme} +\DeclareOption{pdftex}{\setcounter{driver}{0}} +\DeclareOption{dvips}{\setcounter{driver}{1}} +\DeclareOption{dvipsone}{\setcounter{driver}{2}} +\DeclareOption{dvipdf}{\setcounter{driver}{3}} +\DeclareOption{dvipdfm}{\setcounter{driver}{4}} +\DeclareOption{dviwindo}{\setcounter{driver}{5}} +\DeclareOption{ps2pdf}{\setcounter{driver}{6}} +\DeclareOption{vtex}{\setcounter{driver}{7}} +\DeclareOption{nocfg}{\@nocfgtrue} +\DeclareOption{article}{\relax} +\DeclareOption{amsart}{\relax} +\DeclareOption{book}{\relax} +\DeclareOption{amsbook}{\relax} +\DeclareOption{sidebar}{\setcounter{panel}{1}} +\DeclareOption{absconsamepage}{\relax} +\DeclareOption{bluelace}{\setcounter{scheme}{1}} +\DeclareOption{chocolate}{\setcounter{scheme}{2}} +\DeclareOption{palegreen}{\setcounter{scheme}{3}} +\DeclareOption{orange}{\setcounter{scheme}{4}} +\DeclareOption{gray}{\setcounter{scheme}{5}} +\DeclareOption{blue}{\setcounter{scheme}{0}} +\DeclareOption{panelleft}{\setcounter{panel}{1}} +\DeclareOption{leftpanel}{\setcounter{panel}{1}} +\DeclareOption{panelright}{\setcounter{panel}{2}} +\DeclareOption{rightpanel}{\setcounter{panel}{2}} +\DeclareOption{nopanel}{\setcounter{panel}{0}} +\DeclareOption{print}{\@printtrue} +\DeclareOption{screen}{\@screentrue} +\DeclareOption{sidebar}{\setcounter{panel}{1}} +\DeclareOption{nopanel}{\setcounter{panel}{0}} +\DeclareOption{default}{\@defaulttrue} +\DeclareOption{paneltoc}{\@paneltoctrue} +\DeclareOption{code}{\@codetrue} +\DeclareOption{sectionbreak}{\@sectionbreaktrue} +\def\PDFSCR@Warning#1{\PackageWarning{pdfscreen}{#1}} +\def\PDFSCR@Info#1{\PackageInfo{pdfscreen}{#1}} +\def\PDFSCR@WarningNoLine#1{\PackageWarningNoLine{pdfscreen}{#1}} +\def\PDFSCR@langwarn#1{% +\PackageWarningNoLine{pdfscreen}{Sorry, language `#1' + not supported\MessageBreak + in this version. + English strings are used instead.\MessageBreak + However you can give all the strings in the *.cfg% + \MessageBreak + file which will eventually be read by the package. + \MessageBreak\MessageBreak + If you can suggest translations for + this language,\MessageBreak + please mail them to the author of this package}} +\@onlypreamble\PDFSCR@langwarn + \def\paneltitlepagename#1{\gdef\@Paneltitlepagename{#1}} + \def\panlabstractname#1{\gdef\@Panelabstractname{#1}} + \def\panelcontentsname#1{\gdef\@Panelcontentsname{#1}} + \def\panelhomepagename#1{\gdef\@Panelhomepagename{#1}} + \def\panelfullscreenname#1{\gdef\@Panelfullscreenname{#1}} + \def\panelgobackname#1{\gdef\@Panelgobackname{#1}} + \def\panelclosename#1{\gdef\@Panelclosename{#1}} + \def\panelquitname#1{\gdef\@Panelquitname{#1}} + \def\panelpagename#1{\gdef\@Panelpagename{#1}} + \def\panelofname#1{\gdef\@Panelofname{#1}} + \let\@Paneltitlepagename\@empty \let\@Panelabstractname\@empty + \let\@Panelcontentsname\@empty \let\@Panelhomepagename\@empty + \let\@Panelgobackname\@empty \let\@Panelgobackname\@empty + \let\@Panelquitname\@empty \let\@Panelclosename\@empty + \let\@Panelpagename\@empty \let\@Panelofname\@empty + \let\@Panelfullscreenname\@empty +\DeclareOption{english}{% + \paneltitlepagename{Title Page} + \panlabstractname{Abstract} + \panelcontentsname{Contents} + \panelfullscreenname{Full Screen} + \panelhomepagename{Home Page} + \panelgobackname{Go Back} + \panelclosename{Close} + \panelquitname{Quit} + \panelpagename{Page} + \panelofname{of} + } +\DeclareOption{french}{% + \paneltitlepagename{Page de Titre} + \panlabstractname{R\'esum\'e} + \panelcontentsname{Sommaire} + \panelfullscreenname{Full Screen} + \panelhomepagename{ Page d\'accueil} + \panelgobackname{Retour} + \panelclosename{Fermer} + \panelquitname{Quitter} + \panelpagename{Page} + \panelofname{de} + } +\DeclareOption{dutch}{ + \paneltitlepagename{Titel Pagina} + \panlabstractname{Samenvatting} + \panelcontentsname{Inhoudsopgave} + \panelfullscreenname{Full Screen} + \panelhomepagename{Startpagina} + \panelgobackname{Ga terug} + \panelclosename{Sluiten} + \panelquitname{Be\"eindigen} + \panelpagename{Pagina} + \panelofname{van} + } +\DeclareOption{czech}{% + \paneltitlepagename{Tituln\'{\i} strana} + \panlabstractname{Abstrakt} + \panelcontentsname{Obsah} + \panelfullscreenname{Full Screen} + \panelhomepagename{\'Uvodn\'{\i} strana} + \panelgobackname{Zp\v{e}t} + \panelclosename{Zav\v{r}\'{\i}t} + \panelquitname{Konec} + \panelpagename{Strana} + \panelofname{z} + } +\DeclareOption{norsk}{% + \paneltitlepagename{Forside} + \panlabstractname{Sammendrag} + \panelcontentsname{Innhold} + \panelfullscreenname{Full Screen} + \panelhomepagename{Hjemmeside} + \panelgobackname{G\aa\ tilbake} + \panelclosename{Lukk} + \panelquitname{Avslutt} + \panelpagename{Side} + \panelofname{av} + } +\DeclareOption{nynorsk}{% + \paneltitlepagename{Forside} + \panlabstractname{Samandrag} + \panelcontentsname{Innhald} + \panelfullscreenname{Full Screen} + \panelhomepagename{Heimeside} + \panelgobackname{G\aa\ tilbake} + \panelclosename{Lat att} + \panelquitname{Avslutt} + \panelpagename{Side} + \panelofname{av} + } +\DeclareOption{slovak}{% + \paneltitlepagename{Tituln\'a strana} + \panlabstractname{Abstrakt} + \panelcontentsname{Obsah} + \panelfullscreenname{Full Screen} + \panelhomepagename{Domovsk\'a str\'anka} + \panelgobackname{Sp\"a\v t} + \panelclosename{Zatvori\v t} + \panelquitname{Koniec} + \panelpagename{Strana} + \panelofname{z} + } +\DeclareOption{portuges}{% + \paneltitlepagename{P\'agina de Rosto} + \panlabstractname{Sum\'ario} + \panelcontentsname{\'Indice Geral} + \panelfullscreenname{Full Screen} + \panelhomepagename{Homepage} + \panelgobackname{Voltar} + \panelclosename{Fechar} + \panelquitname{Desistir} + \panelpagename{P\'agina} + \panelofname{de} + } +\DeclareOption{spanish}{% + \paneltitlepagename{P\'agina de Abertura} + \panlabstractname{Resumen} + \panelcontentsname{Contenido} + \panelfullscreenname{Full Screen} + \panelhomepagename{P\'agina www} + \panelgobackname{Regresar} + \panelclosename{Cerrar} + \panelquitname{Abandonar} + \panelpagename{P\'agina} + \panelofname{de} + } +\DeclareOption{swedish}{% + \paneltitlepagename{F\"ors\"attsblad} + \panlabstractname{Sammanfattning} + \panelcontentsname{Inneh\aa{}ll} + \panelfullscreenname{Full Screen} + \panelhomepagename{Hemsida} + \panelgobackname{Tillbaka} + \panelclosename{St\"ang} + \panelquitname{Avsluta} + \panelpagename{Sida} + \panelofname{av} + } +\DeclareOption{danish}{% + \paneltitlepagename{Forside} + \panlabstractname{Resum\'e} + \panelcontentsname{Indhold} + \panelfullscreenname{Full Screen} + \panelhomepagename{Hjemmeside} + \panelgobackname{G\aa\ tilbage} + \panelclosename{Luk} + \panelquitname{Afslut} + \panelpagename{Side} + \panelofname{af} + } +\DeclareOption{polish}{% + \paneltitlepagename{Strona tytu\l owa} + \panlabstractname{Streszczenie} + \panelcontentsname{Spis tre\'sci} + \panelfullscreenname{Full Screen} + \panelhomepagename{Strona g\l \'owna} + \panelgobackname{Powr\'ot} + \panelclosename{Zamknij} + \panelquitname{Koniec} + \panelpagename{Strona} + \panelofname{z} + } +\DeclareOption{russian}{% + \paneltitlepagename{\cyr\CYRT\cyri\cyrt\cyru\cyrl\cyrsftsn\cyrn\cyra\cyrya{} + \cyrs\cyrt\cyrr\cyra\cyrn\cyri\cyrc\cyra} + \panlabstractname{\cyr\CYRA\cyrn\cyrn\cyro\cyrt\cyra\cyrc\cyri\cyrya} + \panelcontentsname{\cyr\CYRS\cyro\cyrd\cyre\cyrr\cyrzh\cyra\cyrn\cyri\cyre} + \panelfullscreenname{Full Screen} + \panelhomepagename{Home Page} + \panelgobackname{\cyr\CYRN\cyra\cyrz\cyra\cyrd} + \panelclosename{\cyr\CYRZ\cyra\cyrk\cyrr\cyrery\cyrt\cyrsftsn} + \panelquitname{\cyr\CYRV\cyrery\cyrh\cyro\cyrd} + \panelpagename{\cyr\CYRS\cyrt\cyrr\cyra\cyrn\cyri\cyrc\cyra} + \panelofname{\cyr\cyri\cyrz} + } +\DeclareOption{german}{% + \paneltitlepagename{Titelseite} + \panlabstractname{Zusammenfassung} + \panelcontentsname{Inhalt} + \panelfullscreenname{Vollbild} + \panelhomepagename{Startseite} + \panelgobackname{Zur\"uck} + \panelclosename{Schlie\ss en} + \panelquitname{Beenden} + \panelpagename{Seite} + \panelofname{von} + } +\DeclareOption{slovene}{% + \paneltitlepagename{Naslovnica} + \panlabstractname{Povzetek} + \panelcontentsname{Kazalo} + \panelfullscreenname{Full Screen} + \panelhomepagename{Spletna stran} + \panelgobackname{Nazaj} + \panelclosename{Zapri} + \panelquitname{Kon\v{c}aj} + \panelpagename{Stran} + \panelofname{od} + } +\DeclareOption{catalan}{% + \paneltitlepagename{Inici} + \panlabstractname{Resum} + \panelcontentsname{Contingut} + \panelfullscreenname{Full Screen} + \panelhomepagename{Plana personal} + \panelgobackname{Tornar} + \panelclosename{Tancar} + \panelquitname{Sortir} + \panelpagename{P\`agina} + \panelofname{de} + } +\DeclareOption{american}{\ExecuteOptions{english}} +\DeclareOption{austrian}{\PDFSCR@langwarn{austrian}\ExecuteOptions{english}} +\DeclareOption{brazil}{\ExecuteOptions{portuges}} +\DeclareOption{breton}{\PDFSCR@langwarn{breton}\ExecuteOptions{english}} +\DeclareOption{croatian}{\PDFSCR@langwarn{croatian}\ExecuteOptions{english}} +\DeclareOption{esperanto}{\PDFSCR@langwarn{esperanto}\ExecuteOptions{english}} +\DeclareOption{finnish}{\PDFSCR@langwarn{finnish}\ExecuteOptions{english}} +\DeclareOption{galician}{\PDFSCR@langwarn{galician}\ExecuteOptions{english}} +\DeclareOption{italian}{\PDFSCR@langwarn{italian}\ExecuteOptions{english}} +\DeclareOption{magyar}{\PDFSCR@langwarn{magyar}\ExecuteOptions{english}} +\DeclareOption{romanian}{\PDFSCR@langwarn{romanian}\ExecuteOptions{english}} +\DeclareOption{turkish}{\PDFSCR@langwarn{turkish}\ExecuteOptions{english}} +\DeclareOption{francais}{\typeout{******Please use `french' instead of `francais'*****}% + \ExecuteOptions{french}} +\DeclareOption{germanb}{\typeout{******Please use `german' instead of `germanb'******}% + \ExecuteOptions{german}} +\ExecuteOptions{english,default} +\ProcessOptions +%******** Screen options starts here ***************** +\if@screen +\@ifundefined{hyperref}{% + \ifcase\thedriver\RequirePackage[pdftex]{hyperref}\or + \RequirePackage[dvips]{hyperref}\or + \RequirePackage[dvipsone]{hyperref}\or + \RequirePackage[dvipdf]{hyperref}\or + \RequirePackage[dvipdfm]{hyperref}\or + \RequirePackage[dviwindo]{hyperref}\or + \RequirePackage[ps2pdf]{hyperref}\or + \RequirePackage[vtex]{hyperref}\or + \PDFSCR@Warning{Unknown backend driver} + \fi} + {\PDFSCR@Warning{hyperref already loaded}} +\hypersetup{pagebackref,pdfpagemode=none,colorlinks,% + pdfmenubar=false,% + pdftoolbar=false,% + pdffitwindow=true,pdfcenterwindow=true,% + pdfwindowui=false,menucolor=menucolor,% + pdfview=Fit,pdfstartview=Fit,backref} +\includecomment{screen} +\excludecomment{print} +\def\ScreenLastPage{100} +\let\emblema\@gobble +\let\emblemb\@gobble +\let\affname\@gobble +\let\divname\@gobble +\let\urlid\@gobble +\let\emailid\@gobble +\let\@emblema\@empty +\let\@urlid\@empty +\let\@emailid\@empty +\let\@affname\@empty +\let\@divname\@empty + \definecolor{coxcolor}{rgb}{1,.937,.835} + \definecolor{boxcolor}{rgb}{.001,0,.502} + \definecolor{bboxcolor}{rgb}{.9,.941,.902} + \definecolor{rcolor}{rgb}{.439,.502,.565} + \definecolor{olivedrab}{rgb}{.42,.557,.137} + \definecolor{fcolor}{rgb}{0,1,1} + \definecolor{orange}{rgb}{1,.549,0} + \definecolor{orange1}{rgb}{1,.5,0} + \definecolor{menucolor}{rgb}{1,.25,0} + \definecolor{paleblue}{rgb}{0,0,0.1} +\if@default\PDFSCR@Info{Default options loaded} + \definecolor{panelbackground}{rgb}{.455,.832,.979} + \definecolor{logobackground}{rgb}{.35,.73,.87} + \definecolor{buttonbackground}{rgb}{0,.624,.820} + \definecolor{buttonshadow}{rgb}{.001,0,.502} + \definecolor{section0}{rgb}{0,.5,.1} + \definecolor{section1}{rgb}{0,.5,1} + \definecolor{section2}{rgb}{0,.5,.7} + \definecolor{section3}{rgb}{0,.5,.4} + \definecolor{section4}{rgb}{.4,.5,.2} + \definecolor{section5}{rgb}{.5,.5,.3} +\fi +\ifnum\thescheme=1%{bluelace} + \PDFSCR@Info{Color scheme `bluelace' loaded} + \definecolor{panelbackground}{rgb}{.902,.902,.980} + \definecolor{buttonbackground}{rgb}{1,.855,.725} + \definecolor{buttonshadow}{rgb}{.855,.647,.125} + \definecolor{orange}{rgb}{1,.549,0} + \definecolor{orange1}{rgb}{1,.5,0} + \definecolor{section0}{rgb}{.722,.525,.431} + \definecolor{section1}{rgb}{.855,.647,.123} + \definecolor{section2}{rgb}{.737,.561,.561} + \definecolor{section3}{rgb}{.804,.361,.361} + \definecolor{section4}{rgb}{.545,.271,.75} + \definecolor{section5}{rgb}{.627,.322,.176} +\else +\ifnum\thescheme=2%{chocolate} + \PDFSCR@Info{Color scheme 'chocolate' loaded} + \definecolor{panelbackground}{rgb}{.871,.722,.529} + \definecolor{buttonbackground}{rgb}{.957,.643,.376} + \definecolor{buttonshadow}{rgb}{.824,.412,.118} + \definecolor{section0}{rgb}{.722,.525,.431} + \definecolor{section1}{rgb}{.980,.502,.447} + \definecolor{section2}{rgb}{ 1.0,.549,.000} + \definecolor{section3}{rgb}{1.00,.388,.278} + \definecolor{section4}{rgb}{1.00,.271,.000} + \definecolor{section5}{rgb}{1.00,.412,.706} +\else +\ifnum\thescheme=3%{palegreen} + \PDFSCR@Info{Color scheme 'palegreen' loaded} + \definecolor{panelbackground}{rgb}{.604,.933,.604} + \definecolor{buttonbackground}{rgb}{.000,.804,.000} + \definecolor{buttonshadow}{rgb}{.000,.545,.000} + \definecolor{section0}{rgb}{.000,.845,.000} + \definecolor{section1}{rgb}{.000,.745,.000} + \definecolor{section2}{rgb}{.000,.645,.133} + \definecolor{section3}{rgb}{.000,.488,.278} + \definecolor{section4}{rgb}{.000,.371,.000} + \definecolor{section5}{rgb}{.000,.212,.000} +\else +\ifnum\thescheme=4%{orange} + \PDFSCR@Info{Color scheme 'orange' loaded} + \definecolor{panelbackground}{rgb}{1.00,.867,.000} + \definecolor{buttonbackground}{rgb}{.804,.522,.000} + \definecolor{buttonshadow}{rgb}{.545,.271,.000} + \definecolor{section0}{rgb}{.804,.522,.000} + \definecolor{section1}{rgb}{.804,.522,.000} + \definecolor{section2}{rgb}{.804,.422,.133} + \definecolor{section3}{rgb}{.804,.322,.278} + \definecolor{section4}{rgb}{.804,.222,.000} + \definecolor{section5}{rgb}{.804,.122,.000} +\else +\ifnum\thescheme=5%{gray} + \PDFSCR@Info{Color scheme 'gray' loaded} + \definecolor{panelbackground}{gray}{.8} + \definecolor{buttonbackground}{gray}{.6} + \definecolor{buttonshadow}{gray}{.2} + \definecolor{orange}{rgb}{1,.549,0} + \definecolor{orange1}{rgb}{1,.5,0} + \definecolor{section0}{rgb}{0,.5,.1} + \definecolor{section1}{rgb}{0,.5,1} + \definecolor{section2}{rgb}{0,.5,.5} + \definecolor{section3}{rgb}{0,.5,.4} + \definecolor{section4}{rgb}{.4,.5,.2} + \definecolor{section5}{rgb}{.5,.5,.3} +\else + \PDFSCR@Info{No color scheme specified \MessageBreak + default color scheme loaded} + \@defaulttrue +\fi\fi\fi\fi\fi +% +%------------------------ Macros for code listing -------------- +\if@code +\def\verbatim@font{% + \normalfont \ttfamily\small + \color{section0} + \catcode`\<=\active + \catcode`\>=\active +} +\begingroup + \catcode`\<=\active + \catcode`\>=\active + \gdef<{\@ifnextchar<\@lt\@meta} + \gdef>{\@ifnextchar>\@gt\@gtr@err} + \gdef\@meta#1>{\@PDFm{#1}} + \gdef\@lt<{\char`\<} + \gdef\@gt>{\char`\>} +\endgroup +\def\@gtr@err{% + \PDFSCR@Warning{% + Isolated \protect>\MessageBreak% + In this document class, \protect<...\protect>\MessageBreak + is used to indicate a parameter.\MessageBreak + I've just found a \protect> on its own.\MessageBreak + Perhaps you meant to type \protect>\protect>? + }% +} +\def\verbatim@nolig@list{\do\`\do\,\do\'\do\-} +\def\@PDFm#1{\mbox{\color{red}$\langle$\it#1\/$\rangle$}} +\def\arg#1{{\color{section1}{\tt\string{}\@PDFm{#1}{\tt\string}}}} +\def\@PDFM#1{\mbox{\color{red}\it#1\/}} +\def\Arg#1{{\color{section1}{\tt\string{}\@PDFM{#1}{\tt\string}}}} +\def\oarg#1{{\color{section1}{\tt[}\@PDFm{#1}{\tt]}}} +\def\Oarg#1{{\color{section1}{\tt[}\@PDFM{#1}{\tt]}}} + \definecolor{wheat}{rgb}{.96, .87, .70} + \definecolor{oldlace}{rgb}{.992, .96187, .902} + \definecolor{snow}{rgb}{1, .98, .98} + \definecolor{ghostwhite}{rgb}{.973, .973, 1} + \definecolor{cornsilk}{rgb}{1, .973, .863} + \definecolor{honeydew}{rgb}{.941, 1, .941} + \definecolor{lavenderdark}{rgb}{.8, .8, .9529411} + \definecolor{lavender}{rgb}{.902, .902, .980} + \definecolor{lightblue}{rgb}{.8, .8, .95} + \definecolor{lightgray}{rgb}{.827, .827, .827} + \definecolor{lightsteelblue}{rgb}{.690, .769, .871} + \definecolor{lightturquoise}{rgb}{.686, .933, .933} + \definecolor{darkgreen}{rgb}{.0, .392, .0} + \definecolor{yellowgreen}{rgb}{.604, .804, .196} + \definecolor{vlightblue}{rgb}{.88, .85, .95} + \definecolor{khaki}{rgb}{.741, .718, .42} +\@ifundefined{rowcolor}{}{\arrayrulecolor{section1}} +\definecolor{tabcolor}{rgb}{.973, .973, 1} +\@ifundefined{decl}{% +\newenvironment{decl}[1][]% + {\par\small\addvspace{1.5ex plus .5ex minus .5ex}% + \vskip -\parskip + \noindent\hspace{-\leftmarginii}% + \bgroup\begin{tabular}{|>{\columncolor{tabcolor}}l|}\hline\\[-6pt] + \ignorespaces}% + {\\[3pt]\hline\end{tabular}\egroup\par% + \vspace{1.5ex}\ignorespacesafterend\noindent}}{} +\RequirePackage{shortvrb} +\MakeShortVerb{\|} +\fi %---------- end of \if@code option ---------- +% +%-------------- Button macros ------------- +% +\@ifundefined{@PDFbox}{\newbox\@PDFbox}{} +\@ifundefined{@tempdimc}{\newdimen\@tempdimc}{} +\newdimen\shadowsize +\shadowsize 1pt +\def\shadowbox{\PDFBox\@shadowbox} +\def\@shadowbox#1{% + \setbox\@PDFbox\hbox{\fbox{#1}}% + \leavevmode\vbox{% + \offinterlineskip + \dimen@=\shadowsize + \advance\dimen@ .5\fboxrule + \hbox{\copy\@PDFbox\kern-.5\fboxrule\lower\shadowsize\hbox{% + \vrule \@height\ht\@PDFbox \@depth\dp\@PDFbox \@width\dimen@}}% + \vskip-\dimen@ + \moveright\shadowsize\vbox{% + \hrule \@width\wd\@PDFbox \@height\dimen@}}} +\newtoks\do@PDFBox +\def\PDFBox#1{% + \do@PDFBox{#1}% + \afterassignment\begin@PDFBox + \setbox\@PDFbox=\hbox} +\def\begin@PDFBox{\aftergroup\end@PDFBox} +\def\end@PDFBox{\the\do@PDFBox{\box\@PDFbox}}% +% + \definecolor{buttondisable}{gray}{.7} + \definecolor{Gray}{rgb}{.895,.93,.916} + \def\FBlack{\ifnum\thepage=1\color{buttondisable}\else\Black\fi} + \def\LBlack{\ifnum\thepage=\number\ScreenLastPage\color{buttondisable}% + \else\Black\fi} + \def\ContPage{2} + \def\DBlack{\ifnum\thepage=\number\ContPage\color{buttondisable}% + \else\Black\fi} + \def\Black{\color{black}} + \def\contentsname{\protect\hypertarget{contents}{\@Panelcontentsname} + \immediate\write\@auxout{\string\gdef\string\ContPage{\thepage}}} + \def\abstractname{\protect\hypertarget{abstract}{\@Panelabstractname}} + \def\emailid#1{\def\@emailid{mailto:#1}} + \def\urlid#1{\def\@urlid{http://#1}} + \def\markboth#1#2{\gdef\lmark{#1}\gdef\rmark{#2}} + \def\emblema#1{\def\@emblema{#1}} + \def\@grerr{\phantom{XXXXXXXX}} + \def\affname#1{\def\@affname{#1}} + \def\@afferr{Name of Organization} + \def\@diverr{Name of Division} + \def\divname#1{\def\@divname{#1}} + \newlength\panelwidth + \ifnum\thepanel>0% + \setlength\panelwidth{.15\paperwidth}%%.25 + \ifdim\panelwidth<1in\setlength\panelwidth{1in}\fi\else + \setlength\panelwidth{0pt} + \fi + \fboxsep0pt\fboxrule.2pt + \RequirePackage{amssymb,amsbsy} + \def\btl{\ensuremath{\blacktriangleleft}} + \def\rtl{\ensuremath{\blacktriangleright}} +\def\panelfont{\fontsize{7pt}{7pt}\itshape\selectfont} +\def\st{\hbox{\vrule height10pt depth5pt width\z@}\panelfont} +\def\addButton#1#2{\begingroup\normalsfcodes\fboxsep0pt\fboxrule.4pt\shadowsize.4pt% + \sffamily\color{white}\shadowbox{\colorbox{buttonbackground}% + {\hbox to #1{\hfil\Black\st#2\hfil}}\color{buttonshadow}}\endgroup} +% +%------------ Panel macros ---------------- +% +\def\paneloverlay#1{\gdef\@paneloverlay{#1}} +\def\paneloverlayempty{\let\@paneloverlay\@empty} +\let\@paneloverlay\@empty +\def\@panel{% + \begingroup\normalsfcodes\ifx\@paneloverlay\@empty% + \colorbox{panelbackground}{\panel}% + \else% + \vbox to\z@{\hbox to\z@{\includegraphics[width=\panelwidth,%% + height=\paperheight]{\@paneloverlay}% + \hspace{-\panelwidth}\hfill}\vspace{-\paperheight}\vfill}% + \panel\fi% + \endgroup}% +\def\panel{% + \begin{minipage}[t][\paperheight][c]{\panelwidth}% + \normalsfcodes% + \centering% + \null\vspace*{12pt}\vfill% + \ifx\@emblema\@empty\relax\else% + \@@logo{\@emblema}\par\vfill\fi% + \if@paneltoc% + \@panel@toc\par\vfill\else\relax\fi% + \color{blue}% + \NavigationPanel% + \par\vfill + \null\vspace*{1pt} + \end{minipage}% +} +% +\def\imageButton#1#2#3{\includegraphics[width=#1,height=#2]{#3}} +\newdimen\buttonwidth\newdimen\smallbuttonwidth +\setlength\buttonwidth{.7\panelwidth} +\setlength\smallbuttonwidth{.35\panelwidth} +\addtolength{\smallbuttonwidth}{-1.2pt} +\def\NavigationPanel{\normalsfcodes% + \href{\@urlid}{\addButton{\buttonwidth}{\@Panelhomepagename}}\\ \pfill + \Acrobatmenu{FirstPage}{\addButton{\buttonwidth}{\FBlack\@Paneltitlepagename}}\\\pfill + \if@paneltoc\relax\else% + \hyperlink{contents}{\addButton{\buttonwidth}{\DBlack\@Panelcontentsname}}\\\pfill\fi + \Acrobatmenu{FirstPage}{\addButton{\smallbuttonwidth}{\FBlack\scalebox{.8}[1.4]{\btl\btl}}}\hspace*{-2pt} + \Acrobatmenu{LastPage}{\addButton{\smallbuttonwidth}{\LBlack\scalebox{.8}[1.4]{\rtl\rtl}}}\\\pfill + \Acrobatmenu{PrevPage}{\addButton{\smallbuttonwidth}{\FBlack\scalebox{.8}[1.4]{\btl}}}\hspace*{-2pt} + \Acrobatmenu{NextPage}{\addButton{\smallbuttonwidth}{\LBlack\scalebox{.8}[1.4]{\rtl}}}\\\pfill + \Acrobatmenu{GoToPage}{\addButton{\buttonwidth}{\@Panelpagename\space + \textcolor{red}{\thepage}\space\@Panelofname\space + \textcolor{red}{\ScreenLastPage}}}\\\pfill + \Acrobatmenu{GoBack}{\addButton{\buttonwidth}{\@Panelgobackname}}\\\pfill + \Acrobatmenu{FullScreen}{\addButton{\buttonwidth}{\@Panelfullscreenname}}\\\pfill + \Acrobatmenu{Close}{\addButton{\buttonwidth}{\@Panelclosename}}\\\pfill + \Acrobatmenu{Quit}{\addButton{\buttonwidth}{\@Panelquitname}}\\ +} +\def\pfill{\vfill} +% +%-------------- Verbatim fix ------------- +% +% This code is provided by DP Story +\newdimen\@PDFspaceleft +\def\@PDFpagespace{% + \ifdim\pagetotal=0pt + \@PDFspaceleft=\vsize + \else + \@PDFspaceleft=\pagegoal + \advance\@PDFspaceleft by-\pagetotal + \fi} +\let\@PDFverbatim\verbatim +\let\@PDFendverbatim\endverbatim +\AtBeginDocument{% + \def\verbatim{\begingroup\setbox0=\vbox\bgroup + \hsize=\linewidth% + \@PDFverbatim\verbatim@font} + \def\endverbatim{\@PDFendverbatim\egroup + \@PDFpagespace\ifdim\@PDFspaceleft>\ht0 + \else + \setbox1=\vsplit0 to\@PDFspaceleft + \verbatim@font\unvbox1 \penalty\@M + \fi + \ifvoid0\relax\else\verbatim@font\unvbox0\fi + \endgroup} + \def\@verb{\@vobeyspaces \frenchspacing\@sverb} +} + +% end of DPS' code +% +%-------------- end of Verbatim fix ------------- +% +%-------------- Layout macros ------------------- +% + \newdimen\@Leftmargin \@Leftmargin=0cm + \newdimen\@Rightmargin \@Rightmargin=0cm + \newdimen\@Topmargin \@Topmargin=0in + \newdimen\@Bottommargin \@Bottommargin=0in + % +\setlength\headheight{0pt} +\setlength\headsep {0pt} +\setlength\footskip {0pt} +\hoffset=0pt +\voffset=0pt +\pagestyle{empty} +% + \def\InitLayout{ + \setlength{\textwidth}{\paperwidth} + \addtolength{\textwidth}{-\@Leftmargin} + \addtolength{\textwidth}{-\@Rightmargin} + \setlength{\textheight}{\paperheight} + \addtolength{\textheight}{-\@Topmargin} + \addtolength{\textheight}{-\@Bottommargin} + \addtolength{\textheight}{-\headheight} + \addtolength{\textheight}{-\headsep} + \addtolength{\textheight}{-\footskip} + \setlength{\oddsidemargin}{\@Leftmargin} + \addtolength{\oddsidemargin}{-1in} + \setlength{\evensidemargin}{\@Leftmargin}%{\@Rightmargin} + \addtolength{\evensidemargin}{-1in} + \setlength{\topmargin}{\@Topmargin} + \addtolength{\topmargin}{-1in} + } + \def\marginsize#1#2#3#4{ + \@Leftmargin=#1 + \@Rightmargin=#2 + \@Topmargin=#3 + \@Bottommargin=#4 + \InitLayout + } +\newdimen\Textmarginright +\newdimen\Textmarginleft +\newdimen\Textmargintop +\newdimen\Textmarginbottom +\newdimen\marginright +\newdimen\marginleft +\newdimen\margintop +\newdimen\marginbottom +\newdimen\panelheight +\newdimen\LLX +\newdimen\LLY +\newdimen\URX +\newdimen\URY +\newdimen\calfactor +\setlength\calfactor{0pt} +\def\margins#1#2#3#4{% + \marginleft=#1 + \marginright=#2 + \margintop=#3 + \marginbottom=#4 +} +\def\screensize#1#2{\paperheight=#1% + \paperwidth=#2 + \InitLayout +\ifcase\thepanel + \setlength\Textmarginright{\marginright} + \setlength\Textmarginleft{\marginleft} + \setlength\Textmargintop{\margintop} + \setlength\Textmarginbottom{\marginbottom} + \setlength\LLX{\calfactor} + \setlength\LLY{\calfactor} + \setlength\overlaywidth{\paperwidth} + \setlength\URX{\overlaywidth-2\calfactor} + \setlength\URY{\paperheight-2\calfactor} + \PDFSCR@Info{no panel options loaded} +\or%ifnum\thepanel=1 + \setlength\Textmarginright{\marginright} + \setlength\Textmarginleft{\panelwidth} + \addtolength\Textmarginleft{\marginleft} + \setlength\Textmargintop{\margintop} + \setlength\Textmarginbottom{\marginbottom} + \setlength\LLX{\panelwidth+\calfactor} + \setlength\LLY{\calfactor} + \setlength\overlaywidth{\paperwidth} + \addtolength\overlaywidth{-\panelwidth} + \setlength\URX{\overlaywidth-2\calfactor} + \setlength\URY{\paperheight-2\calfactor} + \PDFSCR@Info{left panel options loaded} +\or%ifnum\thepanel=2 + \setlength\Textmarginleft{\marginleft} + \setlength\Textmarginright{\panelwidth} + \addtolength\Textmarginright{\marginright} + \setlength\Textmargintop{\margintop} + \setlength\Textmarginbottom{\marginbottom} + \setlength\LLX{\calfactor} + \setlength\LLY{\calfactor} + \setlength\overlaywidth{\paperwidth} + \addtolength\overlaywidth{-\panelwidth} + \setlength\URX{\overlaywidth-2\calfactor} + \setlength\URY{\paperheight-2\calfactor} + \PDFSCR@Info{right panel options loaded} +\or\PDFSCR@Warning{Panel specification is undefined} +\fi +\marginsize{\Textmarginleft}{\Textmarginright} + {\Textmargintop}{\Textmarginbottom} +\InitLayout +\PDFSCR@Info{LLX=\the\LLX \MessageBreak + LLY=\the\LLY \MessageBreak + URX=\the\URX \MessageBreak + URY=\the\URY \MessageBreak + panelwidth=\the\panelwidth \MessageBreak + overlaywidth=\the\overlaywidth \MessageBreak + textwidth=\the\textwidth \MessageBreak + textheight=\the\textheight \MessageBreak + paperwidth=\the\paperwidth \MessageBreak + paperheight=\the\paperheight \MessageBreak + calfactor=\the\calfactor \MessageBreak + Panel=\thepanel} +} +% +% ------------------ overlaying of images or colors -------- +% +\let\@PDFSout@Hook\@empty +\newcommand{\PDFSout}{\g@addto@macro\@PDFSout@Hook} +\newcommand{\@PDFSout@Out}{% + \afterassignment\@PDFSout@Test + \global\setbox\@cclv= % + } +\newcommand{\@PDFSout@Test}{% + \ifvoid\@cclv\relax + \aftergroup\@PDFSout@Output + \else + \@PDFSout@Output + \fi% + } +\newcommand{\@PDFSout@Output}{% + \@PDFSout@Hook% + \@PDFSout@Org@Out\box\@cclv% + } +\newcommand{\@PDFSout@Org@Out}{} +\newcommand*{\@PDFSout@Init}{% + \let\@PDFSout@Org@Out\shipout + \let\shipout\@PDFSout@Out + } +\AtBeginDocument{\@PDFSout@Init} +\newcommand{\@Overlay@Hook}{} +\newcommand{\AddToOverlay}{\g@addto@macro\@Overlay@Hook} +\newcommand{\ClearOverlay}{\let\@Overlay@Hook\@empty} +\newcommand{\@Overlay}{% + \ifx\@Overlay@Hook\@empty + \else + \bgroup + \@tempdima=1in + \@tempcnta=\@tempdima + \@tempcntb=-\@tempdima + \advance\@tempcntb\paperheight + \global\setbox\@cclv\vbox{% + \vbox{\let\protect\relax% + \unitlength=1sp% + \pictur@(0,0)(\@tempcnta,\@tempcntb)% + \@Overlay@Hook% + \endpicture}% + \box\@cclv% + }% + \egroup + \fi +} +\PDFSout{\@Overlay} +%------------------- end of overlaying macros -------------- +% +%------------------- Panel TOC macros ---------------------- +% +\if@paneltoc +\PDFSCR@Info{Panel TOC options loaded} +\RequirePackage{truncate} +\newcounter{NUM}[page] +\def\numberline#1{} +\def\ST{\hbox{\vrule height8pt depth3pt width\z@}\scriptsize\itshape} +\def\scrShadowButton#1#2{\begingroup\fboxsep0pt\fboxrule.6pt\shadowsize.1pt% + \sffamily\color{white}\shadowbox{\colorbox{buttonbackground}% + {\hbox to #1{\color{fgcolor}\ST#2\hfill}}\color{buttonshadow}}\endgroup} +\def\scrNormalButton#1#2{\begingroup\sffamily\color{white}% + \noindent{\colorbox{panelbackground}% + {\hbox to #1{\color{fgcolor}\ST\hfill#2\hfill}}}\endgroup} +\def\@@secHead{section} +\long\def\contentsline#1#2#3#4{\def\@@cHead{#1}% + \ifx\@@cHead\@@secHead\stepcounter{NUM}% + \ifnum\thepanel@section=\theNUM% + {\definecolor{panelbackground}{gray}{.3}% + \definecolor{fgcolor}{gray}{1}% + \hyperlink{#4}{\,\scrNormalButton{.965\panelwidth}{\truncate{.9\panelwidth}{#2}}}% + }\par\vskip1truept% + \else + {\definecolor{panelbackground}{rgb}{.741, .718, .42}%% + \definecolor{fgcolor}{gray}{0}% + \hyperlink{#4}{\,\scrNormalButton{.965\panelwidth}{\truncate{.9\panelwidth}{#2}}}% + }\par\vskip1truept% + \fi\fi} + \newcounter{@TOC} + \def\PDF@@TOC{\stepcounter{@TOC}\ifnum\the@TOC>1\relax% + \else\tableofcontents\fi} +\def\@panel@toc{\vbox\bgroup\rightskip0pt plus 1fill + \hbadness 10000 + \InputIfFileExists{\jobname.toc}% + {\PDFSCR@Info{TOC file read}}% + {\PDFSCR@Warning{TOC file not available}% + \AtEndDocument{\PDF@@TOC}}% + \egroup} +\fi% --- end of paneltoc option --- + +\def\overlay#1{\gdef\@overlay{#1}} +\def\overlayempty{\let\@overlay\@empty} +\let\@overlay\@empty +\def\backgroundcolor#1{\gdef\@backgroundcolor{#1}} +\backgroundcolor{lightcyan} +\definecolor{lightcyan}{rgb}{.895,.93,.916} +\newdimen\overlayheight +\newdimen\overlaywidth +\AddToOverlay{% + \setlength{\@tempdima}{0pt} + \setlength{\@tempdimb}{\paperwidth-2\@tempdima} + \setlength{\@tempdimc}{\paperheight-2\@tempdima} + \setlength{\unitlength}{1pt}\thinlines% + \ifx\@overlay\@empty% + \PDFSCR@Warning{No overlay specified\MessageBreak + output will have only background color} + \put(\strip@pt\LLX,\strip@pt\LLY){% + \colorbox{\@backgroundcolor}{% + \color{white}\makebox(\strip@pt\URX,\strip@pt\URY)% + {}}} + \else + \ifnum\thepanel=1 + \put(\strip@pt\@tempdima,\strip@pt\@tempdima){% + \makebox(\strip@pt\@tempdimb,\strip@pt\@tempdimc)[cr]% + {\includegraphics[width=\overlaywidth,height=\paperheight]{\@overlay}}}% + \else + \ifnum\thepanel=2 + \put(\strip@pt\@tempdima,\strip@pt\@tempdima){% + \makebox(\strip@pt\@tempdimb,\strip@pt\@tempdimc)[cl]% + {\includegraphics[width=\overlaywidth,height=\paperheight]{\@overlay}}}% + \else + \put(\strip@pt\@tempdima,\strip@pt\@tempdima){% + \makebox(\strip@pt\@tempdimb,\strip@pt\@tempdimc)[cc]% + {\includegraphics[width=\overlaywidth,height=\paperheight]{\@overlay}}}% + \fi\fi + \fi% + }% +\AddToOverlay{% + \setlength{\@tempdima}{0mm}% + \setlength{\@tempdimb}{\paperwidth-2\@tempdima}% + \setlength{\@tempdimc}{\paperheight-2\@tempdima}% + \setlength{\unitlength}{1pt}\thinlines% + \put(\strip@pt\@tempdima,\strip@pt\@tempdima){% + \makebox(\strip@pt\@tempdimb,\strip@pt\@tempdimc)% + {\relax\@@@PANEL\relax}}% +} + +% +\def\@@@PANEL{\ifnum\thepanel=1\@panel\hfill\else% + \ifnum\thepanel=2\hfill\@panel\else% + \ifnum\thepanel=0\relax% + \fi\fi\fi}% +% +\def\@logo#1{% + \global\setbox0=\hbox{\includegraphics{#1}}% + \ifdim\ht0>\wd0% + \includegraphics[height=.75in]{#1}% + \else% + \ifdim\wd0>\ht0% + \includegraphics[width=.75in]{#1}% + \else% + \ifdim\wd0=\ht0%% + \includegraphics[width=.75in]{#1}% + \fi\fi\fi +} +\let\@@logo\@logo +\def\ps@plain{} +\def\ps@empty{} +\def\ps@firstpage{} +\def\ps@headings{} +\def\ps@myheadings{} +\def\ps@title{} + +\AtEndDocument{% + \clearpage \addtocounter{page}{-1}% + \immediate\write\@auxout{\string\gdef\string\ScreenLastPage{\arabic{page}}}% + \addtocounter{page}{1}} + +%------------------- Section counter coloring ---------------------- + +\let\old@secnumber\@secnumber + \def\@secnumber{\protect\textcolor{section\thesection@level}{\old@secnumber}}% + \def\@seccntformat#1{\protect\textcolor{section\thesection@level}% + {\expandafter\upshape\csname the#1\endcsname.}\quad}% + \def\@secnumfont{\protect\textcolor{section\thesection@level}}%\mdseries} + \def\abstractname{\protect\textcolor{blue}{\@Panelabstractname}} + \let\o@title\@title + \def\@title{\protect\color{orange}\o@title} + + \def\Sectionformat#1#2{% + \ifcase#2% + {\protect\textcolor{section0}{#1}}%level 0 chapter { } + \or {\protect\textcolor{section1}{#1}}%level 1 section { } + \or {\protect\textcolor{section2}{#1}}%level 2 subsection { } + \or {\protect\textcolor{section3}{#1}}%level 3 subsubsection { } + \or {\protect\textcolor{section4}{#1}}%level 4 paragraph { } + \or {\protect\textcolor{section5}{#1}}%level 5 subparagraph { } + \fi + } + + \let\scr@section\section + \newcounter{panel@section} + \def\section{\if@sectionbreak\clearpage\fi% + \stepcounter{panel@section}\scr@section} + \def\@linkcolor{red} + \def\@anchorcolor{section0} + \def\@citecolor{orange} + \def\@filecolor{cyan} + \def\@urlcolor{magenta} + \def\@menucolor{section2} + \def\@pagecolor{red} + \setcounter{tocdepth}{4} + \setcounter{secnumdepth}{4} +\ifnum\thedriver=0 + \def\pagedissolve#1{% + \edef\@@processme{% + \pdfpageattr{% + /Trans << /S /#1\space >>% + }}% + \@@processme + }% +\else + \def\pagedissolve#1{} +\fi +\if@nocfg\relax\else\IfFileExists{pdfscreen.cfg}{\input pdfscreen.cfg}{}\fi +\let\notesname\@gobble +\newcounter{slide} +\newcounter{slideoverlay} +\newenvironment{slide}{% + \stepcounter{slide}% + \stepcounter{slideoverlay}% + \ifnum\theslideoverlay=11\setcounter{slideoverlay}{1} + \ifx\@overlay\@empty\else + \PDFSCR@Warning{Overly counter reset to zero}\fi\fi + \ifx\@overlay\@empty\else + \PDFSCR@Warning{Overly file is \@overlay.pdf}\fi + \noindent\begin{minipage}[c][\textheight][c]{\textwidth} + \newcommand\realnormalsize{% + \@setfontsize\realnormalsize\@xiipt{14.5}% + \abovedisplayskip 12\p@ \@plus3\p@ \@minus7\p@ + \abovedisplayshortskip \z@ \@plus3\p@ + \belowdisplayshortskip 6.5\p@ \@plus3.5\p@ \@minus3\p@ + \belowdisplayskip \abovedisplayskip + } + \newcommand\realsmall{% + \@setfontsize\realsmall\@xipt{13.6}% + \abovedisplayskip 11\p@ \@plus3\p@ \@minus6\p@ + \abovedisplayshortskip \z@ \@plus3\p@ + \belowdisplayshortskip 6.5\p@ \@plus3.5\p@ \@minus3\p@ + } + \newcommand\realfootnotesize{% + \@setfontsize\realfootnotesize\@xpt\@xiipt + \abovedisplayskip 10\p@ \@plus2\p@ \@minus5\p@ + \abovedisplayshortskip \z@ \@plus3\p@ + \belowdisplayshortskip 6\p@ \@plus3\p@ \@minus3\p@ + } + \newcommand\realscriptsize{\@setfontsize\realscriptsize\@viiipt{9.5}} + \newcommand\realtiny{\@setfontsize\realtiny\@vipt\@viipt} + \newcommand\reallarge{\@setfontsize\reallarge\@xivpt{18}} + \newcommand\realLarge{\@setfontsize\realLarge\@xviipt{22}} + \newcommand\realLARGE{\@setfontsize\realLARGE\@xxpt{25}} + \newcommand\realhuge{\@setfontsize\realhuge\@xxvpt{30}} + \let\realHuge=\realhuge + \renewcommand\normalsize{% + \@setfontsize\normalsize{16}{19.2}% + \abovedisplayskip 14\p@ \@plus3\p@ \@minus7\p@ + \abovedisplayshortskip \z@ \@plus3\p@ + \belowdisplayshortskip 7.5\p@ \@plus3.5\p@ \@minus3\p@ + \belowdisplayskip \abovedisplayskip + } + \normalsize + \renewcommand\small{% + \@setfontsize\small{13}{14.5}% + \abovedisplayskip 13\p@ \@plus3\p@ \@minus6\p@ + \abovedisplayshortskip \z@ \@plus3\p@ + \belowdisplayshortskip 6.5\p@ \@plus3.5\p@ \@minus3\p@ + } + \renewcommand\footnotesize{% + \@setfontsize\footnotesize\@xiipt{14} + \abovedisplayskip 12\p@ \@plus2\p@ \@minus5\p@ + \abovedisplayshortskip \z@ \@plus3\p@ + \belowdisplayshortskip 6\p@ \@plus3\p@ \@minus3\p@ + } + \renewcommand\scriptsize{\@setfontsize\scriptsize\@xpt{11.2}} + \renewcommand\tiny{\@setfontsize\tiny\@ixpt{10.2}} + \renewcommand\large{\@setfontsize\large{17.28}{22}} + \renewcommand\Large{\@setfontsize\Large\@xxvpt{30}} + \renewcommand\LARGE{\@setfontsize\LARGE{30}{36}} + \renewcommand\huge{\@setfontsize\huge{40}{48}} + \let\Huge=\huge +} +{\end{minipage}} +% +\long\def\buttonbox#1{% + \leavevmode + \setbox\@tempboxa\hbox{% + \color@begingroup + \kern\fboxsep{#1}\kern\fboxsep + \color@endgroup}% + \@buttonframeb@x\relax} +% +\def\@buttonframeb@x#1{\begingroup% + \@tempdima\fboxrule + \advance\@tempdima\fboxsep + \advance\@tempdima\dp\@tempboxa + \hbox{% + \lower\@tempdima\hbox{% + \vbox{% + \color{white}\hrule\@height\fboxrule\relax + \hbox{% + \color{white}\vrule\@width\fboxrule\relax + #1% + \vbox{% + \vskip\fboxsep + \box\@tempboxa + \vskip\fboxsep}% + #1% + \color{black}\vrule\@width\fboxrule\relax}% + \color{black}\hrule\@height\fboxrule\relax}% + }% + }% +\endgroup} +% +\def\@pdfcreator{LaTeX with hyperref and pdfscreen} +\def\shorttitle#1{\gdef\@shorttitle{#1}} +\let\@shorttitle\@empty +\def\@battrib{\color{white}$\bullet$\sffamily\footnotesize\itshape} +\def\@vattrib{\color{section1}\sffamily\footnotesize\itshape} +\newif\if@@bb \@@bbfalse +\newif\if@@tb \@@tbfalse +\def\topbuttons{\@@tbtrue% + \AddToOverlay{\def\@@tbuttons{\@@buttons}% + \setlength{\unitlength}{1pt}\thinlines% + \put(0,0){\makebox(\strip@pt\paperwidth,\strip@pt\paperheight)[ct]% + {\@@tbuttons}% + } + } +} +\def\bottombuttons{\@@bbtrue% + \AddToOverlay{\def\@@bbuttons{\@@buttons}% + \setlength{\unitlength}{1pt}\thinlines% + \put(0,0){\makebox(\strip@pt\paperwidth,24)[cb]% + {\@@bbuttons}% + } + } +} +\def\@@buttons{\ifx\@shorttitle\@empty\relax\else% + \quad{\@vattrib\@shorttitle}\fi\hfill% + \Acrobatmenu{FirstPage} {\@battrib First } + \Acrobatmenu{PrevPage} {\@battrib Prev } + \Acrobatmenu{NextPage} {\@battrib Next } + \Acrobatmenu{LastPage} {\@battrib Last } + \Acrobatmenu{GoBack} {\@battrib Go Back } + \Acrobatmenu{FullScreen}{\@battrib Full Screen } + \Acrobatmenu{Close} {\@battrib Close } + \Acrobatmenu{Quit} {\@battrib Quit } +\quad{}\vspace*{1.5pt}} +\def\nobottombuttons{\let\@@bbuttons\relax} +\def\notopbuttons{\let\@@tbuttons\relax} +% +\newcounter{overlay} +\def\changeoverlay{\def\section{\if@sectionbreak\clearpage\fi% + \stepcounter{panel@section}% + \change\scr@section}}% + \def\change{\stepcounter{overlay}% + \ifnum\c@overlay>10\setcounter{overlay}{1}\fi + \overlay{overlay\theoverlay} +} +% +\fi%--This \fi corresponds to \if@screen +%-------- Screen options end here ------------------ +% +% +%-------- Print options start here ----------------- +% +\if@print +\RequirePackage{amssymb} +\RequirePackage[pdftex,bookmarksopen,colorlinks]{hyperref} +\def\pagedissolve#1{} +\let\overlay\@gobble +\let\paneloverlay\@gobble +\let\emblema\@gobble +\let\emblemb\@gobble +\let\urlid\@gobble +\let\emailid\@gobble +\def\screensize#1#2{} +\includecomment{print} +\excludecomment{screen} + \def\@linkcolor{black} + \def\@anchorcolor{black} + \def\@citecolor{black} + \def\@filecolor{black} + \def\@urlcolor{black} + \def\@menucolor{black} + \def\@pagecolor{black} + \definecolor{section0}{gray}{0} + \definecolor{section1}{gray}{0} + \definecolor{section2}{gray}{0} + \definecolor{section3}{gray}{0} + \definecolor{section4}{gray}{0} + \definecolor{section5}{gray}{0} + \definecolor{orange}{gray}{0} + \definecolor{panelbackground}{gray}{1} + \definecolor{buttondisable}{gray}{.8} + \def\margins#1#2#3#4{} + \RequirePackage{fancybox} +\newdimen\@PDFmpht +\let\@Notesname\@empty +\def\notesname#1{\gdef\@Notesname{#1}} +\let\@overlay\@empty +\newcounter{slide} +\newcounter{slideoverlay} +\newenvironment{slide}{\stepcounter{slide}% + \stepcounter{slideoverlay}% + \ifnum\theslideoverlay=11\setcounter{slideoverlay}{1} + \ifx\@overlay\@empty\else + \PDFSCR@Warning{Overly counter reset to zero}\fi\fi + \ifx\@overlay\@empty\else + \PDFSCR@Warning{Overly file is Not available in print}\fi + \par\addvspace{12pt}\noindent% + \hspace*{-.1\paperwidth}\begin{minipage}{.9\paperwidth} + \global\setbox0=\hbox\bgroup\begin{minipage}[b]{.5\linewidth}}% + {\end{minipage}\egroup\setlength\@PDFmpht{\the\ht0}% + \typeout{****** height=\the\@PDFmpht*******} + \setbox1=\hbox{\begin{minipage}[b][1.05\@PDFmpht][t]{.3\paperwidth} + \typeout{****** height=\the\@PDFmpht*******} + \centering \@Notesname\par\vfill\end{minipage}} + \noindent\parbox{\linewidth}{%\shadowsize=2pt\fboxsep=6pt% + \shadowbox{\box0}\quad\fbox{\box1}} + \end{minipage}\hspace*{-1.5in}} + + \let\overlayempty\relax + \let\paneloverlayempty\relax + \let\topbuttons\relax + \let\notopbuttons\relax + \let\bottombuttons\relax + \let\nobottombuttons\relax + \let\changeoverlay\relax +%------------------------ Macros for code listing -------------- +\if@code +\def\verbatim@font{% + \normalfont \ttfamily\small + \catcode`\<=\active + \catcode`\>=\active +} +\begingroup + \catcode`\<=\active + \catcode`\>=\active + \gdef<{\@ifnextchar<\@lt\@meta} + \gdef>{\@ifnextchar>\@gt\@gtr@err} + \gdef\@meta#1>{\@PDFm{#1}} + \gdef\@lt<{\char`\<} + \gdef\@gt>{\char`\>} +\endgroup +\def\@gtr@err{% + \PDFSCR@Warning{% + Isolated \protect>\MessageBreak% + In this document class, \protect<...\protect>\MessageBreak + is used to indicate a parameter.\MessageBreak + I've just found a \protect> on its own.\MessageBreak + Perhaps you meant to type \protect>\protect>? + }% +} +\def\verbatim@nolig@list{\do\`\do\,\do\'\do\-} +\def\@PDFm#1{\mbox{$\langle$\it#1\/$\rangle$}} +\def\arg#1{{{\tt\string{}\@PDFm{#1}{\tt\string}}}} +\def\@PDFM#1{\mbox{\it#1\/}} +\def\Arg#1{{{\tt\string{}\@PDFM{#1}{\tt\string}}}} +\def\oarg#1{{\tt[}\@PDFm{#1}{\tt]}} +\def\Oarg#1{{\tt[}\@PDFM{#1}{\tt]}} +\@ifundefined{decl}{% +\newenvironment{decl}[1][]% + {\par\small\addvspace{1.5ex plus .5ex minus .5ex}% + \vskip -\parskip + \noindent\hspace{-\leftmarginii}% + \bgroup\begin{tabular}{|l|}\hline\\[-6pt] + \ignorespaces}% + {\\[3pt]\hline\end{tabular}\egroup\par% + \vspace{1.5ex}\ignorespacesafterend\noindent}}{} +\RequirePackage{shortvrb} +\MakeShortVerb{\|} +\fi +%-------------- end of \if@code option ---------- +% +\def\panelfont{\fontsize{7pt}{7pt}\itshape\selectfont} +\def\st{\hbox{\vrule height10pt depth5pt width\z@}\panelfont} +\def\addButton#1#2{\begingroup\normalsfcodes\fboxsep2pt\fboxrule.1pt% + \sffamily\fbox{\hbox to #1{\hfil\st#2\hfil}}\endgroup} +\def\imageButton#1#2#3{\includegraphics[width=#1,height=#2]{#3}} +\setcounter{tocdepth}{4} +\setcounter{secnumdepth}{4} +\fi +%% +\endinput +%% +%% End of file pdfscreen.sty +%% diff --git a/macros/latex/contrib/pdfscreen/portrait.pdf b/macros/latex/contrib/pdfscreen/portrait.pdf new file mode 100644 index 0000000000..30add81034 Binary files /dev/null and b/macros/latex/contrib/pdfscreen/portrait.pdf differ diff --git a/macros/latex/contrib/pdfscreen/print.pdf b/macros/latex/contrib/pdfscreen/print.pdf new file mode 100644 index 0000000000..a5e9d7f34a Binary files /dev/null and b/macros/latex/contrib/pdfscreen/print.pdf differ diff --git a/macros/latex/contrib/pdfscreen/right.pdf b/macros/latex/contrib/pdfscreen/right.pdf new file mode 100644 index 0000000000..c36a389cce Binary files /dev/null and b/macros/latex/contrib/pdfscreen/right.pdf differ diff --git a/macros/latex/contrib/pdfscreen/slide.pdf b/macros/latex/contrib/pdfscreen/slide.pdf new file mode 100644 index 0000000000..f625fdbf97 Binary files /dev/null and b/macros/latex/contrib/pdfscreen/slide.pdf differ diff --git a/macros/latex/contrib/pdfscreen/slide.tex b/macros/latex/contrib/pdfscreen/slide.tex new file mode 100644 index 0000000000..94d9ee8317 --- /dev/null +++ b/macros/latex/contrib/pdfscreen/slide.tex @@ -0,0 +1,159 @@ +\documentclass{article} +\usepackage{times} +\usepackage[screen,nopanel]{pdfscreen} +\margins{.5in}{.5in}{.5in}{.5in} +\screensize{6.25in}{8in} +\bottombuttons +\notesname{Notes:} +\begin{document} + +\overlay{overlay\theslideoverlay} + +\begin{slide}\Huge\color{orange}\centering +This is Slide No. \theslide.\\ +\color{blue}\large Slide overlay No. \theslideoverlay.\\ +\color{red} Overlay file: \makeatletter\@overlay\makeatother +\end{slide} + +\begin{slide}\Huge\color{orange}\centering +This is Slide No. \theslide.\\ +\color{blue}\large Slide overlay No. \theslideoverlay.\\ +\color{red} Overlay file: \makeatletter\@overlay\makeatother +\end{slide} + +\begin{slide}\Huge\color{orange}\centering +This is Slide No. \theslide.\\ +\color{blue}\large Slide overlay No. \theslideoverlay.\\ +\color{red} Overlay file: \makeatletter\@overlay\makeatother +\end{slide} + +\begin{slide}\Huge\color{orange}\centering +This is Slide No. \theslide.\\ +\color{blue}\large Slide overlay No. \theslideoverlay.\\ +\color{red} Overlay file: \makeatletter\@overlay\makeatother +\end{slide} + +\begin{slide}\Huge\color{orange}\centering +This is Slide No. \theslide.\\ +\color{blue}\large Slide overlay No. \theslideoverlay.\\ +\color{red} Overlay file: \makeatletter\@overlay\makeatother +\end{slide} + +\begin{slide}\Huge\color{orange}\centering +This is Slide No. \theslide.\\ +\color{blue}\large Slide overlay No. \theslideoverlay.\\ +\color{red} Overlay file: \makeatletter\@overlay\makeatother +\end{slide} + +\begin{slide}\Huge\color{orange}\centering +This is Slide No. \theslide.\\ +\color{blue}\large Slide overlay No. \theslideoverlay.\\ +\color{red} Overlay file: \makeatletter\@overlay\makeatother +\end{slide} + +\begin{slide}\Huge\color{orange}\centering +This is Slide No. \theslide.\\ +\color{blue}\large Slide overlay No. \theslideoverlay.\\ +\color{red} Overlay file: \makeatletter\@overlay\makeatother +\end{slide} + +\begin{slide}\Huge\color{orange}\centering +This is Slide No. \theslide.\\ +\color{blue}\large Slide overlay No. \theslideoverlay.\\ +\color{red} Overlay file: \makeatletter\@overlay\makeatother +\end{slide} + +\begin{slide}\Huge\color{orange}\centering +This is Slide No. \theslide.\\ +\color{blue}\large Slide overlay No. \theslideoverlay.\\ +\color{red} Overlay file: \makeatletter\@overlay\makeatother +\end{slide} + +\begin{slide}\Huge\color{orange}\centering +This is Slide No. \theslide.\\ +\color{blue}\large Slide overlay No. \theslideoverlay.\\ +\color{red} Overlay file: \makeatletter\@overlay\makeatother +\end{slide} + +\begin{slide}\Huge\color{orange}\centering +This is Slide No. \theslide.\\ +\color{blue}\large Slide overlay No. \theslideoverlay.\\ +\color{red} Overlay file: \makeatletter\@overlay\makeatother +\end{slide} + +\begin{slide}\Huge\color{orange}\centering +This is Slide No. \theslide.\\ +\color{blue}\large Slide overlay No. \theslideoverlay.\\ +\color{red} Overlay file: \makeatletter\@overlay\makeatother +\end{slide} + + +\begin{slide}\Huge\color{orange}\centering +This is Slide No. \theslide.\\ +\color{blue}\large Slide overlay No. \theslideoverlay.\\ +\color{red} Overlay file: \makeatletter\@overlay\makeatother +\end{slide} + +\begin{slide}\Huge\color{orange}\centering +This is Slide No. \theslide.\\ +\color{blue}\large Slide overlay No. \theslideoverlay.\\ +\color{red} Overlay file: \makeatletter\@overlay\makeatother +\end{slide} + +\begin{slide}\Huge\color{orange}\centering +This is Slide No. \theslide.\\ +\color{blue}\large Slide overlay No. \theslideoverlay.\\ +\color{red} Overlay file: \makeatletter\@overlay\makeatother +\end{slide} + +\begin{slide}\Huge\color{orange}\centering +This is Slide No. \theslide.\\ +\color{blue}\large Slide overlay No. \theslideoverlay.\\ +\color{red} Overlay file: \makeatletter\@overlay\makeatother +\end{slide} + +\begin{slide}\Huge\color{orange}\centering +This is Slide No. \theslide.\\ +\color{blue}\large Slide overlay No. \theslideoverlay.\\ +\color{red} Overlay file: \makeatletter\@overlay\makeatother +\end{slide} + +\begin{slide}\Huge\color{orange}\centering +This is Slide No. \theslide.\\ +\color{blue}\large Slide overlay No. \theslideoverlay.\\ +\color{red} Overlay file: \makeatletter\@overlay\makeatother +\end{slide} + +\begin{slide}\Huge\color{orange}\centering +This is Slide No. \theslide.\\ +\color{blue}\large Slide overlay No. \theslideoverlay.\\ +\color{red} Overlay file: \makeatletter\@overlay\makeatother +\end{slide} + +\begin{slide}\Huge\color{orange}\centering +This is Slide No. \theslide.\\ +\color{blue}\large Slide overlay No. \theslideoverlay.\\ +\color{red} Overlay file: \makeatletter\@overlay\makeatother +\end{slide} + +\begin{slide}\Huge\color{orange}\centering +This is Slide No. \theslide.\\ +\color{blue}\large Slide overlay No. \theslideoverlay.\\ +\color{red} Overlay file: \makeatletter\@overlay\makeatother +\end{slide} + +\begin{slide}\Huge\color{orange}\centering +This is Slide No. \theslide.\\ +\color{blue}\large Slide overlay No. \theslideoverlay.\\ +\color{red} Overlay file: \makeatletter\@overlay\makeatother +\end{slide} + + +\begin{slide}\Huge\color{orange}\centering +This is Slide No. \theslide.\\ +\color{blue}\large Slide overlay No. \theslideoverlay.\\ +\color{red} Overlay file: \makeatletter\@overlay\makeatother +\end{slide} + + +\end{document} \ No newline at end of file diff --git a/macros/latex/contrib/pdfscreen/square.pdf b/macros/latex/contrib/pdfscreen/square.pdf new file mode 100644 index 0000000000..849987b463 Binary files /dev/null and b/macros/latex/contrib/pdfscreen/square.pdf differ diff --git a/macros/latex/contrib/pdfscreen/tex.png b/macros/latex/contrib/pdfscreen/tex.png new file mode 100644 index 0000000000..3518784eef Binary files /dev/null and b/macros/latex/contrib/pdfscreen/tex.png differ diff --git a/macros/latex/contrib/pdfscreen/widepanel.pdf b/macros/latex/contrib/pdfscreen/widepanel.pdf new file mode 100644 index 0000000000..fb6d8988fa Binary files /dev/null and b/macros/latex/contrib/pdfscreen/widepanel.pdf differ -- cgit v1.2.3