diff options
Diffstat (limited to 'Master/texmf-dist/tex/latex/bropd/bropd.sty')
-rw-r--r-- | Master/texmf-dist/tex/latex/bropd/bropd.sty | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/Master/texmf-dist/tex/latex/bropd/bropd.sty b/Master/texmf-dist/tex/latex/bropd/bropd.sty index 30495203af6..e78cc6efb40 100644 --- a/Master/texmf-dist/tex/latex/bropd/bropd.sty +++ b/Master/texmf-dist/tex/latex/bropd/bropd.sty @@ -6,7 +6,7 @@ %% %% bropd.dtx %% -%% Copyright 2012 by Benjamin Tatlock +%% Copyright 2014 by Benjamin Tatlock %% %% This work may be distributed and/or modified under the conditions of the %% LaTeX Project Public License, either version 1.3 of this license or (at your @@ -23,7 +23,7 @@ %% bropd.pdf. \NeedsTeXFormat{LaTeX2e} \ProvidesPackage{bropd} -[2012/11/08 1.1 automated typing of brackets and differential operators] +[2014/10/14 1.2 automated typing of brackets and differential operators] \newif\if@bropd@a\newif\if@bropd@b\newif\if@bropd@s\newif\if@bropd@u \newcounter{@bropd@c}\newcounter{@bropd@d} \newcounter{@bropd@e}\newcounter{@bropd@f} @@ -57,11 +57,11 @@ \frac{#4^{#1}\@bropd@o}{#4\noexpand#3^{#1}} \fi} \def\@bropd@j#1{\setcounter{@bropd@f}0 -{\renewcommand{\br}[1]{\stepcounter{@bropd@e}{##1} +\begingroup\renewcommand{\br}[1]{\stepcounter{@bropd@e}##1 \ifnum\value{@bropd@e}>\value{@bropd@f} \setcounter{@bropd@f}{\value{@bropd@e}} \fi -\addtocounter{@bropd@e}{-1}}\sbox0{$#1$}} +\addtocounter{@bropd@e}{-1}}\sbox0{$#1$}\endgroup \loop \ifnum\value{@bropd@f}>2 \addtocounter{@bropd@f}{-3} |