I'd like to have a large bracket that shows a relationship from one set of text to another, like this:
Nam dui ligula, fringilla a, )
euismod sodales, sollicitudin )
vel, wisi. Morbi auctor lorem ) Nulla malesuada porttitor diam. Donec felis erat,
non justo. Nam lacus libero, ) congue non, volutpat at, tincidunt tristique, libero.
pretium at, lobortis vitae, ) Vivamus viverra fermentum felis.
... )
Instead of the line of round braces )
, I'd like to replace them with one proportional curly brace }
. I'd like the size of the brace to change to fill the amount of vertical text on the "longer" side.
Here are my ASCII abilities put-to-the-test, depicting what I'd like (where, obviously, the lines are meant to be parts of one glyph for a brace):
Nam dui ligula, fringilla a, euismod sodales, sollicitudin |
vel, wisi. Morbi auctor lorem \ Nulla malesuada porttitor diam. Donec felis erat,
non justo. Nam lacus libero, > congue non, volutpat at, tincidunt tristique, libero.
pretium at, lobortis vitae, / Vivamus viverra fermentum felis.
... |
/
In the degenerate case, I'd like:
Nam dui ligula, fringilla a. } Nulla malesuada portitor diam.
As one side of the text or the other becomes larger, I'd like the brace to grow to be at least as high as the height of the taller side of text.
A starting point I'm working from with the Tex is:
\documentclass[12pt]{memoir}
\usepackage{fontspec,xltxtra,xunicode}
\usepackage{lipsum}
\begin{document}
\begin{tabular}{lcr}
\parbox{0.425\textwidth}{\lipsum[2]}%
& )%
& \parbox{0.425\textwidth}{\lipsum[3]} \\
\end{tabular}
\end{document}
Obviously in the above case we end up with a small and statically sized )
and not a proportionally sized }
, however it's just an example of the lines I'm thinking along.
In the past, I've avoided this problem by selecting a sufficiently large font for the }
. That technique requires unnecessary "eyeballing", that I'd like to avoid.
I've used braces in math mode, like this:
\begin{math}
\left[% superfluous
\parbox{0.425\textwidth}{\lipsum[2]}%
\right\}%
\parbox{0.425\textwidth}{\lipsum[3]}
\end{math}
This is the right concept, except (1) the braces are proportional to the left side; and (2) there's a superfluous left brace.
I'm grateful for any thoughts & suggestions.
Thank you for reading.
Edit: Related questions: