{mdframed} is a package for creating framed boxes that can break across pages.

learn more… | top users | synonyms

1
vote
0answers
10 views

Nested `mdframed` environments and footnotes

Suppose that you have two mdframed environments, one nested inside the other, and a footnote in the first mdframed environment but not in the second. See the MWE example below. ...
2
votes
2answers
29 views

hspace not working inside mdframed

I am trying to use \hspace to align text inside mdframed box. However, \hspace seems to not working inside mdframed box. Text in the mdframed is somehow is aligned to center. Why is \hspace not ...
3
votes
1answer
13 views

Positioning mdframed box on page using book class

I'm trying to create a template for a book that I'm planning to write, however, I'm having difficulty placing the box created using mdframed at the bottom of the page. I have tried the obvious \vfill ...
5
votes
1answer
35 views

How to prevent mdframed from typesetting a widow line that contains just a bit vspace with colored background?

The code below produces a nice box around an equation or a few lines of text but continues the boxes on the following page with an absurd horizontal rule. Of course I can get rid of this outrageous ...
2
votes
1answer
46 views

mdframed or shaded inside mdframed?

I have an mdframed environment and i want another frame, just with background color, inside it but i don't wish to have the above title inherited. That's why i used the shaded environment. My problem ...
0
votes
0answers
30 views

Break a large theorem using mdframed on beamer [duplicate]

I am using mdframed to write theorems and I've been dealing with this theorem that is quite long and hao 4 equations in it. I have tried using [allowframebreaks] and using \framebreak in a specific ...
0
votes
0answers
20 views

Changing footer in documentclass ltxmdf

In the following working example I change the footer via \ifoot. Is this the correct approach? \documentclass[parskip=false,english,11pt]{ltxmdf} \usepackage{blindtext} \ifoot[]{} \begin{document} ...
0
votes
0answers
39 views

Using mdframed package with pstricks option in pdflatex possible?

I want to use the mdframed package with the pstricks option (for dashed lines etc) with pdflatex. But doing so threw an Undefined control sequence ... \c@lor@to@ps error. The internet tells me, ...
2
votes
1answer
38 views

mdframed box, cross-reference, paragraph spacing

I'm trying to create an environment that provides a framed box within a report. My current problems are: The interparagraph spacing does not match the body text spacing (the space within the box is ...
0
votes
0answers
31 views

Different titles on different pages of an mdframed box

