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

learn more… | top users | synonyms

1
vote
0answers
69 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
1answer
80 views

Why is thmtools and mdframed not working with parskip

I have the following MWE: %!TEX TS-program = XeLaTeX %!TEX encoding = UTF-8 Unicode % DEFINITIONS =================================================== \documentclass[ 12pt, a4paper, ...
3
votes
1answer
45 views

mdframed in lists

I am using a frame environment defined with mdframed to write annotations in my documents. When I use this environment as the first thing after a \label in a list, the following happens: Source: ...
1
vote
0answers
55 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 ...
3
votes
1answer
110 views

Problem with mdframed, lstlisting and subfig

I'm trying to understand why the following code does not compile. \documentclass[12pt]{article} \usepackage[svgnames]{xcolor} \usepackage{filecontents} \usepackage{tikz} ...
4
votes
1answer
89 views

mdframed: how to change the separator between the label and the title of a non-numbered thereom?

The problem There seems to be a bug in mdframed package. With the theoremseparator key, one should be able to change the text between the "label" and the title of a theorem ("Theorem" being the label ...
2
votes
2answers
251 views

Frame/Box around \chapter-, \section-headings,

Does anyone know how to put a frame around \chapter and \section-headings? I'm using Koma-Script (scrbook) but there it's rather difficult to find a solution ... Now I found the package 'titlesec'. I ...
5
votes
2answers
264 views

SWOT Table - how to convert to an article?

I need a SWOT analyse in color, and I found this one at http://www.mostlycolor.ch/2013/10/colored-blocks-in-beamer.html : Can someone help me by converting the beamer, so I can use it in an ...
2
votes
2answers
82 views

mdframed: how to put the optional argument of a theorem-like environment between brackets?

The classical case With the classical \newtheorem command of amsthm, one gets the following result for optional arguments: from this code \documentclass{article} \usepackage{amsthm} ...
1
vote
2answers
84 views

A framed theorem without numbering?

Is it possible to draw a frame around a theorem-like environment ? If possible, I would like to use mdframed. In the documentation, the general form of the command is given by ...
5
votes
1answer
76 views

Multiple footnotes within a mdframed to refer to the same text

I am using an mdframed to a display large list of items. In this this list, there is one exception that a few of the items have, and I am trying to make a note of this via a footnote. The text of the ...
3
votes
1answer
46 views

How to mix titling and mdframed packages

Through a tip on this site, I have used package mdframed to get a nice rounded box. But I would like to include it with the titling package. The following minimum example shows mdframed working ...
6
votes
1answer
127 views

Theorem and lemma sharing counter with mdframed and cleveref

Problem Essentially I've got the same problem described in Cleveref with counters with same name: I've got theorems, lemmata and corollaries all sharing the same counter, and when referencing them ...
4
votes
1answer
141 views

Changing footnote symbol within mdframed

Am having difficulty changing the footnote symbol, especially within an mdframed environment. I thought I was done when I came across Changing footnote symbols, but the accepted solution (commented ...
6
votes
1answer
115 views

How can I create a new environment with mdframed and empty for exercise answers?

I borrowed the following MWE from here but I would like to be able to create an empty environment to use for exercise answer with variable vspace. The exam class has the \makeemptybox{} option, but I ...
6
votes
1answer
139 views

mdframed vertical space difference

in the example below, i used mdframed to surround my text with a box. But the vertical space above an below the box are different. I found one way to solve it with \vspace*{}. But is there a better ...
4
votes
1answer
227 views

mdframed box spanning over page break: prevent images in between

I've run into a problem in a bigger documents where pictures get in between the breaks of mdframed boxes. So the scenario is that the mdframed box should break at pageend if it's to large and not ...
4
votes
1answer
147 views

subtitles in tcolorbox like in mdframed

Until now, I have used mdframed to produced nice framed boxes. I recently discovered tcolorbox, and found that it has several advantages over mdframed. In my actual and future work I would prefer ...
34
votes
1answer
1k views

How was this tip box produced?

I presume Drew Neil (of Vimcasts.org fame) used some TeX typesetting engine (XeLaTeX?) to typeset his excellent book, Practical Vim. See a screenshot below. I really like the way his "tip boxes" ...
2
votes
1answer
72 views

mdframed: how to prevent a box from splitting?

I would like to prevent an mdframed box to split. I know it could sound absurd, since mdframed is designed to allow splitting but if it could be done, I would be interested in modifying mdframed so ...
10
votes
1answer
165 views

mdframed: how to prevent a box from splitting if the remaining content (or the initial content) is too small?

Question I would like to prevent mdframed to split a box too early or too late. By this, I mean that I would like the remaining part of the box to always be greater than a fixed length, given before. ...
3
votes
1answer
95 views

including chapters in mdframed references

I'd like to have chapter.theorem numbers for an mdframed theorem environment. I can modify the environment definition to include this, as in: \documentclass{memoir} \usepackage{amsmath} ...
4
votes
2answers
143 views

Would like a mdframed environment style with framed title box inset above without fill

Here's a slight tweak to one of the mdframed examples that produces a framed title inset above the theorem box \documentclass{article} \usepackage{amsmath} %\usepackage{svgcolor} ...
3
votes
1answer
42 views

mdframed: how to manage footnotes in the case of two embedded mdframes environments?

Question My question is about the behavior of mdframed with footnotes. I have two embedded mdframed environments and one footnote in the first one, it will be displayed in the second one. I would ...
5
votes
1answer
169 views

mdframed: splittopskip does not work when the first object after splitting is another mdframed box

Question I would like to add space in an mdframed environment after a splitting (a page break) and in the case where the first object after the splitting (the page break) is another mdframed ...
4
votes
1answer
74 views

Label inside mdframed messes up spacing

I have a problem with mdframed in combination with \parskip and \label. Consider the following code, which is a MWE stripped down from a large document. \documentclass{article} ...
2
votes
0answers
139 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 ...
3
votes
0answers
46 views

What are the differences between mdframed vs. tcolorbox [duplicate]

I am familiar with the mdframed package and its usefulness when content crosses page boundaries. But lately, I have seen quite a few questions about the tcolorbox package and don't know much about it ...
9
votes
2answers
187 views

easylist in tabular

I'd like to build this table: As I have a very long list to itemize, I'd like to use easylist. Obviously the easylist-group causes problems in the tabularx-environment. That's what I coded so far: ...
3
votes
1answer
121 views

include section name, as well as number in mdframed (theorem) header

In a memoir class document, I am using the following mdtheorem definition to provide a heading inside an mdframe, which has the effect of providing an increasing count(er) to each new reference to ...
4
votes
1answer
70 views

How do I reset my theorem count (using mdtheorem)?

% define environments with counters \mdtheorem[style=mpdframe, style=wide ,% style=greyfr ,% style=wideln ] {discuss}{Discuss Topic} ...
4
votes
0answers
110 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 ...
5
votes
1answer
69 views

Defining mdframe style by reference to another style

I'm wanting to define an mdframe style "studies", by reference to mdframe style "mpdframe". In the example shown, the difference would be to add a frame title, "Studies". The following code does not ...
5
votes
2answers
173 views

Extra vertical space inside mdframed theorem environment

I have seen several similar questions on TeX.SE of a similar nature, but none of them seem to address my precise issue. I have been working with mdframed environments for a while. I read that there ...
3
votes
1answer
69 views

Space between rows in mdframed environment

i'd like to reduce the space between two rows in an mdframed environment. \mdfdefinestyle{round}{ innertopmargin=0pt,innerbottommargin=10pt,innerleftmargin=1pt,innerrightmargin=1pt, ...
2
votes
1answer
59 views

linewidth and middlelinewidth options in mdframed: wrong information in the documentation?

In the documentation of the package mdframed 1.9b, the author says (p. 7) If you are working width framemethod=tikz or framemethod=pstricks the option linewidth is an alias for the option ...
2
votes
1answer
83 views

mdframed example throwing error

I'm trying to get the following mdframedexample from the package documentation to work (mdframed-example-default page 5), but it's throwing the following errors Missing number, treated as zero T ...
3
votes
2answers
148 views

How to explicitly set the color to transparent/nothing in the options of mdframed?

Is it possible to explicitly set the backgroundcolor option in mdframed package, so that the background stays transparent (or, let's say "empty")? It could be \begin{mdframed}[backgrouncolor = ***] ...
4
votes
1answer
86 views

mdframe size not matching table size

I'm having some problems with the mdframed package in combination with tabular. After figuring out how to get the width of the frame to match the width of the object (a table in my case) using a hack ...
7
votes
3answers
206 views

To make one environment flow into another without empty space

I have this design at the moment. However, when you have many of those, they distract much. I propose to have Answer just on the same line with Question like Question 41 Lorem ipsun. Answer 38 ...
2
votes
1answer
203 views

Breakable boxes with Tikz and right and leftmargin

I've found a method to obtain breakable boxes, using polyglossia for arabic, and the Tikz package and I have two problems... 1) the commands leftmargin and rightmargin of Tikz have no effect on the ...
1
vote
0answers
101 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 ...
5
votes
1answer
189 views

Create box around text without creating a paragraph and with line breaking

I want to draw a box (no rounded corners, keep it simple ^^) around one or multiple words. There are two special things: 1) the box should support line break and 2) the box should not cover multiple ...
1
vote
1answer
358 views

How to set width of mdframed? [duplicate]

I am new to latex i want to set a width and height of the mdframed. can any one help me to achieve this task. \documentclass{article} \usepackage{xcolor} \usepackage{mdframed} ...
4
votes
1answer
477 views

How to change the border of mdframed?

I want to change the border color of the mdframe box. By default it take black. \documentclass{article} \usepackage{xcolor} \usepackage{mdframed} \newtheorem{mdtheorem}{Theorem} ...
6
votes
2answers
162 views

How to keep fixed height of mdframed in latex?

I am designing one page in which i need to write 3 mdframed side by side. but all three must be having same height. <mdframed1> <mdframed2> <mdframed3> How can i implement ...
0
votes
4answers
171 views

RTL theorem numbering problem - mdframed and xelatex

I have a problem with wrong numbering order when using mdframed theorem style. As in the MWE, the second theorem number should 2.1.1 (reading from right to left, 1.1 for the section and 2 for the ...
2
votes
0answers
51 views

To visualise Schematic Intersections of Sections over Parts

Assume you have Parts Exotoxins A-B Non-spore-forming Gr+ Some of exotoxins A-B bacteria belong too to non-spore-forming Gr+. I can visualise this by a venn diagram, however I would like show this ...
8
votes
1answer
161 views

How to get more than 3 levels of nesting in mdframed environments?

Before I get to many of "don't do this as it does not look good", I have two modes of my documents: Final mode: where there is ONLY one level of nested mdframed Review mode: where there are numerous ...
2
votes
1answer
151 views

How to have bold font in mdframed environment?

I did not find bold word in the manual. My tex is: \documentclass{article} \usepackage[framemethod=tikz]{mdframed} \newtheorem{question}{Question} \mdfdefinestyle{que}{ linecolor=cyan, ...