6
votes
2answers
123 views

Saving a list in a re-usable box

Pardon me if this is a dumb question, but I am a bit rusty about this. I want to store a list like one generated by the enumerate environment in a re-usable box that I may re-use within a TikZ ...
1
vote
0answers
28 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 ...
3
votes
1answer
140 views

afterpage + list = missing \item

I'm trying to use the afterpage package to automatically insert text at the top of each page (please see my other question Section reminders at the top of each page?) but I'm having trouble. ...
5
votes
3answers
617 views

Can't I put a list inside an \lrbox?

I want to have a list in my saved box. Why doesn't the following work? \documentclass{article} \usepackage{setspace} \newsavebox{\mybox} \newenvironment{myenv}{% \begin{lrbox}{\mybox}% ...
1
vote
1answer
98 views

How can I append code to an item-label(-box)?

For executing code after the end of a parameterless macro there are \ltx@GlobalAppendToMacro and \ltx@LocalAppendToMacro from the ltxcmds-package. For executing code after the end of an environment ...
11
votes
2answers
707 views

Box around single element in list

Is there any way in latex to create a simple box around one item in a list? I tried both \framebox, and \fbox, none of them worked \begin{enumerate}[label=\Alph*),ref=\Alph*] {\color{red}\item ...
4
votes
2answers
1k views

Grey box code and lists

I've got that code from a website to make grey areas in my LaTeX document. % http://www.alfredklomp.com/programming/tex/macros/ \long\def\greybox#1{% \newbox\contentbox% \newbox\bkgdbox% ...
1
vote
1answer
228 views

Problem with mbox command

I have the following simple code which causes some problems, would be great if someone could point out what is going wrong here: \begin{compactenum} \item Perform addition over all bits \[ ...
1
vote
2answers
1k views

Draw a rectangle

How to draw a highlighted box around a bulleted item.
8
votes
3answers
1k views

Create a series of connected, list-filled boxes (flowchart?)

I would like to create a series of horizontally linked 'text boxes', with arrows between each one. Each box will contain some text (probably a list with a title). I would like it to look something ...
1
vote
1answer
287 views

Moving a framed environment to the left

I want to move the following remark environment, which nicely splits over pages :), towards the left so that it is not centered anymore. I have been unsuccessfully trying for a while: would you please ...