如何缩进溢出到第二行的行

如何缩进溢出到第二行的行

我有一些文本需要稍微缩进,但第三行总是溢出到第二行,这样虽然没问题,但缩进却消失了。我尝试了这里详细介绍的几个选项,但结果都一样。我没有使用 itemise,因为每行之间的间隙太大,我找不到足够减少这个间隙的解决方法。

\documentclass[a4paper,10pt]{article}
\usepackage[parfill]{parskip}
\usepackage[a4paper, left=30mm, right=30mm, top=20mm, bottom=20mm]{geometry}

\title{Markets}

\newcommand{\forceindent}{\leavevmode{\parindent=1em\indent}}

\begin{document}

\forceindent $\diamond$ News: Breaking news\\
\forceindent $\diamond$ Non-exchange\\
\forceindent $\diamond$ Corporate fundamentals such as corporate actions (dividends, splits, earnings etc.), financials such as historical net income, debt; as well as non financial data, such as management.\\
\forceindent $\diamond$ Global economic.\\

\end{document}

答案1

正如评论中提到的,通过使用该enumitem包,您可以将您的物品写为列表:

\documentclass[a4paper,10pt]{article}
\usepackage[parfill]{parskip}
\usepackage[a4paper, left=30mm, right=30mm, top=20mm, bottom=20mm]{geometry}
\usepackage{enumitem}
\title{Markets}

\begin{document}
    \begin{itemize}[label= $\diamond$, wide=1em, leftmargin=1em]
\item   News: Breaking news 
\item   Non-exchange 
\item   Corporate fundamentals such as corporate actions (dividends, splits, earnings etc.), financials such as historical net income, debt; as well as non financial data, such as management. 
\item   Global economic. 
    \end{itemize}
\end{document}

在此处输入图片描述

答案2

也许您正在寻找悬挂标识:

\documentclass[a4paper,10pt]{article}
%\usepackage[parfill]{parskip}
\usepackage[a4paper, left=30mm, right=30mm, top=20mm, bottom=20mm]{geometry}

\title{Markets}

\newcommand{\forceindent}{\par\leavevmode\hangindent=4em\hangafter=1\indent}

\begin{document}

Normal text 

\forceindent $\diamond$ News: Breaking news
\forceindent $\diamond$ Non-exchange
\forceindent $\diamond$ Corporate fundamentals such as corporate actions (dividends, splits, earnings etc.), financials such as historical net income, debt; as well as non financial data, such as management.
\forceindent $\diamond$ Global economic.

Normal text

\end{document}

在此处输入图片描述

(请注意,我还删除了所有\\行尾的)

相关内容