diff options
author | Karl Berry <karl@freefriends.org> | 2014-10-15 22:22:36 +0000 |
---|---|---|
committer | Karl Berry <karl@freefriends.org> | 2014-10-15 22:22:36 +0000 |
commit | d21745ac1c076a65eb84bca7ced2c0411abe26ba (patch) | |
tree | cac14b4f94001105448021748bd742dc8d86c1a2 /Master/texmf-dist/tex/latex/bropd | |
parent | 418570a6666dc24bf8c0577eafd6d10525569b3b (diff) |
bropd (15oct14)
git-svn-id: svn://tug.org/texlive/trunk@35383 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/tex/latex/bropd')
-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} |