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

learn more… | top users | synonyms

10
votes
3answers
366 views

Boxed equation with number

My minimum working example: \documentclass{report} \usepackage{amsmath} \begin{document} \begin{center} \boxed{K_{k+1}=P_ka_{k+1}^T(a_{k+1}P_ka_{k+1}^T+I_N)^{-1}} \end{center} \end{document} ...
1
vote
1answer
184 views

Add a black border to block quotations?

I have a Markdown file that I'm converting to PDF with Pandoc. And I'd like that the block quotation of the Markdown file get a 1px black border around them in the PDF. I already managed to edit the ...
8
votes
1answer
127 views

Boxed notes in MusixTeX

I need to put a box around some notes in a MusixTeX score. I've tried with \fcolorbox, but I get a white background (not transparent), covering the staff lines. I've also tried with Tikz, but I don't ...
2
votes
1answer
81 views

How do I make uniform spacing for minipages in multicols

I'm trying to make a A3 page for the wall of our office, we have a coffee maker and with there are different options for each capsule. What I want to do is have an equally spread set of minipages ...
7
votes
2answers
646 views

framed or colored box with text and margin notes

I am using pdfTeX and I have in my text an example which just is a kind of a short story. What I want is: The story should be visually distinct from the normal text, by frame or background colour. I ...
5
votes
2answers
507 views

SWOT Table - how to convert to an article?

I need a SWOT analyse in color, and I found this one at http://www.mostlycolor.ch/2013/10/colored-blocks-in-beamer.html : Can someone help me by converting the beamer, so I can use it in an ...
6
votes
1answer
173 views

Listing with two columns in a single fancy frame

I am playing a little with lstlistings and I wonder whether such a thing would be achievable for all my listings: How to achieve this kind of things? Note : I am searching for a solution I can ...
1
vote
0answers
63 views

Border/frame for special text in latex

I'm writing about hash strings like this: "1DGooBsCL8eBHRq4UHPwiYbvu2Weiuw837" etc. I would like to do some border box or decorations for hash strings. Is it possible in latex?
5
votes
2answers
74 views

Move short keywords to the left of the text in box, not marginpar/marginnote

I am trying to create a command that moves (short) keywords to the left side of the text. They should be "right" aligned" with a fixed separation between the keyword and the text. The command below ...
5
votes
2answers
277 views

How to add a box of a fixed size (width and height) around a graphic of varying sizes?

I've found lots of references for ways to create a box around text, but none for around graphics. I want the border frame around the graphic to all be the same size, with a graphic inside the box, ...
0
votes
0answers
132 views

Rounded corner box with shading (one side round corner box)

Is possible to get the one side round corner with shaded box through PSTricks? I am using the command \psframe[linewidth=0.5pt,framearc=6,fillstyle=solid, fillcolor=gray!30,linecolor=gray!30] and I ...
5
votes
1answer
173 views

How to prevent frames on each groupplot in TikZ/pgfplots

