Take the 2-minute tour ×
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.

In the following MWE, I have used everyline=true. Is there any way to ensure that the vertical distance between the bottom of the frame on Page 1 to the bottom of text to be the same as the vertical distance from the top of the frame to the beginning of the text? Same question for Page 2.





\begin{mdframed}[roundcorner=5pt, everyline=true]
\item \blindtext
\item \blindtext
\item \blindtext
\item \blindtext

share|improve this question

closed as too localized by Marco Daniel, Kurt, Thorsten, Martin Schröder, Werner Mar 10 '13 at 21:45

This question is unlikely to help any future visitors; it is only relevant to a small geographic area, a specific moment in time, or an extraordinarily narrow situation that is not generally applicable to the worldwide audience of the internet. For help making this question more broadly applicable, visit the help center.If this question can be reworded to fit the rules in the help center, please edit the question.

I don't know I understand your question. Sorry. But the splitting point is calculated during the compilation. –  Marco Daniel Mar 10 '13 at 17:37
Page 1: The vertical distance between the first line of the text, i.e. Lorem ipsum dolor sit ... and the beginning of the frame is fine. Let's call this distance d1. On the same page, before the frame splits, the vertical distance between the bottom of the frame and the last line of the text, i.e. Ut porttitor. Praesent in sapien. Lorem ipsum dolor sit amet, is not the same as d1. This makes the frame look ugly. –  Reza Mar 10 '13 at 17:46
You can set splitbottomskip and splittopskip. Is that what you want? –  Marco Daniel Mar 10 '13 at 18:01
Thanks Marco. Yes indeed. –  Reza Mar 10 '13 at 18:07
I have just tested with splitbottomskip=0.5\baselineskip and splittopskip=0.5\baselineskip options. First page is fine now. But it does not do anything on the second page. –  Reza Mar 10 '13 at 18:08

Browse other questions tagged or ask your own question.