I want to write the step by step solution of a system equation in LaTeX. But, dispite I can write the system equation, I don't know how to write at the right side of this system equation the steps of the solution. This is the code I used to write the system:

     \tan(\alpha) & = & \dfrac{h}{x}  \\ 
     \tan(\beta) & = & \dfrac{h}{d - x} 

Thank you very much.

  • Please help us help you and add a minimal working example (MWE) that illustrates your problem. Reproducing the problem and finding out what the issue is will be much easier when we see compilable code, starting with \documentclass{...} and ending with \end{document}. – user31729 Aug 4 '15 at 15:39

Something like this?


    \tan(\alpha) &= \frac{h}{x}  \\
    \tan(\beta)  &= \frac{h}{d - x}
  \text{First step}


Package amsmath provides aligned for equations systems inside an equation line. Then also \dfrac is not needed and \frac suffices.

There is also environment rcases of package mathtools, but it is not used here, because of the additional alignment.

| improve this answer | |

Your Answer

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.