diff options
author | Norbert Preining <norbert@preining.info> | 2019-09-02 13:46:59 +0900 |
---|---|---|
committer | Norbert Preining <norbert@preining.info> | 2019-09-02 13:46:59 +0900 |
commit | e0c6872cf40896c7be36b11dcc744620f10adf1d (patch) | |
tree | 60335e10d2f4354b0674ec22d7b53f0f8abee672 /macros/latex/contrib/pdfslide |
Initial commit
Diffstat (limited to 'macros/latex/contrib/pdfslide')
-rw-r--r-- | macros/latex/contrib/pdfslide/bg.jpg | bin | 0 -> 10933 bytes | |||
-rw-r--r-- | macros/latex/contrib/pdfslide/d12.jpg | bin | 0 -> 42173 bytes | |||
-rw-r--r-- | macros/latex/contrib/pdfslide/demo.pdf | bin | 0 -> 247246 bytes | |||
-rw-r--r-- | macros/latex/contrib/pdfslide/manual.tex | 270 | ||||
-rw-r--r-- | macros/latex/contrib/pdfslide/meta.mp | 63 | ||||
-rw-r--r-- | macros/latex/contrib/pdfslide/metablue.pdf | bin | 0 -> 2951 bytes | |||
-rw-r--r-- | macros/latex/contrib/pdfslide/metagray.pdf | bin | 0 -> 2945 bytes | |||
-rw-r--r-- | macros/latex/contrib/pdfslide/metagreen.pdf | bin | 0 -> 2953 bytes | |||
-rw-r--r-- | macros/latex/contrib/pdfslide/metalgray.pdf | bin | 0 -> 2944 bytes | |||
-rw-r--r-- | macros/latex/contrib/pdfslide/mpgraph.pdf | bin | 0 -> 10818 bytes | |||
-rw-r--r-- | macros/latex/contrib/pdfslide/pdfslide.cfg | 45 | ||||
-rw-r--r-- | macros/latex/contrib/pdfslide/pdfslide.sty | 336 | ||||
-rw-r--r-- | macros/latex/contrib/pdfslide/slide.clo | 171 |
13 files changed, 885 insertions, 0 deletions
diff --git a/macros/latex/contrib/pdfslide/bg.jpg b/macros/latex/contrib/pdfslide/bg.jpg Binary files differnew file mode 100644 index 0000000000..12fd12f0f0 --- /dev/null +++ b/macros/latex/contrib/pdfslide/bg.jpg diff --git a/macros/latex/contrib/pdfslide/d12.jpg b/macros/latex/contrib/pdfslide/d12.jpg Binary files differnew file mode 100644 index 0000000000..05150d3fae --- /dev/null +++ b/macros/latex/contrib/pdfslide/d12.jpg diff --git a/macros/latex/contrib/pdfslide/demo.pdf b/macros/latex/contrib/pdfslide/demo.pdf Binary files differnew file mode 100644 index 0000000000..2ad3ab4ffd --- /dev/null +++ b/macros/latex/contrib/pdfslide/demo.pdf diff --git a/macros/latex/contrib/pdfslide/manual.tex b/macros/latex/contrib/pdfslide/manual.tex new file mode 100644 index 0000000000..b7bc63db9a --- /dev/null +++ b/macros/latex/contrib/pdfslide/manual.tex @@ -0,0 +1,270 @@ +\documentclass[a4paper]{article} +\usepackage{lucidabr} +\usepackage{amsmath} +\usepackage[contnav]{pdfslide} +\usepackage{pause} +\pagestyle{title} + +\begin{document} + +\orgname{Indian \TeX{} Users Group} +\orgurl{\protect\color{white}http://www.river-valley.com/tug/} + +\title{\scalebox{1}[1.3]{Presentations with pdf\TeX}} +\author{\scalebox{1}[1.3]{C.~V.~Radhakrishnan}} +\address{River Valley Technologies\\ + {\realfootnotesize(Development Division of Focal Image (India) Pvt. Ltd.)}\\ + Software Technology Park, + Trivandrum, India\\ + email: {\tt cvr@river-valley.com}} + +\notes{This is for public consumption and for release to + Comprehensive \TeX{} Archive Network} + +\overlay{d12.jpg} +\maketitle + +\pagedissolve{Wipe /D 3 /Dm /V /M /O} +\overlay{metablue.pdf} +\sffamily\large +\color{section0} + +\section{Objectives} +\begin{itemize} + +\item to devise a method for easier technical presentation.\pause + +\item to help the mix of mathematical formulae with text and graphics +which the present day \textsc{wysiwyg} tools fail to\linebreak accomplish.\pause + +\item to exploit the platform independence of \TeX{} so that +presentation documents become portable.\pause + +\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} + +\headskip=48pt +\section{Methodology} +\pagedissolve{Glitter /D 3 /Di /V /M /O} +\overlay{metalgray.pdf} + +\color{section2} +\begin{enumerate} + +\item Make a \LaTeX{} document in the usual way.\pause + +\item In the preamble load the slide package with the command\\ +\color{red}\verb+ \usepackage{pdfslide}+\color{section2} + +This shall be loaded as the last package. +You must have \textcolor{red}{hyperref.sty} version 6.60 or above +installed in your system.\pause + +\item Run pdf\LaTeX{} over your document and you get the pdf output +which you can view with Acrobat Reader. +\end{enumerate} + + +\section{Backgrounds} +\overlay{bg.jpg} +\pagedissolve{Wipe /D 1 /Di /H /M /O} +\color{white} +\begin{itemize} +\item You can create your own background graphics with your preferred +packages and include them using the command\\ +\color{yellow} +\verb+\overlay{+\textless\emph{filename}\textgreater\verb+}+% +\color{white}.\pause + +\item pdf\TeX{} supports three graphic file formats \emph{viz.}, +\textcolor{yellow}{\tt pdf, jpeg, png}. If you have \textcolor{yellow}{\tt eps} files +you can distill them with Acrobat Distiller or use Ghostscript to +convert them to pdf format.\pause + +\item You can change backgrounds for each page, there is no limit. + +\end{itemize} + +\section{Page Transition} +\pagedissolve{Wipe /D 1 /Di /H /M /O} +\overlay{bg.jpg} +\color{white} +\begin{itemize} +\item You can exploit the page transition facilities in the Acrobat. +Specify your choice by using the command\\ \color{yellow} +\verb+\pagedissolve{+\textless\emph{option}\textgreater\verb+}+% +\color{white}\pause + +\item A list of page dissolve options and keys are given in the user +manual of \textcolor{yellow}{\tt pdfslide.sty}. + +\end{itemize} + +\headskip30pt +\section{Some Math Equations} +\pagedissolve{Wipe /D 1 /Di /H /M /O} +\overlay{mpgraph.pdf} +\color{section1} + +\begin{align} +\begin{split} +|I_l| &=\left|\int_\Omega gRu\,\Omega\right|\\ \pause + &\le C_3\left[\int_\Omega \left(\int_{a}^x + g(xi,t)\, d\xi\right)^2d \Omega\right]^{1/2}\\ \pause + &\quad\times\left[\int_\Omega \left\{u^2_x+\frac{1}{k} + \left(\int_{a}^x cu_t \, d\xi \right)^2\right\} + c \Omega\right]^{1/2} \\ \pause + &\le C_4\left|\left| f\left|\widetilde{S}^{-1,0}_{a,-} + W_2(\Omega,\Gamma_1) \right|\right| + \left||u|\overset{\circ}\to W_2^{\widetilde{A}} + \Omega;\Gamma_r,T)\right|\right|. + \end{split} +\end{align} + +\headskip0pt +\section{Extra facilities} +\pagedissolve{Wipe /D 1 /Di /H /M /O} +\overlay{metalgray.pdf} +\color{black}\rmfamily +\realnormalsize +\subsection{Fonts} +All the font attributes have been redefined to make them larger than +the usual size. 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{Headings} +\verb+\section{...}+ may be used for first level heading for the +slides. If you need more skip before the heading so as to make the +whole matter vertically centered, you can change the dimension with the +command, \verb+\headskip={<+new dimension\verb+>}+. This command shall +be placed before the section heading and shall be reset at the end of +the current slide, if you do not want the current skip further. + +\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+. + +\subsection{Page Transition} + +Following portion from the well known book, \emph{Web Publishing with +Acrobat/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} +\sffamily\itshape +\setlength\arrayrulewidth{0pt} +\def\dash{\noalign{\vskip1.5pt}\hline\noalign{\vskip1.5pt}} +$$\begin{tabular}{@{}p{1in}p{5in}@{}} +\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}$$ +\rmfamily\normalfont +For some of the transitions additional parameters may be specified. The +following code 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} +Given below are all supported parameters for page dissolve, along with +the kind of transition on which the parameters may be applied. + +\subsubsection{Additional parameters for page transitions} +\sffamily\itshape +$$\begin{tabular}{@{}p{1in}p{5in}@{}} +\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}$$ +\rmfamily\normalfont + +\subsection{Navigation buttons} +There are two options available \emph{viz}., \verb+contnav+ and +\verb+ams+. For the first option to work smoothly, +you need to have the \verb+contnav+ fonts installed in your \TeX{} +system to have the navigation buttons in the side panel. This font is +part of the Con\TeX{}t macro package. Navigation buttons from +top to bottom correspond to first page, previous page, next page, last +page, go back, go forward and close file respectively. The button below +the pine tree indicate the current slide number and clicking at it will +open you the Acrobat window to go to a particular slide. + +\TeX{}Live4 has \verb+contnav+ fonts installed, but will have to add +the following line to the \verb+hoekwater.map+ +\begin{verbatim} + contnav ContextNavigation <contnav.pfb +\end{verbatim} +so that it will be available to the pdf\TeX. + +If \verb+contnav+ font is not available in your \TeX{} distribution, +you can choose the option \verb+ams+ so that AMS fonts will be used for +the navigation buttons. + +\subsection{\tt pdfslide.cfg} +There is a configuration file, \verb+pdfslide.cfg+ in which you can +change all the font attributes for caption, title, author, address, notes, +all section level headings, change the side panel color, button color, +button disabled color, button background, button shadow color and button +text (for languages other than English). + +If you don't want \verb+pdfslide.sty+ to read +the configuration file, you can invoke \verb+nocfg+ as an option to the +package loading command. + +\subsubsection{Acknowledgements} +Various users of \verb+pdfscreen.sty+ have asked me to write a slide +package and I drew considerable quantum of inspiration from all those +who send me kind words of compliments for the \verb+pdfscreen.sty+. +My special thanks are to Kaveh Bazargan of Focal Image Ltd., London and +Sebastian Rahtz of Oxford University Computing Services who were +instrumental in making this package a reality. + +\subsubsection{Bug Reports:} + +Punch me with your bug reports and I am available at: +\begin{center} +\href{mailto:cvr@river-valley.com}{{\color{red}\tt +cvr@river-valley.com}}. +\end{center} +\end{document} +
\ No newline at end of file diff --git a/macros/latex/contrib/pdfslide/meta.mp b/macros/latex/contrib/pdfslide/meta.mp new file mode 100644 index 0000000000..7d9d079843 --- /dev/null +++ b/macros/latex/contrib/pdfslide/meta.mp @@ -0,0 +1,63 @@ +%beginchar("a",.5in#,1.25in#,0); +beginfig(1) +path branch[], trunk; +branch1 = flex((0,660),(-9,633),(-22,610)) + & flex((-22,610),(-3,622),(17,617)) + & flex((17,617),(7,637),(0,660)) & cycle; +branch2 = flex((30,570),(10,590),(-1,616)) + & flex((-1,616),(-11,592),(-29,576),(-32,562)) + & flex((-32,562),(-10,577),(30,570)) & cycle; +branch3 = flex((-1,570),(-17,550),(-40,535)) + & flex((-40,535),(-45,510),(-60,477)) + & flex((-60,477),(-20,510),(40,512)) + & flex((40,512),(31,532),(8,550),(-1,570)) & cycle; +branch4 = flex((0,509),(-14,492),(-32,481)) + & flex((-32,481),(-42,455),(-62,430)) + & flex((-62,430),(-20,450),(42,448)) + & flex((42,448),(38,465),(4,493),(0,509)) & cycle; +branch5 = flex((-22,470),(-23,435),(-44,410)) + & flex((-44,410),(-10,421),(35,420)) + & flex((35,420),(15,455),(-22,470)) & cycle; +branch6 = flex((18,375),(9,396),(5,420)) + & flex((5,420),(-5,410),(-50,375),(-50,350)) + & flex((-50,350),(-25,375),(18,375)) & cycle; +branch7 = flex((0,400),(-13,373),(-30,350)) + & flex((-30,350),(0,358),(30,350)) + & flex((30,350),(13,373),(0,400)) & cycle; +branch8 = flex((50,275),(45,310),(3,360)) + & flex((3,360),(-20,330),(-70,300),(-100,266)) + & flex((-100,266),(-75,278),(-60,266)) + & flex((-60,266),(0,310),(50,275)) & cycle; +branch9 = flex((10,333),(-15,290),(-43,256)) + & flex((-43,256),(8,262),(58,245)) + & flex((58,245),(34,275),(10,333)) & cycle; +branch10 = flex((8,262),(-21,249),(-55,240)) + & flex((-55,240),(-51,232),(-53,220)) + & flex((-53,220),(-28,229),(27,235)) + & flex((27,235),(16,246),(8,262)) & cycle; +branch11 = flex((0,250),(-25,220),(-70,195)) + & flex((-70,195),(-78,180),(-90,170)) + & flex((-90,170),(-5,188),(74,183)) + & flex((74,183),(34,214),(0,250)) & cycle; +branch12 = flex((8,215),(-35,175),(-72,155)) + & flex((-72,155),(-75,130),(-92,110),(-95,88)) + & flex((-95,88),(-65,117),(-54,104)) + & flex((-54,104),(10,151),(35,142)) + ..flex((42,130),(60,123),(76,124)) + & flex((76,124),(62,146),(26,180),(8,215)) & cycle ; +trunk = (0,660)---(-12,70)..{curl5}(-28,-8) + & flex((-28,-8),(-16,-4),(-10,-11)) + & flex((-10,-11),(0,-5),(14,-10)) + & flex((14,-10),(20,-6),(29,-11)) + & (29,-11){curl4} .. (10,100)---cycle; +% w=3in; h=8in; +%fill superellipse((w,.5h),(.5w,h),(0,.5h),(.5w,0),.8) withcolor (.411,.490,.682); +branch0=trunk; +for n=0 upto 12: + unfill branch[n] shifted (150,50) scaled (.75) withcolor (.9,.9,.9); +endfor; +endfig; +bye + + +http://www.fi.muni.cz/~thanh/download/pdftex
\ No newline at end of file diff --git a/macros/latex/contrib/pdfslide/metablue.pdf b/macros/latex/contrib/pdfslide/metablue.pdf Binary files differnew file mode 100644 index 0000000000..a609f4f902 --- /dev/null +++ b/macros/latex/contrib/pdfslide/metablue.pdf diff --git a/macros/latex/contrib/pdfslide/metagray.pdf b/macros/latex/contrib/pdfslide/metagray.pdf Binary files differnew file mode 100644 index 0000000000..9ee15f66d3 --- /dev/null +++ b/macros/latex/contrib/pdfslide/metagray.pdf diff --git a/macros/latex/contrib/pdfslide/metagreen.pdf b/macros/latex/contrib/pdfslide/metagreen.pdf Binary files differnew file mode 100644 index 0000000000..be55aa1e88 --- /dev/null +++ b/macros/latex/contrib/pdfslide/metagreen.pdf diff --git a/macros/latex/contrib/pdfslide/metalgray.pdf b/macros/latex/contrib/pdfslide/metalgray.pdf Binary files differnew file mode 100644 index 0000000000..aea67ae8d6 --- /dev/null +++ b/macros/latex/contrib/pdfslide/metalgray.pdf diff --git a/macros/latex/contrib/pdfslide/mpgraph.pdf b/macros/latex/contrib/pdfslide/mpgraph.pdf Binary files differnew file mode 100644 index 0000000000..c11795fc3c --- /dev/null +++ b/macros/latex/contrib/pdfslide/mpgraph.pdf diff --git a/macros/latex/contrib/pdfslide/pdfslide.cfg b/macros/latex/contrib/pdfslide/pdfslide.cfg new file mode 100644 index 0000000000..22a7d2f768 --- /dev/null +++ b/macros/latex/contrib/pdfslide/pdfslide.cfg @@ -0,0 +1,45 @@ +%% +%% pdfslide.cfg +%% +%% +%% +%% ------- attributes for section heads ------ +%% +\chapnumfont={\large\rmfamily\scshape\color{orange}} + \chapfont={\Huge\rmfamily\color{orange}} + \secfont={\Large\rmfamily\bfseries} + \ssecfont={\large\rmfamily\bfseries} + \sssecfont={\normalsize\bfseries} + \parafont ={\normalfont\sffamily} + \def\capfont{\@setfontsize\capfont{40}{40}\sffamily\color{white}} + \def\titlefont{\@setfontsize\titlefont{24}{26}\color{dm}\rmfamily\bfseries} + \def\authorfont{\@setfontsize\authorfont{17.28}{18}\rmfamily\color{dm}} + \def\addressfont{\@setfontsize\addressfont{12}{14}\sffamily\color{dm}} + \def\rcdfont{\@setfontsize\rcdfont{10}{12}\sffamily\color{white}} + \def\numfont{\@setfontsize\rcdfont{8}{7}\sffamily\color{white}} + \headskip=24pt % skip above the section heading. can be changed at any page. +%% +%% ------- various colors --------- +%% + \definecolor{panelbackground}{rgb}{1,.549,0} + \definecolor{button}{rgb}{0,0,.8} % button color + \definecolor{buttondisable}{gray}{.7}% button color when disabled + \definecolor{buttonbackground}{rgb}{0,.624,.820}%button background in ams option + \definecolor{buttonshadow}{rgb}{.001,0,.502}% button shadow in ams option + \definecolor{orange}{rgb}{1,.549,0} + \definecolor{section0}{rgb}{0,.5,.1} % for chapter + \definecolor{section1}{rgb}{0,.5,1} % for section + \definecolor{section2}{rgb}{0,.5,.5} % for subsection + \definecolor{section3}{rgb}{0,.5,.4} % for subsubsection + \definecolor{section4}{rgb}{.4,.5,.2}% for paragraph + \definecolor{section5}{rgb}{.5,.5,.3}% for subparagraph +%% +%%-------- button text ----------- +%% + \Panelgobackname{Back} + \Panelclosename{Close} + +\endinput +%% +%% end of file `pdfslide.cfg' +%%
\ No newline at end of file diff --git a/macros/latex/contrib/pdfslide/pdfslide.sty b/macros/latex/contrib/pdfslide/pdfslide.sty new file mode 100644 index 0000000000..a86cb00b81 --- /dev/null +++ b/macros/latex/contrib/pdfslide/pdfslide.sty @@ -0,0 +1,336 @@ +%% +%% +%% This is file `pdfslide.sty', +%% generated with the docstrip utility. +%% +%% The original source files were: +%% +%% pdfslide.dtx (with options: `package') +%% +%% File: pdfslide.dtx Copyright (c) 1999, C. V. Radhakrishnan +%% <cvr@river-valley.com> +%% +%% 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. +%% +\ProvidesPackage{pdfslide} + [1999/10/10 v0.50 slides with PDF (CVR)] +\RequirePackage[pdftex]{graphicx} +\newif\if@nocfg \@nocfgfalse +\newif\if@ams \@amstrue +\newif\if@contnav \@contnavfalse +\DeclareOption{nocfg}{\@nocfgtrue} +\DeclareOption{ams}{\@amstrue} +\DeclareOption{contnav}{\@contnavtrue} +\ProcessOptions +\ExecuteOptions{ams} +\def\ScreenLastPage{100} +\RequirePackage{colortbl} +\RequirePackage{amssymb,amsbsy,fancybox} +\RequirePackage[pdftex,pdfpagemode=none,colorlinks,% + pdfmenubar=false,% + pdfhighlight=/I,% + pdftoolbar=false,% +% pdfpagemode=FullScreen,% + pdffitwindow=true,pdfcenterwindow=true,% + pdfwindowui=false,menucolor=menucolor,% + pdfview=Fit,pdfstartview=Fit]{hyperref} + \RequirePackage{ifthen} %removed pifont + \newdimen\@Leftmargin \@Leftmargin=0cm + \newdimen\@Rightmargin \@Rightmargin=0cm + \newdimen\@Topmargin \@Topmargin=0cm + \newdimen\@Bottommargin \@Bottommargin=0cm + % + \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}{\@Rightmargin} + \addtolength{\evensidemargin}{-1in} + \setlength{\topmargin}{\@Topmargin} + \addtolength{\topmargin}{-1in} + } + \InitLayout + \def\screensize#1#2{\paperheight=#1% + \paperwidth=#2 + \InitLayout + } + \def\marginsize#1#2#3#4{ + \@Leftmargin=#1 + \@Rightmargin=#2 + \@Topmargin=#3 + \@Bottommargin=#4 + \InitLayout + } + \definecolor{menucolor}{rgb}{1,.25,0} + \definecolor{paleblue}{rgb}{0,0,0.1} + \input slide.clo + \setlength\footskip{1\baselineskip} + \AtEndDocument{% + \clearpage \addtocounter{page}{-1}% + \immediate\write\@auxout{\string\gdef\string\ScreenLastPage{\arabic{page}}}% + } +% +\def\st{\vrule height11pt depth 2pt width0pt} + \def\ps@headings{\ps@sidebar} + \def\ps@plain{\ps@sidebar} + \def\ps@empty{\ps@title} + \def\ps@myheadings{\ps@sidebar} + \def\ps@firstpage{\ps@ftitle} + \def\maketitle{\@mtitle} + \voffset-.25in + \marginsize{.3in}{.3in}{-.050in}{.3in} + \def\marginsize#1#2#3#4{} + \setcounter{tocdepth}{1} + \setcounter{secnumdepth}{1} + \setlength\paperwidth{8in} + \setlength\paperheight{5.85in} %5.5 + \@Leftmargin=.3in + \@Rightmargin=.3in + \@Topmargin=.5in + \@Bottommargin=.3in + \voffset-.185in %-.2in + \headsep 25pt + \pdfpagewidth=.832\paperwidth %%7.5in + \pdfpageheight=\paperheight %%6.3in + \advance\pdfpageheight by -.5in + \newlength\panelwidth \setlength\panelwidth{.09\paperwidth}%%.265 + \newlength\panelheight \setlength\panelheight{1\textheight} + \newlength\textareawidth \setlength\textareawidth{\pdfpagewidth} + \newlength\textareaheight\setlength\textareaheight{\pdfpageheight} + \parskip 1pt plus2pt minus 1pt + \setlength{\textheight}{\textareaheight}%%6in + \addtolength{\textheight}{-.5\@Bottommargin} + \setlength{\textwidth}{\textareawidth}%%5.5 + \evensidemargin=\oddsidemargin + \def\ps@myheadings{\ps@title} + \def\ps@headings{\ps@title} + \def\ps@plain{\ps@sidebar} + \def\ps@empty{\ps@title} + +\def\overlay#1{\gdef\@overlay{#1}} +\def\@overlay{BigBlueL.png} +\addtolength\textareawidth{.56in} + + \def\ps@title{% + \def\@evenhead{\if@contnav\hspace*{-.3825in} %3375 + \else\hspace*{-.355in}\fi% + \colorbox{white}{\begin{minipage}[t][1.025\pdfpageheight][c]{\textareawidth}% + {\color{white}\includegraphics[width=7.215in,height=5.84in]{\@overlay}}%7.175 + \end{minipage}}\null\hskip-1.5pt %6.5,6 + \@panel\hspace*{-\panelwidth}% + \hspace*{-3.5\@Rightmargin}\hfil} + \def\@oddhead{\@evenhead} + \def\@evenfoot{\@empty} + \def\@oddfoot{\@empty} + \let\@mkboth\@gobbletwo + \let\chaptermark\@gobble + \let\sectionmark\@gobble + } + \def\ps@sidebar{% + \def\@evenhead{\hspace*{-.385in} %1.5 + \colorbox{white}{\begin{minipage}[t][2pt][c]{\textareawidth} + {\color{white}\hrulefill}\end{minipage}}\null + \ifnum\number\thepage=1\@panel\else\@panel\fi + \hspace*{-\panelwidth}\hspace*{-3.5\@Rightmargin}\hfil} + \def\@oddhead{\@evenhead} + \def\@evenfoot{\@empty} + \def\@oddfoot{\@empty} + \let\@mkboth\@gobbletwo + \let\chaptermark\@gobble + \let\sectionmark\@gobble + } + \definecolor{panelbackground}{rgb}{1,.549,0} + \definecolor{button}{rgb}{0,0,.7} + \definecolor{buttondisable}{gray}{.7} + \def\nBlue{\color{buttonshadow}} + \def\Panelgobackname#1{\gdef\@Panelgobackname{#1}} + \def\Panelclosename#1{\gdef\@Panelclosename{#1}} + \def\@Panelgobackname{Back} + \def\@Panelclosename{Close} + \RequirePackage{amssymb,amsbsy} + \def\@panel{{\colorbox{panelbackground} + {\begin{minipage}[t][1.025\pdfpageheight][t]{\panelwidth} + \vspace*{20pt} + \begin{center} + \ifodd\thepage + \includegraphics[width=.5\panelwidth,height=1in]{metagray.pdf}\else + \includegraphics[width=.5\panelwidth,height=1in]{metagreen.pdf}\fi\\ + \Acrobatmenu{GoToPage}{\fboxrule1pt\fboxsep2pt\fboxsep2pt% + \color{buttondisable}% + \colorbox{buttondisable}{\textcolor{blue}{\st\sffamily\realsmall\thepage/\ScreenLastPage}}} + \end{center} + \vfill + \begin{center} + \if@contnav + \Acrobatmenu{FirstPage}{\ifnum\thepage=1% + {\color{buttondisable}\First}\else + {\color{button}\First}\fi}\\[4pt]% + \Acrobatmenu{PrevPage}{\ifnum\thepage=1% + {\color{buttondisable}\Prev}\else + {\color{button}\Prev}\fi}\\[4pt]% + \Acrobatmenu{NextPage}{\ifnum\thepage=\number\ScreenLastPage% + {\color{buttondisable}\Next}\else + {\color{button}\Next}\fi}\\[4pt]% + \Acrobatmenu{LastPage}{\ifnum\thepage=\number\ScreenLastPage% + {\color{buttondisable}\Last}\else + {\color{button}\Last}\fi}\\[4pt]% + \Acrobatmenu{GoBack}{\color{button}\Back}\\[4pt] + \Acrobatmenu{GoForward}{\color{button}\Forw}\\[4pt] + \Acrobatmenu{Close}{\color{button}\Close}\\[4pt] + \else + \if@ams\def\st{\vrule height12pt depth 3pt width 0pt} + \fboxsep0pt\fboxrule.2pt + \def\btl{\ensuremath{\blacktriangleleft}} + \def\rtl{\ensuremath{\blacktriangleright}} + \color{white}\fboxsep0pt\fboxrule0pt\shadowsize1pt\sffamily + \Acrobatmenu{FirstPage}{\shadowbox{\colorbox{buttonbackground}% + {\hbox to .58in{\st\ifnum\thepage=1\color{buttondisable}\else\Black\fi% + {\hfil\scalebox{.5}[1]{\btl\btl}\hfil}}}\nBlue}}\\ + \Acrobatmenu{LastPage}{\shadowbox{\colorbox{buttonbackground}% + {\hbox to .58in{\st\ifnum\thepage=\number\ScreenLastPage% + \color{buttondisable}\else% + \Black\fi{\hfil\scalebox{.5}[1]{\rtl\rtl}\hfil}}}\nBlue}}\\ + \Acrobatmenu{PrevPage}{\shadowbox{\colorbox{buttonbackground}% + {\hbox to .58in{\st\ifnum\thepage=1\color{buttondisable}% + \else\Black\fi% + {\hfil\scalebox{.5}[1]{\btl}\hfil}}}\nBlue}}\\ + \Acrobatmenu{NextPage}{\shadowbox{\colorbox{buttonbackground}% + {\hbox to .58in{\st\ifnum\thepage=\number\ScreenLastPage% + \color{buttondisable}\else\Black\fi% + {\hfil\scalebox{.5}[1]{\rtl}\hfil}}}\nBlue}}\\ + \Acrobatmenu{GoBack}{\shadowbox{\colorbox{buttonbackground}% + {\hbox to .58in{\hfil\Black\st\realsmall\@Panelgobackname\hfil}}\nBlue}}\\ + \Acrobatmenu{Close}{\shadowbox{\colorbox{buttonbackground}% + {\hbox to .58in{\hfil\Black\st\realsmall\@Panelclosename\hfil}}\nBlue}}\\ +% \if@metapost +% \Acrobatmenu{FirstPage}{\ifnum\thepage=1\Firstg\else +% \First\fi}\\[4pt]% +% \Acrobatmenu{PrevPage}{\ifnum\thepage=1\Prev\else +% \Prev\fi}\\[4pt]% +% \Acrobatmenu{NextPage}{\ifnum\thepage=\number\ScreenLastPage% +% \Nextg\else\Next\fi}\\[4pt]% +% \Acrobatmenu{LastPage}{\ifnum\thepage=\number\ScreenLastPage% +% \Last\else\Last\fi}\\[4pt]% +% \Acrobatmenu{GoBack}{\Back}\\[4pt] +% \Acrobatmenu{Close}{\Close}\\[4pt + \fi + \fi + \end{center} + \vspace*{1pt} + \vfill + \end{minipage}}}\normalcolor\rmfamily + } + \definecolor{orange}{rgb}{1,.549,0} + \def\Black{\color{black}} + \definecolor{panelbackground}{rgb}{.455,.832,.979} + \definecolor{buttonbackground}{rgb}{0,.624,.820} + \definecolor{buttonshadow}{rgb}{.001,0,.502} + + \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 \newdimen\headskip \headskip=1\baselineskip + \def\section{\clearpage\null\vskip\headskip\scr@section} + \definecolor{section0}{rgb}{0,0,0} + \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} + +\if@contnav + \font\CVxx=contnav at 15pt + \fboxrule1pt\fboxsep2pt + \def\Prev{\fbox{\hbox to .5cm{\hfil\scalebox{.8}[1.2]{\CVxx\char1}\hfil}}} + \def\Next{\fbox{\hbox to .5cm{\hfil\scalebox{.8}[1.2]{\CVxx\char2}\hfil}}} + \def\First{\fbox{\hbox to .5cm{\hfil\scalebox{.8}[1.2]{\CVxx\char3}\hfil}}} + \def\Last{\fbox{\hbox to .5cm{\hfil\scalebox{.8}[1.2]{\CVxx\char4}\hfil}}} + \def\Back{\fbox{\hbox to .5cm{\hfil\scalebox{.8}[1.2]{\CVxx\char5}\hfil}}} + \def\Forw{\fbox{\hbox to .5cm{\hfil\scalebox{.8}[1.2]{\CVxx\char6}\hfil}}} + \def\Close{\fbox{\hbox to .5cm{\hfil\scalebox{.8}[1.2]{\CVxx\char9}\hfil}}} +\fi + +%\if@metapost +% \def\Prev {\convertMPtoPDF{mp/back.1}{.5}{.5}} +% \def\Prevg{\convertMPtoPDF{mp/backg.1}{.5}{.5}} +% \def\Next {\convertMPtoPDF{mp/next.1}{.5}{.5}} +% \def\Nextg{\convertMPtoPDF{mp/nextg.1}{.5}{.5}} +% \def\First{\convertMPtoPDF{mp/first.1}{.5}{.5}} +% \def\Firstg{\convertMPtoPDF{mp/firstg.1}{.5}{.5}} +% \def\Last {\convertMPtoPDF{mp/last.1}{.5}{.5}} +% \def\Lastg{\convertMPtoPDF{mp/lastg.1}{.5}{.5}} +% \def\Back {\convertMPtoPDF{mp/goback.1}{.5}{.5}} +% \def\Close{\convertMPtoPDF{mp/close.1}{.5}{.5}} +%\fi + +\def\pagedissolve#1{% + \edef\@@processme{% + \pdfpageattr{% + /Trans << /S /#1\space >>% + }}% + \@@processme + }% + +\definecolor{dm}{rgb}{1,.894,.769} + \def\titlefont{\@setfontsize\titlefont{24}{26}\color{dm}\rmfamily\bfseries} + \def\authorfont{\@setfontsize\authorfont{17.28}{18}\rmfamily\color{dm}} + \def\capfont{\@setfontsize\capfont{40}{40}\sffamily\color{white}} + \def\addressfont{\@setfontsize\addressfont{12}{14}\sffamily\color{dm}} + \def\rcdfont{\@setfontsize\rcdfont{10}{12}\sffamily\color{white}} + \def\numfont{\@setfontsize\rcdfont{8}{7}\sffamily\color{white}} + \def\maketitle{\thispagestyle{title} + \noindent\begin{minipage}[t][.95\textheight][c]{.975\textwidth} + \begin{flushleft} + \null\vspace*{30pt} + \ifx\@orgname\@empty\relax\else + {\capfont \@orgname}\\[3pt]\fi + \ifx\@orgurl\@empty\null\vskip72pt\else + {\footnotesize\sffamily\@orgurl}\\[72pt]\fi + {\titlefont \@title}\\[30pt] + {\authorfont \@author}\\[10pt] + {\addressfont \strut\@address\par\strut}\\ + \vfill\par + {\rcdfont \ifx\@notes\@empty\relax\else\@notes\fi} + \end{flushleft} + \end{minipage} + \vfill\par\clearpage + } + \long\def\author#1{\long\gdef\@author{#1}}\let\@author\@empty + \long\def\address#1{\long\gdef\@address{#1}}\let\@address\@empty + \long\def\notes#1{\long\gdef\@notes{#1}}\let\@notes\@empty + \long\def\orgname#1{\long\gdef\@orgname{#1}}\let\@orgname\@empty + \long\def\orgurl#1{\long\gdef\@orgurl{#1}}\let\@orgurl\@empty + % + % + \pagestyle{myheadings} + \def\@linkcolor{black} + \def\@anchorcolor{black} + \def\@citecolor{black} + \def\@filecolor{black} + \def\@urlcolor{black} + \def\@menucolor{black} + \def\@pagecolor{black} + \definecolor{sgray}{rgb}{.545,.601,.650} +% +\if@nocfg\relax\else + \IfFileExists{pdfslide.cfg}{\input pdfslide.cfg}{}\fi +\endinput +%% +%%End of file pdfslide.sty' diff --git a/macros/latex/contrib/pdfslide/slide.clo b/macros/latex/contrib/pdfslide/slide.clo new file mode 100644 index 0000000000..83831e3840 --- /dev/null +++ b/macros/latex/contrib/pdfslide/slide.clo @@ -0,0 +1,171 @@ +\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 +\def\@startsection#1#2#3#4#5#6{% + \if@noskipsec \leavevmode \fi + \par + \@tempskipa #4\relax + \@afterindenttrue + \ifdim \@tempskipa <\z@ + \@tempskipa -\@tempskipa \@afterindentfalse + \fi + \if@nobreak + \everypar{}% + \else + \addpenalty\@secpenalty\addvspace\@tempskipa + \fi + \@ifstar + {\@ssect{#3}{#4}{#5}{#6}}% + {\@dblarg{\@sect{#1}{#2}{#3}{#4}{#5}{#6}}}} +\def\@sect#1#2#3#4#5#6[#7]#8{% + \ifnum #2>\c@secnumdepth + \let\@svsec\@empty + \else + \refstepcounter{#1}% + \protected@edef\@svsec{\@seccntformat{#1}\relax}% #1 + \fi + \@tempskipa #5\relax + \ifdim \@tempskipa>\z@ + \begingroup + #6{% + \@hangfrom{\hskip #3\relax}%\@svsec}% + \interlinepenalty \@M #8\@@par}% + \endgroup + \csname #1mark\endcsname{#7}% + \addcontentsline{toc}{#1}{% + \ifnum #2>\c@secnumdepth \else + \protect\numberline{\csname the#1\endcsname}% + \fi + #7}% + \else + \def\@svsechd{% + #6{\hskip #3\relax + %\@svsec + #8}% + \csname #1mark\endcsname{#7}% + \addcontentsline{toc}{#1}{% + \ifnum #2>\c@secnumdepth \else + \protect\numberline{\csname the#1\endcsname}% + \fi + #7}}% + \fi + \@xsect{#5}} +\def\@xsect#1{% + \@tempskipa #1\relax + \ifdim \@tempskipa>\z@ + \par \nobreak + \vskip \@tempskipa + \@afterheading + \else + \@nobreakfalse + \global\@noskipsectrue + \everypar{% + \if@noskipsec + \global\@noskipsecfalse + {\setbox\z@\lastbox}% + \clubpenalty\@M + \begingroup \@svsechd \endgroup + \unskip + \@tempskipa #1\relax + \hskip -\@tempskipa + \else + \clubpenalty \@clubpenalty + \everypar{}% + \fi}% + \fi + \ignorespaces} +\def\@seccntformat#1{}%\csname the#1\endcsname\quad} +\def\@ssect#1#2#3#4#5{% + \@tempskipa #3\relax + \ifdim \@tempskipa>\z@ + \begingroup + #4{% + \@hangfrom{\hskip #1}% + \interlinepenalty \@M #5\@@par}% + \endgroup + \else + \def\@svsechd{#4{\hskip #1\relax #5}}% + \fi + \@xsect{#3}} +\let\Hy@backout\@gobble + +\newtoks\chapnumfont \chapnumfont={\large\sffamily\scshape\color{orange}} +\newtoks\chapfont \chapfont={\Huge\sffamily\color{orange}} +\newtoks\secfont \secfont={\Large\sffamily\bfseries} +\newtoks\ssecfont \ssecfont={\large\sffamily\itshape} +\newtoks\sssecfont \sssecfont={\normalsize\sffamily\itshape} +\newtoks\parafont \parafont ={\normalfont\sffamily} + +\renewcommand\section{\@startsection {section}{1}{\z@}% + {-\z@ \@plus -1ex \@minus -.2ex}% + {1.25ex \@plus.2ex \@minus .2ex}% + {\the\secfont}} + +\renewcommand\subsection{\@startsection{subsection}{2}{\z@}% + {-3.25ex\@plus -1ex \@minus -.2ex}% + {1.25ex \@plus .2ex}% + {\the\ssecfont}} + +\def\subsubsection{\@startsection{subsubsection}{3}{\z@}% + {3ex \@plus 1ex \@minus 1ex}% + {-1em}{\the\sssecfont}} +\let\sssec=\subsubsection + +\def\paragraph{\@startsection{paragraph}{4}{\z@}% + {.5\baselineskip\@plus.2\baselineskip\@minus .1\baselineskip}{-.5em}% + {\the\parafont}} +\let\para=\paragraph + +\endinput + +%% End of file `slide.clo'. |