We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
! Undefined control sequence
Hello,
I tried to typeset the following code:
\documentclass{article} \usepackage{showexpl} \begin{document} \begin{LTXexample} \begin{lstlisting} hoge \end{lstlisting} \end{LTXexample} \end{document} % Package: showexpl 2020/05/26 v0.3q Typesetting example code (RN) % Package: listings 2020/03/24 1.8d (Carsten Heinz)
But I got an error:
! Undefined control sequence. <argument> c@\@captype l.1 \begin{lstlisting}
The error is not generated if I replace \begin{LTXexample} with
\begin{LTXexample}
\begin{LTXexample}[preset=\expandafter\def\csname @captype\endcsname{lstlisting}]
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Hello,
I tried to typeset the following code:
But I got an error:
The error is not generated if I replace
\begin{LTXexample}
withThe text was updated successfully, but these errors were encountered: