Graphics, Figures & TablesAny way to stretch braces?

Information and discussion about graphics, figures & tables in LaTeX documents.
Post Reply
sprntrcr
Posts: 4
Joined: Fri Sep 25, 2009 6:40 pm

Any way to stretch braces?

Post by sprntrcr »

Hi,

Is there a way to stretch braces to span a larger area? Here is an example of what I'm trying to duplicate.
Example.jpg
Example.jpg (29.42 KiB) Viewed 4782 times
Here is my code

Code: Select all

\documentclass[10pt]{book} 
\usepackage{rotating}
\usepackage{multirow}


\begin{document} 

\begin{tabular}{lcccccl}
Jarring. & \multirow{8}{*}{\Bigg\}} & \multirow{16}{*}{\rotatebox{90}{Inside the hive.}} & \multirow{8}{*}{\Bigg\{} & \multirow{8}{*}{\rotatebox{90}{Temperature.}} & &\\
&&&&&\multirow{5}{*}{\Bigg\{} & High: Disturbance.\\
Light. &&&&&& \\
&&&&&& 57 deg. F.:Comfortable.\\
Noise. &&&&&& \\
&&&&&& Low: Disturbance. \\
Poor Honey. &&&&&& \\
&&&&&& \\
Temperature of air & \multirow{8}{*}{\Bigg\}} && \multirow{8}{*}{\Bigg\{} & \multirow{8}{*}{\rotatebox{90}{Humidity.}} &&\\
&&&&& \multirow{5}{*}{\Bigg\{} & High: Disturbance.\\
surrounding the hive. &&&&&& \\
&&&&&& 70 to 80\% Comfortable.\\
Humidity of air &&&&&& \\
&&&&&& Low: Disturbance \\
surrounding the hive. &&&&&& \\
&&&&&& \\

\end{tabular}
\end{document}

And here is the results:
LatexResults.jpg
LatexResults.jpg (15.62 KiB) Viewed 4782 times
As you can see, the braces don't span like the original. Any suggestions would be appreciated.

Thanks...

Recommended reading 2024:

LaTeXguide.org • LaTeX-Cookbook.net • TikZ.org

NEW: TikZ book now 40% off at Amazon.com for a short time.

gmedina
Posts: 2313
Joined: Wed Jul 11, 2007 11:45 pm

Any way to stretch braces?

Post by gmedina »

Hi,

one possibility is to use the \left and \right commands for delimiters. Take a look at the following example:

Code: Select all

\documentclass[10pt]{book}
\usepackage{array}
\usepackage{graphicx}
\usepackage{multirow}

\begin{document}

\begin{tabular}{m{4.4cm}m{.4cm}m{7cm}}
%first set
  {$\left.\begin{tabular}{p{3.5cm}}
    Jarring.\\
    Light.\\
    Noise.\\
    Poor honey.\\
   \end{tabular}\right\rbrace$} 
  & 
  \multirow{6}{*}{\rotatebox{90}{Inside the hive.}} 
  &
  {$\left\lbrace\begin{tabular}{m{.4cm}m{5cm}}
    \rotatebox{90}{Temperature.} & {$\left\lbrace\begin{tabular}{m{4cm}}High: Disturbance.
        \\[.9em]57 deg F.: Comfortable.\\[.9em]Low: Disturbance.\end{tabular}\right.$}
  \end{tabular}\right.$}\\
%second set
  {$\left.\begin{tabular}{p{3.5cm}}
    Temperature of air\\ surrounding the hive.\\
    Humidity of air\\ surrounding the hive.
   \end{tabular}\right\rbrace$} 
  & 
  &
  {$\left\lbrace\begin{tabular}{m{.4cm}m{5cm}}
    \rotatebox{90}{Humidity.} & {$\left\lbrace\begin{tabular}{m{4cm}}High: Disturbance.
        \\[.9em]70--80 \%.: Comfortable.\\[.9em]Low: Disturbance.\end{tabular}\right.$}
  \end{tabular}\right.$}
\end{tabular}

\end{document}
Remarks: 1) I used some of the features provided by the array package; please refer to the package documentation for further information.
2) My example code is just that: an example. Feel free to improve it and to adapt it according to your needs
1,1,2,3,5,8,13,21,34,55,89,144,233,...
sitex
Posts: 70
Joined: Sat May 09, 2009 12:37 pm

Re: Any way to stretch braces?

Post by sitex »

Hello,

I sometimes use the (commercial) MTPro 2 fonts. You can view a sample of these by navigating to
http://www.pctex.com/mtpro2.html

Tom

(I produced promotional videos for these fonts. I do not receive commission on sales.)
User avatar
gmedina
Posts: 2313
Joined: Wed Jul 11, 2007 11:45 pm

Any way to stretch braces?

Post by gmedina »

sitex wrote:Hello,

I sometimes use the (commercial) MTPro 2 fonts. You can view a sample of these by navigating to
http://www.pctex.com/mtpro2.html

Tom

(I produced promotional videos for these fonts. I do not receive commission on sales.)
And where is the direct connection between the OP's question and your reply?
1,1,2,3,5,8,13,21,34,55,89,144,233,...
sitex
Posts: 70
Joined: Sat May 09, 2009 12:37 pm

Re: Any way to stretch braces?

Post by sitex »

Hello gmedina,

I think a visit to the website I mentioned will answer your question. (A picture is worth a 1000 words.) The MTPro2 fonts, designed by Michael Spivak, include various types of fences up to 4 inches high. These are not constructed by adding vertical lines to standard fences. Michael recently added long arc symbols that may not be included in the sample.

I guess CQF is a thing of the past?

Did you ever get the Fibonacci poster I sent?

Regards,

Tom
sprntrcr
Posts: 4
Joined: Fri Sep 25, 2009 6:40 pm

Re: Any way to stretch braces?

Post by sprntrcr »

gmedina,

Thank you very much, you example helped tremendously and I now have what I wanted :D
Post Reply