Questions tagged [mdframed]

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

Filter by
Sorted by
Tagged with
1
vote
1answer
28 views

mdframed on several pages: bottom and top margins

Despite using splitbottomskip and splittopskip, I cannot manage to have: the frame on page 1 to go to the end of \textheight, the text inside the frame on page 2 to start after a small vertical space....
0
votes
0answers
25 views

mdframed package warning: you got a bad break

When I try to compile my main.tex file, the code inside a frame created with the mdframed package behaves weirdly and gives the following warning: "Package mdframed Warning: You got a bad break ...
0
votes
0answers
10 views

Editing bibliography references to add a fbox or mdframed

I am using printbibliography to create the references section on my .tex, but I want to go through each reference and add a fbox or mdframed around it. How can I iterate each reference and add fbox/...
0
votes
1answer
27 views

Framed list of authors in acmart manuscript

I want to use frame, framed, mdframed, tcolorbox or any other package to create a box around content. But the content I want to put the box around comes from the .cls file. For example, I want to ...
1
vote
0answers
32 views

How can create marking exam with tcolorbox

In order to make an exam, I used the tabular environment, but it still boring, i want to make the something with the nice template tcolorbox, how can use it: \documentclass[11pt,a4paper]{article} \...
1
vote
1answer
18 views

How to force mdframed / tcolorbox height to be pageheight across multiple pages?

I have noticed, when using mdframed and tcolorbox, that it is difficult to force the box to stretch to be exactly the height of the page. Furthermore, the use of newpage and pagebreak does not work ...
1
vote
0answers
16 views

Are there any shaded theorems usable with tufte sidenote/marginnote?

I would like to use tuftes sidenote and marginnote commands. Is there any way to use them in combination with shaded theorems? I tried tcolorbox and mdframed, but both seem to be problematic. The ...
0
votes
0answers
34 views

Converting an element into a float or a non-float depending on its size

in my documents, I often have to put the extract of a normative or legal text that I put in a box to distinguish it from the rest of the text. For that, I use packages like tcolorbox or mdframed. So ...
1
vote
1answer
47 views

How to use mdframed in newcommand

I created a theorem environment for examples where the content of the examples gets framed but not the heading "Example". To allow such frames to break across pages I think I should use mdframed but ...
0
votes
0answers
52 views

Inconsistent spacing after theorem environment (KOMA)

After including the parskip=half- option I'm getting inconsistent spacing after theorem environments (Sometimes there's more space than it should). If I don't use that option the problem goes away but ...
0
votes
0answers
35 views

How to draw a code block in LaTeX as in Markdown? [duplicate]

Code blocks are frequently used in Markdown as shown in the picture below. I am wondering whether there is a way to display the same thing in LaTeX, namely an auto-sized, shaded, rounded-corner box ...
0
votes
2answers
30 views

How to make text normal and not italic in frame?

How can you make the text normal in the frame below and not italic? \documentclass[a4paper]{article} \usepackage{mdframed} \usepackage{ntheorem} \definecolor{superlightred}{HTML}{F5F5F5} \...
3
votes
1answer
55 views

tcolorbox and mdframed not working

