I want do put right brace to group two cases (mixed normal and math mode) but when I try something, it says that I can do it only in math mode. Can someone help me, please?
Asked
Active
Viewed 274 times
1 Answers
0
You could add text in math mode using \text{} command. With the help of the mathtools package, for the aligned environment, you could do it like this.
\documentclass{article}
\usepackage{mathtools}
\begin{document}
$\left.\begin{aligned}
\text{Kvadrat zbira:}&&(a+b)^2&=a^2+2ab+b^2\\
\text{Kvadrat razlike:}&&(a-b)^2&=a^2-2ab+b^2\\
\end{aligned}\right\}
\text{Kvadrat binoma}$
\end{document}
Alain Remillard
- 1,002
texdoc schemata– Fran Jan 10 '20 at 01:58