%\iffalse -*- doctex -*- \fi % %% \RCS$Id: pmn-prpr.sty,v 1.2 2004/09/09 18:35:41 turtle Exp $ %% \RCS$Revision: 1.2 $ %% \RCS$Date: 2004/09/09 18:35:41 $ % %\iffalse metacomment % -*- latex-mode -*- % % $Id: pmn-prpr.sty,v 1.2 2004/09/09 18:35:41 turtle Exp $ % % (C) 2004 Peter Møller Neergaard %% %% This program may be distributed and/or modified under the %% conditions of the LaTeX Project Public License, either version 1.2 %% of this license or (at your option) any later version. %% The latest version of this license is in %% http://www.latex-project.org/lppl.txt %% and version 1.2 or later is part of all distributions of LaTeX %% version 1999/12/01 or later. % % This program consists of the file pmn-prpr.sty. % % To print the documentation (which for the moment is uninteresting) % remove the percentage sign from the line % % %\def\newpagestyle#1#2#3{} % % occurring around line 77 and remove (or comment out) the line % % \endinput % % occurring immediately after the second. % % %<*documentation> % %\fi % % \CheckSum{10} % \CharacterTable % {Upper-case \A\B\C\D\E\F\G\H\I\J\K\L\M\N\O\P\Q\R\S\T\U\V\W\X\Y\Z % Lower-case \a\b\c\d\e\f\g\h\i\j\k\l\m\n\o\p\q\r\s\t\u\v\w\x\y\z % Digits \0\1\2\3\4\5\6\7\8\9 % Exclamation \! Double quote \" Hash (number) \# % Dollar \$ Percent \% Ampersand \& % Acute accent \' Left paren \( Right paren \) % Asterisk \* Plus \+ Comma \, % Minus \- Point \. Solidus \/ % Colon \: Semicolon \; Less than \< % Equals \= Greater than \> Question mark \? % Commercial at \@ Left bracket \[ Backslash \\ % Right bracket \] Circumflex \^ Underscore \_ % Grave accent \` Left brace \{ Vertical bar \| % Right brace \} Tilde \~} % % \MakeShortVerb{\"} % % \title{The \package{pmn-prpr} package\thanks % {This file has CVS revision \RCSRevision, dated \RCSDate.}} % \author{Peter Møller Neergaard} % \maketitle % % \begin{abstract} % This package contains my various bug fixes for prosper. It is % done against prosper 1.0.4. It also contains the rudimentary % command \cmd{\footerinfo} to put information in the footer of slide. % \end{abstract} % % \section{Package identification} % % We identify ourselves. % \begin{macrocode} \NeedsTeXFormat{LaTeX2e} \ProvidesPackage{pmn-prpr}[2004/02/23 PMN prosper fixes] % \end{macrocode} % % The following hack is needed to print the documentation: % \begin{macrocode} %<*documentation> %\def\newpagestyle#1#2#3{} % % \end{macrocode} % % \begin{macro}{\GenericPageStyle} % \mcmd{\GenericPageStyle} is the general \package{prosper} slide % page style. We first undefine % \begin{macrocode} \let\ps@GenericPageStyle\@undefined % \end{macrocode} % and then fix a space issue % \begin{macrocode} \def\footerinfo{} \newpagestyle{GenericPageStyle}{\hfill }{\tiny\footerinfo\hfill% \ifisDraft {\@colorFoot \textbf{\jobname.tex}~--~\@Title~--~\@Author~--~\number\day/\number\month/\number\year~--~\timenow~--~p.\thepage\ifallPages/\realpageref{last@page}\fi}% \else \ifshowVersion {\@colorFoot \textbf{\jobname.tex}~--~\@Title~--~\@Author~--~\number\day/\number\month/\number\year~--~\timenow~--~p.\thepage\ifallPages/\realpageref{last@page}\fi}% \else {\@colorFoot \@cartouche~--~p.\thepage\ifallPages/\realpageref{last@page}\fi}% \fi\fi % \end{macrocode} % Here comes the change. % \begin{macrocode} \hskip3mm} % \end{macrocode} % \end{macro} ^^A \GenericPageStyle % \changes{}{2004/02/25}{added \cmd{\footerinfo} placeholder; could be much better.} % \StopEventually{} % % And the commands to typeset the documentation. All enclosed in % "<*documentation>"$\ldots$"" so we exclude it if we % ever make a docstrip file. For now, we simply stop input with % \cmd{\endinput} so the file can be used directly as a package file. % \begin{macrocode} %<*documentation> \endinput \documentclass{pmn-ldoc} \usepackage[latin1]{inputenc} \newcommand{\docdate}{2003/11/02} % \OnlyDescription % \DisableCrossrefs \begin{document} \DocInput{pmn-prpr.sty} \end{document} % % \end{macrocode} % \Finale \sloppy \PrintChanges