[pstricks] Listings in Combination with rput

Herbert Voss Herbert.Voss at FU-Berlin.DE
Wed Dec 14 14:10:04 CET 2011


Am 14.12.2011 13:39, schrieb Christian Häger:

> Why does this not compile? Are there any other options to accomplish this?

\documentclass[]{article}
\pagestyle{empty}
\usepackage{pstricks,listings}
\begin{document}

\begin{pspicture}[](-4,-4)(4,4)
\pscircle[linestyle=dotted](0,0){2}
\psverbboxtrue
\rput(0,0){\lstinline[basicstyle=\ttfamily]|\pscircle[linestyle=dotted](0,0){2}|}
\end{pspicture}

\end{document}

Herbert


More information about the PSTricks mailing list