![如何在 LaTex 中将信中的结束语写成一行?](https://linux22.com/image/393335/%E5%A6%82%E4%BD%95%E5%9C%A8%20LaTex%20%E4%B8%AD%E5%B0%86%E4%BF%A1%E4%B8%AD%E7%9A%84%E7%BB%93%E6%9D%9F%E8%AF%AD%E5%86%99%E6%88%90%E4%B8%80%E8%A1%8C%EF%BC%9F.png)
我的结束语分为两行。
\documentclass{letter}
\usepackage[headheight=0pt,headsep=0pt]{geometry}
\setlength{\voffset}{-0.5in}
\usepackage{indentfirst}
\usepackage[USenglish]{babel}
\usepackage[acronym]{glossaries}
\usepackage{amsmath}
\usepackage{hyperref}
\hypersetup{
colorlinks=true,
allcolors=black,
}
\begin{document}
\begin{letter}{Singapore Botanic Gardens\\ 1 Cluny Road\\ Singapore 259569}
\opening{Dear Dr.~Nura Abdul Karim and Ms.~Serena Lee,}
\vspace{0.25cm}
I am looking forward to this unique opportunity. Please feel free to reach out to me with questions or concerns.
\vspace{0.25cm}
\closing{Thank you for your time and consideration,}
\vspace{0.25cm}
\encl{Curriculum vitae}
\end{letter}
\end{document}
答案1
的宽度\closing
由长度设置\indentedwidth
。您可以将其设置为\textwidth
:
\setlength{\indentedwidth}{\textwidth}
结尾部分将填满整条线。