Skip to content

Commit

Permalink
Add support for counters relying on other counters for Springer docum…
Browse files Browse the repository at this point in the history
…ent classes
  • Loading branch information
PierreSenellart committed May 10, 2018
1 parent 18ee45f commit fea8c09
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 3 deletions.
8 changes: 6 additions & 2 deletions apxproof.dtx
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@
%</driver>
% \fi
%
% \CheckSum{554}
% \CheckSum{562}
%
% \CharacterTable
% {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
Expand Down Expand Up @@ -691,7 +691,11 @@ This is a citation in the appendix~\cite{proofsAreHard}.
% \begin{macrocode}
\def\@axp@newtheorem#1#2#3#4{%
\ifx\relax#4\relax
\spnewtheorem{#1}{#3}{\bfseries}{\itshape}%
\ifx\relax#2\relax
\spnewtheorem{#1}{#3}{\bfseries}{\itshape}%
\else
\spnewtheorem{#1}[#2]{#3}{\bfseries}{\itshape}%
\fi
\else
\spnewtheorem{#1}{#3}[#4]{\bfseries}{\itshape}%
\fi
Expand Down
Binary file modified apxproof.pdf
Binary file not shown.
6 changes: 5 additions & 1 deletion apxproof.sty
Original file line number Diff line number Diff line change
Expand Up @@ -105,7 +105,11 @@
\ifdefined\spnewtheorem
\def\@axp@newtheorem#1#2#3#4{%
\ifx\relax#4\relax
\spnewtheorem{#1}{#3}{\bfseries}{\itshape}%
\ifx\relax#2\relax
\spnewtheorem{#1}{#3}{\bfseries}{\itshape}%
\else
\spnewtheorem{#1}[#2]{#3}{\bfseries}{\itshape}%
\fi
\else
\spnewtheorem{#1}{#3}[#4]{\bfseries}{\itshape}%
\fi
Expand Down

0 comments on commit fea8c09

Please sign in to comment.