スペースに関する基本的な質問

スペースに関する基本的な質問

私は暇な時間に、Griffiths と Hingham の「Learning LaTeX」を使って LaTeX を学ぼうとしています。6 ページにあるサンプル コードをコピーしたのですが、コンパイルすると段落がありません。

どこが間違っているのか誰か指摘してもらえますか?コードはこちらです

\documentclass{article}

\begin{document}

This is a short document to illustrate the basic use of \LaTeX.

Simply leave a blank line to start a new paragraph; indentation is automatic.

Mathematical expressions such as $y = 3 \sin x$ are obtaines with dollar signs. Equations can be displayed, as in 
\[
  y = 3 \sin x .
\]
Numbered equations are also possible : 
\begin{equation}\label{banana}
  y = 3 \sin x
\end{equation}
Because we have labeled this equation we can refer to it without having to know its number. Thus, the preceding equation was number~(\ref{banana}).

Powers (also known as superscripts), as in $x^2$ are obtained with \verb"^";
more complicated powers must live in curly braces: $x^{2+\alpha}$.

Likewise, indices (also known as subscripts) are obtained with the underscore: $y_3$ or $y_{n+1}$

We can get both indices and powers at the same time!
$x_{n_1}^{2+\alpha}$

\end{document} 

使用するテキスト エディターとコンパイラーは関係ありますか? 質問が単純で申し訳ありませんが、段落が表示されないという情報はオンラインで見つかりません。コンパイラーも数回実行しましたが、段落はまだ表示されません。フォーラムにはあまりにも基本的な質問で申し訳ありませんが、他にどこで質問すればよいかわかりません。

答え1

ここに画像の説明を入力してください

段落はほとんど1行なので、インデントはあまり目立ちません。インデントされた行を赤で、インデントされていない行を緑でマークしました。

関連情報