当我将它放入 LateX 中时,它会在每个句子的前面出现缩进,我只希望句子像平常一样,然后在它旁边出现三角形。
\begin{gather*}
(0,0,0,1,0) \iff
\qquad \qquad \qquad \qquad \qquad \qquad \qquad 4 \\
(0,0,0,1,0) + (0,1,0,-1,1) = (0,1,0,0,1) \iff 2 \qquad 5 \\
(0,1,0,0,1) + (1,-1,0,1,0) = (1,0,0,1,1) \iff 1 \qquad 4 \qquad 5 \\
(1,0,0,1,1) + (0,0,1,0,0) = (1,0,1,1,1) \iff 1\qquad 3 \qquad 4 \qquad 5 \\
(1,0,1,1,1) + (0,1,0,0,0) = (1,1,1,1,1) \iff 1\qquad 2\qquad 3\qquad 4\qquad 5 \\
\end{gather*}
答案1
像这样:
\documentclass{article}
\begin{document}
\[
\begin{array}{lc}
(0,0,0,1,0) \iff & 4 \\
(0,0,0,1,0) + (0, 1,0,-1,1) = (0,1,0,0,1) \iff & 2\qquad 5 \\
(0,1,0,0,1) + (1,-1,0, 1,0) = (1,0,0,1,1) \iff & 1\qquad 4\qquad 5 \\
(1,0,0,1,1) + (0, 0,1, 0,0) = (1,0,1,1,1) \iff & 1\qquad 3\qquad 4\qquad 5 \\
(1,0,1,1,1) + (0, 1,0, 0,0) = (1,1,1,1,1) \iff & 1\qquad 2\qquad 3\qquad 4\qquad 5 \\
\end{array}
\]
\end{document}