wrapstuff icon indicating copy to clipboard operation
wrapstuff copied to clipboard

curly bracket {} in trivlist cause error

Open DailyShana opened this issue 2 years ago • 1 comments

MME:

\documentclass{ctexart}
\usepackage{wrapstuff}
\usepackage{graphicx}

\begin{document}
\begin{trivlist}
  \item {[} 是左方括号
\end{trivlist}

\begin{wrapstuff}[l]
\includegraphics[width=4cm]{example-image.pdf}
\end{wrapstuff}

\begin{trivlist}
  \item {[} 是左方括号
\end{trivlist}
\end{document} 

error in log:

...
! Extra }, or forgotten \endgroup.
l.25   \item {[}
                 是左方括号
? 

DailyShana avatar May 27 '24 12:05 DailyShana

Could be another duplicate of #11.

muzimuzhi avatar May 27 '24 22:05 muzimuzhi