報告中的空白

報告中的空白

每次我按兩次 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

但我不明白這兩種方法如何讓您的打字稿更具可讀性。

相關內容