6
votes
1answer
117 views

Multiple vertical rules along text – by using \leaders?

I want to draw individual vertical rules on the left side of consecutive paragraphs/vertical boxes covering the vertical skips. In my case for every paragraph/vertical box, there can be different ...
2
votes
1answer
279 views

Background color of breakable box: removing thin blank lines

The purpose of the mybox environment in the following document is to typeset a box in a yellow background. The box may be split by page breaks. The algorithm used is similar to the one found in the ...
3
votes
1answer
141 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. ...
11
votes
2answers
140 views

Can I get at stuff in “current page” or “recent contributions”?

When I compile the following, \documentclass[a4paper]{article} \usepackage{atbegshi} \AtBeginShipout{\showlists} \showboxdepth\maxdimen \showboxbreadth\maxdimen \usepackage{lipsum} ...
0
votes
1answer
438 views

boxes spanning several pages

I defined some time ago a box environment with the following features: It has a frame-color and a background color It stores the marginnotes, if any, and restore them at the end of the box. I use ...
2
votes
2answers
243 views

Two paragraphs side-by-side and page breaks

I have a little mind puzzle here. This idea was bugging me since I saw a question about breaking cells in a table on a page break. Let's think of a table row that's built from cells that are ...
3
votes
1answer
336 views

Breaking framed boxes across pages - or, a better design for a homework problem set?

My school's recommended homework document class file uses a boxedminipage to typeset problem statements so they appear in a box. However, this has the unfortunate consequence that they can't be broken ...
8
votes
1answer
653 views

Breakable vboxes

In Plain TeX how can I make vboxes breakable, and can I handle/measure them separately? What I'm trying to do, is that I have a portion of text, that is treated separately (no indention, narrower, ...
7
votes
3answers
3k views

How to box verbatim to prevent page break?

If I try \mbox{ \begin{verbatim} Some looooong text... \end{verbatim} } Then some compilation errors occur.
5
votes
1answer
2k views

How to continue the framed text box on multiple pages?

I am using framed package to create text boxes using begin{framed} and end{framed}. My problem is that my framed box goes on for two pages, and I don't want the text box to complete itself at the end ...