I would really like boxes to surround remarks or course refreshers and I want them to take up the whole page width (remarks that arise during an exercise but need to be visually accessible for later ...
1
vote
1answer
57 views

Two TikZ pictures on the same line with mdframed

I'm looking to get two images besides each other in the same frame. This is what I want to make: I have this: \documentclass[12pt]{article} \usepackage[lmargin=.5in, rmargin=1.5in, marginpar=...
2
votes
2answers
83 views

How do i remove the black borders from the background?

I want to remove the black border around the colored box. How can i do that? And also change the lenght and with of the box \documentclass{article} \usepackage[margin=1in]{geometry} \usepackage{...
1
vote
0answers
37 views

mdframed package

Good day. Any idea how to recreate this using mdframed package?
1
vote
0answers
51 views

Two different framed environments: Strange error message

My code includes the following minimal example: \documentclass[11pt,a4paper,twoside]{book} \usepackage[utf8]{inputenc} \usepackage[T1]{fontenc} \usepackage{lmodern} \usepackage{amsthm} \usepackage{...
0
votes
2answers
31 views

Space between text and upper line in mdframed [duplicate]

I am using the following code: \documentclass[11pt,a4paper,twoside]{book} \usepackage[utf8]{inputenc} \usepackage[T1]{fontenc} \usepackage[english]{babel} \usepackage{mdframed} \theoremstyle{...
1
vote
1answer
85 views

Side Text box placing

I am new to latex. Can't figure out how to put a side text box. I tries using \usepackage{wrapfig} but as it is inside enumerate it can't be done. Here is an image of what I want to do. left one is ...
1
vote
2answers
60 views

Caption without background color in LaTeX with mdframed

I am trying to get the figure environment renewed using mdframed to get every figure with a grey background. However, the caption should not have this grey background. \documentclass{article} \...
0
votes
0answers
27 views

Framing \frame using mdframed with beamerarticle

I want to generate handouts in article style that include my beamer slides (mostly diagrams) and explanations. For that I am now considering to use beamerarticle. I want to frame the slides using ...
2
votes
1answer
63 views

Enclosing leaders by a border/frame

Following-up this answer, how can I edit the command \FillAnswerRules to enclose the leaders by a border/frame by using tocolorbox or mdframed so that I can get the same output of \CountAnswerRules? \...
3
votes
1answer
47 views

Mdframed and BC logo Option Clash

I want to apply these two boxed which used mdframed and tikz package but it seems not to work well. Can somebody help me fix it? Thank you \documentclass[12pt,a4paper]{book} \usepackage[utf8]{vietnam}...
0
votes
1answer
83 views

Fixing my exercise frame

Firstly, My english is not good so if there is any mistake, please let me know. I want to create a new environment in latex in order to make this frame But when the text in frame is too long, there ...
0
votes
0answers
22 views

Node at upper right corner, minus 12 pts vertically, using mdframed and tikz

I discovered the mdframed package and have been toying with the framemethod=tikz setting to create a frame with some text in it. I'd like to place some text near the upper left corner, but set a few ...
2
votes
1answer
42 views

Proof heading moved when combining mdframed, amsmath and amsthm

I have a document in which I declare a thm environment using amsthm, and then I decorate these theorem using \surroundwithmdframed from mdframed package. In addition, I have the amsmath for other ...
1
vote
1answer
32 views

footnotedistance key undefined error in mdframed

My preamble is as follows: \documentclass{book} \usepackage{xcolor} \usepackage[framemethod=default]{mdframed} \usepackage{lipsum} \newmdenv[skipabove=7pt, skipbelow=7pt, rightline=false, leftline=...
2
votes
1answer
39 views

Why is the alignment of an MdFramed environment affected by an included caption differently in the scrbook and the article document classes?

I am trying to produce a floating table with a caption, both the table and the caption should be surrounded by a frame. The frame should have a width which reflects the size of the table and the ...
0
votes
1answer
34 views

How can I get a lined-text only in a few parts of the text? (please refer to figure in attachment)

I would like to have some parts of my text with the following background (like the attached figure). How can I do this?? I believe is something relatively easy. Hope someone could help me with that. ...
2
votes
1answer
48 views

Floating environment with caption outside the box

I have defined a float environment following this answer in the "optional caption" version: \documentclass{article} \usepackage{newfloat} \usepackage{caption} \DeclareFloatingEnvironment[fileext=frm,...
0
votes
2answers
106 views

Mdframed two color on background and text as watermark

I will expand the old question a little. I need something like this. There are no graphs in the background, everything is text. I did not find a way to put the text on the background, as soon as I did ...
0
votes
1answer
80 views

Unwanted gray line using mdframed

I'm using mdframed to surround my theorem environment with a double line on the left side (trying to reproduce Hatcher's "Algebraic Topology"). It works nearly perfectly, except for two little ...
0
votes
0answers
32 views

Background image in mdframed left top

I want use picture in frame as watermark. mdframed was used as this How can I insert a background image in mdframed If the picture is centered, as indicated in the example, everything is ok, but if I ...
2
votes
2answers
26 views

subtitleabovelinecolor option not taken into account

I'm using the mdframed package to draw a theorem command. However, the option subtitleabovelinecolor of the subtitle frame is not taken into account, while the command subtitleabovelinewidth is. ...
0
votes
0answers
37 views

The leftbar environment and enumerate

I'm looking to work on my homework template, and I've come to a wall. I'm trying to make the leftbar environment from the mdframed package work with the questions environment such that the bar is ...
0
votes
0answers
25 views

Spaces between mdframed and tabularx

I'm building a sort of information sheet, and do to that I'm using a combinaison of tabularx (for small text frames) and mdframed (for long text+formatting frames. The problem happens in the space ...
0
votes
1answer
85 views

mdframed even top and bottom margin for environments

I'm trying to use LaTeX for my current ODE lecture and use mdframed for a "boxed proposition" to make it easier for the reader to distinguish the formulation from the proof. This is what I use to ...
0
votes
0answers
21 views

How to align figures within mdframed boxes?

I am making a poster using tikzposter. In order to avoid having too much text, I have grouped results using different color codes on mdframed. I added a sub-mdframed in order to highlight that ...
0
votes
0answers
23 views

How to input a box around questions in .cls file

I have this .cls template and I want to know how to wrap questions in a box % Assignment class for homework and exams. ...
0
votes
3answers
119 views

Tikz/Graphing in a framed box with shadow

I am trying to graph a function by using tikz in a framed box with shadow as in the following links. www.math.uakron.edu/~dpstory/tutorial/demos/tangent.pdf I shall be very happy if you can help. ...
0
votes
2answers
162 views

Adjusting page width/margins in paracol

I can't seem to find an appropriate option in the paracol documentation, but I was wondering if there is a way to easily adjust the margins using the paracol package or if I have to do some external ...
1
vote
2answers
95 views

Create a mdframe with large icon in the text body

I'm trying to replicate a common pattern in programming books, where authors use to create few designs for brief, emphasized text portions that differ in the icon/image used, e.g. or also: and ...
0
votes
1answer
27 views

Footnote inside stacked enumerate inside mdframe, how to fix numbering and place the footnotes outside of the frame on the same page?

I have a stacked enumerate going on inside a frame (mdframed package). For some reason the footnotes are marked a, b, c, etc. \usepackage{mdframed} \usepackage{csquotes} \begin{document} \begin{...
1
vote
2answers
158 views

How can I create framed boxes with graph paper as background

How can I add a graph paper background for my framed boxes? Example: \documentclass{article} \usepackage{framed} \begin{document} Calculate the Solution of $5+3$ \begin{framed} \vspace{5cm} \end{...
2
votes
0answers
51 views

mdframed with page break

I am using mdframed in my document. However, when a page break happens, for example when LaTeX decides to insert one before a paragraph starts, mdframed does not complete the frame to cover the whole ...
2
votes
1answer
59 views

How could I create a black border around the title area?

How could I create a black border around the title area? I have this code so far: \documentclass[answers]{article} \usepackage[utf8]{inputenc} \usepackage[framemethod=TikZ]{mdframed} %Textbox \...
1
vote
1answer
84 views

exsheets mdframed solutions with figure

I'm having an issue with adding a frame around the solutions environment while using the exsheets package. I have a bit of my code below. My problem is that I'm greeted with an error if I choose to ...
0
votes
1answer
96 views

Using mdframed with inputminted

I was reading the documentation of minted and found out I could use mdframed to create a frame around my code listings using: \surroundwithmdframed{minted} However, I now need to create listings ...
1
vote
0answers
10 views

Reset local options in nested mdframed [duplicate]

Is there a way to reset the style options within an mdframed environment so that nested mdframed environments use the default options automatically? MWE \documentclass[border=1cm]{standalone} \...
1
vote
0answers
106 views

How to reproduce the beautiful LIB style box as in the tcolorbox document using mdframed package?

I tried to reproduce the beautiful LIB type box as in tcolorbox document using mdframed package. But I failed, I don't know how to produce the clip effects using mdframed package. The rotated ...

1
2 3 4 5
14