I want to do a group of plots. However, I set the option \tikzset{every picture/.style={framed} at the begin of my document, because I want a frame around all my pictures. What I get now is a frame ...
4
votes
1answer
96 views

How to make a section without margin with the command “\exersize” like this:

‎ \documentclass[12pt‎ , ‎a4paper]{report}‎ \usepackage[framemethod=TikZ]{mdframed} \usepackage{xcolor}‎ \usepackage{titlesec}‎‎ ...
0
votes
0answers
38 views

Rounded corner box with shading [duplicate]

I wish to draw a rounded corner box (top-left side as a square, top-right side with 6pt radius curve and the bottom of two sides also with radius curve), in addition to that there should be shading, ...
11
votes
4answers
977 views

Put a box around an item (homework)

I am using the enumerate environment to do homework. In the following, first I write out the question, then I write out the answers to the first two parts. What I'd like to do is have a box around ...
4
votes
2answers
111 views

Intersection of equation with code frame in listings package

I used the listings package with single frame and I had an equation before my code. The problem is that the frame intersects a little with the equation and the output is ugly. This happens both when I ...
3
votes
1answer
111 views

Listings package split frame when the page ends

When I use the listings package with frame in my code the frame "breaks" when the page ends and it is open in the end of the page. I want the frame to be complete with four sides and continue in the ...
0
votes
0answers
53 views

Removing the box around an algorithm

I am using the Algorithm2e package for some algorithm in my reports: link However, there is a "frame" around the algorithm that I would like to remove. I don't find in documentation a way to remove ...
1
vote
1answer
226 views

Framed float box, spanning two columns in paracol [duplicate]

I'm looking for a simple, framed, float box-environment that has (or can have by construction) a star equivalent (like figure* or table*) so that it may span both columns in the paracol environment. ...
9
votes
2answers
256 views

Framing cells vertically in a table

I want to add a box in a tabularx table that would frame several cells vertically. There is this post that shows how to frame cells horizontally (Framing cells in a table), but I cannot figure out how ...
5
votes
1answer
193 views

Add box to labeled sections

I want to add a box to a repeated section of a textbook, which provides question discussions. Is it possible to do it by adding "tex style setting" command(s) to the preamble? I am using the memoir ...
4
votes
3answers
103 views

Floats Analogue of framed

I have very little experience with LaTeX. So, pardon my ignorance, but is there a float equivalent of \framebox? Ideally, I'd like a simple construct for framed text that I can position at the top ...
0
votes
0answers
100 views

Put a beamerbox at the top of the frame, even if the frame is vertically centered

How can I put a beamerbox at the top of the frame, even if the frame is vertically centered? I know \frametitle just does this! So you can reformulate my question: how frametitle does this? Here is ...
1
vote
1answer
116 views

shaded frame not working in TexStudio

I'm using TexStudio 2.6.6 and MikTex portable. I'm trying to build the example CV from here: http://www.njohnston.ca/2008/12/latex-cv-template/ The problem is that I get a lott of "Undefined Control ...
6
votes
3answers
216 views

How to draw a corner at the end of text

I would like to draw my logo with latex. The logo is very simple. It is a text, followed by a corner, which started at the bottom line. The size of the corner should change according to the font ...
2
votes
1answer
62 views

Misalignment with framed package and column

I'm trying to use the shaded environment as follows: \documentclass[11pt]{beamer} \usepackage{xcolor} \usepackage{framed} \definecolor{shadecolor}{rgb}{1,0.8,0.3} \begin{document} \begin{frame} ...
5
votes
1answer
228 views

Create box around text without creating a paragraph and with line breaking

I want to draw a box (no rounded corners, keep it simple ^^) around one or multiple words. There are two special things: 1) the box should support line break and 2) the box should not cover multiple ...
1
vote
0answers
29 views

How to remove the red boxes around toc [duplicate]

This is in with regards to the below post How to add an extra level of sections with headings below \subsubsection The code works flawlessly. But do I remove the red frame boxes which cover the ...
3
votes
2answers
364 views

Fragile frame in lyx

I'm working on a document in LyX and I'm trying to create a frame around some verbatim text. I've tried a number of different things including ERT \begin{frame}[fragile] and \end{frame} around the ...
3
votes
1answer
132 views

Box around caption in figure

I am wondering if it is possible, in a figure, to put a box around just the caption and not the whole figure. \documentclass[12pt,letter]{article} \usepackage[demo]{graphicx} ...
7
votes
2answers
280 views

niceframe border gets cut when the content spans multiple pages

I am trying to dress up my pages with curlyframe of niceframe but is seems that it cannot support multiple pages. Am I missing some option for that? Can I place the curly lines at the edges of every ...
3
votes
1answer
371 views

Adjust width of tcolorbox to contains long Equation

My work based on that subject Create Beamer-Theorem like boxes i want all long equations be inside a box and the width to be adjust based on the content also the my box can't be split on different ...
0
votes
2answers
147 views

background framed box with newenvironment “encadre”

I want to use a floating framed box that could be nicely placed in the text. \fbox needs to be placed by hand. I wrote this code which was exactly what I want to get...but with a floating object. ...
0
votes
1answer
99 views

ConTeXt: Left-justify text to overlap hidden/disabled frame border

