General ⇒ Equations inside braces
Equations inside braces
I have two coupled equations that I would like to display with a left brace, but I want each one of them to have their own label, in other words something like this:
-
| A = B (1)
-|
| C = D (2)
-
The problem is you need to be in a mathematic environment to put the brace (either with \begin{cases} or by creating an array), and you cannot begin equations inside a mathematic environment. If you begin equations before the command for the braces, you end up with one label for the two equations.
Anybody has an idea on how to do that?
Thanks a lot
Learn LaTeX easily with newest books:
The LaTeX Beginner's Guide: 2nd edition and perfect for students writing a thesis
The LaTeX Cookbook: 2nd edition full of practical examples for mathematics, physics, chemistry, and more
LaTeX Graphics with TikZ: the first book about TikZ for perfect drawings in your LaTeX thesis
- Stefan Kottwitz
- Site Admin
- Posts: 10360
- Joined: Mon Mar 10, 2008 9:44 pm
Equations inside braces
welcome to the board!
You could do it by using the empheq package, see its documentation.
Stefan
- localghost
- Site Moderator
- Posts: 9202
- Joined: Fri Feb 02, 2007 12:06 pm
Equations inside braces
Best regards and welcome to the board
Thorsten¹
Board Rules
Avoidable Mistakes
¹ System: TeX Live 2025 (vanilla), TeXworks 0.6.10
Re: Equations inside braces
Thanks a lot for your answers!
Bests,
Julien