陳述段落下的要點有問題

陳述段落下的要點有問題

這就是我想做的

We discuss here SW coding with the help of a toy example. In this example, we assume   that 
X and Y are each of 3 bits. Moreover, X and Y differs at most in one bit. 
Following is the sequence how the SW coding works:

1.Make cosets of X's with Hamming distance 3:(000,111),(001,110),(010,101),(011,100)

2. Send index of set (requires 2 bits)

3. Send Y (requires 3 bits)

4. Decode X by using the element in the set which is closest 
to Y

5. Declare error if no element with d_H \leq 1

我看到的輸出看起來像這樣

輸出

我希望創建的新行按照上面範例中的紅線標記對齊。

答案1

不要手動枚舉內容。相反,使用自動枚舉內容的清單:

在此輸入影像描述

\documentclass{article}

\begin{document}

\begin{enumerate}
  \item
  Hello, my name is John Doe. I study applied mathematics and I enjoy the following subjects:
  calculus, differential equations, number theory, set theory, computer science, etc.

  \item
  Hello, my name is Jane Doe. I really enjoy writing poetry, even though I don't know anything
  about rhymes.
\end{enumerate}

\end{document}

可透過以下方式對清單格式進行操作enumitem包裹。例如,可以使用以下鍵值來變更:

在此輸入影像描述

\documentclass{article}
\usepackage{enumitem}
\begin{document}

\begin{enumerate}[label={\arabic*)}, labelsep=2em]
  \item
  Hello, my name is John Doe. I study applied mathematics and I enjoy the following subjects:
  calculus, differential equations, number theory, set theory, computer science, etc.

  \item
  Hello, my name is Jane Doe. I really enjoy writing poetry, even though I don't know anything
  about rhymes.
\end{enumerate}

\end{document}

相關內容