2
votes
0answers
68 views

How to make “callouts” or “standout blurbs” among a larger body of text?

I'm not sure what the word I need to search for is, to find help if this question has already been answered. In magazines it's common to pick out words from the middle of a body of text and repeat ...
4
votes
3answers
71 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 ...
5
votes
2answers
137 views

How do I add a box as a prefix to sections or float a box left of sections?

I am working on converting some old documents at work into LaTeX. I realize that some of the things I need to do do not conform to the LaTeX typesetting standards but that is where I am. I have most ...
5
votes
1answer
368 views

Break box (a long caption) over pages

I want to have text of a certain width less than the page width, which goes across several pages. Normally you’d put text into a (\par)box to set its width but these boxes cannot be broken across ...
3
votes
1answer
101 views

can't put figures in a box

The other day I had a problem in creating an example that contained text and listings, I asked about that here: lstlisting in a box? David Carlisle found a very good solution for it, and after toying ...
5
votes
2answers
131 views

Figure with a different box around

I'm trying to make a box around my figure like the ones in Benjamin Pierce "Types and Programming Languages" book and Luca Cardelli paper "Types Systems". Such boxes have horizontal rules and only ...
1
vote
0answers
39 views

How to implement a floating text box? [duplicate]

I'm trying to write an environment that creates a new float type for text boxes. These are used for example in some books to provide interesting tidbits that aren't really part of the main line of ...
2
votes
1answer
308 views

How to scale a dirtree inside a figure?

I drew a tree structure with \dirtree. This tree is located in a {figure} environment. It is possible to adjust the size of the figure? With \includegraphics one can do it with scale. Is there a ...
10
votes
1answer
808 views

Box or sidebar for additional text

I'm not sure of the name of what I need. I would like to set some text in a box or sidebar, as I've seen in some textbooks. The main text will refer the reader to the sidebar for more details. I would ...
10
votes
1answer
12k views

Frame around text and figure

Consider the following TEXT TEXT TEXT TEXT Figure~\ref{fig:foo} TEXT TEXT TEXT TEXT TEXT TEXT TEXT TEXT TEXT \begin{figure} \centering \includegraphics[width=\textwidth]{foo} \caption{This is foo.} ...
6
votes
4answers
2k views

Making a fake figure that holds a text box of specified dimensions

I think I have seen this done before, but I am not sure. Is there a way to build a fake figure in LaTeX? I would like to do this while the other figures in the document render correctly. Ideally, I ...
3
votes
1answer
1k views

Floatstyle how to come back to the default theme

How can I come back to the default floatstyle after I called the floatstyle{boxed} and the \restylefloat{figure} command?
5
votes
1answer
605 views

Enclosing a float into a shadowed box

I have created a float enivoirment as shown below \floatstyle{boxed} \newfloat{example}{thp}{lop}[section] \floatname{example}{Example} I would like to enclose the example in the a shadowbox, ...
6
votes
1answer
2k views

Rounded corner colored box around figure

I'm trying to get Rounded corner grey-colored box around figures. One solution would be to use \usepackage{float} \floatstyle{boxed} \restylefloat{figure} but this results in black box around a ...
9
votes
2answers
2k views

Framed text with a float in it

I'd like to frame the text between \startfoo and \stopfoo, but there is a float in it. \documentclass{article} \begin{document} \startfoo \begin{figure}[h] some float with a \caption{...} ...
5
votes
2answers
2k views

Creating a shaded box with an outline

EDIT I'm attempting to create a box with a different background color. However, I've tried this and the box looks unpolished. So I would like to add a line that seperates the two background colors. ...