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

learn more… | top users | synonyms

1
vote
0answers
44 views

Exclude a line of text in a tabular environment

I have this problem: inside a framebox there is a line of text which should not be a part of the tabular enviromnent because it widens the first tab. Here is the code \documentclass[12pt, ...
3
votes
2answers
63 views

Dotted frame around the text

I need to do a dotted frame, something this one: Is it possible to do?
3
votes
0answers
21 views

How do lines of \framebox'es line up?

I want to stack boxes. The frame lines of the boxes should be exactly on top of each other. The original question However, when I define two boxes, so that one starts where the other ends (spatially ...
7
votes
1answer
70 views

Framed environment with striped background

Dear friends, I have the following environment in a document: which is produced the following code, except the dark green line, I kept it back for keeping my the minimal component in my MWE. :) ...
1
vote
3answers
140 views

Aligned equations in a colored box

I would like to put a set of aligned equations into a colored box. After a quick search on tex.stackexchange, I have found the following solution to put (apparently) one equation in a color box : ...
1
vote
2answers
48 views

Box around equations in align environment and no indentation

I have the following code and I want to do two things to it.First, I want to have the output maximally on the left, that is I do not want any indentation of the stuff in the align environment, I want ...
1
vote
2answers
78 views

Package for framed boxes

I saw the following framed box in a Tex-generated PDF and was wondering what package had been used to make it: Does anybody recognize it?
1
vote
2answers
52 views

How to add a frame around a float with caption?

I've created a new float element to define examples: \usepackage{float} \floatstyle{plain} \newfloat{example}{thp}{lop} \floatname{example}{\textsc{Example}} I want to set my example in an frame. ...
2
votes
3answers
74 views

Colored frame in includegraphics environment

I like using \includegraphics[<your options>,frame]{image} to create a tight border around my images. How can I change the color of the border? Minimal working example: ...
0
votes
1answer
35 views

How to decrease vertical space of shaded(\usepackage{framed}) environment?

How to decrease the vertical space of shaded environment in preamble? Here is the code: \documentclass[a4paper,12pt]{article} \usepackage{color,xcolor} \usepackage{framed} ...
3
votes
2answers
61 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
53 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
58 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
25 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
45 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
86 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
64 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
96 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
62 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
145 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
212 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
290 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
185 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
189 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
83 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
63 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
94 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
43 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
43 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
78 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
56 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
112 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
105 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
33 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
211 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
181 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
78 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
228 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
86 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
72 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
43 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
53 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
42 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
176 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
109 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
91 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
186 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
113 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 ...