Text Formattingwrapping text in equation

Information and discussion about LaTeX's general text formatting features (e.g. bold, italic, enumerations, ...)
Post Reply
casperyc
Posts: 50
Joined: Thu Oct 15, 2009 11:23 pm

wrapping text in equation

Post by casperyc »

Code: Select all

\[
\left.
	\begin{array}{c}
	A=BCF=DEF=ABCDE \\
	B=ACF=ABDEF=CDE \\
	C=ABF=ACDEF=BDE \\
	D=ABCDF=AEF=BCE \\
	E=ABCEF=ADE=BCD \\
	F=ABC=ADE=BCDEF
	\end{array}
\right\}
	\begin{array}{l}
	\text{all alisaes containing 3,3,5 letters,}\\
	\text{so the main effects could safely all}\\
	\text{6 be esitmated.}
	\end{array}
\]
Hi all,

This is what I want. Looks pretty much fine.
I wonder if there is a easier ( or 'correct' way ) to achieve it?
like wrapping the text after the Big brace automatically in a sense?

Thanks!

casper
Last edited by casperyc on Tue Jan 18, 2011 12:18 am, edited 1 time in total.

Recommended reading 2024:

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

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

And: Currently, Packt sells ebooks for $4.99 each if you buy 5 of their over 1000 ebooks. If you choose only a single one, $9.99. How about combining 3 LaTeX books with Python, gnuplot, mathplotlib, Matlab, ChatGPT or other AI books? Epub and PDF. Bundle (3 books, add more for higher discount): https://packt.link/MDH5p

frabjous
Posts: 2064
Joined: Fri Mar 06, 2009 12:20 am

wrapping text in equation

Post by frabjous »

Like with a parbox, perhaps?

Code: Select all

\documentclass{article}
\usepackage{amsmath}
\begin{document}
\[
\left.
   \begin{array}{c}
   A=BCF=DEF=ABCDE \\
   B=ACF=ABDEF=CDE \\
   C=ABF=ACDEF=BDE \\
   D=ABCDF=AEF=BCE \\
   E=ABCEF=ADE=BCD \\
   F=ABC=ADE=BCDEF
   \end{array}
\right\}
   \ \parbox{2in}{all aliases containing 3,3,5 letters, so the main effects could safely all 6 be estimated.}
\]
\end{document}

casperyc
Posts: 50
Joined: Thu Oct 15, 2009 11:23 pm

Re: wrapping text in equation

Post by casperyc »

That's perfectly good enough.

Thanks!

casper
Post Reply