I don’t know how can I ensert the right braces using latex...

Any help is appreciated...

enter image description here


closed as off-topic by Xander Henderson, José Carlos Santos, Maria Mazur, dantopa, TheSimpliFire Jan 19 at 9:41

  • This question does not appear to be about Mathematics Stack Exchange or the software that powers the Stack Exchange network within the scope defined in the help center.
If this question can be reworded to fit the rules in the help center, please edit the question.

  • 5
    $\begingroup$ That seems to be a question for TeX - LaTeX, rather than this meta. $\endgroup$ – Asaf Karagila Jan 16 at 15:38
  • $\begingroup$ A fairly tedious way to do it would be using nested "array" expressions. $\endgroup$ – hardmath Jan 16 at 15:41

Here's an approach, using the cases environment for the left side brace and some array environments to group and brace on the right hand side:

$$ \begin{cases} \left. \begin{array}{l} \frac{dG(t)}{dt} = G_{in} - \sigma_2 G - a\left(c+ \frac{mI}{n+I} \right)G + b \\ \frac{dI(t)}{dt} = \frac{\sigma_1 G^2}{\alpha_1^2 + G^2} - d_i I(t) \end{array} \right\} & , \;\;\; G\lt L_G \text{ or } I\gt I_C, \\ \left. \begin{array}{l} G(t^+) = G(t) \\ I(t^+) = I(t) + \sigma \end{array} \right\} & , \;\;\; G = L_G \text{ and } I\le I_C, \end{cases} $$

Note that the cases environment itself could be similarly replaced by using an array environment plus adaptive bracing. The idea was suggested in this note about the "cases" package.

  • 2
    $\begingroup$ Which is more aesthetically pleasing than the screenshot, I'd say. $\endgroup$ – Asaf Karagila Jan 16 at 23:31
  • 3
    $\begingroup$ This is nice. The real challenge would be to also have all four of those first equality signs (on each line) perfectly aligned. I guess that's a question for the TeXperts. $\endgroup$ – Jyrki Lahtonen Jan 17 at 10:57
  • 1
    $\begingroup$ @JyrkiLahtonen: I think you are right about the difficulty of aligning the equations across the cases boundaries. A naive use of the align* environment apparently produces an error message about nested equation structures. $\endgroup$ – hardmath Jan 17 at 15:51

Not the answer you're looking for? Browse other questions tagged .