希望将item之间插入正常的段落
% !TeX program = xelatex
documentclass[a4paper]{article}
usepackage[slantfont,boldfont]{xeCJK}
usepackage{xcolor}
usepackage{enumitem}
begin{document}
begin{enumerate}[label=(arabic),labelindent=parindent,leftmargin=]
\item 欲练神功
\par
如果你想学会Latex的话,balabalabalabalaba labalabalabalabalabala
balabalabalabalabalabalabalabalabalabala
\item 引刀自宫
\par
你需要牺牲你的大量时间,balabalabalabalabalabalabalabalabalabala
balabalabalabalabalabalabalabalabalabala
\item 若不自宫
\par
不学习这破玩意,有大把时间可以干别的,balabalabalabalabalabalabala
balabalabalabalabalabalabalabalabalabalabalabalabalabalabalabalabalaba
labalabalabalabalabalabalabalabalabalabalabalabalabalabalabalabala
\item 亦可成功
\par
似乎还可以用word,wps?balabalabalabalabalabalabala
balabalabalabalabalabalabalabalabalabalabalabalabalabalabalabalabalaba
labalabalabalabalabalabalabalabalabalabalabalabalabalabalabalabala
end{enumerate}
end{document}
当前的效果是这样的:
希望item之间的段落成为正常的段落。
wide
模式即可,默认是一个 \parindent
长度的缩进,也可以赋值改变大小;listparindent
参数。\documentclass[a4paper]{article}
\usepackage[slantfont,boldfont]{xeCJK}
\usepackage{lipsum}
\usepackage{zhlipsum}
\usepackage{enumitem}
\begin{document}
\lipsum[1][1-3]
\begin{enumerate}[label=\arabic*.,wide]
% \begin{enumerate}[label=\arabic*.,wide=2\parindent]
% \begin{enumerate}[label=\arabic*.,listparindent=\parindent]
\item 第一项
\par\lipsum[2][1-3]
\par\lipsum[3][1-3]
\item 第二项
\par\zhlipsum[1-2][name=aspirin]
\end{enumerate}
\end{document}
我已经知道下面的方法可行,但是感觉有点笨。
% !TeX program = xelatex
documentclass[a4paper]{article}
usepackage[slantfont,boldfont]{xeCJK}
usepackage{xcolor}
usepackage{enumitem}
begin{document}
begin{enumerate}[label=(arabic),labelindent=parindent,leftmargin=]
\item 欲练神功
end{enumerate}
\par
如果你想学会Latex的话,balabalabalabalaba labalabalabalabalabala
balabalabalabalabalabalabalabalabalabala
begin{enumerate}[resume]
\item 引刀自宫
end{enumerate}
\par
你需要牺牲你的大量时间,balabalabalabalabalabalabalabalabalabala
balabalabalabalabalabalabalabalabalabala
begin{enumerate}[resume]
\item 若不自宫
end{enumerate}
\par
不学习这破玩意,有大把时间可以干别的,balabalabalabalabalabalabala
balabalabalabalabalabalabalabalabalabalabalabalabalabalabalabalabalaba
labalabalabalabalabalabalabalabalabalabalabalabalabalabalabalabala
begin{enumerate}[resume]
\item 亦可成功
end{enumerate}
\par
似乎还可以用word,wps?balabalabalabalabalabalabala
balabalabalabalabalabalabalabalabalabalabalabalabalabalabalabalabalaba
labalabalabalabalabalabalabalabalabalabalabalabalabalabalabalabala
end{document}
\documentclass[a4paper]{article}
\usepackage[slantfont,boldfont]{xeCJK}
\usepackage{xcolor}
\usepackage{enumitem}
\begin{document}
如果你想学会Latex的话,balabalabalabalaba labalabalabalabalabala
balabalabalabalabalabalabalabalabalabala
\begin{enumerate}[label=\arabic*,labelindent=\parindent,leftmargin=*]
\item 欲练神功
\hspace{2em}如果你想学会Latex的话,balabalabalabalaba labalabalabalabalabala
balabalabalabalabalabalabalabalabalabala
\item 欲练神功2
\par%没有实际作用
如果你想学会Latex的话,balabalabalabalaba labalabalabalabalabala
balabalabalabalabalabalabalabalabalabala
\end{enumerate}
\end{document}