diff options
author | Karl Berry <karl@freefriends.org> | 2010-01-03 01:09:02 +0000 |
---|---|---|
committer | Karl Berry <karl@freefriends.org> | 2010-01-03 01:09:02 +0000 |
commit | 080069f58e2325db5ab0ac5f5ea584f3021bc383 (patch) | |
tree | 6844ef574e7467149e139654976e5a37987c8546 /Master/texmf-dist/tex/latex/upmethodology/upmethodology-fmt.sty | |
parent | 2bd3666ca4cb2561890596598894be2a5672c0aa (diff) |
upmethodology 20091230 (2jan10)
git-svn-id: svn://tug.org/texlive/trunk@16575 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/tex/latex/upmethodology/upmethodology-fmt.sty')
-rw-r--r-- | Master/texmf-dist/tex/latex/upmethodology/upmethodology-fmt.sty | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/Master/texmf-dist/tex/latex/upmethodology/upmethodology-fmt.sty b/Master/texmf-dist/tex/latex/upmethodology/upmethodology-fmt.sty index 823ad0eee69..bf7a2adfbd2 100644 --- a/Master/texmf-dist/tex/latex/upmethodology/upmethodology-fmt.sty +++ b/Master/texmf-dist/tex/latex/upmethodology/upmethodology-fmt.sty @@ -799,10 +799,16 @@ %---------------------------------------- \newcounter{@@upm@fmt@inlineenumeration} +\newcommand{\inlineenumerationlabel}[1]{(#1)} +\let\upm@fmt@inlineenum@numberformat\roman \newenvironment{inlineenumeration}{% - \renewcommand{\item}{{(\roman{@@upm@fmt@inlineenumeration}){\addtocounter{@@upm@fmt@inlineenumeration}{1}}}~}% + \begingroup% + \let\upm@fmt@inlineenum@currentlabel\@currentlabel% + \renewcommand{\item}{\xdef\@currentlabel{\upm@fmt@inlineenum@numberformat{@@upm@fmt@inlineenumeration}}{\inlineenumerationlabel{\@currentlabel}{\addtocounter{@@upm@fmt@inlineenumeration}{1}}}~}% \setcounter{@@upm@fmt@inlineenumeration}{1}% }{% + \global\let\@currentlabel\upm@fmt@inlineenum@currentlabel% + \endgroup% } %---------------------------------------- |