
每次我按兩次 Enter 鍵省略一行時,我的編輯器都會產生一個新段落。我想關閉此功能並僅使用明確的\par
命令開始新的段落。
有人知道該怎麼做嗎?我正在使用 TeXmaker(在 Ubuntu 上)。
答案1
你可以這樣做:
\documentclass{article}
\AtBeginDocument{\endlinechar=`\ }
\begin{document}
Something here. After a blank line will there be a new paragraph? Here is a real par\par
Something here. After a blank line will there be a new paragraph?
Here is a real par.\par
And text after it.
\end{document}
既然你知道這是可能的,那就不要這樣做。如果你想分隔句子,只需寫
A sentence.
%
Another one
但我不明白這兩種方法如何讓您的打字稿更具可讀性。