TeX - LaTeX Asked by dr_strange on August 11, 2021
I’m new to Latex and encountered this problem.
I need your help to write the equation in the picture but cannot break the line in the 2nd cell of the 2nd row.
Here is my code:
begin{equation}
begin{cases}
a=frac{b}{c},&bin[c,100]
d=frac{a-b}{c},&ain[0,k],bin[0,c]
end{cases}.
end{equation}
Thanks in advance!
Since you are using cases
you are loading the amsmath
package. Then you can use a nested aligned
environment (though a simple array
would do too). I suggest using the dcases
environment from mathtools in order to have larger fractions.
documentclass{article}
usepackage{mathtools}% loads amsmath
begin{document}
begin{equation}
begin{dcases}
a=frac{b}{c}, & bin[c,100]
d=frac{a-b}{c}, & begin{aligned}
a&in[0,k],
b&in[0,c]
end{aligned}
end{dcases}
end{equation}
end{document}
Answered by campa on August 11, 2021
Get help from others!
Recent Questions
Recent Answers
© 2024 TransWikia.com. All rights reserved. Sites we Love: PCI Database, UKBizDB, Menu Kuliner, Sharing RPP