Questions tagged [framed]

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

29 questions with no upvoted or accepted answers
Filter by
Sorted by
Tagged with
2
votes
0answers
58 views

material swapped with \subsection in AMS document classes

I today saw very interesting case when subsection started by shaded environment \documentclass{amsbook}%{amsart} \usepackage{xcolor} \usepackage{framed} \newtheorem{theorem}{Theorem}[section] \...
2
votes
0answers
20 views

Whacky multicol pagination in the (md)framed environment(s)

This is a typical recommendation letter (minimally formatted) that includes questions and \mdframed responses in a \multicol environment. I have also included other things I typically include inside ...
2
votes
1answer
51 views

Vertical space of shaded box

I use package framed to color background of part of the text. I put attention that shaded environment uses extra space before and after colored box. In search how to reduce this space, I found macro \...
2
votes
0answers
152 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 ...
1
vote
0answers
24 views

Footnote in framed environment

Some time ago I asked how I can use footnote environment and got good advise. But I had also the question what will happen if I need to use 2 or more footnote. I knew that I will meet such problem in ...
1
vote
0answers
47 views

Framing an equation and equation array (boxed)

I want to nicely put equations and equations arrays inside a box or a frame. I also like to align objects in align environment like in the eqnarray environment [r|c|l], see example below. Working ...
1
vote
0answers
34 views

How can I automatically draw frames around all elements on a page?

Fine-tuning the layout and spacing of elements in a document is often a guessing game. It would be great if LaTeX could display the spatial extensions of all elements (float, subfigure, minipage, ...
1
vote
0answers
54 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{...
1
vote
0answers
32 views

Footnotes on wrong page if framed environment spans two pages

The footnotes in the following example should show on page 1, but they show on page two. What can I do? \documentclass[]{scrartcl} \usepackage{lipsum} \usepackage{framed} \begin{document} \lipsum[...
1
vote
1answer
213 views

Align framed environment boxes accurately

I'm trying to draw a figure consisting of two boxes, using the framed environment, aligned side by side, each containing a small header and an align* environment. I'd like some symmetry. I.E. that the ...
1
vote
0answers
109 views

Page layout: Whole page table layout or page with frame

I have to recreate a horrible page layout from a WYSIWIG template, so that I can at least use LaTeX. The page layout shall be used in a larger document, so no individual documentstyle shall be used. ...
1
vote
0answers
131 views

How to do the memoir headings fix but not have my text going over the page bottom margins?

I am using a fix \setlength{\headheight}{14.0pt} for the memoir package I found on Memoir : Warnings "The material used in the headers is too large" w/ accented titles but when I use it, my ...
1
vote
0answers
160 views

PGFPlots and subfigure and example

I was plotting some graphs at a separated file, and when I pasted it at another file - the "book" - and now I have an error. I use the same preamble at both files: \documentclass[a4paper,11pt,openany,...
1
vote
0answers
130 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, a4paper]{...
1
vote
0answers
147 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 ...
0
votes
0answers
22 views

framed.sty deletes a following \label command when filling the last page of a document

Under certain circumstances, when using framed.sty, a \label command that occurs after a framed environment is lost, and nothing gets written to the .aux file. For this to happen, the framed material ...
0
votes
0answers
22 views

HRule not defined for a title page

I tried the example found here. I wanted to add lines above and beyond the title. However, the example doesn't seem to work. It compiles with overleaf but texmaker doesn't recognize it. They use this: ...
0
votes
0answers
31 views

Breakable box through tocolorbox with “continued” text with a condition of verso (not required continued text) and recto pages

I am trying to create a breakable box through tcolorbox with the below possibilities when box splits in to multiple pages verso page at bottom should not contain the word "continued" text ...
0
votes
0answers
123 views

Two-column nomenclature too long

I'm writing a research paper and have a rather long nomenclature that I want to put in a frame that spans as many pages as needed. However, when I try to do this, the nomenclature overflows at the ...
0
votes
1answer
75 views

Break longer word into lines to fit the box (inputminted?)

I would like to fit the long string (as it is labelled url in the json file) inside the box without overflowing. As far as I understand, breaklines option only helps when strings consist of separated ...
0
votes
0answers
202 views

How to split theorem environment into two frames?

I am using \newtheorem{thm}{theorem} \begin{frame} \begin{thm} \end{thm} \end{frame} but when theorem is long and frame doesn't have enough space then I used a next frame like, \begin{frame} \end{...
0
votes
0answers
48 views

Frame around table but not around the caption - Spacing problem

I am trying to add a frame around a table but keep the caption outside the frame. My current way: \begin{table}[!ht] \begin{framed} \begin{itemize} \item foo \item bar \end{itemize} \end{...
0
votes
1answer
142 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 ...
0
votes
1answer
66 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
46 views

drawing objects size is too small

\documentclass[12pt,a4paper]{article} \usepackage[latin1]{inputenc} \usepackage{amsmath} \usepackage{amsfonts} \usepackage{amssymb} \usepackage{graphicx} \usepackage{tikz} \usetikzlibrary{calc} \...
0
votes
1answer
62 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{...
0
votes
0answers
73 views

ConTeXt: Dynamically setting frame width around section using \structureuservariable

I would like to generate graphical sections (for poster/slides) where the section is bounded by a frame and the section title itself also has a graphic around it. However, I would like to generate ...
0
votes
0answers
110 views

Breaking box style by using framed.sty

My code as follows: \documentclass{book} \usepackage{xcolor,framed,blindtext,amssymb} \usepackage{showframe} \begin{document} \definecolor{shadecolor}{cmyk}{0.02,0.09,0.04,0}% \begin{shaded}\advance\...
0
votes
0answers
190 views

How to make a dotted word placeholder?

I want to make a word place holder similar to the unicode DOTTED CIRCLE (which is used to demonstrate the placement of diacritics and similar combining symbols). I want to make a box n characters long ...