Sign up ×
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.

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 has been asked before and already has an answer. If those answers do not fully address your question, please ask a new question.

Welcome to! Take a look at… 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

Browse other questions tagged or ask your own question.