I am trying to reduce spaces with in my system of equation with systeme package.
I followed the instruction in the documentation, but it gives me errors.
Undefined control sequence. \syssignspace
Here is the code I am using.
\documentclass{article}
\usepackage{systeme}
\begin{document}
\begin{equation}
\syssignspace{3pt}\syseqspace{10pt}
\systeme{
x_1 +x_2 -x_3 -2 x_4 -3 x_5= 0{,},
-3 x_2 +4 x_3 +16 x_4 +25 x_5=0}
\systeme{
x_1 = -x_2 +x_3 +2 x_4 +3 x_5{,},
x_2 = +4 x_3 +16 x_4 +25 x_5
}
\end{equation}
\end{document}
systemethat you have installed is older than the documentation that you are reading (the command\syssignspacewas added in version 0.33, dated April 13 2020). So an update of your packages should solve the problem. – Marijn May 15 '20 at 15:57tlmgr, the TeX Live package manager, and you can use that to update packages. Also make sure you have the latest version of TeX Live itself, they release a new version every year and you have to download and install this version yourself (which is not possible with the package manager). If you have TeX Live from a Linux distribution package (installed withapton Ubuntu/Debian,yumon Fedora etc) then you need to install updates [...] – Marijn May 16 '20 at 09:11systemepackage uses the new\expandedprimitive that was introduced in TeX Live 2019, so 2018 or older would not work but you don't need 2020 for this. Yo do need to update the packages (systemeand the dependenciesxstringand maybeexpl3) withtlmgr. – Marijn May 16 '20 at 09:18tlmgr update --all, but it gives me such a message:tlmgr.pl: Local TeX Live (2019) is older than remote repository (2020). Cross release updates are only supported with update-tlmgr-latest(.sh/.exe) --update See https://tug.org/texlive/upgrade.html for details.– antshar May 16 '20 at 09:28tlmgris also linked to the specific version of TeX Live. You can set the repository to the 2019 version, but then you would not be able to upgrade to the 2020 version ofsystemethat you need. In this case you can try just downloading the style files yourself (http://mirrors.ctan.org/macros/generic/systeme/systeme.sty http://mirrors.ctan.org/macros/generic/systeme/systeme.tex http://mirrors.ctan.org/macros/generic/xstring/xstring.sty http://mirrors.ctan.org/macros/generic/xstring/xstring.tex) and put them in the same folder as your document. – Marijn May 17 '20 at 09:36.texdocuments will see these files? – antshar May 17 '20 at 10:31kpsewhich systeme.styandkpsewhich xstring.sty) and copy the new files there. Probably the path is something like/usr/share/texlive/texmf-dist/tex/generic/systeme/(and/xstring/). – Marijn May 17 '20 at 10:54systemefiles(.sty,.tex) into the folder with my document allows me to use new commands. However, when I rankpsewhich systeme.styI got the same path you wrote, but there was nogenericfolder, so I created a new one withsystemfolder inside and put files into there and, unfortunately, my documents don't see those files. – antshar May 18 '20 at 12:31sudoto copy files there. Anyway, ifkpsewhichsays it is in this folder then this folder exists and the old file should be it in, otherwise there is something wrong. You can check withfind . -name "systeme.sty"from somewhere high up (for example from/usr) to check what the filesystem itself reports as the location of this file. – Marijn May 18 '20 at 13:12genericfolder intexlive/texmf-distbut it is located attexlive/texmf-dist/tex. Now everything works perfectly. Thank you so much for the help, I really appreciate that! Maybe consider leaving the answer for those who will look for the similar problem? – antshar May 18 '20 at 15:31