Questions tagged [mdframed]

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

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

It works with the key-handler syntax.

822 questions
27
votes
1 answer

Could not get round corner working in mdframed

Round corner is not working in mdframed environment although I followed the example shown in the mdframed package. Below is my code \documentclass[10pt]{article} \usepackage{amsmath} \usepackage{amssymb} \usepackage[usenames]{color}…
user43289
  • 271
22
votes
3 answers

Box with rounder corners, but inverted

I am a long time LaTeX user, and recently I needed something which I could not figure out by myself, so I would appreciate anyones time and help. I need a box with rounded corners, which is easy to do - for example, this thread shows how: How to…
John
  • 528
14
votes
1 answer

How to insert title in mdframed?

How to insert title in mdframed? In my example does not…
Regis Santos
  • 14,463
13
votes
1 answer

mdframed with label outside of box

I am looking to do two boxes with mdframed similarly to the following: The first box is easy but I don't know how to place a label to the left of the second box. The positions of the dashed lines are to be fixed: in particular, the position of the…
hwhm
  • 559
13
votes
3 answers

mdframed missing half the frame

Any obvious reason some of the frame is missing here: \documentclass{article} \usepackage{color} \usepackage{hyperref} \usepackage{mdframed} \begin{document} \begin{mdframed} \begin{enumerate} \item Create the cumulative sum of probabilities…
HCAI
  • 3,325
12
votes
1 answer

Package mdframed vertical space difference

In the example below I used mdframed to surround my text with a box. The problem is that the vertical space above is different than the space below the box. I found one way to solve it with \vspace*{} but I wonder if this is the correct way. Is…
DerJFK
  • 473
12
votes
2 answers

Putting frame only around equation using mdframed package

I am in the process of finalizing the notebook text, and I am into framing equations and figures. For this I am testing mdframed package, which produces nice frames. However, I don't know how to frame only equations, without framing equation…
Pygmalion
  • 6,387
  • 4
  • 34
  • 68
11
votes
1 answer

"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,…
Marco
  • 4,435
11
votes
4 answers

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 is much wider than its content: I know this is not…
Mohan
  • 15,906
11
votes
1 answer

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: mdframed.sty 2013/07/01 1.9b: mdframed If I…
pluton
  • 16,421
11
votes
1 answer

Forbid page break after the title in mdframed

I use mdframed for my theorems like this \mdfdefinestyle{theoremstyle}{% %adjustable lengths %inner margins innertopmargin=\topskip, % outter margins skipabove= 0.1in, skipbelow= 0.1in, % colrs linecolor=red!60, …
itun
  • 305
11
votes
1 answer

Subtitle block in mdframed

I am having a small problem with mdframed.sty. The subtitle block seems to have a 0.4pt frame with the same color of the subtitle background. This causes the left and right ends of the subtitle frame to intrude a bit into the overall linewidth of…
sgmoye
  • 8,586
10
votes
2 answers

mdframed nested frametitle bug

This issue is fixed in version 1.6b mdframed at github When nesting frames the inner most frametitle is used. The frametitle for all these is frame3. \documentclass{book}…
Uiy
  • 6,132
9
votes
1 answer

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} \newenvironment{theorem}% …
PSK
  • 1,032
8
votes
1 answer

Make nested boxes have a darker background color

I am using the mdframed package to create these boxes: \usepackage[framemethod=tikz]{mdframed} % Shorthands \newcommand*\iffdef{\overset{\text{def}}{\iff}} \DeclarePairedDelimiter\abs{\lvert}{\rvert} \DeclarePairedDelimiter\norm{\lVert}{\rVert} %…
moonlight
  • 183
1
2 3 4 5 6 7