TeX - LaTeX Stack Exchange is a question and answer site for users of TeX, LaTeX, ConTeXt, and related typesetting systems. Join them; it only takes a minute:

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

I want to create a delimiter between two regular paragraphs of text as in the end of page 6 of this pdf.

enter image description here

One way out could be the Vmatrix environment but then I dont know how to make the right delimiter disappear. Quick googling suggested only the usual way of using \right. to make a delimiter disappear but that wont work here.

How do I do this?

share|improve this question
p.s.- I do not have enough rep. to add an image. – Abhishek Gupta Aug 27 '12 at 13:18
There are several frame environment packages, like mdframed. – canaaerus Aug 27 '12 at 13:25
up vote 5 down vote accepted

\begin{tabularx}{\linewidth}{@{}|| X @{}}


enter image description here

share|improve this answer
+1, Can't vote up. Not enough rep. thanks! – Abhishek Gupta Aug 27 '12 at 13:32
@AbhishekGupta: But you can accept the answer, can't you? – canaaerus Aug 27 '12 at 13:35
@canaaerus Yes, thanks for pointing out. – Abhishek Gupta Aug 27 '12 at 13:36
The image and the code don't correspond. – Gonzalo Medina Aug 27 '12 at 13:43
@GonzaloMedina: I know, but it's not important here. – Herbert Aug 27 '12 at 13:44

I used the framed package to define a dleftbar environment to enclose the contents using a double vertical rule; then, this environment was used in conjunction with the amsmath package to define some theorem-like structures (admitting page breaks):


  \def\FrameCommand{\vrule width 0.4pt\hspace{1.7pt}\vrule width 0.4pt \hspace{6pt}}%
  \MakeFramed {\advance\hsize-\width \FrameRestore}}%




\chapter{Test Chapter}


enter image description here

share|improve this answer
Thanks, it helped. – Abhishek Gupta Aug 27 '12 at 13:46
@AbhishekGupta You're welcome! Notice that using this solution, page breaks can occur inside the environments. – Gonzalo Medina Aug 27 '12 at 13:47
The solution is so simple and it works perfect. Thanks for you share. – lazyboy Aug 27 '12 at 13:53

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.