我不想使用 64x \space 来实现我的目标。我尝试使用 \begin{flushleft} 和 \begin{flushright} 来尝试换行。我想做类似这样的事情,箭头显示两个单词之间的距离。
到目前为止我已经拥有这个了,但它看起来并不好。
\begin{flushleft}
Date \space\space\space\space\space\space\space\space\space\space\space\space\space\space\space\space\space\space\space\space\space\space\space\space\space\space\space\space\space\space\space\space\space\space\space\space\space\space\space\space\space\space\space\space\space\space\space\space\space\space\space\space\space\space\space\space\space\space\space\space\space\space\space\space\space\space\space\space\space\space\space\space\space\space\space\space\space\space\space\space\space\space\space\space\space\space\space\space\space\space\space\space\space\space\space\space\space\space\space\space\space\space\space\space\space\space\space\space\space\space\space\space\space\space\space\space\space\space\space\space\space\space\space\space\space\space\space\space\space\space\space\space\space\space\space\space\space\space\space\space\space\space\space\space\space\space\space Signiture
\end{flushleft}
答案1
为了获得两个单词之间的固定或弹性长度,这里有一些建议:
\documentclass{article}
\setlength{\parindent}{0pt}% Just for this example
\newcommand{\clap}{\makebox[0pt]}
\begin{document}
X\dotfill X
Left \hspace*{200pt} Right
Left \hfill Right
\hspace*{40pt}Left \hfill Right
Left \hfill Right \hspace*{40pt}
\hfill Left \hfill Right \hspace*{\fill}
\hfill \clap{Left} \hfill \clap{Right} \hspace*{\fill}
\hfill $\frac{1}{3}$ \hfill $\frac{2}{3}$ \hspace*{\fill}
Left \hfill Middle \hfill Right
\leavevmode\rlap{Left} \hfill \clap{Middle} \hfill \llap{Right}
\hfill $\frac{1}{2}$ \hspace*{\fill}
\hfill \clap{Left} \hfill \hfill \clap{Right} \hspace*{\fill}
\hfill $\frac{1}{4}$ \hfill \hfill $\frac{3}{4}$ \hspace*{\fill}
\hfill \hfill \clap{Left} \hfill \hfill \hfill \clap{Right} \hfill \hspace*{\fill}
\hfill \hfill $\frac{2}{7}$ \hfill \hfill \hfill $\frac{5}{7}$ \hfill \hspace*{\fill}
\hspace{30pt} Left \hspace{50pt} Middle \hfill Right
Left \hfill Middle \hspace{40pt} Right \hspace*{25pt}
X\dotfill X
\end{document}