[pstricks] Taking the box of the figure with the listing and showexpl

hh hh-brasil at bol.com.br
Wed Nov 11 10:09:03 CET 2009


Try this example:

\documentclass{article}
\usepackage[T1]{fontenc}
\usepackage[latin1]{inputenc}
\usepackage{xcolor}

\usepackage{showexpl}

\begin{document}

\begin{LTXexample}[frame={},pos=l,caption=Demo,label=ex:Demo]
Ein \textit{kurzer} Test zeigt,
daß dös auch mit Ümläuten
funktioniert.
\end{LTXexample}

\begin{lstlisting}
  Ein \textit{kurzer} Test zeigt,
  daß dös auch mit Ümläuten
  funktioniert.
\end{lstlisting}

\end{document} 

And change in the part within the square brackets - just to show the 
effect - "pos=l" to "pos=r"

hh

PS: And read the pdf-file to showexpl! There are more possibilities!

> see my attachment for my problem with frame in pstricks.
> Régis
> 
> 
>       ____________________________________________________________________________________
> Veja quais são os assuntos do momento no Yahoo! +Buscados
> http://br.maisbuscados.yahoo.com




More information about the PSTricks mailing list