Questions tagged [framed]

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

Filter by
Sorted by
Tagged with
0
votes
0answers
32 views

ConTeXt: Overlapping Frame Border Glitch

I'm seeing some subtle glitches at two-and-three-line intersections where the unopposed line extends slightly beyond the intersection. See the image. Similar artifacts in Evince and Foxit. Since they ...
2
votes
1answer
40 views

\rightbar using framed.sty only (without using mdframed and tcolorbox and tikz)

Is this possible to get rightbar same as leftbar by using framed.sty? I know this is possible by using mdframed or tcolorbox, but want to confirm is this possible by using framed.sty only? PS: Hope ...
1
vote
2answers
41 views

Both leftbar + oframed style

My requirement is follow: and still now I tried is: \documentclass{book} \usepackage{xcolor,framed} \begin{document} \begin{leftbar}\setlength{\fboxsep}{0pt} \begin{oframed} \noindent{{\bf ...
1
vote
0answers
21 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[...
0
votes
1answer
23 views

Problem with box edges

\begin{table}[htbp] \centering \renewcommand{\arraystretch}{3.0} \resizebox{\textwidth}{!} {\begin{tabular}{c|l|l|l|l|l|l|c} \multicolumn{1}{r}{} & \multicolumn{3}{c}{...
0
votes
1answer
71 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
30 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
1answer
45 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 ...
1
vote
2answers
70 views

How to line-break a framed text box?

Is it possible to line-break a framed text box in LaTeX? If so, is it necessary to use some package to do so, and what is the name of that package? EDIT: For greater clarity, let me give an example. ...
2
votes
1answer
55 views

How to write a left-framed environment with upper and lower skips that do not disturb the text flow?

I would like to write an environment to achieve the following: having a vertical rule on the left that spans the whole text height, with a symbol in the margin (for instance a danger sign), being ...
0
votes
0answers
43 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
22 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
27 views

How to use definition of '' \newframedtheorem '', and, their settings :Coloring frame background and framed ,boxrule

\documentclass[12pt]{article} \usepackage{lmodern} \usepackage{amsmath} \usepackage{amssymb} \usepackage{mathrsfs} \usepackage{amsthm} \usepackage[utf8]{inputenc} \usepackage[T1]{fontenc} \usepackage[...
1
vote
2answers
132 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{...
3
votes
1answer
56 views

\colorbox with Hebrew

When using a \colorbox (or derivates such as framed's shadedbox) with Hebrew and pdflatex, the color stack seems to get confused: pdfTeX warning: pdflatex: pop empty color page stack 0 and the ...
1
vote
0answers
9 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
1answer
53 views

Changing border color of \frame{}

I am using the \frame{} command to draw a box around an image, like \frame{\includegraphics{...}}. Is there a way to change the color of this box? It is black by default.
1
vote
1answer
62 views

How to make frame around text with background color

I was trying to achieve this but unable so any help appreciated thanks. This is the code I tried: \begin{figure}[h] \renewcommand{\arraystretch}{1.5} \centering \scalebox{.8} { \begin{...
1
vote
1answer
75 views

Creating a Framedbox in Tikz

I would like to write this program in Tikz instead \documentclass[oneside]{article} \setlength{\oddsidemargin}{0.25 in} \setlength{\evensidemargin}{-0.25 in} \setlength{\topmargin}{-0.6 in} \...
2
votes
1answer
209 views

Using graphics as tabular borders—ornaments around boxed contents

I have done some searching already, but did not find anything on the topic and I'm not sure where to even really begin looking for this. As the title suggests, I was wondering if it was possible to ...
0
votes
1answer
28 views

Scaling of frame creates a little point

I am trying to figure out why latex puts a little point after at the beginning of align environment I am scaling to fit the pagewidth. As an example: \documentclass{article} \usepackage{amsmath} \...
1
vote
1answer
32 views

subplot layout - Noise waveform with modifiable offset

I'm trying to build a graph with the layout similar to the figure below: I'm using the 'minipage' environment and my code is shown below. \section{Figures} \begin{figure}[H] \centering \...
1
vote
1answer
66 views

mdframed: title and subtitle

I would need to recreate the same frame as the one proposed at this page mdframed: Put a line below the frame title and give it a shaded background with the only exception of adding a subtitle with ...
0
votes
0answers
58 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 ...
6
votes
2answers
158 views

ConTeXt: MetaPost graphic in overlay setups shifts between pages

Background A line is being drawn using MetaPost on an overlay, which is used as the background for a framed layer. The layer is embedded within a setups so that a dot's position on the timeline is ...
1
vote
1answer
31 views

Vertical spacing between \framebox-ed elements of list

I'm new to this stuff, but I am trying to create an alphabetical list where the elements are in one column with a box around it and a line between each element (I want to be able to print it and cut ...
4
votes
3answers
376 views

How to add frame around section using titlesec?

I want exact this section style but I am unable to add frame around it. Could you please help me? Here is my code snippet : \documentclass[10pt,a4paper,twoside]{report} \usepackage{blindtext} \...
1
vote
1answer
68 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
1answer
63 views

Longtable breaks when in a leftbar environment from the 'framed' package

I'm having problems combining the framed package with the longtable package. In the example below, if I comment out the \begin{leftbar}... \end{leftbar} then the table works correctly. But when I add ...
5
votes
1answer
268 views

Leftbar without indentation

I'd like to use the leftbar command from the framed package to put a line next to some parts of text. The only problem I have with the command is that it indents the text in question, as illustrated ...
3
votes
1answer
95 views

How to put a color-filled frame around a caption in longtable?

I would like to put a color-filled frame (for example with tcolorbox package) around the caption of a longtable, which I put into \endlastfoot. I used the answer to this question: Boxed caption and ...
3
votes
1answer
64 views

How do I put a box around a part of a formula?

The question is in the title: How do I put a box around a part of a formula? Consider the case in which I want to put a box around the second line of the following equation: \begin{equation} \begin{...
1
vote
3answers
307 views

Framed boxed text with “continued” text on page break

I need to write a boxed text as like as: Currently, I am using \documentclass{book} \usepackage{framed} \begin{document} \begin{framed} \section{Box 15...} ... \end{framed} \end{document} Please ...
1
vote
1answer
93 views

Broken build if a too big picture is included in a framed environment, how to insert “horizontal slices” rather?

This produces about 5000 pages before crashing: \documentclass{article} \usepackage{framed} \usepackage{graphicx} \begin{document} \begin{framed} \noindent\includegraphics[height=35cm]{example-...
3
votes
3answers
145 views

How can I put every `verbatim` environment inside a `Shaded` environment by changing the preamble only?

Unfortunately, I have a lot of TeX code which should look different that it does not, but I cannot modify its code body. However, I can modify the preamble and for example, I have learned that I can ...
1
vote
1answer
39 views

How to force not longer displayed or add ellipsis at the end when a vbox is exceeded

Like this \documentclass{article} \usepackage{lipsum} \begin{document} \frame{\vbox to .3\textheight{ \lipsum[1]\lipsum[10]\ }} \end{document} i only need the text within the frame
4
votes
1answer
53 views

How to adjust the horizontal spacing/ margins in custom framed title

I would like to increase the space between the left and right edges of a framed chapter title. I am very new to LaTeX, and am struggling with the package documentation. How can I set text margins ...
1
vote
1answer
191 views

How to make slide in latex

I want to create a presentation about English Tense in latex. Till now I create three slide. 1st slide is a title slide. 2nd slide is for Content slide,3rd is a outline slide of my full presentation. ...
1
vote
1answer
83 views

Framebox - two rows

Please how to set two rows in a framebox? \documentclass[12pt,a4paper]{article} \usepackage[utf8]{inputenc} \usepackage[T1]{fontenc} \usepackage[czech,english]{babel} \begin{document} \framebox[\...
0
votes
1answer
297 views

change color in shaded environment

I'd like to switch color in a shaded environment (package framed.sty). Something like that : \definecolor{shadecolor}{1 0 0} \begin{shaded} This line is red \switch{yellow} and this line is yellow ...
1
vote
1answer
47 views

How to force a framed box not to be cut by the end of page

I would like to know how to keep a whole framed box on the same page. I am finishing a manuscript and I am quite afraid to move the text before/after to check this. I take this example, from here. ...
1
vote
1answer
74 views

Consecutive numbering in theorem enviroments, inside framed boxes

I want to write propositions, lemmas, theorems, corollaries inside the chosen boxes and definitions NOT inside boxes, all of them with consecutive numbering. I searched for similar posts and I found ...
0
votes
1answer
86 views

Adjust Frame Option of pdfpages-Package

I'm currently writing a report for university and want to include some pdf documents as appendices. I'm using pdfpages (of course) to include these pdfs but i ran into one small problem: I scaled the ...
1
vote
1answer
78 views

How to box the last (or one) line of an aligned set of equations? [duplicate]

I am trying to get the last equation in a list of aligned equations boxed, however this is more challenging than I thought it might be. I would like to be able to do it with the box both including ...
0
votes
1answer
66 views

Conflict between \captionof and mdframed

I'm using the minted package to generate highlighted code snippets. Because I want all minted environments to be wrapped with mdframed, I added the following to the preamble. \usepackage{mdframed} \...
1
vote
1answer
265 views

Format frame of listings

please, how should I set frame of listlings like line not line at bottom and dash on sides. Thank you \documentclass[12pt,a4paper]{report} \usepackage[left=2cm,right=2cm,top=2.5cm,bottom=2.5cm]{...
2
votes
1answer
70 views

How could I remove space after framed figure's caption and text follows it?

I have following code: \documentclass[10pt,journal,compsoc]{IEEEtran} \hyphenation{op-tical net-works semi-conduc-tor} \usepackage{graphics} \usepackage{mdframed} \usepackage{tikz} \usepackage{...
3
votes
2answers
318 views

How to highlight a line of text (with colored background) with animation in beamer?

There are several ways to highlight a line of text with colored background in beamer, for example, using framed or mdframed. How to animate this highlight, i.e., filling the background color from ...
5
votes
2answers
164 views

ConTeXt and Metafun: Framed enumeration with counter as part of overlay

How do you make an enumeration where the enumeration counter appears within a frame decorated with Metafun? The idea is to have something similar to an example on pg. 144 of the Metafun manual: ...
2
votes
1answer
109 views

Creating double-framed table in document header

I am pretty new to TeX and right now I am facing a challenge in creating double-framed table in header of my document. Intended goal is in image: Combining answer here: Create Double line Border in ...

1 2 3 4 5 11