Corrected issues with \dfn consuming more than it should
parent
397d1e9691
commit
ef03fb27c3
13
lvspec.cls
13
lvspec.cls
|
@ -169,7 +169,9 @@
|
||||||
\let\@@cmp\@@document
|
\let\@@cmp\@@document
|
||||||
\else\ifx\@currenvir\@@protdev
|
\else\ifx\@currenvir\@@protdev
|
||||||
\let\@@cmp\@@document
|
\let\@@cmp\@@document
|
||||||
\fi\fi\fi
|
\else\ifx\@currenvir\@@coglclass
|
||||||
|
\let\@@cmp\@@document
|
||||||
|
\fi\fi\fi\fi
|
||||||
% output if match
|
% output if match
|
||||||
\ifx\@@cmp\@@document%
|
\ifx\@@cmp\@@document%
|
||||||
\ifx\haspnum1\relax
|
\ifx\haspnum1\relax
|
||||||
|
@ -420,15 +422,14 @@
|
||||||
% get rid of mysterious magical hspace that appears from the marginpar
|
% get rid of mysterious magical hspace that appears from the marginpar
|
||||||
\hskip-1ex\relax%
|
\hskip-1ex\relax%
|
||||||
}
|
}
|
||||||
\def\dfn#1#2{%
|
\def\dfn#1{%
|
||||||
\begingroup
|
\begingroup
|
||||||
\sl
|
|
||||||
\ifx#1*
|
\ifx#1*
|
||||||
#2%
|
\aftergroup\dfn%
|
||||||
\else
|
\else
|
||||||
\@idxhat@idx{#1#2}%
|
\sl
|
||||||
|
\@idxhat@idx{#1}%
|
||||||
\fi
|
\fi
|
||||||
\/
|
|
||||||
\endgroup
|
\endgroup
|
||||||
}
|
}
|
||||||
\def\rfc#1{{\tt RFC #1}}
|
\def\rfc#1{{\tt RFC #1}}
|
||||||
|
|
Loading…
Reference in New Issue