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

learn more… | top users | synonyms

0
votes
0answers
11 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
24 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, ...
1
vote
1answer
22 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, ...
2
votes
1answer
24 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
25 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
25 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
27 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
47 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
38 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
75 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
31 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
1answer
80 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 ...
1
vote
0answers
62 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
46 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 ...
1
vote
1answer
94 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 ...
0
votes
1answer
44 views

Problem with a theorem with mdframed [on hold]

I have this weird problem and I haven't been able to solve it. It is a long theorem with 4 equations in it and when I see the pdf this environment starts a new page even though I don't include this ...
0
votes
0answers
32 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 ...
0
votes
1answer
46 views

Issue with the option many in tcolorbox [on hold]

Im writing my thesis and I have the following code with tcolorbox \usepackage[many]{tcolorbox} \newtcbtheorem[number within=section]{mytheo}{My Theorem}% {colback=white,colframe=blue!50, ...
1
vote
1answer
16 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 ...
2
votes
1answer
50 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 ...
0
votes
0answers
20 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 ...
2
votes
1answer
104 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
37 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
24 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 ...
4
votes
1answer
105 views

To visualise Schematic Intersections of Sections over Parts

Assume you have Parts Eggs Bars Some of Eggs belong too to Bars. I can visualise this by a venn diagram, however I would like show this kind of structure in colours too. Assume you have items ...
1
vote
1answer
97 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
50 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
51 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
43 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
29 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 ...
3
votes
1answer
123 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
1k views

How to insert title in mdframed?

How to insert title in mdframed? In my example does not work. \documentclass{article} \usepackage[utf8]{inputenc} \usepackage[T1]{fontenc} \usepackage[framemethod=TikZ]{mdframed} \begin{document} ...
2
votes
0answers
52 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 ...
2
votes
1answer
72 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 ...
0
votes
0answers
53 views

mdframed error line 96 missing begin{document}

All the my MWE, in mdframed.sty error line 96, Missing \begin{document}. I am sure easy to solving but I can't do it. Also I did anyting in related page. Where did I do wrong? Maybe, did I wrong ...
0
votes
0answers
36 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
2answers
56 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 ...
5
votes
2answers
689 views

Break Lines in minted environment

Usually when adding code in a LaTeX document, I use the listings package. When trying to modify and personalise styles in listings, @1010011010 suggested to use the minted package. To be quite frank, ...
5
votes
2answers
113 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
29 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
52 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
113 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
72 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
140 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 ...
6
votes
2answers
1k views

Textwidth wrong after wrapfigure

I have included a picture with wrapfigure and everything is fine - the problem is that in my next formula environment, the formula is totally wrong! It seems to me, that the width which I set in the ...
2
votes
1answer
36 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
60 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
98 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}{% ...
2
votes
1answer
93 views

mdframed top box fixing using tikz

How do get the top box value in 1-3 and 3(1/2) in mdframed. Please refer screenshot below: ![enter image description here][1] my MWE is: \documentclass{article} \usepackage[tikz]{mdframed} ...
3
votes
1answer
66 views

Split roundered corner using mdframed

I would like to create splitted rounder corner with separate frametitle (attached below) using mdframed or mdframed with tikz. My MWE is: \documentclass[10pt]{article} \usepackage{amsmath} ...