WARNING: This server is unstable and will be retired in the next days.
If you want to keep this forum available, please request immediately a migration
on the Nabble Support forum.
Forums that don't receive any migration request will be deleted forever.
> I would like to be able to draw with pgf/tikz in verbatim environments
> like lstlisting (package listings) to annotate source code with
> graphic elements (rectangle, arrows, ...).
> I tried but without success. The tikz code appears verbatim too. I
> searched through the archive of the mailing list but did not find
> anything allowing me to solve the problem.
> Any idea will be useful.
It should be possible to embed tikz code inside a listing, but
unfortunately I don't have access to tikz at the moment, so I have not
tried it yet. PGF's 'remember picture' feature could be useful too.