diff options
Diffstat (limited to 'Master/texmf-dist/source/latex/onlyamsmath/onlyamsmath.dtx')
-rw-r--r-- | Master/texmf-dist/source/latex/onlyamsmath/onlyamsmath.dtx | 42 |
1 files changed, 22 insertions, 20 deletions
diff --git a/Master/texmf-dist/source/latex/onlyamsmath/onlyamsmath.dtx b/Master/texmf-dist/source/latex/onlyamsmath/onlyamsmath.dtx index f4c1ee14d75..de29c387262 100644 --- a/Master/texmf-dist/source/latex/onlyamsmath/onlyamsmath.dtx +++ b/Master/texmf-dist/source/latex/onlyamsmath/onlyamsmath.dtx @@ -1,16 +1,9 @@ % \iffalse meta comment -% File: onlyams.dtx Copyright (C) 2001 Harald Harders -% $Id:$ +% File: onlyamsmath.dtx Copyright (C) 2001, 2012 Harald Harders % \fi % % \iffalse % -%<*package> -\def\onlyamspackagename{onlyams} -\def\onlyamsversion{0.04} -\def\onlyamsfiledate{2001/10/04} -\def\onlyamsdocdate{2001/10/04} -%</package> %<*driver> \documentclass[fleqn]{ltxdoc} \usepackage{amsmath} @@ -39,18 +32,22 @@ \DoNotIndex{\setcounter,\space,\begingroup,\endgroup} \CodelineNumbered \RecordChanges -\CheckSum{94} +\CheckSum{91} +\input{onlyamsmath-v.tex} +\GetFileInfo{onlyamsmath-v.tex} +\title{The \texttt{onlyamsmath} package} +\author{Harald Harders\\\texttt{h.harders@tu-bs.de}} +\date{Version \fileversion, \filedate, printed \today} \begin{document} - \title{The \texttt{onlyamsmath} package\thanks{This file is version - \onlyamsversion\ last revision \onlyamsfiledate, documentation - from \onlyamsdocdate.}} - \author{Harald Harders\\\texttt{h.harders@tu-bs.de}} - \date{File date \onlyamsfiledate, compiled \today} \DocInput{onlyamsmath.dtx} \end{document} %</driver> % \fi % +% \changes{0.10}{2012/01/01}{Explicitly state date and version in +% \cs{ProvidesPackage} statement} +% \changes{0.10}{2012/01/01}{Update documentation} +% \changes{0.10}{2012/01/01}{Update e-mail address} % \changes{0.01}{2001/09/21}{First version} % % \maketitle @@ -65,7 +62,7 @@ % \tableofcontents % % \section*{Copyright} -% Copyright 2001 Harald Harders. +% Copyright 2001, 2012 Harald Harders. % % This program can be redistributed and/or modified under the terms % of the LaTeX Project Public License Distributed from CTAN @@ -84,6 +81,7 @@ % a=b\,. % $$ % +% \DescribeMacro{eqnarray} % One further option is \verb|eqnarray| to switch off % the |eqnarray| and |eqnarray*| environments that add an unwished % space before and after the aligned part of the formula as shown @@ -97,6 +95,7 @@ % a&=b\,. % \end{align*} % +% \DescribeMacro{all} % The most brutal option is |all| that inhibits the writer to use any % of the \TeX\ and \LaTeX\ math environments for non-inlined equations % I know (|$$|\dots|$$|, |eqnarray|, |eqnarray*|, |displaymath|. @@ -109,12 +108,14 @@ % variant. See the User's Guide of the |amsmath| package for further % details \cite{amsmath1999}. % +% \DescribeMacro{error} % There are two more options that control the behaviour of the package % if you still use one of the ``forbidden'' environments. % If using |error| which is the default \LaTeX\ generates an error % message that reminds you to use the environments of the |amsmath| % package. % +% \DescribeMacro{warning} % If using |warning| \LaTeX\ only produces warnings and proceeds. % % \section*{Acknowledgement} @@ -129,15 +130,16 @@ % \StopEventually{\PrintBibliography \PrintChanges \PrintIndex} % % \section{The implementation} -% \iffalse -%<*package> -% \fi % % Package header: % \begin{macrocode} -\ProvidesPackage{onlyamsmath}[\onlyamsfiledate\space -v\onlyamsversion\space destroy the standard math environments] +%<package>\ProvidesPackage{onlyamsmath} +%<version>\ProvidesFile{onlyamsmath-v.tex} +%<package,version> [2012/01/01 v0.10 Destroy the standard math environments] % \end{macrocode} +% \iffalse +%<*package> +% \fi % Load |amsmath| package: % \begin{macrocode} \RequirePackage{amsmath} |