8

enter image description here

How can I code the equations with big brackets on the right and left sides shown in the picture? Thank you for your help!

New contributor
Lei Gao is a new contributor to this site. Take care in asking for clarification, commenting, and answering. Check out our Code of Conduct.
  • 2
    This probably have to be done via tikz with some tikzmarks and decorations. – daleif Sep 15 at 11:46
  • @daleif I not will make surely with Mathcha. :-) :-) – Sebastiano Sep 15 at 11:53
  • 2
    nicematrix is good candidate ... – Zarko Sep 15 at 11:53
  • Welcome to the TeX.SE. – Sebastiano Sep 15 at 12:06
11

This works because stackengine can set equations with fixed baselineskip.

\documentclass{article}
\usepackage{tabstackengine,amsmath}
\TABstackMath
\stackMath
\begin{document}
\[
%\setstackgap{L}{1.1\baselineskip}% VERTICAL SPACING OF CENTER EQUATIONS
%\renewcommand\stacktype{L}% GIVES LEFT/RIGHT EQS SAME VERTICAL SPACING AS CENTER EQS
\Centerstack{
\\
\\
\alignstackanchor{a=&b}{a=&b}{\left\{\begin{aligned}\\\\\end{aligned}\right.}\\
\\
\\
\alignstackanchor{a=&b}{a=&b}{\left\{\begin{aligned}\\\\\end{aligned}\right.}\\
\\
}
\alignCenterstack{
a=&b\\
a=&b\\
a=&b\\
a=&b\\
a=&b\\
a=&b\\
a=&b\\
a=&b
}
\Centerstack{
\smash{\phantom{\left.\begin{aligned}\\\\\end{aligned}\right\}}}a = b\\
\\
\\
{\left.\begin{aligned}\\\\\end{aligned}\right\}}\alignstackanchor{a=&b}{a=&b}\\
\\
\\
{\left.\begin{aligned}\\\\\end{aligned}\right\}}\alignstackanchor{a=&b}{a=&b}\\
}
\]
\end{document}

enter image description here

| improve this answer | |
  • 1
    Excellent as usual :-) I had not understood the picture. – Sebastiano Sep 15 at 12:05
  • 1
    Wow...No words to express....Great.... – MadyYuvi Sep 15 at 12:13
9

A solution with bigdelim:

\documentclass{article}
\usepackage{amsmath}
\usepackage{array, bigdelim} 

\begin{document}


\[\setlength{\extrarowheight}{3pt} \begin{array}{c@{\,}c@{\enspace}c }
 & a = b & a = b \\
 \ldelim\{{3}{*}[$ \begin{gathered}
 a = b \\ a = b
\end{gathered} $ ] & a = b \\
& a = b & \rdelim\}{3}{*} [$ \begin{gathered}
 a = b \\ a = b
\end{gathered} $ ]\\
  & a = b \\
\ldelim\{{3}{*}[$ \begin{gathered}
a = b \\ a = b
\end{gathered} $ ] & a = b \\
  & a = b \\
  & a = b \\
  & a = b \\
\end{array} \]%

\end{document} 

enter image description here

| improve this answer | |
  • 1
    This also wonderful....You all are great .... – MadyYuvi Sep 15 at 14:28
3

Just a small try, but Steven B. Segletes answer is 100 times better than mine, here is the MWE for my try:

\documentclass{book}
\usepackage{mathtools,multirow}
\begin{document}

\begin{tabular}{ccc}
&$\begin{matrix}
a=b\\
a=b
\end{matrix}$ &$a=b$\\
$\begin{matrix}
a=b\\
a=b
\end{matrix}$ &\multirow{-2}{*}{\Bigg\{} $\begin{matrix}
a=b\\
a=b
\end{matrix}$ &\multirow{2}{*}{\Bigg\}} $\begin{matrix}
a=b\\
a=b
\end{matrix}$\\[19pt]
$\begin{matrix}
a=b\\
a=b
\end{matrix}$ &\multirow{-2}{*}{\Bigg\{} $\begin{matrix}
a=b\\
a=b\\
a=b\\
a=b
\end{matrix}$ &\multirow{2}{*}{\Bigg\}} $\begin{matrix}
a=b\\
a=b
\end{matrix}$
\end{tabular}

\end{document}
| improve this answer | |
  • It is not really true. You should fix it because it not specular to the image. See better the output. :) – Sebastiano Sep 15 at 12:22
  • @Sebastiano Yes, when I saw the answer from Steven then just I stopped working, should improve my knowledge.... – MadyYuvi Sep 15 at 14:29
  • Each of us has its own human, personal, logical, etc.. You also have the humility to recognize your limits, like me who knows my limits. Slowly you will also learn. – Sebastiano Sep 15 at 19:04

Your Answer

Lei Gao is a new contributor. Be nice, and check out our Code of Conduct.

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.