Is there any way to add braces around a system of equations? Say I want to add braces around:
a=x+2y+3z
b=6x+y+2z
c=5x+3y+z
The best example I could find of how I want the braces to look is the "2d,3d,4th,5th,6th" thing here:
In other words, they need to be curly braces and appear on both sides. They also need to enclose the whole system.
Thanks!
Best Answer
Here are two possibilities, depending on what you mean by "curly".
The first type of brace grows wider the taller it gets; however, in this case, I have limited its maximum width to 3ex.
The second type of brace will never grow wider, but only taller.
EDITED to add
\stackMath
to perform stacks in math mode.If you had a curly-brace glyph that was more to your liking from a different (importable) font, it could be used in the first method presented below.
For example, here we use the brace from the
mathdesign
package.As a follow up for the OP, the
mathdesign
braces may be solely obtained (as\textbraceleft
and\textbraceright
) using the method of egreg at Import curly brackets from MathDesign (Utopia).In the MWE below, I only import it as such. So the left hand
\scaleleftright
uses it, while the right-hand solution uses the default LaTeX brace. However, by uncommenting the additional code provided, these curly braces will become the default math brace.In either case, however, the rest of the
mathdesign
glyphs are not imported.