diff options
Diffstat (limited to 'Master/texmf-dist/source/latex/amscls/amsdtx.dtx')
-rw-r--r-- | Master/texmf-dist/source/latex/amscls/amsdtx.dtx | 127 |
1 files changed, 79 insertions, 48 deletions
diff --git a/Master/texmf-dist/source/latex/amscls/amsdtx.dtx b/Master/texmf-dist/source/latex/amscls/amsdtx.dtx index cd9bb13b2c2..7825a7028b4 100644 --- a/Master/texmf-dist/source/latex/amscls/amsdtx.dtx +++ b/Master/texmf-dist/source/latex/amscls/amsdtx.dtx @@ -1,62 +1,60 @@ -%%% ==================================================================== -%%% @LaTeX-file{ -%%% filename = "amsdtx.dtx", -%%% version = "2.06", -%%% date = "2004/08/06", -%%% time = "12:18:49 EDT", -%%% checksum = "19929 1192 3506 39423", -%%% author = "Michael J. Downes, updated by David M. Jones", -%%% copyright = "Copyright 1996, 1999, 2004 -%%% American Mathematical Society, -%%% all rights reserved. Copying of this file is -%%% authorized only if either: -%%% (1) you make absolutely no changes to your copy, -%%% including name; OR -%%% (2) if you do make changes, you first rename it -%%% to some other name.", -%%% address = "American Mathematical Society, -%%% Technical Support, -%%% Publications Technical Group, -%%% 201 Charles Street, -%%% Providence, RI 02904, -%%% USA", -%%% telephone = "401-455-4080 or (in the USA and Canada) -%%% 800-321-4AMS (321-4267)", -%%% FAX = "401-331-3842", -%%% email = "tech-support@ams.org (Internet)", -%%% codetable = "ISO/ASCII", -%%% keywords = "latex, amslatex, ams-latex, user documentation", -%%% supported = "yes", -%%% abstract = "This is the source for two document classes, amsdtx -%%% and amsldoc, used to produce AMS user documentation -%%% or technical documentation.", -%%% docstring = "The checksum field above contains a CRC-16 -%%% checksum as the first value, followed by the -%%% equivalent of the standard UNIX wc (word -%%% count) utility output of lines, words, and -%%% characters. This is produced by Robert -%%% Solovay's checksum utility.", -%%% } -%%% ==================================================================== +% \def\filename{amsdtx.dtx} +% \def\fileversion{2.07} +% \def\filedate{2009/08/19} +% +% \iffalse meta-comment +% +% American Mathematical Society +% Technical Support +% Publications Technical Group +% 201 Charles Street +% Providence, RI 02904 +% USA +% tel: (401) 455-4080 +% (800) 321-4267 (USA and Canada only) +% fax: (401) 331-3842 +% email: tech-support@ams.org +% +% Copyright 1996, 1999, 2004, 2009 American Mathematical Society. +% +% This work may be distributed and/or modified under the +% conditions of the LaTeX Project Public License, either version 1.3c +% 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.3c or later is part of all distributions of LaTeX +% version 2005/12/01 or later. +% +% This work has the LPPL maintenance status `maintained'. +% +% The Current Maintainer of this work is the American Mathematical +% Society. +% +% \fi % % \iffalse % The following section of code makes this file self-printable. %<*driver> \NeedsTeXFormat{LaTeX2e} \documentclass{amsdtx} -\newcommand{\rp}{\let\PBS\\\raggedright\let\\\PBS} -\makeindex +\newcommand{\rp}{\let\PBS\\\raggedright\let\\\PBS} \CodelineIndex \begin{document} + \title{The \cls{amsldoc} and \cls{amsdtx} document classes} + \author{American Mathematical Society\\Michael Downes\\ updated by David M. Jones} + \date{Version \fileversion, \filedate} -\hDocInput{amsdtx.dtx} + +\DocInput{amsdtx.dtx} + \PrintIndex + \end{document} %</driver> % \fi @@ -79,7 +77,6 @@ % % \begin{table} % \caption{Features of the \cls{amsldoc} and \cls{amsdtx} classes} -% \newcommand{\rpth}{\rp{.75}} % \centering % \begin{tabular}{lp{.65\columnwidth}} % Command Name& Purpose\\ @@ -122,10 +119,10 @@ \NeedsTeXFormat{LaTeX2e}% LaTeX 2.09 can't be used (nor non-LaTeX) [1995/06/01]% LaTeX date must be June 1995 or later %<*amsldoc> -\ProvidesClass{amsldoc}[2004/08/06 v2.06] +\ProvidesClass{amsldoc}[2009/08/19 v2.07] %</amsldoc> %<*amsdtx> -\ProvidesClass{amsdtx}[2004/08/06 v2.06] +\ProvidesClass{amsdtx}[2009/08/19 v2.07] %</amsdtx> % \end{macrocode} % @@ -320,6 +317,29 @@ \let\cn\cs % \end{macrocode} % +% \begin{macro}{\embrace} +% \begin{macrocode} +\DeclareTextSymbol{\lbracechar}{OT1}{123} +\DeclareTextSymbolDefault{\lbracechar}{OT1} +\DeclareTextSymbol{\rbracechar}{OT1}{125} +\DeclareTextSymbolDefault{\rbracechar}{OT1} + +\providecommand{\embrace}[1]{% + \begingroup \ntt\lbracechar#1\rbracechar\endgroup} +% \end{macrocode} +% \end{macro} +% +% One mandatory argument: cnm; two: cnmm; one optional and one +% mandatory: cnom; throwing in a star: cnsom; and so on. +% \begin{macrocode} +\providecommand{\cnbreak}{\penalty999\hskip0pt\relax} +\providecommand{\cnm}[2]{\cn{#1}\cnbreak\embrace{#2}} +\providecommand{\cnmm}[3]{\cn{#1}\cnbreak\embrace{#2}\cnbreak\embrace{#3}} +\providecommand{\cnom}[1]{\cn{#1}\cnbreak\ommitude} +\providecommand{\ommitude}[2][]{{\ntt[#1]}\cnbreak\embrace{#2}} +\providecommand{\cnmsm}[4]{% + \cn{#1}\cnbreak\embrace{#2}\cnbreak *\embrace{#4}} +% \end{macrocode} % The following items should not normally appear in math mode so they % don't need to call \cs{@boxorbreak}. % @@ -1118,6 +1138,15 @@ %</amsdtx> % \end{macrocode} % +% +% \section{Hyphenation exceptions} +% +% \begin{macrocode} +\hyphenation{base-line-skip} +% \end{macrocode} +% +% \section{Index exceptions} +% % A bunch of stuff we don't want in code indexes: % \begin{macrocode} %<*amsdtx> @@ -1132,7 +1161,9 @@ \DoNotIndex{\@ifnextchar,\@ifstar,\@ifundefined,\@input,\@latexerr} \DoNotIndex{\@makeschapterhead,\@namedef,\@nameuse,\@nil} \DoNotIndex{\@nobreakfalse,\@restonecolfalse,\@restonecoltrue} -\DoNotIndex{\@tempa,\@tempb,\@tempc,\@tempf,\@temptokena,\@themark,\@width} +\DoNotIndex{\@tempa,\@tempb,\@tempc,\@tempf} +\DoNotIndex{\@temptokena,\@temptokenb} +\DoNotIndex{\@themark,\@width} \DoNotIndex{\active,\aindex,\baselineskip,\begin,\begingroup,\box} \DoNotIndex{\c@page,\catcode,\chapter,\char,\chardef,\closeout} \DoNotIndex{\CodelineIndex,\sp,\sb,\label,\leavevmode,\mark} @@ -1188,5 +1219,5 @@ % |\penalty\exhyphenpenalty| to \cs{mdash} and \cs{ndash} as per % \pkg{textcmds}.} % -% \CheckSum{1516} +% \CheckSum{1569} % \Finale |