I would like to have a titled mdframed box. The following works. But I would like the title on the second and subsequent pages to mention "Continued" along with the title [someting like Title ...
4
votes
2answers
30 views

How to set line-spacing inside environments defined by the mdframed package?

In the code below, how can I apply a \baselineskip=.8cm to the theorem environment? I want to do this somehow in the \mdfdefinestyle or \mdtheorem commands, not in the body every times by hand. Also I ...
2
votes
0answers
35 views

Boxes produced by `mdframed` do not completely outline a region in certain PDF viewers? [closed]

I am using Adobe Acrobat Professional v. 9, on Windows 8.1. Here's a minimum (not) working example: \documentclass{article} \usepackage{mdframed} % noteboxes, boxes, etc. ...
1
vote
1answer
59 views

Nested mdframed

How to change the theo environment in that way, that a inner mdframed will not inherit the style of theo? \documentclass[parskip=false,english,11pt]{ltxmdf} \usepackage{mathtools} ...
2
votes
2answers
48 views

How to prevent a page break between this colored box and its subsequent text?

In the following code, how to prevent a page break between the colored box and its subsequent text? \documentclass[a4paper]{book} \usepackage{lipsum} \usepackage[showframe]{geometry} ...
2
votes
2answers
84 views

mdframed does not attempt to stretch or shrink vertical spaces within its content

When the content in an mdframed environment is overfull, mdframed will rather break the page instead of iteratively shrinking the vertical length up to the specified minimum. The following output ...
1
vote
1answer
84 views

How can I setup my mdframed boxes to automatically break over column breaks in multicol?

Apparently there is a known issue with using mdframed inside a multicol environment. For me it seems to work fine including page breaks, but column breaks act all funny and typically push the entire ...
3
votes
1answer
45 views

Conflict between mdframed and arabic babel

I'm trying to make a template for an Arabic book. I wish to use the babel package with pdflatex as I'm not familiar with xelatex. I was hoping to arabianize the legend orange template ...
1
vote
0answers
68 views

Nested mdframed environment problems

I have a problem concerning a mdframed into an other mdframed. If the content of the second mdframed is too important, the result is horrible: it's separated by one page and the content of the second ...
2
votes
1answer
57 views

Vertical spacing problem using mdframed environment

I want to use mdframed to add a frame around a text. But the vertical spacing is not as expected. I found the following help page: Vertical spacing problem related to the mdframed environment The ...
0
votes
0answers
34 views

How can I trace a problem with hyphenation inside special environments?

For quite some time now I've been having trouble with the hyphenation of Turkish text in mdframed environments. I have been unable to come up with a sane MWE that exhibits the problem. It only seems ...
1
vote
1answer
22 views

Why does mdframed “hidealllines” actually show all lines?

I'm trying to use the hidealllines key for mdframed, but it's not working, either as a local argument or in an \mdfsetup. It works when I set all the topline=false, etc., but not when I just use ...
3
votes
1answer
77 views

Need help for fancy theorems using mdframed

I've been working with LaTex for a while and with Tikz I've done stuff nothing fancy just things for homework but now I will write my thesis I want some elegant cool theorem box using mdframed and ...
1
vote
1answer
35 views

tikz mdframed environment: lemma/excursus skips pages

I used the example code under this link [TikZ mdframed environment: close box at end of page and continue on next to successfully create a nice excursus section in an a4 onesided environment. However, ...
0
votes
0answers
27 views

landscape/sidewaystable inside mdframed box containing text and another table

I would like a landscape/sideways table in an mdframed box which contains some other text. I would like to insert a sidewaystable in it. The table is too wide to fit in the portrait mode of the ...
1
vote
1answer
104 views

Tufte Fullwidth Bibliography across pages

I am trying to print the bibliography in a tufte-book using the whole width of the page, since I don't intend to put marginalia into the bibliography. Edit: I am using an updated version of tufte ...
2
votes
1answer
137 views

mdframed box containing text captioned tables and figures

I would like to create a framed boxes containing arbitrary text, captioned tables and captioned figures. But mdframed does not allow floats inside. How does one achieve this? Something like this does ...
5
votes
1answer
48 views

How can I fix the title height in mdframed boxes?

I am trying to write a LaTeX document involving a lot of definitions. For this reason, I decided to create a mdframed environment (see below), and place my definitions one after the other in a ...
1
vote
0answers
32 views

Problems with framemethod global option to mdframed package

I'm using a colleague's template for a beamer poster but I'm having trouble getting it to compile. The error I'm getting is ! Package xkeyval Error: `framemethod' undefined in families `mdf'. I ...
1
vote
1answer
126 views

Difficult mdframed example

I want to do this mdframed model: Which is the example 6 of the page 21 and 22 of this pdf: http://texdoc.net/texmf-dist/doc/latex/mdframed/mdframed.pdf My question is if it is correct or not, ...
3
votes
1answer
68 views

Changing frame size in mdframed

I am trying to place a box around a definition. Using the package mdframed, I have managed to do so. However, the box is too large, in particular too tall, and it is covering up text appearing above ...
2
votes
1answer
65 views

Conflict between mdframed and amsthm packages with the use of czech babel

I would like to have theorems in boxes. I am working with amsthm and mdframded packages (I use the syntax utilized in Legrand Orange template). It works well with different babels (english, spanish, ...
2
votes
1answer
49 views

thmtools: Custom Header

I'm using amsthm and thmtools to customize theorem-like environments. I want a theorem enviroment that has a header that looks like the following: . I tried to use something like headformat = ...
2
votes
1answer
31 views

No Background Title in mdframed

I'm dealing with mdframed. I wrote some text in a grey background frame. Then I want to display the frame title, but I don't want that the box which contains the frame title is visible (actually it's ...
2
votes
0answers
56 views

mdframed package with tikz rendering lines poorly

I'm using TeX Live 2014 on Windows 8.1, and I'm having some trouble setting up a visually appealing definition environment. I'm trying to use the mdframed package with tikz, and I'm using an example ...
0
votes
0answers
47 views

mdframed forces new page in the middle of a frame, solved by \clearpage. Why?

This is somehow a poor question, as I don't have an MWE... I have a problem with an mdframed environment. The environment breaks to a new page for apparently no reason. A screen shot of the effect is ...
2
votes
1answer
76 views

Alltt inside mdframed longtable

I am trying to achieve the following: I have text material which is to be put in verbatim form. This material also has some mathematics, so I am using the alltt package. This text needs to be in a ...
2
votes
2answers
71 views

Make a frame around text and include a header

I'd like to make a frame (probably using mdframed) as in the example picture I included. I looked around on this website and tried to google the think, but I don't even know how to desrcibe this in ...
3
votes
1answer
130 views

An annoying overflow in mdframed environment with tufte-handout

I'd like to highlight a text block in a Tufte style document. I defined myblock environment based on mdframed package. \documentclass{tufte-handout} \definecolor{MyGray}{rgb}{0.95,0.95,0.98} ...
5
votes
2answers
132 views

Adjust frame title rule with tcolorbox

I have been unable to locate an example using tcolorbox which sets the color and width of the line below the frame title independent of the background color of the frame title. With mdframed one can ...
3
votes
1answer
31 views

mdframed gobbles item label from description environement when \foreach is used

The following works: description in mdframed. foreach in description. but there is some strange behavior when using foreach in description in an mdframed environment in that the \item labels ...
0
votes
0answers
61 views

Split a page horizontally with page breaks

I am looking for an adequate package to split horizontally all pages of an article into two parts with page breaks. The expected behaviour shall be as in following picture: I already try with the ...
3
votes
3answers
126 views

Hereditary properties with nested frames (mdframed and tikz)

When nesting an mdframed environment in a mdframed environment that uses tikz, it seems that the nested mdframed environment takes on many of the properties of the environment isn't being nested in, ...
5
votes
2answers
82 views

Issues with using \nameref (hyperref) and \mdtheorem (mdframed) together

When using the \mdtheorem command (from mdframed) with \nameref (from hyperref), it seems that labels applied to an theorem made using \mdtheorem will not appropriately take the title given to the ...
6
votes
2answers
156 views

Defining a two-column box with mdframed

I would like to have mdframed boxes which have a picture on the left and some written explanation on the right. Right now I have used the column environment in Beamer but would like to have the ...
2
votes
1answer
38 views

mdframed innertopmargin should be same to next page

I have using mdframed and expecting output is same innertopmargin space is continued to next page: My MWE is: \documentclass{book} \usepackage{mathptmx,lipsum,mdframed,showframe} ...
5
votes
1answer
61 views

mdframed breaks vskip option in quoting

Csonsider the following MWE. Without the call to \surroundwithmdframed, the vskip argument to quoting works. With it, it doesn't. Can anyone suggest a workaround or fix? Thanks. ...
3
votes
1answer
112 views

TikZ mdframed environment: close box at end of page and continue on next

I used the Excursus environment as a template to create my own box like this: \usepackage[style=1,leftmargin=0pt,rightmargin=0pt,framemethod=TikZ]{mdframed} \newenvironment{boxtype1}{% ...
1
vote
1answer
88 views

top of the page ribbon box in mdframed

I would like to expect the framebox (like 1B) in the top of the each page when exercise environment is started to ending the exercise environment (i.e., page 2 and 3 only and not page 1, because ...
1
vote
2answers
100 views

mdframed rounded corner on left side only

I would like to get the roundered corners on only leftside instead of top, bottom, right, bottom. How to achieve this. \documentclass{book} \usepackage{xcolor,lipsum} \usepackage{mdframed} \mdfsetup{ ...
2
votes
1answer
89 views

image height reduce/increase automatically

I have the below boxed environment. The image should place in the marginpar width. When my environment is going long the image should automatically increase upto my enviroment, when is going to low it ...