Skip to main content

Questions tagged [framed]

{framed} is about framed document elements, e.g., boxes and environments. Basic commands for framed elements are \fbox and \framebox. The color packages {xcolor} and {color} extend these with \fcolorbox. Popular packages for framing larger areas and in a more flexible form are {tcolorbox}, {mdframed} and {framed}. If you use such a package, you should also use the corresponding tag.

Filter by
Sorted by
Tagged with
4 votes
2 answers
126 views

ConTeXt: Change last line's justification

Background Looking to dynamically change the justification for the last line in a quotation. Problem The setupalign wiki page notes that \setupalign takes an end parameter meaning, "justified, ...
Dave Jarvis's user avatar
1 vote
1 answer
68 views

ConTeXt: Libre Baskerville text breaks out of framed text environment

Background Looking to typeset a quotation with a vertical rule beside the text. The font is Libre Baskerville. mtx-context | current version: 2025.09.25 18:46 Problem The text (scelerisque) ...
Dave Jarvis's user avatar
0 votes
2 answers
68 views

Background color for an environment with figures

I want to pack my example environment that contains a figure with a background color. But my code below gives an error saying float lost. So, the example shows only text but no figure. Is there any ...
Neuling's user avatar
  • 173
3 votes
3 answers
172 views

Create dashed rectangle around arbitrary equation

I want to create dashed rectangular boxes(customizable) around equations. I've read this but could not figure out how to make the boxes dashed. Below is the screenshot of what I want to achieve:
Jason's user avatar
  • 252
2 votes
1 answer
86 views

Tikz & Boxes/Frames - How can I draw boxes/frames around word(s) inside Tikz nodes without defining new nodes?

This is my code: \documentclass{standalone} \usepackage{tikz} \usetikzlibrary{shapes, positioning, arrows.meta, fit} \usepackage{standalone} \begin{document} \begin{tikzpicture}[every node/.style={...
user2379123's user avatar
4 votes
4 answers
175 views

HowTo frame two align* environments side-by-side

This is what I have: \documentclass[a4paper,10pt]{article} \usepackage{amsmath} \usepackage{stix2}% must follow amsmath or arrows get flinky. \usepackage[g]{esvect} \begin{document} \begin{align*} \...
Steven Thomas Hatton's user avatar
2 votes
1 answer
69 views

ConTeXt \mcframed wrong alignment

As you can see in the following example, \mcframed sometimes gives a wrong alignment. \startTEXpage[offset=5pt] \showmakeup[line] \m{1 = \mcframed{\frac{1}{1}}}, \m{1 \neq \mcframed{2}}. \...
Inverted Pastry's user avatar
2 votes
3 answers
143 views

Formatting of example box (left bracket)

I was wondering how to implement an example command to get something like this: Currently, I have something like this: \documentclass[a4paper,12pt]{article} \usepackage{amsmath,amssymb,amsthm,xcolor,...
Krijn Goemans's user avatar
2 votes
2 answers
268 views

How make leftbar like this?

I want to add a leftbar with my environments, but I can only get a single vertline, so i want to konw how to make leftbar like hatcher's Algebraic Topology pdf.
Yi Wang's user avatar
  • 91
0 votes
0 answers
42 views

How to use drop caps with wrapped text [duplicate]

I'm trying to wrap paragraph text around a framed text box, while using drop caps. I'm not set on using any particular package. My current approach using lettrine and wrapfig gets close, but the two ...
telenachos's user avatar
3 votes
3 answers
345 views

Natural deduction trees with subproofs in boxes

I've looked at https://www.logicmatters.net/latex-for-logicians/nd/ and at the documentation of the packages linked there and don't see anything for setting the kind of proof trees with subproofs in ...
Alexey Romanov's user avatar
7 votes
2 answers
238 views

MetaPost: Get text width in a narrower environment

Background Using MetaPost, I'd like to account for a \framed environment being nested inside of a \startnarrower environment. When outside the narrower environment, the MetaPost code renders as ...
Dave Jarvis's user avatar
3 votes
2 answers
261 views

how do I frame text so that it also moves to the next page if it is too long?

I want to be able to put a frame around my text in such a way that I can decide in the middle of the page to close the frame and start a new one, and in addition, so that whenever the text is too long ...
canister's user avatar
1 vote
1 answer
91 views

Left bar outside of text area

I'd like to add a vertical side bar on the margin of some text, such as the blue one in the following pic: So far I've used the leftbar environment, but not only it makes the bar inside the margins, ...
ncant's user avatar
  • 663
2 votes
1 answer
165 views

Tcolorbox theorem with boxed title to the left of the body of the theorem

I would like to have an "exercise" environment, preferably as a newtcbtheorem, with the following simple layout: +–––+ |3.2| (opt. description) Content of the box (first line) +–––+ ...
Daniele's user avatar
  • 43

15 30 50 per page
1
2 3 4 5
43