[pstricks] Drawing a Vertical Line
Herbert Voss
Herbert.Voss at alumni.TU-Berlin.DE
Mon Aug 25 20:13:11 CEST 2003
Aaron Carass schrieb:
> I am trying to finish up preparing a book and I want to add a line to my example environment.
> Things currently look like this in TeX:
no need for pstricks, use framed.sty
Herbert
\documentclass{book}
\usepackage{framed}
\usepackage[standard]{ntheorem}
\let\myExample\example
\renewenvironment{example}{%
\begin{leftbar}~\\[-2\baselineskip]
\begin{myExample}%
}{%
\end{myExample}
\end{leftbar}%
}
\def\x{blah blah blubber laber test }
\begin{document}
\x\x\x\x\x\x\x\x\x\x\x\x\x\x\x
\begin{example}[Rose model]
\x\x\x\x\x\x\x\x\x\x\x\x\x\x\x
\end{example}
\x\x\x\x\x\x\x\x\x\x\x\x\x\x\x
\end{document}
--
http://www.pstricks.de/
More information about the PSTricks
mailing list