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 am working on mdframed and found solution of using mdframed on multiple pages by using everyline but it new box has no margin or newline. So it starts from beginning which looks odd?

\begin{mdframed}[roundcorner=10pt,leftmargin=1, rightmargin=1,
linecolor=maincol,outerlinewidth=.5, innerleftmargin=8,
innertopmargin=8,innerbottommargin=8, everyline = true]

enter image description here

How can i add margin or newline to it?


share|improve this question
See documentation – Marco Daniel Jun 29 '12 at 21:03
I have read documentation but could not find the way of writing newline for splitted frames. – manish Jul 2 '12 at 2:24
Pls senior and expert member reply. Thanks – manish Jul 2 '12 at 8:17
See: splittopskip – Marco Daniel Jul 2 '12 at 17:16
Thanks it works. – manish Jul 3 '12 at 3:44
up vote 3 down vote accepted

By default the package doesn't draw lines at the bottom or top of splitted frames. You can change this settings by the option everyline=true

To influence the space at the top of a splitted frame use the option splittopskip. For further details please have a look at the documentation.

share|improve this answer

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.