LaTeX forum ⇒ Math & ScienceEquation system variables not aligning Topic is solved

Information and discussion about LaTeX's math and science related features (e.g. formulas, graphs).
jzx
Posts: 2
Joined: Fri Sep 07, 2018 12:57 pm

Equation system variables not aligning

Postby jzx » Fri Sep 07, 2018 9:08 pm

\[
\systeme{x -y + az = 1,
2x - y + z = -1,
ax + y - z = 1
\]


its a equation system with x,y,z as usual, but I have the unknown a also infront of z in the first equation and in front of x in the third equation. I want the output to be 4 columns and the x should align with x and so on. I want systeme to understand that not treat a as a varible but as a number.

Now the output of the first row is:
az +x - y = 1, when it should be x-y+az=1

Tags:

User avatar
Stefan Kottwitz
Site Admin
Posts: 9192
Joined: Mon Mar 10, 2008 9:44 pm

Postby Stefan Kottwitz » Fri Sep 07, 2018 9:55 pm

Welcome to the forum!

You can specify the order, such as here:

  1. \documentclass{article}
  2. \usepackage{systeme}
  3. \begin{document}
  4. \systeme[xyz]{x -y + az = 1,
  5. 2x - y + z = -1,
  6. ax + y - z = 1}
  7. \end{document}


Stefan
Site admin

jzx
Posts: 2
Joined: Fri Sep 07, 2018 12:57 pm

Postby jzx » Sat Sep 08, 2018 8:05 am

Working perfect,
Thank you so much!


Return to “Math & Science”

Who is online

Users browsing this forum: No registered users and 6 guests