From 0fda812c86b5b3b821e53b78122c1b540c96433d Mon Sep 17 00:00:00 2001 From: Karl Berry Date: Tue, 3 Jun 2008 18:24:24 +0000 Subject: paper doc update (1jun08) git-svn-id: svn://tug.org/texlive/trunk@8526 c570f23f-e606-0410-a88d-b1316a301751 --- Master/texmf-dist/doc/latex/paper/README | 24 ++++++++ Master/texmf-dist/doc/latex/paper/install | 54 ++++++++++++++++++ Master/texmf-dist/doc/latex/paper/journal1.tex | 15 ++++- Master/texmf-dist/doc/latex/paper/journal2.tex | 19 ++++++- Master/texmf-dist/doc/latex/paper/local.tex | 74 +++++++++++++++++++++++++ Master/texmf-dist/doc/latex/paper/local02.tex | 73 ------------------------ Master/texmf-dist/doc/latex/paper/paper.dvi | Bin 80376 -> 0 bytes Master/texmf-dist/doc/latex/paper/paper.pdf | Bin 0 -> 146987 bytes Master/texmf-dist/doc/latex/paper/test02j.tex | 24 -------- Master/texmf-dist/doc/latex/paper/test02p.tex | 73 ------------------------ Master/texmf-dist/doc/latex/paper/testj.tex | 25 +++++++++ Master/texmf-dist/doc/latex/paper/testp.tex | 72 ++++++++++++++++++++++++ 12 files changed, 278 insertions(+), 175 deletions(-) create mode 100644 Master/texmf-dist/doc/latex/paper/README create mode 100644 Master/texmf-dist/doc/latex/paper/install create mode 100644 Master/texmf-dist/doc/latex/paper/local.tex delete mode 100644 Master/texmf-dist/doc/latex/paper/local02.tex delete mode 100644 Master/texmf-dist/doc/latex/paper/paper.dvi create mode 100644 Master/texmf-dist/doc/latex/paper/paper.pdf delete mode 100644 Master/texmf-dist/doc/latex/paper/test02j.tex delete mode 100644 Master/texmf-dist/doc/latex/paper/test02p.tex create mode 100644 Master/texmf-dist/doc/latex/paper/testj.tex create mode 100644 Master/texmf-dist/doc/latex/paper/testp.tex (limited to 'Master/texmf-dist/doc/latex/paper') diff --git a/Master/texmf-dist/doc/latex/paper/README b/Master/texmf-dist/doc/latex/paper/README new file mode 100644 index 00000000000..9618e6f498e --- /dev/null +++ b/Master/texmf-dist/doc/latex/paper/README @@ -0,0 +1,24 @@ +The files in the archive paper??.zip include the following +supported macros and files for LaTeX2e: + + paper.dtx latex-style files paper and journal + in doc option format + paper.pdf documentation in pdf format + install driver for installing the package + local.tex input to the local latex-guide "`local.tex"' + testp.tex example input text for paper + testj.tex example input text for journal + journal1.tex example input text for journal + journal2.tex example input text for journal + README this file + +Run `latex install' to generate the class files paper.cls and +journal.cls (as well as paper.sty and journal.sty, for compatibility). +This needs the `docstrip' utility. Then run `latex paper.drv' to generate +the documentation. + +Written by Wenzel Matiaske. See paper.dtx for licensing information. + +Updates are available from CTAN. This package lives at: + http://tug.ctan.org/tex-archive/macros/latex/contrib/paper/ +and at similar locations on CTAN mirrors. diff --git a/Master/texmf-dist/doc/latex/paper/install b/Master/texmf-dist/doc/latex/paper/install new file mode 100644 index 00000000000..d9f99def7ed --- /dev/null +++ b/Master/texmf-dist/doc/latex/paper/install @@ -0,0 +1,54 @@ +\def\batchfile{install} +\def\filename{paper} + +{\immediate\openin15 docstrip.tex +\ifeof 15 +\typeout{***********************************************} +\typeout{* Sorry can not find the file `docstrip.tex'. *} +\typeout{***********************************************} +\expandafter\aftergroup\csname @@end\expandafter\endcsname +\expandafter\aftergroup\csname end\expandafter\endcsname \fi} + +\input docstrip.tex + +\preamble + +Copyright (C) 1993, 1998 by wenzel_matiaske@notes.uni-paderborn.de + +You are not allowed to distribute this file without the +original source \filename.dtx. For distribution of the +sources see the copyright notice in the file \filename.dtx. + +\endpreamble + +\keepsilent + +\Msg{*** Generating the document class files ***} + +\generateFile{paper.cls}{t}{\from{paper.dtx}{paper}} +\generateFile{paper.sty}{t}{\from{paper.dtx}{paper.sty}} +\generateFile{journal.cls}{t}{\from{paper.dtx}{journal}} +\generateFile{journal.sty}{t}{\from{paper.dtx}{journal.sty}} + +\Msg{*** Generating the documentation driver ***} + +\generateFile{paper.drv}{t}{\from{paper.dtx}{driver}} + +\ifToplevel{ +\Msg{***********************************************************} +\Msg{*} +\Msg{* To finish the installation you have to move the following} +\Msg{* files into a directory searched by TeX:} +\Msg{*} +\Msg{* \space\space paper.cls, paper.sty} +\Msg{* \space\space journal.cls, journal.sty} +\Msg{*} +\Msg{* To produce the documentation run the files ending with} +\Msg{* `.drv' through LaTeX.} +\Msg{*} +\Msg{* Happy TeXing} +\Msg{***********************************************************} +} + +\endinput + diff --git a/Master/texmf-dist/doc/latex/paper/journal1.tex b/Master/texmf-dist/doc/latex/paper/journal1.tex index 61d142d935c..f1e6fc80f1c 100644 --- a/Master/texmf-dist/doc/latex/paper/journal1.tex +++ b/Master/texmf-dist/doc/latex/paper/journal1.tex @@ -1,8 +1,8 @@ \shortauthor{Aamport} %%\shorttitle{The Gnats and Gnus} -\author{Leslie A. Aamport\thanks{to Peter}} -\title{The Gnats and Gnus\thanks{to Paul}} +\author{Leslie A. Aamport} +\title{The Gnats and Gnus} \subtitle{A Document Preparation System\thanks{to Mary}} \maketitle @@ -47,6 +47,12 @@ According to \cite{book-full}\footnote{Note} \dots Even fonts are changing. \end{change} + And even equation numbers change. + +\begin{equation} + \label{eq:1in1} + c_{ij}^{\ast}\, v_{j} = x_{ji}\, r_{i}. +\end{equation} \begin{figure}[htbp] \begin{center} @@ -64,3 +70,8 @@ According to \cite{book-full}\footnote{Note} \dots + +%%% Local Variables: +%%% mode: latex +%%% TeX-master: t +%%% End: diff --git a/Master/texmf-dist/doc/latex/paper/journal2.tex b/Master/texmf-dist/doc/latex/paper/journal2.tex index b4b50fadbd2..11f6e6512a3 100644 --- a/Master/texmf-dist/doc/latex/paper/journal2.tex +++ b/Master/texmf-dist/doc/latex/paper/journal2.tex @@ -1,10 +1,12 @@ \shortauthor{Oz, Yannakakis} \shorttitle{An Sorting Algorithm} -\author{Wizard V. Oz\thanks{Fanstord University} - \and Mihalis Yannakakis\thanks{University of Provence}} +\author{Wizard V. Oz \and Mihalis Yannakakis} +\institution{Fanstord University\and University of Provence} + \title{An Sorting Algorithm\thanks{to bubble.}} + \maketitle \begin{keywords} @@ -12,17 +14,23 @@ Bubble, Sort \end{keywords} + \begin{abstract} The joy of sorting \dots \end{abstract} - \smalltableofcontents \section{$O(n \log n / \! \log\log n)$} See\footnote{Some gnu!} + + \begin{equation} + \label{eq:1in2} + |\mathtt{yucca} -\mathtt{abuzz}| = \sqrt{2415} + \end{equation} + \section{Conclusions} \cite{phdthesis-full} \dots @@ -42,3 +50,8 @@ The golden oldies \dots + +%%% Local Variables: +%%% mode: latex +%%% TeX-master: t +%%% End: diff --git a/Master/texmf-dist/doc/latex/paper/local.tex b/Master/texmf-dist/doc/latex/paper/local.tex new file mode 100644 index 00000000000..692f1ca7046 --- /dev/null +++ b/Master/texmf-dist/doc/latex/paper/local.tex @@ -0,0 +1,74 @@ +% \iffalse +% local.tex -- updated for LaTeX2e 16 May 1996 +% first released 1 Sept 1993 +% +% Copyright (C) 1993, 1998 by wenzel_matiaske@notes.uni-paderborn.de +% +% As input to the local LaTeX-guide "`local.tex"'. +% +% For distribution of this document see the copyright notice in the +% original sources mentioned below. +% \fi + +\makeatletter +\newif\iflocalin +\newif\ifappendixin +\@ifundefined{localin}{\localintrue}{\localinfalse} +\@ifundefined{appendixin}{\appendixinfalse}{\appendixintrue} +\@ifundefined{docdir}{\def\docdir{\dots /emtex/doc/}}{} +\makeatother + +\iflocalin + \subsubsection{The style files \texttt{paper} and \texttt{journal}} +\fi +\ifappendixin + \subsection{The style files \texttt{paper} and \texttt{journal}} +\fi + +The style files \verb|paper| and \verb|journal| are derived from the +standard class \verb|article|. In difference to the standard document +class the layout can be changed via layout options (\verb|slanted|, +\verb|bold|, \verb|sfbold|) and font commands +(\verb|\partfont{|{\em font\/}\verb|}|, +\verb|\sectionfont{|{\em font\/}\verb|}| etc.). + +The class \texttt{paper} defines a new environment called +\texttt{keywords} and the commands +\verb|\subtitle{|\emph{text}\verb|}| and +\verb|\institution{|\emph{text}\verb|}| for the title section. Three +commands allow a small table of contents +(\verb|\smalltableofcontents|), a small lists of figures +(\verb|\smalllistoffigures|) or a small lists of tables +(\verb|\smalllistoftables|). These commands are obsolete when using the +\texttt{journal} style file. + +The format \texttt{journal} typically uses a master file which \verb|\include| +the articles. The command \verb|\journalofcontents| produces a table of +articles, revisions and parts of a journal. The new commands +\verb|\shortauthor{|\emph{text}\verb|}| and +\verb|\shorttitle{|\emph{text}\verb|}| are defined for head titles +containing authors and titles. Head titles for the whole journal may be +produced with the commands +\verb|\oddrunhead{|\emph{text}\verb|}| and +\verb|\evenrunhead{|\emph{text}\verb|}|. + +If you want to declare parts between the papers, you may use the command +\verb|\journalpart[|\emph{option}\verb|]{|\emph{text}\verb|}| or +\verb|\journalpart*{|\emph{text}\verb|}|. + +Two new commands are especially designed for revisions. The command +\verb|\revison[|\emph{option}\verb|]{|\emph{author}\verb|}{|\emph{title}\verb|}| +takes the author and the title of the revisited book. It produces a +subsection like headline and an entry for the table of contents. The +optional argument is used to put also the author of the revision into +the table of contents. This command is also defined in the form +\verb|\revision*|. The command \verb|\revauthor{|\emph{text}\verb|}| +may be useful to sign a revision. It allows the commands \verb|\and| +and \verb|\thanks|. + + +\iflocalin +For more details see the German documentation +\file{\docdir thesis} and \file{\docdir paper}. +\fi + diff --git a/Master/texmf-dist/doc/latex/paper/local02.tex b/Master/texmf-dist/doc/latex/paper/local02.tex deleted file mode 100644 index 600e272f1d2..00000000000 --- a/Master/texmf-dist/doc/latex/paper/local02.tex +++ /dev/null @@ -1,73 +0,0 @@ -% local02.tex -- updated for LaTeX2e 16 May 1996 -% first released 1 Sept 1993 -% -% Copyright (C) 1993, 1996 by Wenzel Matiaske, mati1831@perform.ww.tu-berlin.de -% -% As input to the local LaTeX-guide "`local.tex"'. -% -% For distribution of this document see the copyright notice in the -% original sources mentioned below. -% - -\makeatletter -\newif\iflocalin -\newif\ifappendixin -\@ifundefined{localin}{\localintrue}{\localinfalse} -\@ifundefined{appendixin}{\appendixinfalse}{\appendixintrue} -\@ifundefined{docdir}{\def\docdir{\dots /emtex/doc/}}{} -\makeatother - -\iflocalin - \subsubsection{The style files \texttt{paper} and \texttt{journal}} -\fi -\ifappendixin - \subsection{The style files \texttt{paper} and \texttt{journal}} -\fi - -The style files \verb|paper| and \verb|journal| are derived from the -standard class \verb|article|. In difference to the standard document -class the layout can be changed via layout options (\verb|slanted|, -\verb|bold|, \verb|sfbold|) and font commands -(\verb|\partfont{|{\em font\/}\verb|}|, -\verb|\sectionfont{|{\em font\/}\verb|}| etc.). - -The class \texttt{paper} defines a new environment called -\texttt{keywords} and the commands -\verb|\subtitle{|\emph{text}\verb|}| and -\verb|\institution{|\emph{text}\verb|}| for the title section. Three -commands allow a small table of contents -(\verb|\smalltableofcontents|), a small lists of figures -(\verb|\smalllistoffigures|) or a small lists of tables -(\verb|\smalllistoftables|). These commands are obsolete when using the -\texttt{journal} style file. - -The format \texttt{journal} typically uses a master file which \verb|\include| -the articles. The command \verb|\journalofcontents| produces a table of -articles, revisions and parts of a journal. The new commands -\verb|\shortauthor{|\emph{text}\verb|}| and -\verb|\shorttitle{|\emph{text}\verb|}| are defined for head titles -containing authors and titles. Head titles for the whole journal may be -produced with the commands -\verb|\oddrunhead{|\emph{text}\verb|}| and -\verb|\evenrunhead{|\emph{text}\verb|}|. - -If you want to declare parts between the papers, you may use the command -\verb|\journalpart[|\emph{option}\verb|]{|\emph{text}\verb|}| or -\verb|\journalpart*{|\emph{text}\verb|}|. - -Two new commands are especially designed for revisions. The command -\verb|\revison[|\emph{option}\verb|]{|\emph{author}\verb|}{|\emph{title}\verb|}| -takes the author and the title of the revisited book. It produces a -subsection like headline and an entry for the table of contents. The -optional argument is used to put also the author of the revision into -the table of contents. This command is also defined in the form -\verb|\revision*|. The command \verb|\revauthor{|\emph{text}\verb|}| -may be useful to sign a revision. It allows the commands \verb|\and| -and \verb|\thanks|. - - -\iflocalin -For more details see the German documentation -\file{\docdir thesis} and \file{\docdir paper}. -\fi - diff --git a/Master/texmf-dist/doc/latex/paper/paper.dvi b/Master/texmf-dist/doc/latex/paper/paper.dvi deleted file mode 100644 index 39945c31d08..00000000000 Binary files a/Master/texmf-dist/doc/latex/paper/paper.dvi and /dev/null differ diff --git a/Master/texmf-dist/doc/latex/paper/paper.pdf b/Master/texmf-dist/doc/latex/paper/paper.pdf new file mode 100644 index 00000000000..283197f51e7 Binary files /dev/null and b/Master/texmf-dist/doc/latex/paper/paper.pdf differ diff --git a/Master/texmf-dist/doc/latex/paper/test02j.tex b/Master/texmf-dist/doc/latex/paper/test02j.tex deleted file mode 100644 index 91185192a2e..00000000000 --- a/Master/texmf-dist/doc/latex/paper/test02j.tex +++ /dev/null @@ -1,24 +0,0 @@ -\documentclass[12pt,sfbold]{journal} - -\begin{document} - -\oddrunhead{G-Animal's Journal, Vol. 15} - -\begin{titlepage} -\begin{center} - {\LARGE\sffamily G-Animal's Journal} - \vfill - {\Large 1983, Vol. 15, No. 4} - \vfill - {\large\bfseries Fanstord University} -\end{center} -\end{titlepage} - -\journalcontents - -%\oddrunhead{} - -\include{journal1} -\include{journal2} - -\end{document} diff --git a/Master/texmf-dist/doc/latex/paper/test02p.tex b/Master/texmf-dist/doc/latex/paper/test02p.tex deleted file mode 100644 index b13c9d07bf3..00000000000 --- a/Master/texmf-dist/doc/latex/paper/test02p.tex +++ /dev/null @@ -1,73 +0,0 @@ -\documentclass[%%%titlepage, -]{journal} - -\begin{document} - -%\begin{titlepage} - \shortauthor{Aamport} - \shorttitle{The Gnats and Gnus} - \author{Leslie A. Aamport\thanks{to Peter}} - \title{The Gnats and Gnus}\thanks{to Gnu} - \subtitle{A Document Preparation System\thanks{to Barbara}} - -\maketitle - - \begin{abstract} - Starting from a historical point of view \dots - \end{abstract} - - \begin{keywords} - Gnats, Gnus - \end{keywords} - -%\end{titlepage} - -\tableofcontents - -\section{Why Gnu} - -According to \cite{book-full}\footnote{Note} \dots - -\begin{itemize} -\item Some items are - \begin{itemize} - \item bullets. - \end{itemize} - \begin{enumerate} - \item And some items - \begin{enumerate} - \item are numbers. - \end{enumerate} - \end{enumerate} -\item But some items are - \begin{description} - \item[gnus] A sort of large aninals. - \end{description} -\end{itemize} - - -\subsection{Everything is changing} - -\newtheorem{change}{Change} - -\begin{change} - Even fonts are changing. -\end{change} - - -\begin{figure}[htbp] - \begin{center} - \leavevmode - The figure is typeset in \verb|\figurefont|. - The caption body is typeset in \verb|\captionbodyfont|. - The header of the caption is typeset in \verb|\captionheaderfont|. - \end{center} - \caption{The body of the caption.} -\end{figure} - - -\bibliographystyle{plain} -\bibliography{xampl} - -\end{document} - diff --git a/Master/texmf-dist/doc/latex/paper/testj.tex b/Master/texmf-dist/doc/latex/paper/testj.tex new file mode 100644 index 00000000000..237705cfa50 --- /dev/null +++ b/Master/texmf-dist/doc/latex/paper/testj.tex @@ -0,0 +1,25 @@ +\documentclass[12pt,sfbold,twoside,center]{journal} + +\begin{document} + +\oddrunhead{G-Animal's Journal, Vol. 15} + +\begin{titlepage} +\begin{center} + {\LARGE\sffamily G-Animal's Journal} + \vfill + {\Large 1983, Vol. 15, No. 4} + \vfill + {\large\bfseries Fanstord University} +\end{center} +\end{titlepage} + +\journalcontents + +%\oddrunhead{} + +\include{journal1} +\include{journal2} + + +\end{document} diff --git a/Master/texmf-dist/doc/latex/paper/testp.tex b/Master/texmf-dist/doc/latex/paper/testp.tex new file mode 100644 index 00000000000..701fa326e44 --- /dev/null +++ b/Master/texmf-dist/doc/latex/paper/testp.tex @@ -0,0 +1,72 @@ +\documentclass[sfbold,]{paper} + + +\begin{document} + +%\begin{titlepage} + \author{Leslie A. Aamport\thanks{to Peter}} + \title{The Gnats and Gnus\thanks{to Paul}} + \subtitle{A Document Preparation System\thanks{to Mary}} + \shortauthor{Aamport} + \shorttitle{The Gnats and Gnus} + +\maketitle + + \begin{abstract} + Starting from a historical point of view \dots + \end{abstract} + + \begin{keywords} + Gnats, Gnus + \end{keywords} + +%\end{titlepage} + + +\section{Why Gnu} + +According to \cite{book-full}\footnote{Note} \dots + +\begin{itemize} +\item Some items are + \begin{itemize} + \item bullets. + \end{itemize} + \begin{enumerate} + \item And some items + \begin{enumerate} + \item are numbers. + \end{enumerate} + \end{enumerate} +\item But some items are + \begin{description} + \item[gnus] A sort of large aninals. + \end{description} +\end{itemize} + + +\subsection{Everything is changing} + +\newtheorem{change}{Change} + +\begin{change} + Even fonts are changing. +\end{change} + + +\begin{figure}[htbp] + \begin{center} + \leavevmode + The figure is typeset in \verb|\figurefont|. + The caption body is typeset in \verb|\captionbodyfont|. + The header of the caption is typeset in \verb|\captionheaderfont|. + \end{center} + \caption{The body of the caption.} +\end{figure} + + +\bibliographystyle{plain} +\bibliography{xampl} + +\end{document} + -- cgit v1.2.3