Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit d960dc8

Browse files
committed
Fix square brackets around optional parameters to macros.
1 parent 7a737df commit d960dc8

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

Doc/texinputs/ltxmarkup.sty

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -25,10 +25,10 @@
2525

2626
\newenvironment{macrodesc}[2]{
2727
\begin{fulllineitems}
28-
\item[\code{\e\bfseries#1}{%
28+
\item[\code{{\e\bfseries#1}{%
2929
\let\op=\py@ltx@optparam%
3030
\let\p=\py@ltx@param%
31-
#2}]
31+
#2}}]
3232
\index{#1@\idxcode{\e #1}}
3333
}{\end{fulllineitems}}
3434

0 commit comments

Comments
 (0)