TeX - LaTeX Stack Exchange is a question and answer site for users of TeX, LaTeX, ConTeXt, and related typesetting systems. It's 100% free, no registration required.

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

Possible Duplicate:
Putting a bar in the margin
How to make continuous (but breakable) vertical rule along left side of paragraph?

I'm planning on including large excerpts of publications in my thesis. I would like to highlight these in some way that would make visually clear the distinction between these sections and my newly written thesis text. These excerpts are multi-page fully formatted sections replete with typeset math and figures. My thesis text references equations and figures in these excerpts and both share the same bibliography.

What I'd like to do is to place a vertical line in the margin beside these excerpts. Is there any way to write an environment to do that in latex?

share|improve this question

marked as duplicate by barbara beeton, lockstep, Qrrbrbirlbel, Thorsten, Claudio Fiandrino Jan 7 '13 at 14:18

This question was marked as an exact duplicate of an existing question.

Welcome to TeX.sx! Take a look at tex.stackexchange.com/questions/35815/… While the question was intended for plain TeX, there are a couple of LaTeX solutions as well, the easiest seemingly Herberts suggestion (leftbar environment from framed package). – Torbjørn T. Jan 6 '13 at 22:59
will you be typesetting the excerpts, or will they be included using (for example) includegraphics or pdfpages? – cmhughes Jan 6 '13 at 23:43
I will be typesetting them. I was concerned that if I tried pdfpages I wouldn't be able to reference the equation and figure numbers. – Keith Jan 7 '13 at 0:32