
下面是線性方程組的圖片,並顯示了其解。 (請參閱第一個系統。)請注意,在左側,第一行中的 $x$ 和第二行中的 $y$ 太接近。將它們與第二個系統中的 $x$ 和 $y$ 進行比較。
問題:是否可以將第一個系統中的 $x$ 和 $y$ 分開,以便它們的位置與第二個系統中的位置相符?
我嘗試使用\phantom
,但沒有幫助;與第二個系統相比,它創造了太多的空間。
\documentclass[10pt]{amsart}
\usepackage{amsmath, amssymb, amsfonts, amsthm}
\usepackage{systeme}
\begin{document}
\title{Title}
\author{Author}
\date{\today}
\maketitle
\noindent Here is a system of linear equations whose solution is shown:
\[
\systeme[xyz]{x - z = 1, y + 2z = 3, z = 0}
\quad \longrightarrow \quad
\systeme*[xyz]{x = 1, y = 3, z = 0}
\quad \longrightarrow \quad
\text{point $(1,1,0)$.}
\]
The $x$ and $y$ on the left side are too close. Compare it to this system:
\[
\systeme[xyz]{x + y - z = 1, y + 2z = 3, z = 0}
\quad \longrightarrow \quad
\systeme*[xyz]{x = -2, y = 3, z = 0}
\quad \longrightarrow \quad
\text{point $(-2,1,0)$.}
\]
\end{document}
答案1
A\phantom
有助於使其發揮作用。注意我調整了第二個範例的符號以匹配第一個範例的符號,以便人們可以看到對齊匹配。
\documentclass[10pt]{amsart}
\usepackage{amsmath, amssymb, amsfonts, amsthm}
\usepackage{systeme}
\begin{document}
\title{Title}
\author{Author}
\date{\today}
\maketitle
\noindent Here is a system of linear equations whose solution is shown:
\[
\systeme[xyz]{x \phantom{{}+{}} - z = 1, y + 2z = 3, z = 0}
\quad \longrightarrow \quad
\systeme*[xyz]{x = 1, y = 3, z = 0}
\quad \longrightarrow \quad
\text{point $(1,1,0)$.}
\]
The $x$ and $y$ on the left side are too close. Compare it to this system:
\[
\systeme[xyz]{x + y - z = 1, y + 2z = 3, z = 0}
\quad \longrightarrow \quad
% \systeme*[xyz]{x = -2, y = 3, z = 0}
\systeme*[xyz]{x = 1, y = 3, z = 0}
\quad \longrightarrow \quad
\text{point $(1,1,0)$.}
% \text{point $(-2,1,0)$.}
\]
\end{document}