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

learn more… | top users | synonyms

1
vote
1answer
52 views

Footnote within a double column float

I have a double-column float that is used to insert a full-page box in a document. However, when I place footnotes in this box, the footnotes appear within the box (which is desired) but not in a ...
4
votes
0answers
190 views

Wrong vertical alignment using mdframed with tight margins

When using the mdframed environment with absolutely tight margins (all set 0pt), there is too much negative vertical space of split md-frames that are placed at the top of a page. To illustrate this, ...
4
votes
0answers
106 views

Collect in mdframed and print at the bottom of the next page

I am trying to collect say fruits mentioned in a page and print them at the bottom of the next page. All text is always enclosed in a frame and the frame can span multiple pages but the collected ...
4
votes
0answers
245 views

Mdframed: negative top margin with page break skips a page

I am using the development version (1.9d) of the mdframed package to customize the proof environment in the following way. I wish that a line runs down from the word "Proof." and that the text of the ...
3
votes
0answers
233 views

Avoid pagebreak in mdframed environment

I created a document with two columns which contains almost exclusively mdframed environments. In general, splitting up the frames over the columns or a page is welcomed and works. However, situations ...
2
votes
0answers
38 views

How to add right bar in proof

when i use mdframed the right bar is proof double line: \documentclass{book} \usepackage{xpatch,amsthm,xcolor} \usepackage{color} \usepackage[framemethod=tikz]{mdframed} \usepackage{polyglossia} ...
2
votes
0answers
44 views

multicol is creating weird behavior by leaving almost-blank pages

I am using the multicol package to create a three-column formula sheet. I am also using the mdframed package to write theorems, definitions, etc. in differently colored boxes. Here is the result: ...
2
votes
0answers
21 views

Automatically Detect When in an Mdframed frame title

I would like to be able to detect when I am within a frametitle={} of an mdframed environment. One way is to manually set a flag within the \frametitle={}, but wondering if there is some other way to ...
2
votes
0answers
74 views

XeLaTeX and the changbar package

Does anyone know if there has been an update to changebar or a workaround that will get it to work with XeLaTeX? I found two conversations from years ago about the topic but have not found anything ...
2
votes
0answers
95 views

braces marks with \framed & \tikz

I'm trying to mark some paragraphs with boxes, braces, brackets or parentheses coupled with notes in margin… My first test was using \makebox & minipage according to this discussion as you can see ...
2
votes
0answers
58 views

Custom table with mdframed and parcolumns: LaTeX Error: Something's wrong--perhaps a missing \item

