{mdframed} is a package for creating framed boxes that can break across pages.
1
vote
1answer
23 views
Multiple left margin bars using mdframed package
How can I get multiple left-margin bars using the mdframed package? I can get a single left bar using, e.g.
\documentclass{article}
\usepackage{mdframed}
\begin{document}
...
4
votes
1answer
49 views
How to draw frame around side captioned figure
I want to draw frame around a side captioned figure. I have created side captioned figure using sidecap package and using \begin{SCfigure} \end{SCfigure} environment. I have tried mdframed package but ...
3
votes
2answers
71 views
Boxed text between pages
I've made boxed text into a manuscript using tikz by following the example in texamples, it works like a charm as long as the box is short enough to fit into a page.
\documentclass{article}
...
7
votes
0answers
93 views
Single/Double side environment with different backgrounds
I'm having trouble aligning some of the elements.
I would like align Check Box and Cross Box to be same size so that they look nicer below is what i got so far.
Also it would be great if they can ...
19
votes
2answers
421 views
MATLAB like command box
hello i am trying to set up style for script box.
so far i got
\begin{script*} >> help \end{script*}
working and displaying
i want final version to look some what similar to this picture
...
3
votes
1answer
51 views
Split mdframed environment occasionally skips page
I'm currently using the mdframed package for a custom environment for my master's thesis. In rare cases, the environment shows some rather strange behaviour — the correctly split environment (i.e. the ...
7
votes
1answer
71 views
mdframed being cut across pages
Is there a way to prevent this (see image) from happening when you are going onto another page?
0
votes
1answer
45 views
Algorithms in mdframed
Now that I converted all my theorems to mdframed, I'd like a consistent layout for my algorithms as well? What ways are there to typeset pseudocode algorithms in mdframed?
So far I've been using ...
1
vote
3answers
69 views
Print mdframed footnotes at bottom of page instead of after frame
If there is a \footnote inside an mdframed environment, then I can control, via the footnoteinside=false flag, whether or not I want those footnotes included inside the frame or outside. But even when ...
1
vote
1answer
56 views
Include theorem name from thmtools into mdframed title box
mdframed is nice for controlling the outer layout of theorems. thmtools on the other hand can take care of a number of other things great and small, in particular the detailed formatting of the title ...
9
votes
1answer
76 views
Framed mdtheorem with qed symbol at the end
I'm trying to include a $\blacktriangle$ at the end of a framed environment using the mdframed package.
However, my code is somehow not working properly. Let me explain what I'm doing:
...
1
vote
2answers
69 views
Problems with mdframed
I am trying to put a box around matlab code but the bottom of the box sits extremely close to the next line. I try a line break but it does not work. Any ideas?
\documentclass[a4paper,12pt]{article}
...
1
vote
0answers
24 views
mdframed in two column book vertical alignment problem (first page only) [duplicate]
I am trying to align the columns of the first page but without success into the mdframed. Any ideas?
\documentclass[11pt,a4paper,twocolumn,twoside]{book}
\usepackage{lipsum}
\usepackage{mdframed}
...
6
votes
1answer
75 views
How to remove space surrounding a colored theorem box?
This is a follow-up question of Combining spacebelow with shaded parameter in thmtools package. Bug?. How can I get rid of the space above the theorem box? If I comment out the mdframed=... line it ...
5
votes
1answer
63 views
Using mdframed style within \declaretheoremstyle to change title
I am using thmtools to create an example environment using \declaretheoremstyle and \declaretheorem.
I am also modifying the style using the mdframed key, to create a frame, shade the background of ...
7
votes
1answer
60 views
Interaction with multicol and mdframed results in misaligned rows
This works fine with TeXLive2011 and was working fine with TeXLive2012 until I recently updated the packages. So with TexLive2011, this produces:
but with an updated TeXLive2012 this yields:
...
1
vote
1answer
76 views
footnote inside itemize
I know that I should use \footnotemark and \footnotetext{} (or not?) for putting a footnote inside an itemize environment, but when the items are split on more pages, I want the footnote to be placed ...
2
votes
0answers
65 views
Using autoref with my own label to my own new environment [closed]
I defined my own environment. Now I want to refer to my environment with autoref. But autoref should refer with my own defined name. But I don't know how to do this. Could someone help me?
My code ...
4
votes
1answer
47 views
No space above first \item inside mdframed [closed]
Problem
This is what happens:
But I want the same vertical spacing before the first list item inside the mdframed environment as outside of it. How can I do this?
Code
\documentclass{article}
...
3
votes
2answers
54 views
Use of \GetIdInfoAuxI doesn't match its definition and other errors
I have several errors reported with this minimal example (latest TeX Live 2012).
The errors were introduced with recent TeX Live updates.
\RequirePackage[l2tabu, orthodox]{nag}
...
5
votes
1answer
75 views
Add vertical space before and after framed-theorem environments
I want my theorem-like environments to be framed, as it's an effective way of making them stand out from the main text.
According to Gonzalo Medina's answer to the question box around theorem ...
5
votes
0answers
72 views
Lines Numbers with mdframed [duplicate]
Am looking for an elegant way to include line numbers in my mdframed documents. Unfortunately, the following produces a 85 page docuement with \linenumbers (either before or after the ...
8
votes
1answer
410 views
Using mdframed after a section heading
The following is a very contrived example, but it illustrates a problem I am unable to solve with the mdframed package. When the mdframed environment follows a section heading but there is ...
5
votes
1answer
129 views
Decorative lines above and left of text
I would like to recreate this decoration, which is being placed at the top of every page:
So a thin line above the text, and a thicker line left of the text. I've been trying to do this using the ...
1
vote
1answer
53 views
How to add mdframed in toc?
This refers to my previous question.
How to put image in table of contents?
How can i add mdframed after toc on the same page?
Regards
2
votes
1answer
71 views
How to move frame down in LaTeX?
I am writing one article using top and bottom margin.
\usepackage[top=.5cm, bottom=.8cm, left=1cm, right=1cm, includefoot,showframe]{geometry}
I observe some spacing between frame and footer ...
9
votes
3answers
193 views
Rounded box with image and text
I'm trying to create a rounded box with both text and image. The desired result is as this:
Where the image is rounded at the left edges.
I have managed everything except the the image part using ...
1
vote
0answers
50 views
mdframed everyline extended frame [closed]
In the following MWE, I have used everyline=true. Is there any way to ensure that the vertical distance between the bottom of the frame on Page 1 to the bottom of text to be the same as the vertical ...
4
votes
1answer
93 views
Incorrect vertical spacing inside a mdframed environment
I have some problems about vertical spacing before and after some environments inside a mdframed environment. It is as if topsep=0. The insertion of \setlengh{\topsep}{8pt plus 2pt minus 4pt} fixes ...
9
votes
1answer
113 views
Why is parskip=half messing up the spacing in mdframed?
without parskip:
parskip=half:
\documentclass[parskip=half]{scrartcl}
\usepackage{blindtext}
\usepackage{amsmath}
\usepackage{amsthm}
\usepackage{thmtools}
...
3
votes
2answers
96 views
Inserting non-indented mdframed object in outline
I want to be able to put an mdframed object inside of an outline environment without it being indented to the indentation level that I'm at, and so that I can continue the outline after the mdframed ...
5
votes
1answer
192 views
Set the background color of mdframed to a color from the Beamer theme
I want to draw rounded colored text box using mdframed. I'm trying to set background color to green or blue, used in example and theorem environments using \usebeamercolor:
...
8
votes
1answer
121 views
“note environment” with mdframed
Here is what I have:
And here is what I would like:
The code to get what I currently have:
\documentclass[a4paper, 11pt]{article}
\usepackage[english]{babel}
\usepackage[utf8]{inputenc}
...
10
votes
2answers
94 views
Writing a command to detect when in mdframed
I want to write a marginnote command that detects whether it is called within a mdframed environment, in particular I want to be able to distinguish the following
normal text
normal math
text in ...
5
votes
1answer
146 views
Strange behavior of mdframed with pstricks as framemethod
I load the mdframed package from a class of my own with the line
\RequirePackage[framemethod=pstricks]{mdframed}
When using the XeLaTeX engine I get a strange behavior from the mdframed environment ...
2
votes
1answer
141 views
Vertically centre the title in mdframed
I wonder how I can vertically centre the argument of \Title inside the frame in the following MWE.
\documentclass[12pt]{report}
\usepackage[english]{babel}
\usepackage{tikz}
...
5
votes
1answer
264 views
mdframed: size frame to content
Consider this:
\documentclass{article}
\usepackage[framemethod=TikZ]{mdframed}
\begin{document}
\begin{mdframed}[innerrightmargin=0pt]
TEXT\end{mdframed}
\end{document}
This produces a frame that ...
7
votes
2answers
192 views
Making mdframed paragraph behave like normal paragraphs in terms of spacing
I'm using the mdframed package to highlight a paragraph with rules on both sides. However, the mdframed-environment creates a box for the paragraph inside of it and so the spacing around it is ...
4
votes
1answer
106 views
mdframed and a title with a footnote
I have put the title of my text in mdframed, however the title has a footnote. After I LaTeX the file, the footnote appears inside the frame rather than in its usual place, i.e. at the bottom of the ...
4
votes
1answer
219 views
How to draw a simple 1mm thick page frame?
I'm trying to make a simple one-line 1mm thick page frame. Left line of that frame should be 2.5cm from edge and all other lines 0.5cm. Document includes tikz drawing, and text.
The problem is that ...
4
votes
1answer
93 views
How can I justify without making a new line in mdframed?
\begin{mdframed}[backgroundcolor=green]
\textbf{Theorem:}
\begin{center} A set $E$ is {\bf open} $\iff E^c$ is {\bf closed} \end{center}
\centerline{or equivalently,}
...
2
votes
0answers
639 views
Using mdframed: can't install xparse.sty [closed]
I have a latex document which uses the mdframed package (OBS: I can successfully compile it on another system).
I installed the mdframed package (through tlmgr install mdframed) but when I try to ...
1
vote
0answers
76 views
Font style in mdframed [duplicate]
I use the following mdframed definition:
\newmdenv[
rightline=false, leftline=true,
topline=false, bottomline=false,
innerbottommargin=11pt, innertopmargin=\topskip,
...
5
votes
1answer
102 views
How I can delete title after pagebreak in mdframed box?
How I can delete frametitle after pagebreak in mdframed box?
I try to make a box with the title "Summary" by mdframed package.
With the code I attach, the title "Summary" appears in the second page ...
2
votes
0answers
21 views
How I can delete frametitle after pagebreak in mdframed box? [duplicate]
Possible Duplicate:
How I can delete title after pagebreak in mdframed box?
I try to make a box with the title "Summary" by mdframed package.
With the code I attach, the title "Summary" ...
0
votes
2answers
101 views
Updating packages in TeXLive 2011
I have TeXLive 2011 distribution on my Windows 7. I haven't updated it before. I downloaded it as an iso file. Anyway, I tried to use the mdframed package in an example document like below:
...
3
votes
2answers
78 views
Problem with mdframed and xepersian
When i use mdframed in latin mode, it works. but when i use package xepersian then it dose not show anythings.
\documentclass{article}
\usepackage{mdframed}
\usepackage{xepersian}
\begin{document}
...
0
votes
0answers
59 views
mdframed : extend frame to page end (if page break) [duplicate]
Possible Duplicate:
mdframed : Bug with page break?
I've got a question regarding mdframed. I'm currently checking the usage of mdframed in my document, and while doing this I noticed that ...
3
votes
0answers
141 views
problem with mdframed commands [closed]
I was trying to highlight some text as shown in this post, but I'm having problems. the following works for me
\documentclass{article}
\usepackage{xcolor}
\usepackage{mdframed}
\usepackage{lipsum}
...
6
votes
1answer
180 views
\newmdtheoremenv-environment unnumbered
I would like to have a \newmdtheoremenv environment without any number, like I get it from \newtheorem*. How can I do this?
This is my \newmdtheoremenv environment at the moment.
...


