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? # for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? # to your account
An example:
\documentclass{article} \usepackage{palatino} \usepackage{minted} \begin{document} \section{wrap=True block} <<wrap=True>>= first_line = 1 second_line = 2 last_line = 'last' @ \section{wrap=False block} <<wrap=False>>= first_line = 1 second_line = 2 last_line = 'last' @ \end{document}
Compiling with -f texminted, the result is:
-f texminted
\documentclass{article} \usepackage{palatino} \usepackage{minted} \begin{document} \section{wrap=True block} \begin{minted}[mathescape, fontsize=\small, xleftmargin=0.5em]{python} first_line = 1 second_line = 2 last_line = 'last' \end{minted} \section{wrap=False block} \begin{minted}[mathescape, fontsize=\small, xleftmargin=0.5em]{python} first_line = 1 second_line = 2 last_line = 'last'\end{minted} \end{document}
which produces the following output:
The last \end{minted} just needs bumped to the next line.
\end{minted}
I'm using Pweave 0.23.
The text was updated successfully, but these errors were encountered:
503265b
No branches or pull requests
An example:
Compiling with
-f texminted
, the result is:which produces the following output:
The last
\end{minted}
just needs bumped to the next line.I'm using Pweave 0.23.
The text was updated successfully, but these errors were encountered: