I'm writing a short document listing some chronological events. I want to pick out a period with a big brace. Here's a quick mockup:

What's the best way to do this? Can I set the size declaratively - ie from line A to line B - somehow?
|
|
|
I suggest a variation of Giel's answer with
(or smth like |
|||||
|
|
I'd seriously suggest using tikz for this. Here's an alternative to Caramdir's (excellent) solution:
What I like about this one is that it doesn't mess around with how the actual data is put in, the decoration is added afterwards almost as an afterthought, which (to me) fits in better with the feel of what you're trying to do. What isn't so good is the placement of the brace horizontally. Because I don't know how your are typesetting your data, nor what sort of data it is, I've just shoved the brace to the right-hand side. If your data is more structured, as the graphic suggests, then it would be easy to make it appear in the right place. (Indeed, from experimenting, I'd say that if your data isn't nicely structured - by which I mean that the lines should be of similar widths - then a brace at the right-hand side doesn't look good as it's not easy to see exactly which lines it is including or excluding.) |
|||||||||||||||
|
|
Just for fun an answer using TikZ:
To specify from which row to which row the brace should go change |
|||||
|
|
In mathmode you could use some trickery like putting a matrix to the left of a
|
|||||
|
|
You can use pstricks-add.sty as follows: (details can be found here on page 18)
This is the output:
|
|||||
|