1

I tried to write a system of equations with all equations numerated, but they are not aligned:

\begin{empheq}[left=\empheqlbrace]{align}
R_a = R_d\\ 
\frac{dq(t)}{dt} = ir - r_d(t) \\ 
q(0)=0 \\
r_d(t) = TTR(t) R_d
\end{empheq}

How can I solve this problem?

Thank you very much in advance.

5
  • 2
    alignment points in align are marked by & usually just before an = Commented Dec 2, 2017 at 23:04
  • Hello @DavidCarlisle can you show me how please? I tried also with &, my result is bad. Commented Dec 2, 2017 at 23:06
  • make a proper test file that shows the problem and can be run, and someone will no doubt show how to fix it Commented Dec 2, 2017 at 23:07
  • Thank you @DavidCarlisle I solved placing & before each equation. Commented Dec 2, 2017 at 23:10
  • Aligning on = is more conventional (if you put & before each equation you are marking up each row as just having a right hand side but no left hand term in the equation Commented Dec 2, 2017 at 23:13

1 Answer 1

2

enter image description here

Mark alignment points with & :

\documentclass{article}

\usepackage{empheq}
\usepackage{amsmath}

\begin{document}

\begin{empheq}[left=\empheqlbrace]{align}
R_a &= R_d\\ 
\frac{dq(t)}{dt} &= ir - r_d(t) \\ 
q(0)&=0 \\
r_d(t) &= TTR(t) R_d
\end{empheq}
\end{document}
1
  • Very good @DavidCarlisle! Commented Dec 2, 2017 at 23:17

You must log in to answer this question.

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