如何手动使一行单词从给定位置开始?

如何手动使一行单词从给定位置开始?
\documentclass[12pt,a4paper]{article}


\title{Title}
\author{Author}
\begin{document} 
\maketitle

\noindent
$\bullet$ Address: somewhere somewhere ...



\end{document}

放置足够多的“某处”,最终第二行将从给定项目符号的正下方开始。用 C 表示第二行的第一个字符。那么如何手动将 C 置于第一行中给定字符的下方,比如说冒号前面的第一个 s?

答案1

使用hangindent。首先测量所需内容,然后按如下所示使用。最好将所有内容放入宏中,或使用其中一个列表。

\bgroup
\parindent=0pt
\newsavebox\heading
\setbox\heading\hbox{HEADING}
\the\wd\heading

\hangindent\wd\heading 
HEADING long sequence of commnas This is some long sequence of commnas This is some long sequence of commnas This is some long sequence of commnas 


This is some long sequence of commnas This is some long sequence of commnas This is some long sequence of commnas This is some long sequence of commnas
\egroup

相关内容