## LaTeX forum ⇒ Math & Science ⇒ Equation 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

$\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:

Stefan Kottwitz
Posts: 9415
Joined: Mon Mar 10, 2008 9:44 pm
Welcome to the forum!

You can specify the order, such as here:

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

Stefan