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

learn more… | top users | synonyms

2
votes
1answer
30 views

mdframed and skipbelow

There are many questions online concerning this issue of skipbelow of the mdframed package. For me, this skipbelow issue is not resolved. The version of the mdframed package on my system is: ...
1
vote
0answers
31 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. ...
3
votes
0answers
35 views

mdframed breaking pages in weird places

I defined a new environment which puts the frame title in the middle of the frame \newenvironment{coloredframe}[2]{ \mdfsetup{ hidealllines=true, leftline=true,topline=true, ...
4
votes
1answer
51 views

Using mdframed to format index entry

I am trying to use an mdframe to format an index entry. If I uncomment the \def\UseMdframeForFormatting{} in the MWE below (which attempts to use an mdframe), then I get the error: Use of \@index ...
1
vote
1answer
51 views

Tabular cell alignment

I feel like this is a noob question, but I've been busting my chops trying to find an answer to this. I'm trying to create a table with two side by side paragraphs. They don't appear side by side ...
2
votes
0answers
18 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: ...
0
votes
1answer
29 views

Adding a second frametitle separated from the first in an mdframed environment

Could you help me in adding a second frametitle into the mdframed environment? It's for the citation and it should be something like 15pt / 20pt further to the right than the first title of the ...
2
votes
1answer
35 views

How to renumber a theorem environment with mdframed package?

I have the next document, which compiles fine. I want to change the numbering of theorems according to the number of section or chapter (view image). I wrote: ...
5
votes
2answers
971 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
1answer
30 views

How to insert a paragraph (which works only in the “ltxmdf” class) into a class “book” document?

I have the next document (in ltxmdf class ), which compiles perfectly (view image). I want put in a document book class. ¿is posibble?. I've already tried but get 4 errors. How do I change the ...
1
vote
1answer
61 views

How can one bound a selection of items (as below) using a pair of vertical parallel lines?

The following represents the elements of a theorem which I want to highlight from start to finish between a pair of vertical parallel lines. A block of text. An equation - not necessarily numbered. ...
2
votes
0answers
18 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 ...
3
votes
1answer
33 views

Why the command rightmargin=5cm, and leftmargin=5cm, in {mdframed}‎‎ package not work in book style?

I want create frame with custom left and right margin in book style with this command:(When I use article style the output is good) \documentclass[11pt]{article}‎ % ‎‎ ...
0
votes
0answers
24 views

How can I change figure size in mdframed environment with the following MWE? [duplicate]

I am not able to scale down the figures in the document below. I have tried some options, e.g. \includegraphics[scale=0.5] This reduces the frame but not the figure. Is there anything I can do in ...
0
votes
0answers
45 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 ...
2
votes
1answer
43 views

Mdframed as Chapter Title

I am trying to compile exercises into on sheet of paper each, and treat the Exercises as Chapter. And then I will \begin{enumerate} \item Hi Mom \item Hi Dad \item Hi there \end{enumerate} ...
3
votes
2answers
52 views

Including figures in custom environments.

In my preamble I have the following custom environment that is counted. \newtheorem{exmp}{Example}[section] When I call this in the text I always write the following piece of code, \begin{exmp} ...
1
vote
0answers
54 views

Code involving mdframed and scrlttr2 that compiled with TL 2014 but does not compile with 2015

The following code used to compile with TeX Live 2014, but does not compile with TeX Live 2015. I now get the error: ! Missing \endgroup inserted. <inserted text> \endgroup ...
3
votes
1answer
59 views

List of Boxes Detail

I was wondering if someone knows how to "tell" LaTeX to print an Index of Boxes ("Recuadros" for me), in a similar way to the regular Index of Tables. In the last case there is an extra space between ...
1
vote
1answer
44 views

How can I change margins of mdframed boxes that enclose ExSheets questions?

I successfully enclosed my ExSheets questions with mdframed boxes by using the following code line: \SetupExSheets{question/pre-body-hook=\mdframed,question/post-body-hook=\endmdframed} Now, I ...
4
votes
1answer
42 views

Alignment of environment inside enumeration

I defined an environment to add notes, i.e. pieces of text that are not strictly relevant to the question at hand but perhaps still interesting to read, via \usepackage[framemethod=tikz]{mdframed} ...
2
votes
1answer
46 views

Image position related to table position

How can it be that an image and a table, that are places incide of the same mdframe are positioned differently? And how can it be resolved. This screen dump shows the problem: I would have expected ...
1
vote
1answer
21 views

Why aren't leftmargin and rightmargin values (in mdfdefinestyle) having any effect on my theorem box? [duplicate]

I changed the value of leftmargin and rightmargin below from 1 cm to 15 cm, but there is no output change. My theorem box remains with the same width. \documentclass[a4paper,10pt]{book} ...
3
votes
1answer
49 views

How to define a new environment of two text blocks with number?

Hi, I want to define a new environment like the figure above. It has two text blocks with different background color. Block 1 has a short numbered title, such as 'Note' or 'Definition'. Block 2 has ...
1
vote
1answer
48 views

mdframed gives a blank pages

Good time of the day! After I use mdframed in the following example, there is no text after use \begin{mdframed} \tableofcontents \end{mdframed} , no TOC, not chapter heading, and no ...
4
votes
1answer
299 views

Inspired beautiful box from Indesign

I found these beautiful box in Math ebooks which is created by Adobe Indesign, I tired mdframed, tcolorbox but I didn't try Tikz. So could someone create them using LaTeX please? ...
1
vote
0answers
89 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
30 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 ...
0
votes
0answers
28 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 ...
3
votes
1answer
43 views

Unable to get a framed title using mdframed

\documentclass[12pt,twoside,notitlepage,reqno]{amsbook}% \usepackage{amsmath} \usepackage{amsfonts} \usepackage{amssymb} \usepackage{xcolor} \usepackage{thmtools} ...
1
vote
1answer
22 views

mdframed: bug (with roundcorner) when a style for theorem is used within an environment without topline, rightline, etc

When a style for theorem is used within an environment and that this environment a line but topline=false, rightline=false, etc. then some attributes of the theorem are not used. Here, an MWE for ...
2
votes
0answers
58 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
1answer
67 views

How to put a bar in the margin beside a portion of text in a paragraph

I want to indicate only part of the text in a paragraph using a bar in the left margin. I would like to have something like the below example but without line breaks, and the text wrapping as though ...
1
vote
0answers
33 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
1answer
21 views

Noframe option for mdframed

mdframed is a great package for defining environments to differentiate different types of content from one another. It's versatile and highly customisable. However, looking through the package ...
1
vote
0answers
23 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
40 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*, ...
0
votes
1answer
74 views

\vspace not working as expected

I have a code block using minted and mdframed and a caption afterwards. \begin{mdframed} \begin{minted}[tabsize=4]{c++} some code \end{minted} \end{mdframed} \begingroup\captionof{listing}{some ...
3
votes
0answers
101 views

Package mdframed with tikz rendering lines poorly [closed]

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 ...
4
votes
1answer
152 views

Automatic margin curly braces & text on multiple pages

I'm building a command to mark long texts & class them in other part of my document (with help of Malipivo). I managed to do it with collect, multido & mdframed packages. The excellent ...
4
votes
0answers
92 views

What is this strange package conflict between `mdframed`, `euscript`, and `amssymb`? [closed]

I came across the following curious package conflict. I was using euscript to load Euler calligraphic letters, mdframed to create pretty frames, amssymb to get blackboard-bold letters, and \small to ...
2
votes
1answer
62 views

Frame with two columns and one title

I need to produce a frame with two boxes and only one title as shown in this figure: My current code is the following: \documentclass{article} \usepackage{array} \usepackage[top=1cm, ...
3
votes
1answer
88 views

Customized frame with title over frame

I'm trying to have sections within titled-boxes in my document. My minimum almost-working example is: \documentclass[a4paper]{article} \usepackage{lipsum} ...
1
vote
2answers
109 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} ...
10
votes
1answer
271 views

Boxes for SMS Conversation

How can I render a box to emulate an SMS conversation on a mobile device? Something looking like this (only the inner boxes containing the actual conversation): Note that I would like this to be ...
0
votes
0answers
39 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} ...
1
vote
1answer
26 views

Mdframed kills all my references / labels

I use the mdframed environment for my propositions / theorems and stuff. But now that i have done that the labeled theorems cannot be referenced in the text as in Code ...
1
vote
1answer
40 views

Mdframed and newtheorems with same counter and quotes in the header

I have the following problem: I want to use the same counter in a \newtheorem like Code \newtheorem{thm}{Theorem}[chapter] \theoremseperator{\smallskip} \newtheorem{prop}[thm]{Proposition} as in ...
1
vote
1answer
58 views

New mdframed environment with section numbering

Could you please help me with the following problem. Code \documentclass[a4paper,11pt]{scrreprt} \usepackage{tikz} \usepackage[framemethod=tikz]{mdframed} \usetikzlibrary{calc} \usepackage{ntheorem} ...
3
votes
1answer
49 views

Why is the parskip package messing up the spacing in mdframed?

Consider the following MWE: \documentclass{article} \usepackage{amsthm} \usepackage[framemethod=tikz]{mdframed} \usepackage{lipsum} %\usepackage[parfill]{parskip} \newtheorem{theo}{Theorem} ...