Background Looking to left- and right-align text in a footer. Problem The following image shows that the word "Betasec" is not left-aligned with the black horizontal line above it: I believe ...
9
votes
1answer
99 views

Eliminating space at the end of list environments

I am attempting to eliminate the vertical space at the end of listing environments (enumerate, itemize and describe) but only when the list environment is at the end of a leftbar environment from the ...
5
votes
1answer
183 views

Tabular in frame: get rid of horizontal spacing

I'm trying to surround a tabular with a thick frame: \setlength\fboxrule{2pt} \setlength{\fboxsep}{0pt} \fcolorbox{black}{gray}{ \begin{tabular}{@{}p{2cm}|p{2cm}@{}} A & B \\ \hline ...
3
votes
1answer
372 views

Frame for a title page

The cover of Gonzalo Medina from here : Presentation Beamer [title page] is beautiful and bright i tried to do it like him but in \documentclass[a4paper,12pt]{report} here is my try ...
5
votes
2answers
91 views

An environment for fixed figures

I am trying to create an environment that I can use to include "figures" within a framed environment. Because floats aren't allowed inside framed environments, I want to create a new environment ...
3
votes
1answer
297 views

Adding “continued” text to framed paragraphs using tikz and framed

I trying to adapt the following example: http://www.texample.net/tikz/examples/framed-tikz/ So far I have managed to change the colour scheme and replace the irregular edges with a simple rounded ...
2
votes
1answer
77 views

How to insert mathematical symbols between frame boxes side by side?

I want to put two frame boxes containing some text side by side and put a mathematical symbol (e.g. a plus sign) in between them. How do I do that? Here is the code: \documentclass{article} ...
10
votes
1answer
386 views

Does some one know how to create a specific kind of block on Beamer?

I would like to create a block in Beamer exactly as the one illustrated below. Does someone know how to do it?
4
votes
1answer
117 views

how can I make an fbox like command with certain color, shape and width of border?

I am using a style file that has a certain color for section headers. I want to create a macro, which will behave the same like fbox, only: There will be some (predefined) padding below, above, ...
5
votes
1answer
80 views

Small box just surrounding the equation, not the whole line?

The following example makes a huge box that's the full width of the text, including the equation number: \begin{framed} \begin{equation} x=y \end{equation} \end{framed} Is there a way to get a ...
4
votes
1answer
857 views

using fbox in a newenvironment [duplicate]

I am trying to write a new enviroment to add text into a \fbox, when I use \fbox on its own, it works quite nicely \fbox{\begin{minipage}{0.9\textwidth} does this work, I would love if it did ...
3
votes
1answer
737 views

How to change the margins and insert the university banner in a poster?

I'm trying to build up a poster. This is the template I have to use: %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% % Jacobs Landscape Poster % LaTeX Template % Version 1.0 (29/03/13) % % Created by: % ...
3
votes
1answer
79 views

How to keep the first item invisible before I click the screen?

See the picture. The current situation is that the frame title and the first item appears at the same time. But I only want to let the frame title visible at first, and after I click the screen, the ...
2
votes
2answers
381 views

how to write make rectangle box and write in it

\documentclass{article} \usepackage{graphicx} \usepackage{amssymb} \begin{document} \title{GROUP THEORY}\bfseries \maketitle \section{ALGEBRIC SYSTEM :} NOTE: The algebraic system define over operator ...
5
votes
2answers
270 views

How to typeset a frame with the title across the boundary?

How could I typeset a frame like: ? I've always used mdframed or tcolorbox to typeset frames but I cannot find mention of such functionality. Is there a simple way of achieving this effect with ...
7
votes
2answers
358 views

How to make a semi - shading stripe in resume with LaTeX

I want to make some semi-shading strips in resume to highlight each field, like this image: However, the template code which I use is as below: \newcommand{\resitem}[1]{\item #1 \vspace{-2pt}} % ...
2
votes
0answers
218 views

How to highlight words or sentences? [duplicate]

I would like to create something similar to . To begin with, I would like to create a rounded and background-colored highlight of a word (or a short series of words). What package should I use ? ...