4

This is just a thought that came for the notes I am working on, I have a need to create curly brackets which span across multiple pages.

enter image description here I don't know if this is possible to do or not. my curly bracket knowledge is limited to http://en.wikibooks.org/wiki/LaTeX/Mathematics

2
  • you might need to draw a picture of what you mean. Do you mean a normal sized { on one page and a normal sized } on a later page, or do you want some kind of extra large { surrounding multiple paragraphs or.... Commented Oct 2, 2012 at 12:59
  • @DavidCarlisle - To the question I added an image. I created this in MS word and it has a limitation of one page. It does not span across pages. Commented Oct 2, 2012 at 13:10

1 Answer 1

5

Spacing's not perfect and it's using a full brace in both halves rather than some kind of half brace but it might get you started.

enter image description here

\documentclass{article} \setlength\textheight{.4\textheight} \usepackage{color,graphicx} \newcounter{setc} \newcounter{subsetc}[setc] \newenvironment{subsetlist} {\par\addvspace\bigskipamount\delimitershortfall-1em \refstepcounter{subsetc}% \noindent$\mathop{\rotatebox[origin=c]{-90}{\color{red} Subset -- \thesubsetc}}\color{green}\left\{\color{black}\begin{minipage}{.6\textwidth}\itemize} {\enditemize\end{minipage}\right.$% \par\addvspace\bigskipamount} %\noindent$\mathop{\rotatebox[origin=c]{-90}{\color{red} Set -- \thesubsetc}}\color{green}\left\{\color{black}\begin{minipage}{.6\textwidth}\itemize} \newenvironment{setlist} {\par\mbox{}\par \setbox0\vbox\bgroup\hsize.7\textwidth \refstepcounter{setc}}% {\egroup \ifdim\ht0>\dimexpr\pagegoal-\pagetotal\relax \setbox2\vsplit0 to \dimexpr 0.7\pagegoal-0.7\pagetotal\relax \noindent$\mathop{\rotatebox[origin=c]{-90}{\color{red} Set -- \thesetc\ \ldots}}\color{green}% \left\{\color{black}\vcenter{\box2}\right.$% \par \noindent$\mathop{\rotatebox[origin=c]{-90}{\color{red}\ldots\ Set -- \thesetc}}\color{green}\left\{\color{black}\vcenter{\box0}\right.$% \else \noindent$\mathop{\rotatebox[origin=c]{-90}{\color{red}\ldots\ Set -- \thesetc}}\color{green}\left\{\color{black}\vcenter{\box0}\right.$% \fi } \begin{document} \begin{setlist} \begin{subsetlist} \item aaa \item bbb \item ccc \end{subsetlist} \begin{subsetlist} \item aaa \item ccc \item bbb \end{subsetlist} \begin{subsetlist} \item aaa \item ccc \item bbb \end{subsetlist} \begin{subsetlist} \item aaa \item ccc \item bbb \end{subsetlist} \begin{subsetlist} \item aaa \item ccc \item bbb \end{subsetlist} \end{setlist} \end{document} 
9
  • it works great but has a one page limitation. if I increase the number of rows in it. It reduces the font size and tries to fit to a page. would be nice if there was a way to introduce a page break. I tried using array in Math mode and it does the same thing as well. Commented Oct 2, 2012 at 14:57
  • No it never changes font size and as the example output shows it will split over a page (it only does one page break as written) It doesn't split the subsets but will split the outer set list over a page (and does in the posted example) Commented Oct 2, 2012 at 15:08
  • array will never change the font size to squeeze more on the page, it simply does not have that information available (page breaking happens later) whatever you are seeing is not caused by what you think is causing it. Commented Oct 2, 2012 at 15:38
  • Pardon my ignorance but how would I add more page breaks. You said it is written for one page break only. Commented Oct 2, 2012 at 16:09
  • where I have the vsplit you would need to loop keep vsplitting off more until the remaining bit was less than a page. No time to do that at work, I may later or someone else may Commented Oct 2, 2012 at 16:32

You must log in to answer this question.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.