新行(不是新段落)

新行(不是新段落)

我找不到(不详细的)解决方案来区分新行和新段落。

据我所知,\\\newline两者都会插入新行。但通常不建议使用第一种。

空格行会插入一个新段落。

为了分隔段落(并方便阅读),我使用以下代码,它在新段落中提供空格和缩进。

\setlength{\parskip}{\baselineskip}%
\setlength{\parindent}{15pt}%

当我想转到同一段落中的新行而不开始新段落时,就会出现问题。

这是一个类似的问题,但仍然没有详细的解决方案:用空行分隔某些段落,而其他段落则不用空行分隔?

理想情况下,我想用两个空格表示一个新段落,用一个空格表示一个新行。可以编码吗?

答案1

\\表示新行并<return><return>表示新段落,由于每个都只有两个字符,因此很难想象有更不冗长的标记可以区分这两种情况。

在此处输入图片描述

\documentclass{article}

\usepackage{parskip}

\begin{document}

line one line one line one line one\\
line two line two line two line two line two\\
line three line three line three line three 

paragraph two paragraph two paragraph two paragraph two 
paragraph two paragraph two paragraph two paragraph two 
paragraph two paragraph two paragraph two paragraph two 
paragraph two paragraph two paragraph two paragraph two 
paragraph two paragraph two paragraph two paragraph two 
paragraph two paragraph two paragraph two paragraph two 
paragraph two paragraph two paragraph two paragraph two 
paragraph two paragraph two paragraph two paragraph two 
paragraph two paragraph two paragraph two paragraph two 


paragraph three paragraph three paragraph three\\
line two of paragraph three

\end{document}

相关内容