{mdframed} is a package for creating framed boxes that can break across pages.
1
vote
1answer
249 views
mdframed digressionarrows style with custom header
Using the mdframed package, I've been trying to figure out how to add an option for changing the header in their digression-environment (example 6 here: ...
3
votes
1answer
241 views
mdframed package + align gives extra vertical space
I think I may have stumbled upon a bug in the mdframed package. I have an mdframed environment with just one align environment inside it. Consider this minimum working example:
...
6
votes
1answer
202 views
How to align mdframed inside another frame?
I tried to create a child frame inside a parent frame by mdframed as
\documentclass{article}
\usepackage{mdframed}
\usepackage{lipsum}
\begin{document}
...
6
votes
1answer
187 views
Using enumitem inside mdframed
I tried to use enumitems within mdframed as
\documentclass{article}
\usepackage{mdframed}
\usepackage{enumitem}
\usepackage{pifont}
\newcommand{\pitem}[1]{{\item {\small #1}}}
\begin{document}
...
7
votes
1answer
298 views
How to display mdframed title in header?
I have a series of mdframed frames in the document. Some frames are few pages long, and some pages have two frames within.
How can I display the frametitle of the corresponding page in the header as ...
2
votes
1answer
276 views
Frame breaks inside mdframed environment with beamer class
The mdframed environment fails to break into several pages (slides) when used in a frame environment from the beamer class.
In the other hand, the boitecoloriee environment from the boites package ...
3
votes
1answer
2k views
A working example of mdframed
I tried to make the basic examples of mdframed given in the corresponding documentation, but I get an error stating
! You can't use a prefix with `\begingroup'.
The example is
...
8
votes
1answer
419 views
mdframed-Put something on the start of one vertical left rule
I would like to obtain something like in the following picture (I've put Z! instead of the danger symbol).
In the following code, I would like to put the danger symbol on the vertical rule.
I ...
6
votes
1answer
373 views
Excursus environment using mdframed: Issue with page breaks
This question is a follow-up question to: Access mdframed node coordinates with TikZ?
@MarcoDaniel: Awesome package (mdframed)! Nice clean code, too.
@Tobi:
I really like your new excursus ...
4
votes
3answers
321 views
Is it possible to define a multicolumn environment with a background colour
EDIT: I should have given a MWE based on memoir (which I am using) where the inner and outer margins are initially different. I would like the margins to be the same in that new environment. (Inner ...
5
votes
1answer
296 views
How to use table in mdframed?
I am working on report format using mdframed and I need to add table inside mdframed.
\documentclass[11pt]{article}
\usepackage[table]{xcolor}
\usepackage{array,ragged2e}
...
6
votes
1answer
245 views
How to arrange mdframed side by side?
How to arrange mdframed side by side, like
mdframed1 mdframe2
\begin{mdframed}[roundcorner=10pt]
table 1
\end{mdframed}
\leavevmode
\hspace{2cm}
\begin{mdframed}[roundcorner=10pt]
table 2
...
8
votes
2answers
505 views
\prevdepth error with mdframed and listings
I get strange errors with the last versions of mdframed (v 1.4) and listings (v 1.4). Here is a minimal example:
\documentclass{minimal}
\usepackage{mdframed}
\usepackage{listings}
\begin{document}
...
10
votes
1answer
554 views
How to produce a tight box with a fancy border?
I'd like to be able to typeset a tightly-boxed formula with a fancy border.
My progress so far has been to produce a box (with mdframed) with the fancy border I want (with tikz), but instead of being ...
2
votes
1answer
333 views
mdframed around figure with threeparttable
I'm trying to draw a border around a figure (using mdframed) with a threeparttable. However, the size of the border is not adjusted correctly. How can I adjust the border to correctly wrap around the ...
8
votes
1answer
322 views
mdframed nested frametitle bug
When nesting frames the inner most frametitle is used. The frametitle for all these is frame3.
\documentclass{book}
\usepackage{mdframed}
\begin{document}
\begin{mdframed}[frametitle={frame1}]
asdf
...
17
votes
2answers
341 views
How to make mdframed ignore descenders in last line
How can we make mdframed to ignore the descenders of the last line in the calculation of the innerbottomsep. In my eyes there are two reasons to desire this:
Inner margin
The optical bottom sep is ...
8
votes
1answer
381 views
Access mdframed node coordinates with TikZ?
Is it possible to get a (breakable) frame like this with mdframed? Or as a more general question. Can one access the coordinates of the frame that is drawn with TikZ?
With a pagebreak in it:
I ...
3
votes
2answers
216 views
strange interaction between `mdframed` and `\item`
I would like to understand (and to find a solution for it) the following problem. First, the MWE :
\documentclass{article}
\usepackage{mdframed}
\usepackage{fancybox}
\newsavebox{\mcBox}
...
6
votes
1answer
520 views
mdframed : Bug with page break?
I'm trying to use the package mdframed to handle framed boxes, that allow page breaking when the content of the box is too large. Nevertheless, i encounter the following difficulty :
...
3
votes
1answer
251 views
Inconsistent horizontal width of mdframed with only display math content
Update 2012-03-09: With an version of mdframed updated today, this is now fixed in the package and no longer requires the workaround provided below.
In Excess vertical space in mdframed ending with ...
2
votes
1answer
137 views
mdframed and supertabular disagreeing on positioning (supertabular bug?)
Finding that a certain table in my document had to span several pages, and that longtable doesn't fit the bill because I have to change the running header mid-table, I turned to supertabular.
To get ...
6
votes
0answers
207 views
mdframed font option is not working [closed]
Although the mdframed manual (v1.3a) mentions the general option font, it is not being obeyed, as can be verified with the test document below.
\documentclass{standalone}
\usepackage{mdframed}
...
6
votes
1answer
541 views
mdframed with tikz method: putting line numbers outside of frame
I want to number the lines in a mdframed environment with the line numbers appearing on the left of the frame, outside of it.
\documentclass{article}
\usepackage[framemethod=latex]{mdframed}
...
6
votes
2answers
394 views
Excess vertical space in mdframed ending with display math environment
When the mdframed environment ends with an align there is excess vertical spacing at the bottom. I would like to adjust the MyBoxedEnvironment environment such that the vertical space at the bottom ...
1
vote
1answer
229 views
endless loop with mdframed
The following code leads to an endless loop. pdflatex is at 100% CPU and the log is constantly increasing with number counted upwards.
\documentclass{article}
\usepackage{mdframed}
\begin{document}
...
6
votes
1answer
1k views
drop shadow framed environment using mdframed & tikz
I'm attempting to make a drop shadow environment using mdframed and tikz. So far, I have (perhaps naively) tried
\newmdenv[tikzsetting={fill=green!20,drop shadow}]{myshadowbox}
I know that ...
2
votes
1answer
498 views
Numbered mdframed environment but without using theorem hacks
I'm trying to make an mdframed environment for numbered multi-page boxes. The problem I'm having is that I can't seem to make the formatting and the numbering work as I want it to. I've tried the ...
6
votes
1answer
406 views
Margins of mdframed without any effect
This code
\documentclass[]{scrbook}
\usepackage{mdframed} %
\usepackage{boxedminipage}
\begin{document}
\noindent
\begin{boxedminipage}{1.0\textwidth}
Box of 100 \% width
\end{boxedminipage}
...
3
votes
2answers
231 views
Paragraph indenting in an mdframed environment
I'm using the mdframed package and I've defined my own environment. But it seems that paragraph indentation doesn't work inside a mdframed environment.
I've used the settings option of mdframed to ...
3
votes
1answer
494 views
Create a verbatim mdframed environment
I'd like to use and mdframed environment with verbatim in it. I've read the both documentations, googled but I've found nothing regarding this matter.
MWE below:
\documentclass[10pt]{article}
...
4
votes
1answer
367 views
Suppress top skip between own frame environment and itemize
I need to typset a book with a given definition of {itemize} and I added a {framed} environment by using mdframed. If the first line inside {framed} is normal text everything is fine
but if it ...
1
vote
1answer
171 views
mdframed and colortbl Connection problem
I'm using mdframed for bordered tables. Additionally I'd like to change the bg-colour of some columns using the package colortbl. However when I try to load colortbl with \usepackage, the document ...
2
votes
1answer
325 views
mdframed theorems within beamerarticle script
I need to use framed theorem environments the way they are made in Make an Example and shaded box like in the book.
The realization with \usepackage[framemethod=TikZ]{mdframed} is working fine.
But ...
1
vote
0answers
135 views
multline and mdframed bug [closed]
I do not think this bug has been reported anywhere. At least, I could not find such a report. Below is a piece of code to see the problem. The frame in the right margin is improperly calculated.
...
9
votes
2answers
607 views
Transparent background for mdframed environment?
Is it possible to specify a transparent background colour for the mdframed environment, so that anything which might be underneath will be visible?
6
votes
1answer
245 views
Overfull \hbox when using the mdframed package
UPDATE: 2011-12-12
As of 2011-12-12, I can confirm this issue has been resolved on TeXLive-2011.
When using the mdframed package to generate nice frames for my chemical reactions, I encounter the ...
3
votes
2answers
365 views
mdframed and ntheorem counters
In the code below, counters defined by mdframed seem to not be accessible to ntheorem environments which is problematic but ntheorem counters can be read by mdframed. I could not find a work around ...
6
votes
1answer
266 views
Bug in the mdframed package (workaround?)
I've discovered what appears to be a bug in the mdframed package. My goal was to use a package which allows me to create shaded theorem environments which span multiple pages (thmtools does not allow ...
10
votes
2answers
926 views
How to put round cornered frame around an image
I want a nice colored frame around an image which has rounded corners. Here is my attempt, using mdframed, but, as you can see, the inner edge of the frame is a right-angle, and not rounded. I would ...
5
votes
1answer
300 views
mdframed: Put a line below the frame title and give it a shaded background
I like to use mdframed to make a framed environment with an optional title. The title has to be in its own box with a gray background, like this:
I hope that this is possible.
MWE
...
1
vote
1answer
260 views
mdframed causes “too many floats” error
I defined a new environemnt examples for a book I am writing. I would like examples to be with a framed grey box, and use the following construct
...
2
votes
1answer
1k views
Errors thrown when trying to use the mdframed package
I am running Ubuntu, so unfortunately I don't get the nice Console way of installing new LaTeX packages, I have to install them manually.
From CTAN, I found the mdframed package, downloaded and ...
4
votes
1answer
385 views
Vertical spacing problem related to the mdframed environment
I use the mdframed package with option style=1, which means that TikZ is responsible for drawing frames:
\documentclass{article}
\usepackage[style=1]{mdframed}
\begin{document}
\noindent
Text
...
10
votes
2answers
699 views
mdframed and wrapfig
Before starting the question, I apologize for the large pictures. I had to use some long text to demonstrate the problem.
To generate something like:
I used the following command:
...
7
votes
1answer
419 views
mdframed options style=1 or style=3 fail to draw frames
The mdframed package offers the options style=1 and style=3 to have the frames drawn by tikz or pstricks respectively. Using either of these options means that the frames around my boxes just aren't ...
11
votes
1answer
2k views
Is there an debian/ubuntu package containing mdframed.sty?
I found several answers on this site recommending the mdframed package. However, I can't find a ubuntu texlive package that includes this. Do I have to install this manually or am I overlooking ...
11
votes
3answers
880 views
Framing section headings
I'm attempting to put a frame around my section headings. I am using the package mdframed which adds functionality to the framed package. It basically draws a box around an object, in an ...