{framed} is about framed document elements, e.g., boxes and environments. A popular package is {mdframed}.

learn more… | top users | synonyms

3
votes
2answers
46 views

Frame numbering

I'd like to change numbering of this beamer document: \documentclass[landscape,9pt]{beamer} % COMANDI INIZIALI \usepackage[italian]{babel} % ...
0
votes
1answer
43 views

Box aligned equation under (deep) itemization

\documentclass[11pt]{article} \usepackage{amsmath} \usepackage{empheq} \newcommand*\widefbox[1]{\fbox{\hspace{2em}#1\hspace{2em}}} \begin{itemize} \item[1.] zz \begin{itemize} \item[1.1] ...
2
votes
2answers
39 views

How to box aligned equations

\boxed{ \begin{align*} x &= 1 \\ y &= 1 \end{align*} } obviously doesn't work/compile.. \begin{framed} \begin{align*} x &= 1 \\ y &= 1 \end{align*} \end{framed} sort of work, but ...
0
votes
0answers
18 views

No page break in framed

I am trying to avoid framed boxes to break when they span on multiple pages (usually 2). Essentially they should get pushed down when the box is too long to fit on the page. This code for example ...
0
votes
0answers
22 views

Framing equations [duplicate]

Is there any simple way of framing an equation? I often use \framebox{$ mathematics $}, but wish to use the frame around a numbered equation, not fussed whether the numbering appears inside the frame ...
3
votes
1answer
31 views

How do you make a tight box using \begin{framed} and how do you skiplines in it?

I cant fit a tight box using this code: \begin{framed} \begin{flushleft} \# Description of the data \\ summary(training) \end{flushleft} \end{framed} and I dont manage to skip lines. Can anyone ...
3
votes
3answers
74 views

Remove par indent from environment

The real problem here is that I can't figure out how to modify an existing environment. The concrete thing I want to achieve follows below. I'm pretty happy with what the framed package gives me with ...
1
vote
1answer
52 views

add frame to matrix [duplicate]

I want to enclose my matrix by a box. I have followed the instructions in this link but couldnt get the borders correct. Here is how the frame looks like and the code. \begin{frame} ...
3
votes
3answers
77 views

Part title framed

I was wondering how I could put a blue ({cmyk}{1,0.80,0.30,0.05}) coloured frame around my chapter titles, leaving out "PART 1" and just give the part title name itself, as is depicted in the picture ...
0
votes
0answers
46 views

Beamer: transparency of a picture on section frame depending of section number

I'm a new Beamer user. The following code is there just to explain what I intent to do: Put on the "sectionpage" frames a picture with transparency, the transparency level being function of the ...
1
vote
1answer
106 views

Draw page frame with words in margin

I am currently making exam papers using latex exam class. I would like to have the page frame with the word `Answer written in the margins will not be marked' on both margins, and the header or footer ...
3
votes
1answer
152 views

How to add double line border to a page?

I'm looking for options to add double line border to a page ; left hand top corner of border is mentioned below (border will be continous for entire page width and height).
7
votes
3answers
250 views

drawing an orthonormal frame with semi circles

Hi, I have a problem in drawing this frame, and with colors, especially using tikz programs or the hobby the program don't compile with hobby. Can anyone help me in drawing this pic? thank you. i ...
4
votes
3answers
150 views

How to make a framebox around paragraph title

I would like to have a framebox around some paragraph titles. Something like the diagram below. I would like the framebox to have a background color (e.g. cyan), round corners, and shade if possible. ...
3
votes
2answers
86 views

overpic overlap box frame

.Hello tex.se community, I have a problem when I put a\frame around an overpic environment. The top border of the frame is overlapped by the picture. Is it a bug or a wrong use of\frame command ? I ...
1
vote
3answers
66 views

How to add a framed box inside a paragraph?

I'm using little markers in some parts of my text and I wanted to add one of those to a paragraph entitling a list: \newcommand{\hip}{{\color{BlueViolet}\framebox[1.1\width]{HIP}}} ...
4
votes
1answer
56 views

framed package change math?

This code : \documentclass{article} %\usepackage{framed} \begin{document} bla bla bla $\cap_{i\in I} X_i.$ \end{document} produces : and the same code with the line \usepackage{framed} ...
3
votes
1answer
53 views

Changing frame size in mdframed

I am trying to place a box around a definition. Using the package mdframed, I have managed to do so. However, the box is too large, in particular too tall, and it is covering up text appearing above ...
1
vote
1answer
34 views

Header and footer for a figure

(I'm new to latex and don't know the right keywords to search.) I would like to put a header and footer lines to my figures (floats), instead a framebox, since they sometimes takes longer than a whole ...
1
vote
1answer
37 views

size of framed environment in memoir

I am using the memoir package and the 'framed' environment. It seems that the vertical white spacing differs depending whether it is a single equation or the 'multiline' environment. Please, compare ...
0
votes
0answers
38 views

Framing and colorizing a LaTeX command [duplicate]

I normally use \verb|\LaTeXe| to typeset the command \LaTeXe in my document. But now I want to frame or/and colorize the command \LaTeXe. How can we do that? \documentclass{article} ...
1
vote
1answer
64 views

Framed text and pageboundary

I use in my environment file the following definition for framed text: \defineframed[achtergrond] [frame=off, background=color, backgroundcolor=gray, width=fit, height=fit, ...
3
votes
2answers
45 views

Center and box itemize list with formulas

I'm trying to center and box the formulas under the subsection Properties of Definite Integrals; however, the box is not wrapping to just the formulas it's extending to the right a bit and I can't get ...
2
votes
1answer
61 views

Using titleformat, “frame” is supposed to result as “hang”, but in a box (numbers followed by text)

\documentclass{book} \usepackage{titlesec} \usepackage{color} \definecolor{darkblue}{rgb}{0,0.08,0.45} \titleformat{\chapter}[frame] % was display {\normalfont\Large\sffamily\bfseries} ...
4
votes
1answer
91 views

Box environment created with frame box

I am creating the box environment using packages environ and float. But I will try to put the \BODY part after the caption and also try to fix the "framebox environment" by using \fbox{} command. ...
0
votes
1answer
27 views

Border around a caption but not the figure

I'm looking to get a border/box around the captions for my figures and tables, but without wanting to border the figure/table itself as well. I currently have something that works, but the box takes ...
3
votes
2answers
116 views

Frame for lstinputlisting but not lstlisting

I'm using listings for a document which contains code examples within the TeX file and also inputed from external files. I'd like horizontal lines above and below the latter but not the former, but ...
10
votes
2answers
171 views

How to frame unevenly a heading?

The image below shows a textual template that I am working on and which has been produced with the MWE code listing. I would prefer the heading to be 'boxed in' as shown in the figure below which ...
2
votes
1answer
71 views

My frame is too big for the limits margins, How do I add more space. to have all my content complete in my presentation

My frame is too big for the limits margins, How do I add more space. to have all my content complete in my presentation. This is the code \documentclass[aspectratio=169,draft]{beamer} ...
7
votes
3answers
178 views

two different framed box in running head using fancyhdr

I would like to get the two different filled framed box in the odd and even side running head. Expected are: my MWE is: \documentclass{book} \usepackage{fancyhdr} \usepackage{tikz,lipsum} ...
3
votes
1answer
80 views

ConTeXt: How to enforce spacing below a columnsetspan?

I'm using columnsets with floating columnsetspans, and I would like to enforce a small amount of vertical space below a columnsetspan and the following text, outside the frame. Here are some example ...
3
votes
1answer
63 views

Create page break for entire frame without breaking the text flow

I'm including a large, one page box using framed package, with simplest example being: \documentclass{report} \usepackage{framed} \begin{document} Some text ...
1
vote
1answer
38 views

Control the height and the length of a frame

By using the following code, I draw a framed figure that contains an array of 3 rows: \usepackage{framed} \usepackage{float} \begin{document} \begin{figure}[h] \begin{framed} \[ ...
2
votes
0answers
50 views

Framed theorem environment spread across pages [closed]

I wanted to put a vertical line in front of examples to make them easier to distinguish from the regular text. For this I used mdframed, and it mostly seems to work. However, if an example happens to ...
0
votes
0answers
37 views

Border around image is clipped

I want to add a border around a PNG image so I followed the steps here: How to add border for an image? My resulting code is: \begin{figure} \centering {% \setlength{\fboxsep}{0pt}% ...
3
votes
2answers
161 views

how to make fbox produce similar result to boxed from amsmath when used inside display math?

I use Scientific word to generate Latex, and from its GUI, it only supports \fbox to put a frame around a displayed equation. i.e. I select the equation from the GUI and click on a button which adds ...
0
votes
1answer
86 views

Framed box with border inside margin

I would like to use something like framed, but where the verticals borders are fully within the margins and the position and width of the actual content is unchanged, and with support for nesting the ...
0
votes
1answer
84 views

Chapter No. in Theorem style

I'm using \documentclass{book}. I'm also using the code below to create a theorem style, however, it only puts the title on top. I want to modify the code so that I get => Theorem ch. no. theorem no. ...
3
votes
3answers
173 views

No space before first section in framed box

I am looking for the correct way to lay out content in a framed box. In my opinion the space before the first section in a box looks odd in comparison to the same content at the start of a page. How ...
1
vote
1answer
101 views

Framed environment covers caption of figure in afterpage

I'm using packages framed to create my own quote environment with a nice frame. However, when using the package afterpage to shift a figure to the next page and the first thing on the next page is a ...
5
votes
2answers
167 views

frame around image and caption

I have an image wich is beside some text, and I would want to frame the image and the caption. My code is for now: \begin{wrapfigure}[4]{r}{8cm} \centering ...
1
vote
0answers
98 views

Work around 'Dimension too large' using `framed` with `listings`

I'm including an external source code file as an appendix using the listings package. The framed package is being used to ensure multi-page listings frames are fully closed. The problem is if my ...
3
votes
3answers
2k views

\begin{framed} with background-color

Does anybody know how to set the background-color of a framed element? \begin{framed} Let me have a background :( \end{framed}
0
votes
0answers
89 views

Framed environment: Define custom textwidth for a box

I discovered the framed package while I was loooking for a way to frame long paragraphs spanning over multiple pages. I need to to higlight certain passages, e.g. releace candidates, todos etc.: ...
3
votes
1answer
138 views

\framebox as \labelenumi

for a questionaire where possible answers appear as enumerate entries, I'm trying to have one document with plain squares and one where the squares are filled with either W or F. I tried ...
1
vote
1answer
63 views

How to remove image boundary while using LaTeX in wordpress [closed]

I'm using LaTeX in my blog in wordpress but the formulas are coming inside a rectangular box. Please refer here. How can I remove them?
3
votes
1answer
127 views

Errors using mdframed and also framed packages with tex4ht to put a frame around text

I googled around, and did not see something about this. I just found out that one gets an error using mdframed with tex4ht. \documentclass{article}% \usepackage{mdframed} \begin{document} ...
6
votes
1answer
106 views

Getting shaded boxes in lists to indent

I'm trying to make a list which also contains theorems in shaded boxes. I'm currently using the framed package to do this. However, the shaded boxes do not properly "tab" inward to align with the ...
1
vote
0answers
376 views

I want a Page Border around my Latex document. as in the image

I'm trying to make a project report and the format is the same as in the image below. I'm stuck where I need to give border to every page as shown below. I do not know anything about LaTeX so what I ...
1
vote
0answers
63 views

making boxed or framed sections that flows to the next page

I want to enclose a text in a box and i want the box to overflow to the next page when the box cannot fit in one page. With my code the box immediately jumps to the next page and then omit the text ...