# How should I add visual indications of excerpted sections? [duplicate]

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?

-

## marked as duplicate by barbara beeton, lockstep, Qrrbrbirlbel, Thorsten, Claudio FiandrinoJan 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