Discussion:
Drawing a vertical line next to an indented section
(too old to reply)
Andrew
2007-04-19 19:01:47 UTC
Permalink
Hello, all. I'm a beginner user of LaTeX. I'd like to know how to
indent a section (of text and equations) and have a vertical line
along the left margin of that section. I made a crude example in
Paint: <Loading Image...>.

I want readers to get the feel that certain sections are digressions
from the main topic, so that when I come out of the indented-vertical-
lined section, readers think, "now getting back to the main topic..."
Any suggestions other than the vertical line would be welcome as well.

Thanks in advance!
Dan
2007-04-19 19:52:49 UTC
Permalink
Post by Andrew
Hello, all. I'm a beginner user of LaTeX. I'd like to know how to
indent a section (of text and equations) and have a vertical line
along the left margin of that section. I made a crude example in
Paint: <http://www.thecheong.com/example.png>.
I want readers to get the feel that certain sections are digressions
from the main topic, so that when I come out of the indented-vertical-
lined section, readers think, "now getting back to the main topic..."
The framed package can do this.


Dan
Andrew
2007-04-20 02:21:54 UTC
Permalink
Post by Dan
Post by Andrew
Hello, all. I'm a beginner user of LaTeX. I'd like to know how to
indent a section (of text and equations) and have a vertical line
along the left margin of that section. I made a crude example in
Paint: <http://www.thecheong.com/example.png>.
I want readers to get the feel that certain sections are digressions
from the main topic, so that when I come out of the indented-vertical-
lined section, readers think, "now getting back to the main topic..."
The framed package can do this.
Dan
Thanks! As a future reference for others:

\usepackage{framed}
...
\begin{leftbar}
...
\end{leftbar}

Edit framed.sty to change the width of the bar. (Or perhaps there is
a passable parameter that I haven't found out how to use.)
Stephan Boettcher
2007-04-20 19:08:24 UTC
Permalink
Post by Andrew
Hello, all. I'm a beginner user of LaTeX. I'd like to know how to
indent a section (of text and equations) and have a vertical line
along the left margin of that section.
That can be done with lineno.sty as well, with a different set of
restrictions than framed.sty.

Stephan
--
Stephan Böttcher FAX: +49-431-880-3968
Extraterrestrische Physik Tel: +49-431-880-2508
I.f.Exp.u.Angew.Physik mailto:***@physik.uni-kiel.de
Leibnizstr. 11, 24118 Kiel, Germany
Scott Pakin
2007-04-20 20:11:18 UTC
Permalink
Post by Andrew
Hello, all. I'm a beginner user of LaTeX. I'd like to know how to
indent a section (of text and equations) and have a vertical line
along the left margin of that section. I made a crude example in
Paint: <http://www.thecheong.com/example.png>.
Maybe some of the change-bar packages listed in the UK TeX FAQ will help:

http://www.tex.ac.uk/cgi-bin/texfaq2html?label=changebars

-- Scott

Continue reading on narkive:
Loading...