From 70dfad0a39610c686b4ce8797a036c984653fa4d Mon Sep 17 00:00:00 2001 From: Karl Berry Date: Sat, 16 Feb 2008 00:18:24 +0000 Subject: ijmart 1.3 (15feb08) git-svn-id: svn://tug.org/texlive/trunk@6644 c570f23f-e606-0410-a88d-b1316a301751 --- Master/texmf-dist/source/latex/ijmart/ijmart.dtx | 73 +++++++++++++++++++----- 1 file changed, 58 insertions(+), 15 deletions(-) (limited to 'Master/texmf-dist/source/latex/ijmart') diff --git a/Master/texmf-dist/source/latex/ijmart/ijmart.dtx b/Master/texmf-dist/source/latex/ijmart/ijmart.dtx index 7dbb350284f..d6ccc514095 100644 --- a/Master/texmf-dist/source/latex/ijmart/ijmart.dtx +++ b/Master/texmf-dist/source/latex/ijmart/ijmart.dtx @@ -1,5 +1,5 @@ % \iffalse -% $Id: ijmart.dtx,v 1.42 2007-11-17 01:03:08 boris Exp $ +% $Id: ijmart.dtx,v 1.45 2008-02-15 04:42:06 boris Exp $ % % Copyright 2007, The Hebrew University Magnes Press % This work may be distributed and/or modified under the @@ -20,7 +20,7 @@ % derived file ijmart.cls % % \fi -% \CheckSum{836} +% \CheckSum{844} % % %% \CharacterTable @@ -80,6 +80,7 @@ % \changes{v0.3}{2007/08/23}{Documentation update} % \changes{v1.0}{2007/09/03}{Documentation update} % \changes{v1.1a}{2007/10/14}{Documentation update} +% \changes{v1.3}{2008/01/27}{Documented the use of qedhere and mqedhere} % % %\section{Introduction} @@ -447,13 +448,13 @@ % Mathematics} usually recommends |definition| style for remarks, % while |remark| style is used for steps, facts, cases, etc. % -% \DescribeMacro{\popQED} +% \DescribeMacro{\qedhere} % The environment |proof| has the same syntax and meaning as for % \progname{amsart} package. According to the journal style, the QED % symbol in proofs is not flushed left, like in \progname{amsart}, but % is typeset at the last line of the proof at some distance from the % text. If a proof ends by a nested environment, this might lead to -% an ugly position of the QED symbol. The command |\popQED| inside a +% an ugly position of the QED symbol. The command |\qedhere| inside a % proof can be used to improve the situaiton\footnote{It is actually % defined in \progname{amsart} too, but is not documented in the % user's documentation there.}. It causes the immediate typesetting @@ -464,11 +465,37 @@ % This proof ends by an enumerated list: % \begin{enumerate} % \item Item -% \item Item \popQED +% \item Item \qedhere % \end{enumerate} % \end{proof} % \end{verbatim} -% Compare this to the similar code without |\popQED|. +% Compare this to the similar code without |\qedhere|. +% +% The command |\qedhere| should be used if a proof ends by a math +% display: +% \begin{verbatim} +% \begin{proof} +% This proof ends by a displayed math: +% \begin{gather} +% a = b\\ +% c = d\qedhere +% \end{gather} +% \end{proof} +% \end{verbatim} +% \DescribeMacro{\mqedhere} +% The exception is the |multline| environment, where the special +% version |\mqedhere| should be used: +% \begin{verbatim} +% \begin{proof} +% This proof ends with a multline: +% \begin{multline} +% 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\mqedhere +% \end{multline} +% \end{proof} +% \end{verbatim} +% % % \DescribeEnv{namedprop} % \DescribeEnv{namedprop*} @@ -581,7 +608,7 @@ \ProvidesFile{ijmart.dtx} % %\ProvidesClass{ijmart} -[2007/11/15 v1.2 Typesetting articles for The Israel Journal of Mathematics] +[2008/02/14 v1.3 Typesetting articles for The Israel Journal of Mathematics] % \end{macrocode} % % \begin{macro}{\@classname} @@ -1318,10 +1345,11 @@ % \begin{macro}{\l@subsection} % \begin{macro}{\l@subsubsection} % \changes{v1.2}{2007/11/14}{Added indentation} -% These entries are idented. +% \changes{v1.3}{2008/02/12}{Changed indentation} +% These entries are indented. % \begin{macrocode} -\def\l@subsection{\@tocline{2}{0pt}{2.8pc}{5pc}{}} -\def\l@subsubsection{\@tocline{3}{0pt}{4.6pc}{7pc}{}} +\def\l@subsection{\@tocline{2}{0pt}{2.8pc}{}{}} +\def\l@subsubsection{\@tocline{3}{0pt}{4.6pc}{}{}} % \end{macrocode} % \end{macro} % \end{macro} @@ -1495,18 +1523,33 @@ % % \begin{macro}{\qed} % \changes{v0.3}{2007/08/24}{Redefined \progname{amsart} default} +% \changes{v1.3}{2008/01/27}{Changed math mode branch} % Unlike \progname{amsart}, we do not want the QED symbol to be -% flushed right in the text mode: +% flushed right: % \begin{macrocode} \DeclareRobustCommand{\qed}{% - \ifmmode \mathqed + \leavevmode\unskip\penalty9999 \hbox{}\nobreak + \ifmmode + \makebox[0pt][l]{\qquad\hbox{\qedsymbol}}% \else - \leavevmode\unskip\penalty9999 \hbox{}\nobreak - \qquad\hbox{\qedsymbol}% - \fi}% + \qquad\hbox{\qedsymbol}\fi}% +% \end{macrocode} +% \end{macro} +% +% \begin{macro}{\mqedhere} +% \changes{v1.3}{2008/01/27}{Introduced the command} +% Normally |\qedhere| is typeset with zero effective width in math +% mode to present centering alignment in equations. This presents +% problems in |multline| environment, where the last line is flushed +% right, so |\qedhere| would be typeset on the margin. The following +% command switches to text mode: +% \begin{macrocode} +\def\mqedhere{\ensuremath{\text{\qedhere}}}% % \end{macrocode} +% % \end{macro} % +% % \begin{macro}{\qedsymbol} % \changes{v0.3}{2007/08/24}{Redefined \progname{amsart} default} % The QED symbol itself is a small closed box: -- cgit v1.2.3