| 1 |
% \iffalse |
| 2 |
% $Id: ijmart.dtx,v 1.52 2013-06-25 03:33:52 boris Exp $ |
| 3 |
% |
| 4 |
% Copyright 2007-2010, The Hebrew University Magnes Press |
| 5 |
% This work may be distributed and/or modified under the |
| 6 |
% conditions of the LaTeX Project Public License, either |
| 7 |
% version 1.3 of this license or (at your option) any |
| 8 |
% later version. |
| 9 |
% The latest version of the license is in |
| 10 |
% http://www.latex-project.org/lppl.txt |
| 11 |
% and version 1.3 or later is part of all distributions of |
| 12 |
% LaTeX version 2005/12/01 or later. |
| 13 |
% |
| 14 |
% This work has the LPPL maintenance status `maintained'. |
| 15 |
% |
| 16 |
% The Current Maintainer of this work is Boris Veytsman, |
| 17 |
% <[email protected]> |
| 18 |
% |
| 19 |
% This work consists of the file ijmart.dtx and the |
| 20 |
% derived file ijmart.cls |
| 21 |
% |
| 22 |
% \fi |
| 23 |
% \CheckSum{861} |
| 24 |
% |
| 25 |
% |
| 26 |
%% \CharacterTable |
| 27 |
%% {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 |
| 28 |
%% 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 |
| 29 |
%% Digits \0\1\2\3\4\5\6\7\8\9 |
| 30 |
%% Exclamation \! Double quote \" Hash (number) \# |
| 31 |
%% Dollar \$ Percent \% Ampersand \& |
| 32 |
%% Acute accent \' Left paren \( Right paren \) |
| 33 |
%% Asterisk \* Plus \+ Comma \, |
| 34 |
%% Minus \- Point \. Solidus \/ |
| 35 |
%% Colon \: Semicolon \; Less than \< |
| 36 |
%% Equals \= Greater than \> Question mark \? |
| 37 |
%% Commercial at \@ Left bracket \[ Backslash \\ |
| 38 |
%% Right bracket \] Circumflex \^ Underscore \_ |
| 39 |
%% Grave accent \` Left brace \{ Vertical bar \| |
| 40 |
%% Right brace \} Tilde \~} |
| 41 |
% |
| 42 |
%\iffalse |
| 43 |
% Taken from xkeyval.dtx |
| 44 |
%\fi |
| 45 |
%\makeatletter |
| 46 |
%\def\DescribeOption#1{\leavevmode\@bsphack |
| 47 |
% \marginpar{\raggedleft\PrintDescribeOption{#1}}% |
| 48 |
% \SpecialOptionIndex{#1}\@esphack\ignorespaces} |
| 49 |
%\def\PrintDescribeOption#1{\strut\emph{option}\\\MacroFont #1\ } |
| 50 |
%\def\SpecialOptionIndex#1{\@bsphack |
| 51 |
% \index{#1\actualchar{\protect\ttfamily#1} |
| 52 |
% (option)\encapchar usage}% |
| 53 |
% \index{options:\levelchar#1\actualchar{\protect\ttfamily#1}\encapchar |
| 54 |
% usage}\@esphack} |
| 55 |
%\def\DescribeOptions#1{\leavevmode\@bsphack |
| 56 |
% \marginpar{\raggedleft\strut\emph{options}% |
| 57 |
% \@for\@tempa:=#1\do{% |
| 58 |
% \\\strut\MacroFont\@tempa\SpecialOptionIndex\@tempa |
| 59 |
% }}\@esphack\ignorespaces} |
| 60 |
%\makeatother |
| 61 |
% |
| 62 |
% \MakeShortVerb{|} |
| 63 |
% \GetFileInfo{ijmart.dtx} |
| 64 |
% \newcommand{\progname}[1]{\textsf{#1}} |
| 65 |
% \title{\LaTeX{} Class for \emph{The Israel Journal of Mathematics}\thanks{\copyright 2007, The Hebrew University Magnes Press}} |
| 66 |
% \author{Boris Veytsman\thanks{% |
| 67 |
% \href{mailto:[email protected]}{\texttt{[email protected]}}, |
| 68 |
% \href{mailto:[email protected]}{\texttt{[email protected]}}}} |
| 69 |
% \date{\filedate, \fileversion} |
| 70 |
% \maketitle |
| 71 |
% \begin{abstract} |
| 72 |
% This package provides a class for typesetting articles for |
| 73 |
% \emph{The Israel Journal of Mathematics} |
| 74 |
% \end{abstract} |
| 75 |
% \tableofcontents |
| 76 |
% |
| 77 |
% \clearpage |
| 78 |
% |
| 79 |
% \changes{v0.2}{2007/08/20}{First fully functional version} |
| 80 |
% \changes{v0.3}{2007/08/23}{Documentation update} |
| 81 |
% \changes{v1.0}{2007/09/03}{Documentation update} |
| 82 |
% \changes{v1.1a}{2007/10/14}{Documentation update} |
| 83 |
% \changes{v1.3}{2008/01/27}{Documented the use of qedhere and mqedhere} |
| 84 |
% \changes{v1.6}{2010/10/28}{Documentation updates: illustrations and |
| 85 |
% bibliography} |
| 86 |
% \changes{v1.7}{2013/06/23}{Change in a sample file} |
| 87 |
% |
| 88 |
%\section{Introduction} |
| 89 |
%\label{sec:intro} |
| 90 |
% |
| 91 |
% \emph{The Israel Journal of Mathematics} is published by \emph{The |
| 92 |
% Hebrew University Magnes Press}. This class provides \LaTeX{} |
| 93 |
% support for its authors and editors. It strives to achieve the |
| 94 |
% distinct ``look and feel'' of the journal, while having the |
| 95 |
% interface similar to the one of the \progname{amsart} document |
| 96 |
% class~\cite{Downes04:amsart}. This will help the authors already |
| 97 |
% familiar with \progname{amsart} to easily submit manuscripts for \emph{The |
| 98 |
% Israel Journal of Mathematics} or to put the preprints in |
| 99 |
% \url{http://www.arxiv.org} with minimal changes in the \LaTeX{} |
| 100 |
% source. |
| 101 |
% |
| 102 |
% This goal determined the implementation approach. We load the |
| 103 |
% \progname{amsart} class and redefine some of its internals on the fly. There |
| 104 |
% are some additional commands added to support the features specific |
| 105 |
% to the journal, but we aimed to keep their number minimal. |
| 106 |
% |
| 107 |
% An author well acquainted with AMS\LaTeX{} should find this package |
| 108 |
% easy to use and configurable. The User Manual below illustrates the |
| 109 |
% basic use of the class and discusses the differences with \progname{amsart}. |
| 110 |
% For an in-depth tutorial of AMS\LaTeX{} I could recommend the |
| 111 |
% excellent book~\cite{Graetzer00:MathIntoLaTeX}. |
| 112 |
% |
| 113 |
% |
| 114 |
%\section{User's Guide} |
| 115 |
%\label{sec:manual} |
| 116 |
% |
| 117 |
% |
| 118 |
%\subsection{Installation} |
| 119 |
%\label{sec:installation} |
| 120 |
% |
| 121 |
% The installation of the class follows the usual |
| 122 |
% practice~\cite{TeXFAQ} for \LaTeX{} packages: |
| 123 |
% \begin{enumerate} |
| 124 |
% \item Run \progname{latex} on |ijmart.ins|. This will produce the file |
| 125 |
% |ijmart.cls|. |
| 126 |
% \item Put the files |ijmart.cls| and |ijmart.bst| to |
| 127 |
% the places where \LaTeX{} and Bib\TeX{} can find them (see |
| 128 |
% \cite{TeXFAQ} or the documentation for your \TeX{} |
| 129 |
% system).\label{item:install} |
| 130 |
% \item Update the database of file names. Again, see \cite{TeXFAQ} |
| 131 |
% or the documentation for your \TeX{} system for the system-specific |
| 132 |
% details.\label{item:update} |
| 133 |
% \item The file |ijmart.pdf| provides the documentation for the |
| 134 |
% package (this is the file you are probably reading now). |
| 135 |
% \end{enumerate} |
| 136 |
% As an alternative to items~\ref{item:install} and~\ref{item:update} |
| 137 |
% you can just put the files in the working directory where your |
| 138 |
% |.tex| file is. |
| 139 |
% |
| 140 |
% |
| 141 |
% The class uses some other \LaTeX{} classes or packages. Most |
| 142 |
% probably, they are already installed on your system. If not (or if |
| 143 |
% their versions are very old), you need to download and |
| 144 |
% install them. Here is the list: |
| 145 |
% \begin{enumerate} |
| 146 |
% \item \progname{amsart} class and related packages~\cite{Downes04:amsart}, |
| 147 |
% \item \progname{ifpdf} package~\cite{Oberdiek06:Ifpdf}, |
| 148 |
% \item \progname{fancyhdr} package~\cite{Oostrum04:Fancyhdr}, |
| 149 |
% \item \progname{lastpage} package~\cite{Goldberg94:Lastpage}. |
| 150 |
% \end{enumerate} |
| 151 |
% |
| 152 |
% |
| 153 |
%\subsection{Invocation} |
| 154 |
%\label{sec:invocation} |
| 155 |
% |
| 156 |
% To use the class, put in the preamble of your document |
| 157 |
% \begin{flushleft} |
| 158 |
% |\documentclass[|\meta{options}|]{ijmart}| |
| 159 |
% \end{flushleft} |
| 160 |
% The class internally loads \progname{amsart}, so all facilities of |
| 161 |
% \progname{amsart}~\cite{Graetzer00:MathIntoLaTeX, amsldoc} can be used in the |
| 162 |
% source. |
| 163 |
% |
| 164 |
% |
| 165 |
% \DescribeOption{french} |
| 166 |
% Most of the options are just passed to |
| 167 |
% \progname{amsart} (see~\cite{Graetzer00:MathIntoLaTeX, amsldoc} for their |
| 168 |
% description). The class \progname{ijmart} adds one new option |french|. If |
| 169 |
% it is chosen, some words in the top matter will be typeset in |
| 170 |
% French. Note that this option does \emph{not} change the names of |
| 171 |
% the table of contents and references. An author should also include |
| 172 |
% a call, for example, to the Babel package~\cite{Braams05:Babel}, |
| 173 |
% which takes care of these and other details of international |
| 174 |
% typesetting. |
| 175 |
% |
| 176 |
% If the author indeed chooses \progname{babel}, then the option |
| 177 |
% |french| is passed to the package. Therefore the following works: |
| 178 |
% \begin{verbatim} |
| 179 |
% \documentclass[french]{ijmart} |
| 180 |
% \usepackage{babel} % the french option is passed to the package |
| 181 |
% \end{verbatim} |
| 182 |
% Please note that \progname{babel} scans the global options first, |
| 183 |
% but the main language of the document must be the last one. |
| 184 |
% Therefore if the paper is written in French, but uses English |
| 185 |
% quotations, the proper way to call \progname{babel} is the following: |
| 186 |
% \begin{verbatim} |
| 187 |
% \documentclass[french]{ijmart} |
| 188 |
% \usepackage[english,french]{babel} |
| 189 |
% \end{verbatim} |
| 190 |
% |
| 191 |
% |
| 192 |
% |
| 193 |
% By default \progname{babel} redefines French captions for figures |
| 194 |
% and tables to use \textsc{Fig.} and \textsc{Tab.} correspondingly. |
| 195 |
% If this is not |
| 196 |
% acceptable, the authors should add to the preamble \emph{after} the |
| 197 |
% call to \progname{babel} the following: |
| 198 |
% \begin{verbatim} |
| 199 |
% \addto\captionsfrench{% |
| 200 |
% \renewcommand{\figurename}{Figure}% |
| 201 |
% \renewcommand{\tablename}{Table}}% |
| 202 |
% \end{verbatim} |
| 203 |
% |
| 204 |
% \DescribeOptions{draft,final} |
| 205 |
% The options |draft| and |final| work in the same way as for |
| 206 |
% \progname{amsart} and standard \LaTeX. If the option |draft| is |
| 207 |
% chosen, the overfull lines are marked by black boxes on the margins |
| 208 |
% \emph{and} the |\includegraphics| prints blank placeholders for the |
| 209 |
% images. The option |final| (default) switches off the marking of |
| 210 |
% overfull lines and restores the behavior of |\includegraphics|. To |
| 211 |
% switch on just the overfull marks, without changing the behavior of |
| 212 |
% |\includegraphics|, one can either explicitly pass the option final |
| 213 |
% to \progname{graphics} package: |
| 214 |
% \begin{verbatim} |
| 215 |
% \documentclass[draft]{ijmart} |
| 216 |
% \usepackage[final]{graphics} |
| 217 |
% \end{verbatim} |
| 218 |
% or add in the beginning of the document |
| 219 |
% \begin{verbatim} |
| 220 |
% \overfullrule=5pt |
| 221 |
% \end{verbatim} |
| 222 |
% |
| 223 |
% |
| 224 |
% |
| 225 |
% \DescribeOptions{8pt,9pt,10pt,11pt,12pt} |
| 226 |
% The size-changing options of \progname{amsart} class (|8pt|, |9pt|, |
| 227 |
% \dots, |12pt|) have no effect other than producing a warning in the |
| 228 |
% log since the journal is designed for |
| 229 |
% only one type size (roughly corresponding to |10pt| of |
| 230 |
% \progname{amsart}). |
| 231 |
% |
| 232 |
% |
| 233 |
% |
| 234 |
% The journal uses a special paper size. If you process the |
| 235 |
% manuscript with \progname{pdflatex} to produce PDF output, the paper |
| 236 |
% dimensions will be automatically set up by the class. However, if |
| 237 |
% you use \progname{latex} and \progname{dvips}, you need to tell |
| 238 |
% \progname{dvips} what paper size to choose. One way to do this is |
| 239 |
% to add to the \progname{dvips} options the following: |
| 240 |
% \begin{verbatim} |
| 241 |
% -T 5.964in,8.844in -O -0in,0.1in |
| 242 |
% \end{verbatim} |
| 243 |
% |
| 244 |
% |
| 245 |
%\subsection{Top Matter} |
| 246 |
%\label{sec:top_matter} |
| 247 |
% |
| 248 |
% Top matter contains the information about the paper: authors, title, |
| 249 |
% affiliations, etc. The interface for \progname{ijmart} top matter is very |
| 250 |
% close to the one used by \progname{amsart}. We added a couple of commands to |
| 251 |
% deal with the information specific to the \emph{The Israel Journal of |
| 252 |
% Mathematics} and changed the behavior of several other commands to |
| 253 |
% suit the style of the journal. These changes are documented below. |
| 254 |
% |
| 255 |
% There are two kinds of top matter commands: the ones used primarily |
| 256 |
% for authors and the ones used primarily for editors. We describe |
| 257 |
% them separately. |
| 258 |
% |
| 259 |
% |
| 260 |
%\subsubsection{Commands for Authors} |
| 261 |
%\label{sec:authors_commands} |
| 262 |
% |
| 263 |
% \DescribeMacro{\title} |
| 264 |
% The command |\title|, as in \progname{amsart} class, has two arguments: one |
| 265 |
% optional, and one mandatory: |
| 266 |
% \begin{flushleft} |
| 267 |
% |\title[|\meta{ShortTitle}|]{|\meta{FullTitle}|}| |
| 268 |
% \end{flushleft} |
| 269 |
% The mandatory argument is the full title of the article. The |
| 270 |
% optional argument, if present, defines the shorter version of the |
| 271 |
% title for running heads. If the optional argument is absent, the |
| 272 |
% full title is used instead. Note that the titles are typeset in |
| 273 |
% upper case, but you do not need to input them in capital letters: |
| 274 |
% the class does the conversion automatically. |
| 275 |
% |
| 276 |
% The optional argument should be used in two cases: when the full |
| 277 |
% title is too long to fit in the running head, \emph{and} when the |
| 278 |
% author wants to add a footnote or linebreaks to the title. Unlike |
| 279 |
% \progname{amsart}, \progname{ijmart} allows the command |\thanks| |
| 280 |
% inside |\title| and |\author| commands. However, the footnote |
| 281 |
% belongs to the title typeset in the top matter, not to the running |
| 282 |
% head version. The optional argument in this case helps, as in the |
| 283 |
% following example: |
| 284 |
% \begin{verbatim} |
| 285 |
% \title[Some properties of $\sigma$-algebras]{% |
| 286 |
% Some properties of $\sigma$-algebras\thanks{% |
| 287 |
% The work was supported by grant from NSF No.~123456789-MMMM}} |
| 288 |
% \end{verbatim} |
| 289 |
% The line breaks in the title, if neccessary, are introduced by the |
| 290 |
% command |\linebreak| in the second (mandatory) argument of |\title|: |
| 291 |
% \begin{verbatim} |
| 292 |
% \title[Title with line breaks]{Title \linebreak with line breaks} |
| 293 |
% \end{verbatim} |
| 294 |
% |
| 295 |
% |
| 296 |
% |
| 297 |
% |
| 298 |
% \DescribeMacro{\author} \DescribeMacro{\address} |
| 299 |
% \DescribeMacro{\curraddr} \DescribeMacro{\email} |
| 300 |
% \DescribeMacro{\urladdr} The interface for specifying the authors |
| 301 |
% and their affiliations is close the the one of |
| 302 |
% \progname{amsart}~\cite{instr-l} (and different from the standard \LaTeX). |
| 303 |
% For each author a separate command |\author| should be used, |
| 304 |
% followed by |\address| and (optionally) |\curraddr|, |\email| and |
| 305 |
% |\urladdr|. The lines in the address should be divided by |\\|. |
| 306 |
% Like the newer versions of \progname{amsart}, \progname{ijmart} does |
| 307 |
% \emph{not} |
| 308 |
% require the doubling of the |@| symbols in the e-mail addresses. |
| 309 |
% The macro |\author| has two arguments, similarly to |\title|: |
| 310 |
% \begin{flushleft} |
| 311 |
% |\author[|\meta{AbbrevName}|]{|\meta{FullName}|}| |
| 312 |
% \end{flushleft} |
| 313 |
% The optional argument defines the shorter form of the author's name |
| 314 |
% to be included in the running head. Similarly to |\title|, the |
| 315 |
% command |\author| allows the use of |\thanks|. Again, to show that |
| 316 |
% the footnote does not belong to the running head, the optional |
| 317 |
% argument is used. |
| 318 |
% |
| 319 |
% \DescribeMacro{\shortauthors} |
| 320 |
% In some cases the authors list may be too long for the running head, |
| 321 |
% even if the abbreviated forms are used for each author. In this |
| 322 |
% case it is possible to change the running head by a |
| 323 |
% \emph{redefinition} of the command |\shortauthors|. This |
| 324 |
% redefinition must be done after all |\author| commands, but before |
| 325 |
% |\maketitle|: |
| 326 |
% \begin{verbatim} |
| 327 |
% \renewcommand{\shortauthors}{A.~Smith et al} |
| 328 |
% \end{verbatim} |
| 329 |
% |
| 330 |
% |
| 331 |
% \DescribeMacro{\thanks} |
| 332 |
% As discussed above, the behavior of the |\thanks| command in |
| 333 |
% \progname{ijmart} is different from the one in \progname{amsart}. |
| 334 |
% This command is |
| 335 |
% allowed within the scope of the top matter commands. If it is used |
| 336 |
% in the scope of the main argument of the commands |\author| and |
| 337 |
% |\title|, the optional argument should be used to correctly typeset |
| 338 |
% the running heads. |
| 339 |
% |
| 340 |
% Sometimes it is necessary to have a |\thanks| footnote referring to |
| 341 |
% more than one author. In this case the usual \LaTeX{} command |
| 342 |
% |\footnotemark|\oarg{number} can help: |
| 343 |
% \begin{verbatim} |
| 344 |
% \author{A.~Uthor\thanks{The first and the third author were |
| 345 |
% supported by NSA grant~123456789} |
| 346 |
% \author{W.~Riter\thanks{The second author was supported by NSF |
| 347 |
% grant~987654321} |
| 348 |
% \author{C.~Orrespondent\footnotemark[1]} |
| 349 |
% \address{Noname University\\ Nowhere, RI\\ USA} |
| 350 |
% \email{[email protected], [email protected] and |
| 351 |
% [email protected]} |
| 352 |
% \end{verbatim} |
| 353 |
% |
| 354 |
% The command |\title| might have no more than one |\thanks| command |
| 355 |
% in its scope. |
| 356 |
% |
| 357 |
% \DescribeEnv{abstract} |
| 358 |
% The abstract of the paper must be put between |\begin{abstract}| and |
| 359 |
% |\end{abstract}|. Note that to change the abstract name to |
| 360 |
% R\'esum\'e, the authors should use Babel. Similarly to \progname{amsart} |
| 361 |
% class, abstract must precede |\maketitle|. |
| 362 |
% |
| 363 |
% \DescribeMacro{\maketitle} |
| 364 |
% The macro |\maketitle| typesets the top matter. All top matter |
| 365 |
% information should be specified before this command. |
| 366 |
% |
| 367 |
% \DescribeMacro{\tableofcontents} |
| 368 |
% \changes{v1.2}{2007/11/14}{Added documentation for table of contents |
| 369 |
% formatting} |
| 370 |
% The authors are encouraged to include |\tableofcontents| for long |
| 371 |
% papers. By default only the sections are included in the table. If |
| 372 |
% the authors wish to have a more detailed table of contents, they |
| 373 |
% could change the counter |tocdepth|, for example: |
| 374 |
% \begin{verbatim} |
| 375 |
% \setcounter{tocdepth}{1} % The default: only sections are included |
| 376 |
% \setcounter{tocdepth}{2} % Sections and subsections |
| 377 |
% \setcounter{tocdepth}{3} % Sections, subsections and subsubsections |
| 378 |
% ... |
| 379 |
% \end{verbatim} |
| 380 |
% If |tocdepth| is greater than the default value of 1, the formatting |
| 381 |
% of the table of contents changes: the section entries then are |
| 382 |
% typeset bold. |
| 383 |
% |
| 384 |
% |
| 385 |
%\subsubsection{Commands for Editors} |
| 386 |
%\label{sec:editors_commands} |
| 387 |
% |
| 388 |
% The commands described in this section should be used by the editors |
| 389 |
% to insert the information about the published paper. They must be |
| 390 |
% put before the |\maketitle| command. |
| 391 |
% |
| 392 |
% \DescribeMacro{\issueinfo} |
| 393 |
% The command |\issueinfo| has the same format as in the \progname{amsart} |
| 394 |
% document class: |
| 395 |
% \begin{flushleft} |
| 396 |
% |\issueinfo{|\meta{volume}|}{|\meta{number}|}{|\meta{month}|}{|\meta{year}|}| |
| 397 |
% \end{flushleft} |
| 398 |
% Note that at present the class uses only the first and the last |
| 399 |
% arguments of this command (volume and year) for the actual typesetting. |
| 400 |
% However, we keep the original format of this command, first, for |
| 401 |
% compatibility reasons, and second, to facilitate a possible automatic |
| 402 |
% processing of journal issues in the future. |
| 403 |
% |
| 404 |
% Example of this command: |
| 405 |
% \begin{verbatim} |
| 406 |
% \issueinfo{159}{1}{January}{2007} |
| 407 |
% \end{verbatim} |
| 408 |
% |
| 409 |
% |
| 410 |
% \DescribeMacro{\pagespan} |
| 411 |
% The command |\pagespan| has two arguments, setting the first and the |
| 412 |
% last page numbers of the article. If the last argument is empty, the last |
| 413 |
% page number is calculated automatically. If the first argument is |
| 414 |
% negative, the page numbering is done in Roman numerals, for example, |
| 415 |
% for editorial materials. Here are examples of this command: |
| 416 |
% \begin{verbatim} |
| 417 |
% \pagespan{5}{15} % Explicit page span |
| 418 |
% \pagespan{5}{} % The last page is calculated automatically |
| 419 |
% \pagespan{-5}{} % Page numbers are Roman numerals v, vi, ... |
| 420 |
% \pagespan{-5}{xx} % Page numbers are Roman numerals v, vi, ..., xx |
| 421 |
% \end{verbatim} |
| 422 |
% |
| 423 |
% \DescribeMacro{\date} |
| 424 |
% The command |\date| is used to put the editorial information |
| 425 |
% about the manuscript, usually the date when the manuscript was |
| 426 |
% received. For example: |
| 427 |
% \begin{verbatim} |
| 428 |
% \date{Received March 12, 2006 and in revised form December 6, 2006.} |
| 429 |
% \end{verbatim} |
| 430 |
% |
| 431 |
% \DescribeMacro{\doiinfo} |
| 432 |
% The command |\doiinfo| is used to specify the DOI number of the |
| 433 |
% article, for example |
| 434 |
% \begin{verbatim} |
| 435 |
% \doiinfo{10.1007/s11856-007-0037-3} |
| 436 |
% \end{verbatim} |
| 437 |
% |
| 438 |
% |
| 439 |
% |
| 440 |
%\subsection{Theorems, Lemmas, etc.} |
| 441 |
% \label{sec:ijmthm_descr} |
| 442 |
% |
| 443 |
% \changes{v1.1}{2007/09/30}{Updated documentation for theorems} |
| 444 |
% |
| 445 |
% The class \progname{amsart} defines three theorem styles: |plain|, |
| 446 |
% |remark| and |definition|. They are redefined by \progname{ijmart} |
| 447 |
% to conform to the style of \emph{The Israel Jorunal of Mathematics.} |
| 448 |
% Otherwise the usage of the theorem-like environments is the same as |
| 449 |
% for \progname{amsart}. Note that \emph{The Israel Journal of |
| 450 |
% Mathematics} usually recommends |definition| style for remarks, |
| 451 |
% while |remark| style is used for steps, facts, cases, etc. |
| 452 |
% |
| 453 |
% \DescribeMacro{\qedhere} |
| 454 |
% The environment |proof| has the same syntax and meaning as for |
| 455 |
% \progname{amsart} package. According to the journal style, the QED |
| 456 |
% symbol in proofs is not flushed left, like in \progname{amsart}, but |
| 457 |
% is typeset at the last line of the proof at some distance from the |
| 458 |
% text. If a proof ends by a nested environment, this might lead to |
| 459 |
% an ugly position of the QED symbol. The command |\qedhere| inside a |
| 460 |
% proof can be used to improve the situaiton\footnote{It is actually |
| 461 |
% defined in \progname{amsart} too, but is not documented in the |
| 462 |
% user's documentation there.}. It causes the immediate typesetting |
| 463 |
% of the QED symbol and deletes the QED symbol at the end of the |
| 464 |
% current proof. For example |
| 465 |
% \begin{verbatim} |
| 466 |
% \begin{proof} |
| 467 |
% This proof ends by an enumerated list: |
| 468 |
% \begin{enumerate} |
| 469 |
% \item Item |
| 470 |
% \item Item \qedhere |
| 471 |
% \end{enumerate} |
| 472 |
% \end{proof} |
| 473 |
% \end{verbatim} |
| 474 |
% Compare this to the similar code without |\qedhere|. |
| 475 |
% |
| 476 |
% The command |\qedhere| should be used if a proof ends by a math |
| 477 |
% display: |
| 478 |
% \begin{verbatim} |
| 479 |
% \begin{proof} |
| 480 |
% This proof ends by a displayed math: |
| 481 |
% \begin{gather} |
| 482 |
% a = b\\ |
| 483 |
% c = d\qedhere |
| 484 |
% \end{gather} |
| 485 |
% \end{proof} |
| 486 |
% \end{verbatim} |
| 487 |
% \DescribeMacro{\mqedhere} |
| 488 |
% The exception is the |multline| environment, where the special |
| 489 |
% version |\mqedhere| should be used: |
| 490 |
% \begin{verbatim} |
| 491 |
% \begin{proof} |
| 492 |
% This proof ends with a multline: |
| 493 |
% \begin{multline} |
| 494 |
% a = b + c + d + e + f + g + h + i +\\ |
| 495 |
% j + k + l + m + n + o + p + q +\\ |
| 496 |
% r + s + t + u + v + w + x + y + z\mqedhere |
| 497 |
% \end{multline} |
| 498 |
% \end{proof} |
| 499 |
% \end{verbatim} |
| 500 |
% |
| 501 |
% |
| 502 |
% \DescribeEnv{namedprop} |
| 503 |
% \DescribeEnv{namedprop*} |
| 504 |
% Sometimes authors use non-standard names for their theorem-like |
| 505 |
% propositions. The documentation~\cite{amsthdoc} recommends the use |
| 506 |
% of |\newtheorem*|: |
| 507 |
% \begin{verbatim} |
| 508 |
% \newtheorem*{KL}{Klein's Lemma} |
| 509 |
% \end{verbatim} |
| 510 |
% However, if the number of such special environments is large enough, |
| 511 |
% this might be too cumbersome. The package progname{ijmart} provides |
| 512 |
% two environments, |namedprop| and |namedprop*| to define such |
| 513 |
% these propositions on the fly. |
| 514 |
% |
| 515 |
% The environment |namedprop| is used for numbered named propositions |
| 516 |
% (admittedly such propositions are less frequent than unnumbered |
| 517 |
% ones). It has the following syntax: |
| 518 |
% \begin{quote} |
| 519 |
% |\begin{namedprop}|\marg{style}\marg{numbered-as}\marg{name}\oarg{note}\\ |
| 520 |
% \dots\\ |
| 521 |
% |\end{namedprop}| |
| 522 |
% \end{quote} |
| 523 |
% where |style| is the style of the proposition (|plain|, |remark|, |
| 524 |
% etc.), |nmubered-as| is the name of (already defined) theorem-like |
| 525 |
% environment, that shares the numbering with this proposition, |name| |
| 526 |
% is the name to use instead of ``Theorem'', ``Lemma'', and |note| is |
| 527 |
% the note after the heading. For example, |
| 528 |
% \begin{verbatim} |
| 529 |
% \begin{namedprop}{plain}{thm}{Klein's Lemma}[as restated in~\cite{a-l}] |
| 530 |
% ... |
| 531 |
% \end{namedprop} |
| 532 |
% \end{verbatim} |
| 533 |
% |
| 534 |
% The nevironment |\namedprop*| is used for \emph{unnumbered} named |
| 535 |
% propositions: |
| 536 |
% \begin{quote} |
| 537 |
% |\begin{namedprop*}|\marg{style}\marg{name}\oarg{note}\\ |
| 538 |
% \dots\\ |
| 539 |
% |\end{namedprop*}| |
| 540 |
% \end{quote} |
| 541 |
% For example, |
| 542 |
% \begin{verbatim} |
| 543 |
% \begin{namedprop*}{plain}{Klein's Lemma}[as restated in~\cite{a-l}] |
| 544 |
% ... |
| 545 |
% \end{namedprop*} |
| 546 |
% \end{verbatim} |
| 547 |
% |
| 548 |
% |
| 549 |
%\subsection{Bibliography} |
| 550 |
%\label{sec:bilbio} |
| 551 |
% |
| 552 |
% The sample paper in the distribution shows the journal style for the |
| 553 |
% list of references. For those authors who wish to use Bib\TeX, the |
| 554 |
% style |ijmart.bst| is included in the distribution. It should be |
| 555 |
% noted that the journal style requires full journal titles in |
| 556 |
% references. Following MathSciNet |
| 557 |
% (\url{http://www.ams.org/mathscinet/} conventions, the style |
| 558 |
% correctly processes article entries with both |journal| and |
| 559 |
% |fjournal| fields, for example |
| 560 |
% \begin{verbatim} |
| 561 |
% @article {MR2663320, |
| 562 |
% AUTHOR = {Farkas, J. Z. and Green, D. M. and Hinow, P.}, |
| 563 |
% TITLE = {Semigroup analysis of structured parasite populations}, |
| 564 |
% JOURNAL = {Math. Model. Nat. Phenom.}, |
| 565 |
% FJOURNAL = {Mathematical Modelling of Natural Phenomena}, |
| 566 |
% VOLUME = {5}, |
| 567 |
% YEAR = {2010}, |
| 568 |
% NUMBER = {3}, |
| 569 |
% PAGES = {94--114}, |
| 570 |
% ISSN = {0973-5348}, |
| 571 |
% MRCLASS = {92D25 (35B35 35Q92 47D06 47N60)}, |
| 572 |
% MRNUMBER = {2663320}, |
| 573 |
% DOI = {10.1051/mmnp/20105307}, |
| 574 |
% URL = {http://dx.doi.org/10.1051/mmnp/20105307}, |
| 575 |
% } |
| 576 |
% \end{verbatim} |
| 577 |
% If an entry has only the |journal| field, it is used for the journal |
| 578 |
% title. However, if the entry has also the |fjournal| field, the |
| 579 |
% style assumes that this field contains the full (unabbreviated) |
| 580 |
% title, and uses it for formatting bibliography. |
| 581 |
% |
| 582 |
%\subsection{Illustrations} |
| 583 |
%\label{sec:illustrations} |
| 584 |
% |
| 585 |
% The authors can use the \progname{graphics}, \progname{graphicx}, |
| 586 |
% \progname{PSTricks}, \progname{pgf/tikz}, \progname{Metapost} or |
| 587 |
% other tools to include illustrations |
| 588 |
% (see~\cite{Goossens97:LateXGraphicsCompanion} for a comprehensive |
| 589 |
% discussion of \LaTeX{} graphics possibilities). |
| 590 |
% |
| 591 |
% Note that the journal uses \progname{dvips} for internal processing. |
| 592 |
% If the authors submit their illustrations in the PNG, JPEG of PDF |
| 593 |
% formats, they are converted to the EPS format by the technical |
| 594 |
% editors. Sometimes this conversion may lead to the loss of quality |
| 595 |
% and resolution. Therefore the authors are advised to submit the |
| 596 |
% illustrations in the EPS format. |
| 597 |
% |
| 598 |
% |
| 599 |
% \StopEventually{% |
| 600 |
% \clearpage |
| 601 |
% \section{Acknowledgements} |
| 602 |
% \label{sec:acks} |
| 603 |
% |
| 604 |
% I am grateful to the editorial staff of \emph{the Israel Journal of |
| 605 |
% Mathematics} for the very careful copy editing of this manuscript |
| 606 |
% and their patient explanations of the requirements of the journal. |
| 607 |
% |
| 608 |
% The Editors of the Journal and our Magnes colleagues wish to thank |
| 609 |
% Professors Moshe Jarden and Gregory Cherlin for writing the original |
| 610 |
% Journal package when the Journal came into the ownership of Magnes |
| 611 |
% Press (in 1991). We would also like to thank Guy Jarden for his |
| 612 |
% meticulous work, and for keeping the IJM package updated throughout |
| 613 |
% the last 15 years. |
| 614 |
% |
| 615 |
% As a result of their efforts, the Journal was not only saved from |
| 616 |
% extinction, but it has expanded and is considered a leader in its |
| 617 |
% field. With the recent change in the production procedure to a more |
| 618 |
% global format, we have moved to another program, building on the |
| 619 |
% sturdy basis which they created. |
| 620 |
% |
| 621 |
% \bibliography{ijmart} |
| 622 |
% \bibliographystyle{unsrt}} |
| 623 |
% |
| 624 |
% \clearpage |
| 625 |
% |
| 626 |
% |
| 627 |
%\section{Implementation} |
| 628 |
%\label{sec:impl} |
| 629 |
% |
| 630 |
%\subsection{Identification} |
| 631 |
%\label{sec:ident} |
| 632 |
% |
| 633 |
% We start with the declaration who we are. Most |.dtx| files put |
| 634 |
% driver code in a separate driver file |.drv|. We roll this code into the |
| 635 |
% main file, and use the pseudo-guard |<gobble>| for it. |
| 636 |
% \begin{macrocode} |
| 637 |
%<class>\NeedsTeXFormat{LaTeX2e} |
| 638 |
%<*gobble> |
| 639 |
\ProvidesFile{ijmart.dtx} |
| 640 |
%</gobble> |
| 641 |
%<class>\ProvidesClass{ijmart} |
| 642 |
[2013/06/23 v1.7 Typesetting articles for The Israel Journal of Mathematics] |
| 643 |
% \end{macrocode} |
| 644 |
% |
| 645 |
% \begin{macro}{\@classname} |
| 646 |
% \changes{v0.3}{2007/08/24}{Introduced macro} |
| 647 |
% We also store the current class name in |\@classname|: |
| 648 |
% \begin{macrocode} |
| 649 |
%<class>\def\@classname{ijmart}% |
| 650 |
% \end{macrocode} |
| 651 |
% |
| 652 |
% \end{macro} |
| 653 |
% |
| 654 |
% |
| 655 |
% And the driver code: |
| 656 |
% \begin{macrocode} |
| 657 |
%<*gobble> |
| 658 |
\documentclass{ltxdoc} |
| 659 |
\usepackage{array} |
| 660 |
\usepackage{url,amsfonts} |
| 661 |
\usepackage[breaklinks,colorlinks,linkcolor=black,citecolor=black, |
| 662 |
pagecolor=black,urlcolor=black,hyperindex=false]{hyperref} |
| 663 |
\PageIndex |
| 664 |
\CodelineIndex |
| 665 |
\RecordChanges |
| 666 |
\EnableCrossrefs |
| 667 |
\begin{document} |
| 668 |
\DocInput{ijmart.dtx} |
| 669 |
\end{document} |
| 670 |
%</gobble> |
| 671 |
%<*class> |
| 672 |
% \end{macrocode} |
| 673 |
% |
| 674 |
% |
| 675 |
%\subsection{Options} |
| 676 |
%\label{sec:options} |
| 677 |
% |
| 678 |
% \begin{macro}{\ifijm@french} |
| 679 |
% First, the language option. We do not know whether the author |
| 680 |
% chooses to use \progname{babel}, so we define it in the way, which |
| 681 |
% is compatible with \progname{babel}, but works without it too. |
| 682 |
% \begin{macrocode} |
| 683 |
\newif\ifijm@french |
| 684 |
\ijm@frenchfalse |
| 685 |
\DeclareOption{french}{\ijm@frenchtrue} |
| 686 |
% \end{macrocode} |
| 687 |
% \end{macro} |
| 688 |
% |
| 689 |
% The size-changing options produce a warning: |
| 690 |
% \begin{macrocode} |
| 691 |
\long\def\ijm@size@warning#1{% |
| 692 |
\ClassWarning{\@classname}{Size-changing option #1 will not be |
| 693 |
honored}}% |
| 694 |
\DeclareOption{8pt}{\ijm@size@warning{\CurrentOption}}% |
| 695 |
\DeclareOption{9pt}{\ijm@size@warning{\CurrentOption}}% |
| 696 |
\DeclareOption{10pt}{\ijm@size@warning{\CurrentOption}}% |
| 697 |
\DeclareOption{11pt}{\ijm@size@warning{\CurrentOption}}% |
| 698 |
\DeclareOption{12pt}{\ijm@size@warning{\CurrentOption}}% |
| 699 |
% \end{macrocode} |
| 700 |
% |
| 701 |
% |
| 702 |
% |
| 703 |
% All other options are passed to \progname{amsart}: |
| 704 |
% \begin{macrocode} |
| 705 |
\DeclareOption*{\PassOptionsToClass{\CurrentOption}{amsart}} |
| 706 |
% \end{macrocode} |
| 707 |
% |
| 708 |
% Now we read the configuration file |
| 709 |
% \begin{macrocode} |
| 710 |
\InputIfFileExists{ijmart.cfg}{% |
| 711 |
\ClassInfo{ijmart}{% |
| 712 |
Loading configuration file ijmart.cfg}}{% |
| 713 |
\ClassInfo{ijmart}{% |
| 714 |
Configuration file ijmart.cfg is not found}} |
| 715 |
% \end{macrocode} |
| 716 |
% And process the options: |
| 717 |
% \begin{macrocode} |
| 718 |
\ProcessOptions\relax |
| 719 |
% \end{macrocode} |
| 720 |
% |
| 721 |
% |
| 722 |
%\subsection{Loading Class and Packages} |
| 723 |
%\label{sec:loading} |
| 724 |
% |
| 725 |
% We start with the base class |
| 726 |
% \begin{macrocode} |
| 727 |
\PassOptionsToClass{10pt}{amsart} |
| 728 |
\LoadClass{amsart} |
| 729 |
% \end{macrocode} |
| 730 |
% |
| 731 |
% A bunch of packages: |
| 732 |
% \begin{macrocode} |
| 733 |
\RequirePackage{ifpdf, fancyhdr, lastpage} |
| 734 |
% \end{macrocode} |
| 735 |
% |
| 736 |
%\subsection{Fonts} |
| 737 |
%\label{sec:fonts} |
| 738 |
% |
| 739 |
% The \progname{amsart} class defines several options for different |
| 740 |
% font sizes (10pt, 11pt, etc). We have just one design size for the |
| 741 |
% articles corresponding to the 10pt option of \progname{amsart}, but |
| 742 |
% with larger |\baselineskip|. |
| 743 |
% |
| 744 |
% \begin{macro}{\@typesizes} |
| 745 |
% \changes{v0.3}{2007/08/23}{Redefined \progname{amsart} defaults} |
| 746 |
% The font information in \progname{amsart} is stored in |
| 747 |
% |\@typesizes| macro. It has 11 typesizes: 5 below and 5 above |
| 748 |
% |\normalsize| . |
| 749 |
% \begin{macrocode} |
| 750 |
\def\@typesizes{% |
| 751 |
\or{5}{7}\or{6}{8}\or{7}{9}\or{8}{11.2}\or{9}{12.6}% |
| 752 |
\or{10}{14}% normalsize |
| 753 |
\or{\@xipt}{15}\or{\@xiipt}{16.8}\or{\@xivpt}{19.8}% |
| 754 |
\or{\@xviipt}{23.3}\or{\@xxpt}{28}}% |
| 755 |
\normalsize \linespacing=\baselineskip |
| 756 |
% \end{macrocode} |
| 757 |
% \end{macro} |
| 758 |
% |
| 759 |
% |
| 760 |
% |
| 761 |
%\subsection{Page Dimensions and Paragraphing} |
| 762 |
%\label{sec:page} |
| 763 |
% |
| 764 |
% \begin{macro}{\paperheight} |
| 765 |
% \begin{macro}{\paperwidth} |
| 766 |
% The journal has rather narrow pages: |
| 767 |
% \begin{macrocode} |
| 768 |
\setlength{\paperheight}{636.77bp} |
| 769 |
\setlength{\paperwidth}{429.41bp} |
| 770 |
% \end{macrocode} |
| 771 |
% \end{macro} |
| 772 |
% \end{macro} |
| 773 |
% \begin{macro}{\pdfpaperheight} |
| 774 |
% \begin{macro}{\pdfpaperwidth} |
| 775 |
% \begin{macro}{\pdfvorigin} |
| 776 |
% \begin{macro}{\pdfhorigin} |
| 777 |
% \changes{v0.3}{2007/08/23}{Changed offsets} |
| 778 |
% \changes{v0.4}{2007/09/02}{Changed offsets} |
| 779 |
% If we deal with \progname{pdftex}, we can use this information more |
| 780 |
% creatively. This was inspired by |
| 781 |
% \progname{memoir}~\cite{Wilson04:Memoir}. |
| 782 |
% \begin{macrocode} |
| 783 |
\ifpdf\relax |
| 784 |
\pdfpageheight=\paperheight |
| 785 |
\pdfpagewidth=\paperwidth |
| 786 |
\pdfvorigin=0.9in |
| 787 |
\pdfhorigin=1in |
| 788 |
\fi |
| 789 |
% \end{macrocode} |
| 790 |
% \end{macro} |
| 791 |
% \end{macro} |
| 792 |
% \end{macro} |
| 793 |
% \end{macro} |
| 794 |
% |
| 795 |
% \begin{macro}{\headheight} |
| 796 |
% We leave generous header space: |
| 797 |
% \begin{macrocode} |
| 798 |
\setlength{\headheight}{32pt} |
| 799 |
% \end{macrocode} |
| 800 |
% |
| 801 |
% \end{macro} |
| 802 |
% |
| 803 |
% \begin{macro}{\footskip} |
| 804 |
% \changes{v0.3}{2007/08/23}{Redefined} |
| 805 |
% \changes{v0.4}{2007/09/02}{Changed} |
| 806 |
% The footer is slightly larger than in \progname{amsart} |
| 807 |
% \begin{macrocode} |
| 808 |
\setlength{\footskip}{42pt}% |
| 809 |
% \end{macrocode} |
| 810 |
% \end{macro} |
| 811 |
% |
| 812 |
% |
| 813 |
% |
| 814 |
% \begin{macro}{\topmargin} |
| 815 |
% The top margin is 50 bp: |
| 816 |
% \changes{v0.4}{2007/09/02}{Changed offsets} |
| 817 |
% \begin{macrocode} |
| 818 |
\setlength\topmargin{50bp} |
| 819 |
\addtolength\topmargin{-0.9in} |
| 820 |
\addtolength\topmargin{-\topskip} |
| 821 |
\addtolength\topmargin{-\headsep} |
| 822 |
\@settopoint\topmargin |
| 823 |
% \end{macrocode} |
| 824 |
% \end{macro} |
| 825 |
% \begin{macro}{\textheight} |
| 826 |
% \changes{v0.4}{2007/09/02}{Changed} |
| 827 |
% This code is similar to the one in~\cite{classes}. |\textheight| |
| 828 |
% is the height of the text including footnotes, but excluding |
| 829 |
% running head and foot. We start with |\paperheight| and subtract |
| 830 |
% margins, running heads and foots: |
| 831 |
% \begin{macrocode} |
| 832 |
\setlength\@tempdima{\paperheight} |
| 833 |
\addtolength\@tempdima{-\topmargin} |
| 834 |
\addtolength\@tempdima{-26bp} % Bottom margin |
| 835 |
\addtolength\@tempdima{-\headheight} |
| 836 |
\addtolength\@tempdima{-\headsep} |
| 837 |
\addtolength\@tempdima{-\footskip} |
| 838 |
\addtolength\@tempdima{-1in} |
| 839 |
% \end{macrocode} |
| 840 |
% We want this length to contain an integer number of lines: |
| 841 |
% \begin{macrocode} |
| 842 |
\divide\@tempdima\baselineskip |
| 843 |
\@tempcnta=\@tempdima |
| 844 |
\setlength\textheight{\@tempcnta\baselineskip} |
| 845 |
% \end{macrocode} |
| 846 |
% Now we take care of the first line height: |
| 847 |
% \begin{macrocode} |
| 848 |
\addtolength\textheight{\topskip} |
| 849 |
% \end{macrocode} |
| 850 |
% \end{macro} |
| 851 |
% |
| 852 |
% \begin{macro}{\evensidemargin} |
| 853 |
% \begin{macro}{\oddsidemargin} |
| 854 |
% The margins on even and odd pages are 43 bp: |
| 855 |
% \begin{macrocode} |
| 856 |
\setlength\evensidemargin{43bp} |
| 857 |
\addtolength{\evensidemargin}{-1in} |
| 858 |
\setlength\oddsidemargin{43bp} |
| 859 |
\addtolength{\oddsidemargin}{-1in} |
| 860 |
% \end{macrocode} |
| 861 |
% \end{macro} |
| 862 |
% \end{macro} |
| 863 |
% \begin{macro}{\textwidth} |
| 864 |
% The way to set up the right margin is slightly different: |
| 865 |
% \begin{macrocode} |
| 866 |
\setlength\textwidth{\paperwidth} |
| 867 |
\addtolength{\textwidth}{-1in} |
| 868 |
\addtolength\textwidth{-\evensidemargin} |
| 869 |
\addtolength\textwidth{-43bp} % right margin |
| 870 |
\@settopoint\textwidth |
| 871 |
% \end{macrocode} |
| 872 |
% \end{macro} |
| 873 |
% |
| 874 |
% \begin{macro}{\parindent} |
| 875 |
% The paragraph indentation is 1em: |
| 876 |
% \begin{macrocode} |
| 877 |
\setlength\parindent{1em} |
| 878 |
% \end{macrocode} |
| 879 |
% \end{macro} |
| 880 |
% |
| 881 |
% |
| 882 |
% |
| 883 |
% |
| 884 |
%\subsection{Headers} |
| 885 |
%\label{sec:headers} |
| 886 |
% |
| 887 |
% |
| 888 |
% \begin{macro}{\headrulewidth} |
| 889 |
% \begin{macro}{\footrulewidth} |
| 890 |
% We do not want decorative rules in the journal: |
| 891 |
% \begin{macrocode} |
| 892 |
\renewcommand{\headrulewidth}{0pt} |
| 893 |
\renewcommand{\footrulewidth}{0pt} |
| 894 |
% \end{macrocode} |
| 895 |
% \end{macro} |
| 896 |
% \end{macro} |
| 897 |
% |
| 898 |
% It is easy to set up headers with \progname{fancyhdr}: |
| 899 |
% \begin{macrocode} |
| 900 |
\pagestyle{fancy} |
| 901 |
\fancyhead[LO]{\footnotesize Vol.~\currentvolume, \currentyear} |
| 902 |
\fancyhead[CO]{\footnotesize\shorttitle} |
| 903 |
\fancyhead[RO]{\footnotesize\thepage} |
| 904 |
\fancyhead[LE]{\footnotesize\thepage} |
| 905 |
\fancyhead[CE]{\footnotesize\shortauthors} |
| 906 |
\fancyhead[RE]{\footnotesize Isr. J. Math.} |
| 907 |
\fancyfoot{} |
| 908 |
% \end{macrocode} |
| 909 |
% |
| 910 |
% The first page has the special headers. The style |firstpage| is |
| 911 |
% invoked by \progname{amsart}; here we just redefine it. |
| 912 |
% \begin{macrocode} |
| 913 |
\fancypagestyle{firstpage}{% |
| 914 |
\fancyhf{}% |
| 915 |
\chead{\tiny% |
| 916 |
ISRAEL JOURNAL OF MATHEMATICS \textbf{\currentvolume} |
| 917 |
(\currentyear), |
| 918 |
\start@page--\end@page\\[0.5ex] |
| 919 |
DOI: \@doiinfo}% |
| 920 |
\cfoot{\thepage}}% |
| 921 |
% \end{macrocode} |
| 922 |
% |
| 923 |
%\subsection{Top Matter Macros} |
| 924 |
%\label{sec:top_matter_code} |
| 925 |
% |
| 926 |
% Most top matter macros are defined in \progname{amsart}. Here we |
| 927 |
% just add some new macros and redefine some. |
| 928 |
% |
| 929 |
% \begin{macro}{\author} |
| 930 |
% The macro |\author| provided by \progname{amsart} is almost what |
| 931 |
% we need. ``Almost'' because we want to add author's name(s) to |
| 932 |
% the address list to typeset them together. |
| 933 |
% |
| 934 |
% Another note: \progname{amsart} stores the list of all authors in |
| 935 |
% the macro |\authors|. We need it now only to check whether the |
| 936 |
% list is empty |
| 937 |
% \begin{macrocode} |
| 938 |
\renewcommand{\author}[2][]{% |
| 939 |
\ifx\@empty\authors |
| 940 |
\gdef\authors{#2}% |
| 941 |
\gdef\addresses{\author{#2}}% |
| 942 |
\else |
| 943 |
\g@addto@macro\authors{\and#2}% |
| 944 |
\g@addto@macro\addresses{\and\author{#2}}% |
| 945 |
\fi |
| 946 |
\def\@tempa{#1}% |
| 947 |
\ifx\@tempa\@empty\relax |
| 948 |
\ifx\@empty\shortauthors |
| 949 |
\gdef\shortauthors{#2}% |
| 950 |
\else |
| 951 |
\g@addto@macro\shortauthors{\and#2}% |
| 952 |
\fi |
| 953 |
\else |
| 954 |
\ifx\@empty\shortauthors |
| 955 |
\gdef\shortauthors{#1}% |
| 956 |
\else |
| 957 |
\g@addto@macro\shortauthors{\and#1}% |
| 958 |
\fi |
| 959 |
\fi |
| 960 |
}% |
| 961 |
% \end{macrocode} |
| 962 |
% |
| 963 |
% |
| 964 |
% \end{macro} |
| 965 |
% |
| 966 |
% |
| 967 |
% \begin{macro}{abstract} |
| 968 |
% \changes{v0.3}{2007/08/23}{Changed spacing} |
| 969 |
% The following code is mostly from~\cite{Downes04:amsart} with the |
| 970 |
% changes due to our style. The comments are mostly from the same |
| 971 |
% source. |
| 972 |
% |
| 973 |
% {\itshape In AMS-derived document classes, the abstract should be placed |
| 974 |
% before |\maketitle| (otherwise the desired ordering of frontmatter |
| 975 |
% elements cannot be ensured in all cases).} |
| 976 |
% \begin{macrocode} |
| 977 |
\newbox\abstractbox |
| 978 |
% \end{macrocode} |
| 979 |
% {\itshape We start by checking whether |\maketitle| has already been used |
| 980 |
% (in which case it was reset to \cs{relax}); if so, we give a |
| 981 |
% warning that the abstract should be placed before |\maketitle|.} |
| 982 |
% \begin{macrocode} |
| 983 |
\renewenvironment{abstract}{% |
| 984 |
\ifx\maketitle\relax |
| 985 |
\ClassWarning{\@classname}{Abstract should precede |
| 986 |
\protect\maketitle\space in AMS-derived document classes; reported}% |
| 987 |
\fi |
| 988 |
\global\setbox\abstractbox=\vtop \bgroup |
| 989 |
\vglue 10pt plus 6pt minus 6pt% |
| 990 |
\normalfont\tiny |
| 991 |
\centering\MakeUppercase{\abstractname}\par% |
| 992 |
\Small |
| 993 |
\list{}{\labelwidth\z@ |
| 994 |
\leftmargin3pc \rightmargin\leftmargin |
| 995 |
\listparindent\normalparindent \itemindent\z@ |
| 996 |
\parsep\z@ \@plus\p@ |
| 997 |
% \end{macrocode} |
| 998 |
% {\itshape In order to get equation numbers indented with the rest of the |
| 999 |
% abstract, we have to do this:} |
| 1000 |
% \begin{macrocode} |
| 1001 |
\let\fullwidthdisplay\relax |
| 1002 |
}% |
| 1003 |
\item[]% |
| 1004 |
}{% |
| 1005 |
\vspace*{-10pt} |
| 1006 |
\endlist\egroup |
| 1007 |
% \end{macrocode} |
| 1008 |
% {\itshape If the abstract was supposed to be typeset earlier, then |
| 1009 |
% \cs{@setabstract} is now equal to \cs{relax}, and we had better |
| 1010 |
% drop the contents of the abstract box onto the page immediately, to |
| 1011 |
% salvage the situation as best we can.} |
| 1012 |
% \begin{macrocode} |
| 1013 |
\ifx\@setabstract\relax \@setabstracta \fi |
| 1014 |
}% |
| 1015 |
% \end{macrocode} |
| 1016 |
% |
| 1017 |
% \end{macro} |
| 1018 |
% |
| 1019 |
% |
| 1020 |
% \begin{macro}{\pagespan} |
| 1021 |
% This macro is different from the one provided by \progname{amsart} |
| 1022 |
% because we want to have the option of automatic calculation of the |
| 1023 |
% last page number. |
| 1024 |
% \begin{macrocode} |
| 1025 |
\def\pagespan#1#2{\pagenumbering{arabic}\setcounter{page}{#1}% |
| 1026 |
\def\start@page{#1}% |
| 1027 |
\ifnum\c@page<\z@ \pagenumbering{roman}\setcounter{page}{-#1}% |
| 1028 |
\def\start@page{\romannumeral#1}% |
| 1029 |
\fi% |
| 1030 |
\def\@tempa{#2}% |
| 1031 |
\ifx\@tempa\@empty\def\end@page{\pageref{LastPage}}% |
| 1032 |
\else\def\end@page{#2}\fi} |
| 1033 |
\pagespan{1}{} |
| 1034 |
% \end{macrocode} |
| 1035 |
% \end{macro} |
| 1036 |
% |
| 1037 |
% \begin{macro}{\doiinfo} |
| 1038 |
% This is the doi number of the article: |
| 1039 |
% \begin{macrocode} |
| 1040 |
\def\doiinfo#1{\gdef\@doiinfo{#1}} |
| 1041 |
\doiinfo{10.1007/s000000000000000000000000} |
| 1042 |
% \end{macrocode} |
| 1043 |
% \end{macro} |
| 1044 |
% |
| 1045 |
% |
| 1046 |
% \begin{macro}{\thanks} |
| 1047 |
% \changes{v0.3}{2007/08/23}{Changed size} |
| 1048 |
% The macro |\thanks| is redefined in \progname{amsart}. Here is |
| 1049 |
% the adapted original definition from the \LaTeX{} kernel. Note |
| 1050 |
% that the footnotes on the title page are typeset in |\small| size, |
| 1051 |
% rather than in |\footnotesize|. |
| 1052 |
% \begin{macrocode} |
| 1053 |
\def\thanks#1{\footnotemark |
| 1054 |
\protected@xdef\thankses{\thankses |
| 1055 |
\protect\footnotetext[\the\c@footnote]{\small#1}}% |
| 1056 |
} |
| 1057 |
\let\@thanks\@empty |
| 1058 |
% \end{macrocode} |
| 1059 |
% |
| 1060 |
% \end{macro} |
| 1061 |
% |
| 1062 |
%\subsection{Typesetting Top Matter} |
| 1063 |
%\label{sec:maketitle} |
| 1064 |
% |
| 1065 |
% |
| 1066 |
% \begin{macro}{\@maketitle@hook} |
| 1067 |
% \changes{v0.3}{2007/08/23}{Changed footnotes formatting} |
| 1068 |
% \changes{v1.0}{2007/09/03}{Deleted rlap from footnotemark} |
| 1069 |
% The |\@maketitle@hook| is called by |\maketitle| in |
| 1070 |
% \progname{amsart}. We use it to a number of redefinitions. |
| 1071 |
% \begin{macrocode} |
| 1072 |
\def\@maketitle@hook{% |
| 1073 |
% \end{macrocode} |
| 1074 |
% At this point we collected all authors in |\shortauthors|, so we |
| 1075 |
% can uppercase it: |
| 1076 |
% \begin{macrocode} |
| 1077 |
\uppercasenonmath\shortauthors |
| 1078 |
% \end{macrocode} |
| 1079 |
% |
| 1080 |
% The footnote numbering on the title page is rather interesting. It |
| 1081 |
% is $\ast$, then $\ast\ast$, then $\dagger$, then $\dagger\dagger$, |
| 1082 |
% etc. |
| 1083 |
% \begin{macrocode} |
| 1084 |
\renewcommand\thefootnote{\ifcase\c@footnote\relax |
| 1085 |
\or\@fnsymbol{1}% |
| 1086 |
\or\@fnsymbol{1}\@fnsymbol{1}% |
| 1087 |
\or\@fnsymbol{2}% |
| 1088 |
\or\@fnsymbol{2}\@fnsymbol{2}% |
| 1089 |
\or\@fnsymbol{3}% |
| 1090 |
\or\@fnsymbol{3}\@fnsymbol{3}% |
| 1091 |
\or\@fnsymbol{4}% |
| 1092 |
\or\@fnsymbol{4}\@fnsymbol{4}% |
| 1093 |
\or\@fnsymbol{5}% |
| 1094 |
\or\@fnsymbol{5}\@fnsymbol{5}% |
| 1095 |
\or\@fnsymbol{6}% |
| 1096 |
\or\@fnsymbol{6}\@fnsymbol{6}% |
| 1097 |
\fi}% |
| 1098 |
\def\@makefnmark{\@textsuperscript{\normalfont\@thefnmark}}% |
| 1099 |
\long\def\@makefntext##1{\noindent\hangindent=2em\hangafter=1 |
| 1100 |
\hb@xt@2em{% |
| 1101 |
\hss\@textsuperscript{\normalfont\footnotesize\@thefnmark\space}}##1}% |
| 1102 |
\def\footnoterule{\kern-3pt\hrule width 2in\kern 2.6pt} |
| 1103 |
\setcounter{footnote}{0}% |
| 1104 |
}% |
| 1105 |
% \end{macrocode} |
| 1106 |
% \end{macro} |
| 1107 |
% |
| 1108 |
% |
| 1109 |
% \begin{macro}{\@adminfootnotes} |
| 1110 |
% \progname{amsart} typesets the footnotes \emph{before} typesetting |
| 1111 |
% the authors and title. Since we form the footnotes later, we must |
| 1112 |
% delay this till the end of the top matter: |
| 1113 |
% \begin{macrocode} |
| 1114 |
\def\@adminfootnotes{}% |
| 1115 |
% \end{macrocode} |
| 1116 |
% |
| 1117 |
% \end{macro} |
| 1118 |
% |
| 1119 |
% \begin{macro}{\andify} |
| 1120 |
% In the US the common style for lists is ``Tom, Dick, and Harry''. |
| 1121 |
% It is hard-coded into \progname{amsart}. However, our journal |
| 1122 |
% style is ``Tom, Dick and Harry'' (is it the British usage?). |
| 1123 |
% Therefore we need to redefine the function |\andify|: |
| 1124 |
% \begin{macrocode} |
| 1125 |
\renewcommand{\andify}{% |
| 1126 |
\nxandlist{\unskip, }{\unskip{} \@@and~}{\unskip{} \@@and~}} |
| 1127 |
% \end{macrocode} |
| 1128 |
% |
| 1129 |
% \end{macro} |
| 1130 |
% |
| 1131 |
% \begin{macro}{\@@and} |
| 1132 |
% Normally the macro |\@@and| is expanded just to 'and'. However, |
| 1133 |
% if |french| option is selected, we want the french version: |
| 1134 |
% \begin{macrocode} |
| 1135 |
\def\@@and{AND} |
| 1136 |
\ifijm@french\def\@@and{ET}\fi |
| 1137 |
% \end{macrocode} |
| 1138 |
% \end{macro} |
| 1139 |
% \begin{macro}{\@@by} |
| 1140 |
% Same with |\@@by|: |
| 1141 |
% \begin{macrocode} |
| 1142 |
\def\@@by{BY} |
| 1143 |
\ifijm@french\def\@@by{PAR}\fi |
| 1144 |
% \end{macrocode} |
| 1145 |
% \end{macro} |
| 1146 |
% |
| 1147 |
% \begin{macro}{\curraddrname} |
| 1148 |
% \begin{macro}{\emailaddrname} |
| 1149 |
% \begin{macro}{\urladdrname} |
| 1150 |
% The keywords for the specific parts of the address (e-mail, |
| 1151 |
% current address, etc.) depend on the language chosen. |
| 1152 |
% \begin{macrocode} |
| 1153 |
\def\curraddrname{Current address:}% |
| 1154 |
\def\emailaddrname{e-mail:}% |
| 1155 |
\def\urladdrname{URL:}% |
| 1156 |
\ifijm@french |
| 1157 |
\def\curraddrname{Adresse actuelle:}% |
| 1158 |
\def\emailaddrname{courriel:}% |
| 1159 |
\fi |
| 1160 |
% \end{macrocode} |
| 1161 |
% |
| 1162 |
% \end{macro} |
| 1163 |
% \end{macro} |
| 1164 |
% \end{macro} |
| 1165 |
% |
| 1166 |
% |
| 1167 |
% \begin{macro}{\@settitle} |
| 1168 |
% The title is set in large font uppercase. There is a problem, |
| 1169 |
% however: uppercasing title means uppercasing \emph{everything}, |
| 1170 |
% including thanks! We solve this problem in the following way: we |
| 1171 |
% typeset the title twice, once invisibly in the lowercase, and |
| 1172 |
% again in uppercase, but without typesetting the footnote text. |
| 1173 |
% \begin{macrocode} |
| 1174 |
\def\@settitle{% |
| 1175 |
\begin{center}% |
| 1176 |
\makebox[0pt]{\hphantom{\@title}}% |
| 1177 |
\def\thanks##1{\addtocounter{footnote}{-1}\footnotemark}% |
| 1178 |
\uppercasenonmath\@title |
| 1179 |
\Large\baselineskip=14pt\lineskiplimit=2pt\lineskip=2pt\@title% |
| 1180 |
\end{center}}% |
| 1181 |
% \end{macrocode} |
| 1182 |
% \end{macro} |
| 1183 |
% |
| 1184 |
% |
| 1185 |
% \begin{macro}{\@setauthors} |
| 1186 |
% While we call this macro |\@setauthors|, in fact it is setting the |
| 1187 |
% names \emph{and} addresses of the authors. |
| 1188 |
% |
| 1189 |
% The authors' block is centered: |
| 1190 |
% \begin{macrocode} |
| 1191 |
\def\@setauthors{\vglue 21pt plus 6pt minus 3pt% |
| 1192 |
\begin{center}% |
| 1193 |
% \end{macrocode} |
| 1194 |
% |
| 1195 |
% We need to properly treat the current address, e-mail and URL of the |
| 1196 |
% authors. Note that \progname{amsart} uses an optional first |
| 1197 |
% argument to these macros; we silently drop it. |
| 1198 |
% \begin{macrocode} |
| 1199 |
\def\curraddr##1##2{\begingroup |
| 1200 |
\@ifnotempty{##2}{\par\curraddrname{}\par |
| 1201 |
##2\par}\endgroup}% |
| 1202 |
\def\email##1##2{\begingroup |
| 1203 |
\@ifnotempty{##2}{\par\emailaddrname{}~% |
| 1204 |
##2\par}\endgroup}% |
| 1205 |
\def\urladdr##1##2{\begingroup |
| 1206 |
\@ifnotempty{##2}{\par\urladdrname{}~% |
| 1207 |
##2\par}\endgroup}% |
| 1208 |
% \end{macrocode} |
| 1209 |
% |
| 1210 |
% We print the word ``by'' only if there is at least one author. |
| 1211 |
% I am not sure how it can be that a manuscript has no authors, but |
| 1212 |
% has addresses defined. Maybe official editorial? |
| 1213 |
% \begin{macrocode} |
| 1214 |
\if\authors\@empty\relax\else{\normalfont\tiny\@@by}\par\medskip |
| 1215 |
% \end{macrocode} |
| 1216 |
% The authors are typeset in small caps: |
| 1217 |
% \begin{macrocode} |
| 1218 |
\def\author##1{{\normalsize\scshape##1}\par\medskip} |
| 1219 |
% \end{macrocode} |
| 1220 |
% The keyword ``and'' is typeset like ``by'' with large skip: |
| 1221 |
% \begin{macrocode} |
| 1222 |
\def\and{\par\bigskip{\normalfont\tiny\@@and}\par\medskip} |
| 1223 |
% \end{macrocode} |
| 1224 |
% And everything else is typeset in italics: |
| 1225 |
% \begin{macrocode} |
| 1226 |
\small\itshape\addresses |
| 1227 |
% \end{macrocode} |
| 1228 |
% \begin{macrocode} |
| 1229 |
\end{center}}% |
| 1230 |
% \end{macrocode} |
| 1231 |
% \end{macro} |
| 1232 |
% |
| 1233 |
% |
| 1234 |
% \begin{macro}{\@maketitle} |
| 1235 |
% \changes{v0.3}{2007/08/23}{Changed size for date} |
| 1236 |
% We typeset footnotes at the end of the top matter typesetting. |
| 1237 |
% Note the larger type size for the |\@date| footnote. |
| 1238 |
% \begin{macrocode} |
| 1239 |
\let\@origmaketitle=\@maketitle |
| 1240 |
\def\@maketitle{\@origmaketitle |
| 1241 |
\thankses |
| 1242 |
\ifx\@date\@empty\else |
| 1243 |
\def\thefootnote{}% |
| 1244 |
\footnotetext{\small\@date}\fi% |
| 1245 |
\gdef\thefootnote{\@arabic\c@footnote}} |
| 1246 |
% \end{macrocode} |
| 1247 |
% \end{macro} |
| 1248 |
% |
| 1249 |
% \begin{macro}{\enddoc@text} |
| 1250 |
% In \progname{amsart} the macro |\enddoc@text| typesets addresses |
| 1251 |
% at the end of the document. We do not need it: |
| 1252 |
% \begin{macrocode} |
| 1253 |
\def\enddoc@text{} |
| 1254 |
% \end{macrocode} |
| 1255 |
% \end{macro} |
| 1256 |
% |
| 1257 |
% |
| 1258 |
% |
| 1259 |
%\subsection{Table of Contents} |
| 1260 |
%\label{sec:toc} |
| 1261 |
% By default we include in the table of contents only sections: |
| 1262 |
% \begin{macrocode} |
| 1263 |
\setcounter{tocdepth}{1} |
| 1264 |
% \end{macrocode} |
| 1265 |
% \begin{macro}{\contentsnamefont} |
| 1266 |
% The table of contents is typeset smaller than in |
| 1267 |
% \progname{amsart}: |
| 1268 |
% \begin{macrocode} |
| 1269 |
\renewcommand\contentsnamefont{\scshape\footnotesize} |
| 1270 |
% \end{macrocode} |
| 1271 |
% \end{macro} |
| 1272 |
% |
| 1273 |
% \begin{macro}{\@starttoc} |
| 1274 |
% \changes{v1.2}{2007/11/15}{Redefined} |
| 1275 |
% \changes{v1.5}{2010/03/02}{Added |\makeatletter| to make compatible |
| 1276 |
% with |babel|} |
| 1277 |
% We also rewrite |\@starttoc| to make the type smaller. The |
| 1278 |
% comments are again from \progname{amsart}: |
| 1279 |
% \begin{macrocode} |
| 1280 |
\def\@starttoc#1#2{\begingroup |
| 1281 |
\setTrue{#1}% |
| 1282 |
% \end{macrocode} |
| 1283 |
% {\itshape Remove the skip after the abstract so that we can |
| 1284 |
% substitute another.} |
| 1285 |
% \begin{macrocode} |
| 1286 |
\par\removelastskip\vskip\z@skip |
| 1287 |
% \end{macrocode} |
| 1288 |
% {\itshape The first two arguments of \cs{@startsection} here are |
| 1289 |
% special values |
| 1290 |
% that cause different internal branches to be taken.} |
| 1291 |
%\begin{verbatim} |
| 1292 |
% Arguments: {} = name = empty |
| 1293 |
% \@M = no number should be used and no table of contents entry |
| 1294 |
% \z@ = indent amount |
| 1295 |
% 12pt + 12pt = vskip before |
| 1296 |
% 6pt = vskip after |
| 1297 |
% \centering\contentsnamefont = format |
| 1298 |
%\end{verbatim} |
| 1299 |
% \begin{macrocode} |
| 1300 |
\@startsection{}\@M\z@{\linespacing\@plus\linespacing}% |
| 1301 |
{.5\linespacing}{\centering\contentsnamefont}{#2}% |
| 1302 |
% \end{macrocode} |
| 1303 |
% {\itshape If we have a list of figures or list of tables we want to put |
| 1304 |
% them in the main table of contents, but we don't want to put an |
| 1305 |
% entry there for the main table of contents itself. So we check |
| 1306 |
% to see if argument 2 is |\contentsname| and if it is then |
| 1307 |
% we refrain from doing |\addcontentsline|.} |
| 1308 |
% \begin{macrocode} |
| 1309 |
\ifx\contentsname#2% |
| 1310 |
\else \addcontentsline{toc}{section}{#2}\fi |
| 1311 |
% \end{macrocode} |
| 1312 |
% We want the table of contents to have the same width as the abstract |
| 1313 |
% \begin{macrocode} |
| 1314 |
\list{}{\labelwidth\z@ |
| 1315 |
\leftmargin2.4pc \rightmargin\leftmargin |
| 1316 |
\listparindent\z@ \itemindent\z@ |
| 1317 |
\parsep\z@ \@plus\p@}% |
| 1318 |
\item[]\makeatletter% |
| 1319 |
\small\@input{\jobname.#1}\endlist% |
| 1320 |
\if@filesw |
| 1321 |
\@xp\newwrite\csname tf@#1\endcsname |
| 1322 |
\immediate\@xp\openout\csname tf@#1\endcsname \jobname.#1\relax |
| 1323 |
\fi |
| 1324 |
\global\@nobreakfalse \endgroup |
| 1325 |
\addvspace{32\p@\@plus14\p@}% |
| 1326 |
\let\tableofcontents\relax |
| 1327 |
}% |
| 1328 |
% \end{macrocode} |
| 1329 |
% \end{macro} |
| 1330 |
% |
| 1331 |
% \begin{macro}{\@dotsep} |
| 1332 |
% Separation between the dots for table of contents: |
| 1333 |
% \begin{macrocode} |
| 1334 |
\newcommand\@dotsep{4.5} |
| 1335 |
% \end{macrocode} |
| 1336 |
% |
| 1337 |
% \end{macro} |
| 1338 |
% |
| 1339 |
% \begin{macro}{\@tocline} |
| 1340 |
% We want dots in the table of contents\dots |
| 1341 |
% \begin{macrocode} |
| 1342 |
\def\@tocline#1#2#3#4#5#6#7{\relax |
| 1343 |
\ifnum #1>\c@tocdepth % then omit |
| 1344 |
\else |
| 1345 |
\par \addpenalty\@secpenalty\addvspace{#2}% |
| 1346 |
\begingroup \hyphenpenalty\@M |
| 1347 |
\@ifempty{#4}{% |
| 1348 |
\@tempdima\csname r@tocindent\number#1\endcsname\relax |
| 1349 |
}{% |
| 1350 |
\@tempdima#4\relax |
| 1351 |
}% |
| 1352 |
\parindent\z@ \leftskip#3\relax \advance\leftskip\@tempdima\relax |
| 1353 |
\rightskip\@pnumwidth plus4em \parfillskip-\@pnumwidth |
| 1354 |
#5\leavevmode\hskip-\@tempdima #6\nobreak\relax |
| 1355 |
\leaders\hbox{$\m@th |
| 1356 |
\mkern \@dotsep mu\hbox{.}\mkern \@dotsep |
| 1357 |
mu$}\hfill |
| 1358 |
\hbox to\@pnumwidth{\@tocpagenum{#7}}\par |
| 1359 |
\nobreak |
| 1360 |
\endgroup |
| 1361 |
\fi}% |
| 1362 |
% \end{macrocode} |
| 1363 |
% \end{macro} |
| 1364 |
% |
| 1365 |
% |
| 1366 |
% \begin{macro}{\l@section} |
| 1367 |
% \changes{v1.2}{2007/11/15}{Redefined to check whether subsections |
| 1368 |
% are present} |
| 1369 |
% The actual formatting of section entries depend whether |
| 1370 |
% subsections are included in toc. If yes, the sections are bold. |
| 1371 |
% \begin{macrocode} |
| 1372 |
\def\l@section{% |
| 1373 |
\@tocline{1}{0pt}{1pc}{}{% |
| 1374 |
\ifnum\c@tocdepth>1\bfseries\fi}} |
| 1375 |
% \end{macrocode} |
| 1376 |
% \end{macro} |
| 1377 |
% |
| 1378 |
% \begin{macro}{\l@subsection} |
| 1379 |
% \begin{macro}{\l@subsubsection} |
| 1380 |
% \changes{v1.2}{2007/11/14}{Added indentation} |
| 1381 |
% \changes{v1.3}{2008/02/12}{Changed indentation} |
| 1382 |
% These entries are indented. |
| 1383 |
% \begin{macrocode} |
| 1384 |
\def\l@subsection{\@tocline{2}{0pt}{2.8pc}{}{}} |
| 1385 |
\def\l@subsubsection{\@tocline{3}{0pt}{4.6pc}{}{}} |
| 1386 |
% \end{macrocode} |
| 1387 |
% \end{macro} |
| 1388 |
% \end{macro} |
| 1389 |
% |
| 1390 |
% |
| 1391 |
% |
| 1392 |
%\subsection{Captions} |
| 1393 |
%\label{sec:captions} |
| 1394 |
% |
| 1395 |
% \begin{macro}{\@captionheadfont} |
| 1396 |
% \changes{v0.3}{2007/08/23}{Redefined} |
| 1397 |
% The captions in \progname{amsart} are in small caps. In this |
| 1398 |
% journal they are not: |
| 1399 |
% \begin{macrocode} |
| 1400 |
\def\@captionheadfont{\normalfont} |
| 1401 |
% \end{macrocode} |
| 1402 |
% |
| 1403 |
% \end{macro} |
| 1404 |
% |
| 1405 |
%\subsection{Sectioning} |
| 1406 |
%\label{sec:sections} |
| 1407 |
% |
| 1408 |
% \begin{macro}{\@secnumfont} |
| 1409 |
% It is possible in \progname{amsart} to have section numbers in the |
| 1410 |
% font different from the title font. We do not want this: |
| 1411 |
% \begin{macrocode} |
| 1412 |
\let\@secnumfont\@empty |
| 1413 |
% \end{macrocode} |
| 1414 |
% |
| 1415 |
% \end{macro} |
| 1416 |
% |
| 1417 |
% Now we redefine sections. The arguments of the |\@startsection| |
| 1418 |
% commands are |
| 1419 |
%\begin{verbatim} |
| 1420 |
% #1 #2 #3 #4 #5 #6 |
| 1421 |
% {NAME}{LEVEL}{INDENT}{BEFORESKIP}{AFTERSKIP}{STYLE} |
| 1422 |
%\end{verbatim} |
| 1423 |
% |
| 1424 |
% \begin{macro}{\section} |
| 1425 |
% Most sections are not centered, unlike \progname{amsart} ones: |
| 1426 |
% \begin{macrocode} |
| 1427 |
\def\section{\@startsection{section}{1}% |
| 1428 |
\z@{20pt plus 4pt minus 4pt}{0.5\linespacing}% |
| 1429 |
{\normalfont\bfseries}}% |
| 1430 |
% \end{macrocode} |
| 1431 |
% \end{macro} |
| 1432 |
% |
| 1433 |
% |
| 1434 |
% \begin{macro}{\centeredsection} |
| 1435 |
% \changes{v0.3}{2007/08/23}{Added macro} |
| 1436 |
% However, there are special centered sections, for example, |
| 1437 |
% ``References'': |
| 1438 |
% \begin{macrocode} |
| 1439 |
\def\centeredsection{\@startsection{section}{1}% |
| 1440 |
\z@{20pt plus 4pt minus 4pt}{0.5\linespacing}% |
| 1441 |
{\normalfont\bfseries\centering}}% |
| 1442 |
% \end{macrocode} |
| 1443 |
% \end{macro} |
| 1444 |
% |
| 1445 |
% \begin{macro}{\subsection} |
| 1446 |
% Subsections are in small caps on the line with text. |
| 1447 |
% \begin{macrocode} |
| 1448 |
\def\subsection{\@startsection{subsection}{2}% |
| 1449 |
\z@{.5\linespacing\@plus.7\linespacing}{-0.5em}% |
| 1450 |
{\normalfont\scshape}}% |
| 1451 |
% \end{macrocode} |
| 1452 |
% \end{macro} |
| 1453 |
% |
| 1454 |
% \begin{macro}{\subsubsection} |
| 1455 |
% Subsubsection heads are in italics |
| 1456 |
% \begin{macrocode} |
| 1457 |
\def\subsubsection{\@startsection{subsubsection}{3}% |
| 1458 |
\z@{.5\linespacing\@plus.7\linespacing}{-0.5em}% |
| 1459 |
{\normalfont\itshape}}% |
| 1460 |
% \end{macrocode} |
| 1461 |
% \end{macro} |
| 1462 |
% \begin{macro}{\paragraph} |
| 1463 |
% \begin{macro}{\subparagraph} |
| 1464 |
% Paragraphs and subparagraphs are in normal font: |
| 1465 |
% \begin{macrocode} |
| 1466 |
\def\paragraph{\@startsection{paragraph}{4}% |
| 1467 |
\z@\z@{-0.5em}% |
| 1468 |
{\normalfont}}% |
| 1469 |
\def\subparagraph{\@startsection{subparagraph}{5}% |
| 1470 |
\z@\z@{-0.5em}% |
| 1471 |
{\normalfont}}% |
| 1472 |
% \end{macrocode} |
| 1473 |
% \end{macro} |
| 1474 |
% \end{macro} |
| 1475 |
% |
| 1476 |
%\begin{macro}{\if@afterindent} |
| 1477 |
% \changes{v0.3}{2007/08/23}{Deleted first indent after the section head} |
| 1478 |
% The first paragraph after section head is \emph{not} indented, |
| 1479 |
% like in standard \LaTeX---but \emph{unlike} \progname{amsart}. |
| 1480 |
% The code below is inspired by David Carlisle's package |
| 1481 |
% \progname{indentfirst}~\cite{Carlisle95:indentfirst} (of course |
| 1482 |
% David wanted to \emph{have} the first indent, and we want |
| 1483 |
% the opposite): |
| 1484 |
% \begin{macrocode} |
| 1485 |
\let\@afterindenttrue\@afterindentfalse |
| 1486 |
\@afterindentfalse |
| 1487 |
% \end{macrocode} |
| 1488 |
% \end{macro} |
| 1489 |
% |
| 1490 |
% \begin{macro}{\appendix} |
| 1491 |
% \changes{v1.4}{2009/11/10}{Redefined the macro to delete ugly indent |
| 1492 |
% in TOC} |
| 1493 |
% The standard \progname{amsart} macro |\@tochangmeasure| measures |
| 1494 |
% the width of the TOC label for the hanging indentation of TOC |
| 1495 |
% entries. However, for appendices this label includes the word |
| 1496 |
% ``Appendix'', which leads to an ugly indent of TOC entries. |
| 1497 |
% Therefore we stop measuring in appendices: |
| 1498 |
% \begin{macrocode} |
| 1499 |
\def\appendix{\par\c@section\z@ \c@subsection\z@ |
| 1500 |
\let\sectionname\appendixname |
| 1501 |
\def\thesection{\@Alph\c@section}% |
| 1502 |
\def\@tochangmeasure##1{}} |
| 1503 |
% \end{macrocode} |
| 1504 |
% |
| 1505 |
% \end{macro} |
| 1506 |
% |
| 1507 |
% |
| 1508 |
% |
| 1509 |
%\subsection{Theorem Styles} |
| 1510 |
%\label{sec:theorem_code} |
| 1511 |
% |
| 1512 |
% Here we redefine three main style of \progname{amsart}. Here are |
| 1513 |
% the arguments of |\newtheoremstyle| from~\cite{Downes04:amsart}: |
| 1514 |
%\begin{verbatim} |
| 1515 |
% #1 |
| 1516 |
% \newtheoremstyle{NAME}% |
| 1517 |
% #2 #3 #4 |
| 1518 |
% {ABOVESPACE}{BELOWSPACE}{BODYFONT}% |
| 1519 |
% #5 #6 #7 #8 |
| 1520 |
% {INDENT}{HEADFONT}{HEADPUNCT}{HEADSPACE}% |
| 1521 |
% #9 |
| 1522 |
% {CUSTOM-HEAD-SPEC} |
| 1523 |
%\end{verbatim} |
| 1524 |
% |
| 1525 |
% |
| 1526 |
% |
| 1527 |
% In the |plain| style the name (``theorem'') and number are |
| 1528 |
% printed in small caps, the optional note is in |
| 1529 |
% upright, and the text is slanted. |
| 1530 |
% \begin{macrocode} |
| 1531 |
\newtheoremstyle{plain}{0.5\linespacing}{0.5\linespacing}{\slshape}{0pt}% |
| 1532 |
{\scshape}{:}{0.5em}{\thmname{#1}\thmnumber{ #2}\thmnote{\upshape{} (#3)}} |
| 1533 |
% \end{macrocode} |
| 1534 |
% |
| 1535 |
% |
| 1536 |
% In the |definition| style the name, the number is slanted, and the |
| 1537 |
% text and the note are upright. |
| 1538 |
% \begin{macrocode} |
| 1539 |
\newtheoremstyle{definition}{0.5\linespacing}{0.5\linespacing}% |
| 1540 |
{\upshape}{0pt}% |
| 1541 |
{\slshape}{:}{0.5em}{\thmname{#1}\thmnumber{ #2}\thmnote{\upshape{} (#3)}} |
| 1542 |
% \end{macrocode} |
| 1543 |
% |
| 1544 |
% |
| 1545 |
% In the |remark| style the name and the number are in small caps, |
| 1546 |
% the note and the text text is upright. |
| 1547 |
% \changes{v0.4}{2007/09/03}{Redefined remark and definition styles: |
| 1548 |
% the note is now upright.} |
| 1549 |
% \begin{macrocode} |
| 1550 |
\newtheoremstyle{remark}{0.5\linespacing}{0.5\linespacing}% |
| 1551 |
{\upshape}{0pt}% |
| 1552 |
{\scshape}{:}{0.5em}{\thmname{#1}\thmnumber{ #2}\thmnote{\upshape{} (#3)}} |
| 1553 |
% \end{macrocode} |
| 1554 |
% |
| 1555 |
% |
| 1556 |
% |
| 1557 |
% \begin{macro}{proof} |
| 1558 |
% \changes{v0.3}{2007/08/23}{Redefined \progname{amsart} defaults} |
| 1559 |
% We want to have the word ``proof'' slanted rather than italicized: |
| 1560 |
% \begin{macrocode} |
| 1561 |
\renewenvironment{proof}[1][\proofname]{\par |
| 1562 |
\pushQED{\qed}% |
| 1563 |
\normalfont \topsep6\p@\@plus6\p@\relax |
| 1564 |
\trivlist |
| 1565 |
\item[\hskip\labelsep |
| 1566 |
\slshape |
| 1567 |
#1\@addpunct{.}]\ignorespaces |
| 1568 |
}{% |
| 1569 |
\popQED\endtrivlist\@endpefalse |
| 1570 |
} |
| 1571 |
% \end{macrocode} |
| 1572 |
% \end{macro} |
| 1573 |
% |
| 1574 |
% |
| 1575 |
% \begin{macro}{\qed} |
| 1576 |
% \changes{v0.3}{2007/08/24}{Redefined \progname{amsart} default} |
| 1577 |
% \changes{v1.3}{2008/01/27}{Changed math mode branch} |
| 1578 |
% Unlike \progname{amsart}, we do not want the QED symbol to be |
| 1579 |
% flushed right: |
| 1580 |
% \begin{macrocode} |
| 1581 |
\DeclareRobustCommand{\qed}{% |
| 1582 |
\leavevmode\unskip\penalty9999 \hbox{}\nobreak |
| 1583 |
\ifmmode |
| 1584 |
\makebox[0pt][l]{\qquad\hbox{\qedsymbol}}% |
| 1585 |
\else |
| 1586 |
\qquad\hbox{\qedsymbol}\fi}% |
| 1587 |
% \end{macrocode} |
| 1588 |
% \end{macro} |
| 1589 |
% |
| 1590 |
% \begin{macro}{\mqedhere} |
| 1591 |
% \changes{v1.3}{2008/01/27}{Introduced the command} |
| 1592 |
% Normally |\qedhere| is typeset with zero effective width in math |
| 1593 |
% mode to present centering alignment in equations. This presents |
| 1594 |
% problems in |multline| environment, where the last line is flushed |
| 1595 |
% right, so |\qedhere| would be typeset on the margin. The following |
| 1596 |
% command switches to text mode: |
| 1597 |
% \begin{macrocode} |
| 1598 |
\def\mqedhere{\ensuremath{\text{\qedhere}}}% |
| 1599 |
% \end{macrocode} |
| 1600 |
% |
| 1601 |
% \end{macro} |
| 1602 |
% |
| 1603 |
% |
| 1604 |
% \begin{macro}{\qedsymbol} |
| 1605 |
% \changes{v0.3}{2007/08/24}{Redefined \progname{amsart} default} |
| 1606 |
% The QED symbol itself is a small closed box: |
| 1607 |
% \begin{macrocode} |
| 1608 |
\def\qedsymbol{\rule[0.47pt]{4pt}{6pt}}% |
| 1609 |
% \end{macrocode} |
| 1610 |
% |
| 1611 |
% \end{macro} |
| 1612 |
% |
| 1613 |
% \begin{macro}{\namedprop} |
| 1614 |
% \changes{v1.1}{2007/09/30}{Introduced macro} |
| 1615 |
% This is the unstarred version of the macro. It calls the command |
| 1616 |
% and then closes the group opened by |\namedprop@| |
| 1617 |
% \begin{macrocode} |
| 1618 |
\newenvironment{namedprop}{% |
| 1619 |
\namedprop@}{% |
| 1620 |
\end{namedprop@thm}% |
| 1621 |
\egroup} |
| 1622 |
% \end{macrocode} |
| 1623 |
% \end{macro} |
| 1624 |
% |
| 1625 |
% \begin{macro}{\namedprop*} |
| 1626 |
% \changes{v1.1}{2007/09/30}{Introduced macro} |
| 1627 |
% The starred version is similar: |
| 1628 |
% \begin{macrocode} |
| 1629 |
\newenvironment{namedprop*}{% |
| 1630 |
\namedprop@star@}{% |
| 1631 |
\end{namedprop@thm}% |
| 1632 |
\egroup} |
| 1633 |
% \end{macrocode} |
| 1634 |
% \end{macro} |
| 1635 |
% |
| 1636 |
% \begin{macro}{\namedprop@star@} |
| 1637 |
% \changes{v1.1}{2007/09/30}{Introduced macro} |
| 1638 |
% The starred version has two mandatory arguments: style and and |
| 1639 |
% name, and one optional argument: note. |
| 1640 |
% \begin{macrocode} |
| 1641 |
\def\namedprop@star@#1#2{% |
| 1642 |
\@ifnextchar[{\namedprop@star@@{#1}{#2}}{\namedprop@star@@{#1}{#2}[]}}% |
| 1643 |
% \end{macrocode} |
| 1644 |
% \end{macro} |
| 1645 |
% \begin{macro}{\namedprop@star@@} |
| 1646 |
% \changes{v1.1}{2007/09/30}{Introduced macro} |
| 1647 |
% This is the command that does the real work: |
| 1648 |
% \begin{macrocode} |
| 1649 |
\def\namedprop@star@@#1#2[#3]{% |
| 1650 |
\bgroup |
| 1651 |
\let\namedprop@thm\relax |
| 1652 |
\theoremstyle{#1} |
| 1653 |
\newtheorem*{namedprop@thm}{#2} |
| 1654 |
\begin{namedprop@thm}[#3]} |
| 1655 |
% \end{macrocode} |
| 1656 |
% \end{macro} |
| 1657 |
% \begin{macro}{\namedprop@} |
| 1658 |
% \changes{v1.1}{2007/09/30}{Introduced macro} |
| 1659 |
% This is the unstarred version of the macro. It has three |
| 1660 |
% mandatory arguments: style, counter and the name, and one |
| 1661 |
% optional argument: the note. |
| 1662 |
% \begin{macrocode} |
| 1663 |
\def\namedprop@#1#2#3{% |
| 1664 |
\@ifnextchar[{\namedprop@@{#1}{#2}{#3}}{\namedprop@@{#1}{#2}{#3}[]}}% |
| 1665 |
% \end{macrocode} |
| 1666 |
% \end{macro} |
| 1667 |
% \begin{macro}{\namedprop@@} |
| 1668 |
% \changes{v1.1}{2007/09/30}{Introduced macro} |
| 1669 |
% And the real macro: |
| 1670 |
% \begin{macrocode} |
| 1671 |
\def\namedprop@@#1#2#3[#4]{% |
| 1672 |
\bgroup |
| 1673 |
\let\namedprop@thm\relax |
| 1674 |
\theoremstyle{#1} |
| 1675 |
\newtheorem{namedprop@thm}[#2]{#3} |
| 1676 |
\begin{namedprop@thm}[#4]} |
| 1677 |
% \end{macrocode} |
| 1678 |
% \end{macro} |
| 1679 |
% |
| 1680 |
%\subsection{Bibliography} |
| 1681 |
%\label{sec:biblio_code} |
| 1682 |
% |
| 1683 |
% \begin{macro}{\@bibtitlestyle} |
| 1684 |
% \changes{v0.3}{2007/08/23}{Redefined to have centered heading} |
| 1685 |
% Unlike other section heads, the word ``References'' in the journal |
| 1686 |
% is centered: |
| 1687 |
% \begin{macrocode} |
| 1688 |
\renewcommand{\@bibtitlestyle}{% |
| 1689 |
\@xp\centeredsection\@xp*\@xp{\refname}% |
| 1690 |
}% |
| 1691 |
% \end{macrocode} |
| 1692 |
% \end{macro} |
| 1693 |
% |
| 1694 |
%\subsection{End of Class} |
| 1695 |
%\label{end} |
| 1696 |
% |
| 1697 |
% |
| 1698 |
% \begin{macrocode} |
| 1699 |
%</class> |
| 1700 |
% \end{macrocode} |
| 1701 |
% |
| 1702 |
%\Finale |
| 1703 |
%\clearpage |
| 1704 |
% |
| 1705 |
%\PrintChanges |
| 1706 |
%\clearpage |
| 1707 |
%\PrintIndex |
| 1708 |
% |
| 1709 |
\endinput |