I am building my own table environment using parcolumns and mdframed. \documentclass{report} \usepackage{parcolumns} \usepackage{mdframed} \newenvironment{mytable}[1] {\begin{mdframed}[...
2
votes
0answers
441 views

Remove thin border around mdframed title

I get a thin border around the title of a mdframed environment which has the color of the actual content area: I want to get rid of this thin red line around the title. MWE: \documentclass{article}...
2
votes
0answers
62 views

Collect text in mdframed and print at the bottom of the next page

I am trying to collect say fruits mentioned in a page and print them at the bottom of the next page. All text is always enclosed in a frame and the frame can span multiple pages but the collected ...
2
votes
0answers
179 views

mdframed: option thmmarks of ntheorem affects vertical skip after theorem

I define a framed theorem environment with the mdframed package. I experience the following problem: There is no vertical skip between the bottom of the frame and the text of the following paragraph ...
2
votes
0answers
236 views

mdframed creates empty frame edge on new page

I have a document where I use shaded mdframed frames for annotations. One annotation is on the very bottom of the page and somehow the frame extends to the next page even though all its content is on ...
2
votes
0answers
175 views

Package “mdframed” creating arbitrary gaps in the border

I used to define a small environment with the package "mdframed". I've included the package in the following way: \usepackage[framemethod=tikz]{mdframed} This is how I've set up the environment: \...
2
votes
0answers
681 views

mdframed - eliminating newline and top/bottom space /margins

I'm totally new to (La)TeX, but trying to learn to become more independent. So I'm writing a document which includes periodical revisions that need to be marked in a specific way (a thick black ...
2
votes
0answers
259 views

mdframed parchment layout

I have recently found a very nice example of how to create text boxes with a parchment-style layout: http://www.texample.net/tikz/examples/framed-tikz/ Also, here on tex.stackexchange, there are ...
2
votes
0answers
89 views

How to avoid widows-orphans with mdframed?

I have a document with a lot of mdframed boxes ; which option can I set to avoid 'widow' lines at the end of the box (that is, avoid to have small parts of boxes on new pages)? \documentclass[a4paper]...
1
vote
0answers
22 views

Using 4 column page and mdframes! No correct view

I'm writing a summary and I'm using a 4-column page with a lot of mdframed boxes (boxes that contains theorems and other stuff). I use also different files and I merge them like this: \begin{...
1
vote
0answers
39 views

How do I format my theorem environment to fit the itemize?

I study by making summaries of books, and, in order to prevent constructing a narrative, I use the itemize environment to break up chapters, sections and subsections into the essential information. ...
1
vote
0answers
49 views

Footnotes on the current page with mdframed

Is there a way to force a footnote to be on the current page when I use a multi-page mdframed box ? With this box, I must use the pair \footnotetext/\footnotemark. Currently, I used this next code. ...
1
vote
0answers
45 views

Have different thickness and colour for each line in a mdframed box

I want to have a different thickness and color for each of the left line, right line, top line, and bottom line of my mdframe box. How can I achieve that? I am new to LaTeX, really appreciate any help!...
1
vote
0answers
43 views

mdframed produce blank pages

I'm trying to compile a code like this one. \documentclass[spanish, a4paper, 12pt, twoside]{report} %-----Español---------- \usepackage[activeacute,spanish,es-lcroman]{babel} \usepackage[T1]{fontenc} ...
1
vote
0answers
32 views

“Floating” figure/table within a full page box

I am writing a twocolumn landscape report with occasional full-page boxes. In these full-page boxes, there are typically figures, which I am currently manually placing. I would prefer that the figure ...
1
vote
0answers
63 views

how to get longtable in mdframed to show more than firsthead?

I have a document that wraps tables (or rather, tabular/tabulary) with mdframed. This works quite happily whether the table is shown inline or floated to another page (mdframed inside the table*, ...
1
vote
0answers
46 views

Undesired page-breaks, mdframed and long table

I have a problem. I am creating MSDS sheets using LaTeX, (actually a web-application that creates a LaTeX code). The basic setup of the sheet is such that for each section (there are 16 sections) a ...
1
vote
0answers
72 views

xcolors cellcolor overlays tikz background

I'm using mdframed with the tikz option to define my own environment. Unfortunately, if I'm using a tabularx environment with xcolor's \cellcolor command, it is overlaying the header of my box. Here'...
1
vote
0answers
101 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
0answers
92 views

thmtools and mdframed (vertical space)

I dont know why I dont get the two examples closer together. How can I achieve a spacing of 0mm between the two Examples? %!TEX TS-program = XeLaTeX %!TEX encoding = UTF-8 Unicode % DEFINITIONS ...
1
vote
0answers
186 views

boxed text between pages in arabic, rightmargin with tikz

First, I want to thank the members of the discussion of the message Boxed text between pages which was very interesting for my use, so I got a macro in arabic for my examples (which is right-to-...
1
vote
0answers
324 views

“Call out box” in a two-column document

I suppose "call out box" probably doesn't have much of a meaning in the TeX world, but a (framed) "box" probably isn't specific enough for what I mean. Anyway, I am compiling the following with ...
1
vote
0answers
150 views

How to align bottom edges of mdframes with bottom of text area

I've got a problem with the alignment of the bottom edges of "mdframes". These aren't aligned with the bottom of the text area, as in the following example: \documentclass{scrartcl} \usepackage{...
0
votes
0answers
31 views

mdframed top of page

Ok, so I've been trying to find a solution for this to no avail: I want to place a colored text box at the top of my document with mdframed, and I want there to be no margin between the top of the ...
0
votes
0answers
22 views

Reverse Box Rotate Box in Mdframed

This is a copied version from somewhere that no one no longer remembers. I am trying to make a reverse box as an answer box for math exercises. It works well except it does not span across pages. I ...
0
votes
0answers
25 views

Border in PDF not always visible (depending on zoom), mdframe

I have the following code: \documentclass[a4paper,12pt,headsepline, listof=totoc, bibliography=totoc]{scrreprt} \usepackage[ngerman]{babel} \usepackage[utf8]{inputenc} %Definitionsumgebung \...
0
votes
0answers
16 views

Is it possible to visualize a page break in a mdframed environment?

I'm using mdframed to style my code listings. I use minted to realize the code listings. My question is, if there is an easy way to visualize the page break of mdframed. I tried to sketch what I try ...
0
votes
0answers
51 views

Problem with mdframed and pdflatex package MikTex

Recently, I have installed mdframed package from MikTex Package Manager Then a problem occurred. When I try to typeset my program, a window appears and says that: "The application failed to start ...
0
votes
0answers
34 views

long remark box

I have the following remark box. However, the text that I'd like to add in it could fit in 2 pages. \NewEnviron{myremark}[1] {\par\medskip\noindent \begin{tikzpicture} \node[inner sep=0pt] (...
0
votes
0answers
37 views

aligning two mdframes extended over pages side by side

I want to align two mdframes extended over multiple pages side by side. Following is my code. Please help me. Thanks in advance. \documentclass[11pt]{article} %\usepackage[usenames, dvipsnames]{...
0
votes
0answers
65 views

How can I change figure size in mdframed environment?

Alenanno helped me with the code here Using multicol for framed figure to insert figures in article document class using mdframed environment. This works fine for me, however I have not been able to ...
0
votes
0answers
48 views

Mdframed theorem with math expression and equality sign

How can I have something like "n = 3, \alpha = 0 with $\alpha$ is there" as a frametitle of a mdframed proposition as in Code \documentclass[a4paper,11pt]{scrreprt} \usepackage{tikz} \usepackage[...
0
votes
0answers
85 views

Lyx File Not Found

I'm using Lyx to edit a book. I am using the mdframed package and have been using it. I could always compile the PDF (using Cmd-R). Now all of a sudden, without having changed anything Lyx complains ...
0
votes
0answers
31 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
105 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, that'...
0
votes
0answers
71 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 (...
0
votes
0answers
60 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
0answers
74 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 ...
0
votes
0answers
139 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 ...
0
votes
0answers
280 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 ...