![newlfm 底部边距问题](https://linux22.com/image/343244/newlfm%20%E5%BA%95%E9%83%A8%E8%BE%B9%E8%B7%9D%E9%97%AE%E9%A2%98.png)
我正在使用长线求职信 LaTeX 模板版本 1.0 (2013 年 1 月 6 日):
\documentclass[11pt,stdletter,dateno,sigleft]{newlfm}
\usepackage{charter}
\newsavebox{\Luiuc}\sbox{\Luiuc}{\parbox[b]{1.75in}{\vspace{0.5in}
\makeletterhead{Uiuc}{\Lheader{\usebox{\Luiuc}}}
\begin{document}
\begin{newlfm}
Main body of the letter
\end{newlfm}
\end{document}
事实证明,第一页底部如下所示:
第二页顶部如下所示:
有没有什么办法可以让它看起来更好一些?
答案1
我会避免使用newlfm
文档类,尽管模板设置即可使用它。您可以使用默认article
类重新创建字母的布局:
\documentclass{article}
\usepackage{charter,graphicx}
\usepackage[margin=72pt]{geometry}
\usepackage{lipsum}% Just for this example
\setlength{\parindent}{0pt}
\setlength{\parskip}{.5\baselineskip plus 2pt minus 2pt}
\begin{document}
%\thispagestyle{empty}% First page has no header/footer
\includegraphics[height=5\baselineskip]{example-image}
\hrulefill
\vspace{20pt}% dateskipbefore
\hfill
\begin{tabular}{ l @{} }
\today \\\\%[36pt]% dateskipafter
123 Broadway \\
City, State 12345 \\
Phone: (000) 111-1111 \\
Email: [email protected]
\end{tabular}
\vspace{18pt}% addrtoskipafter + addrfromskipbefore
\begin{tabular}{ @{} l }
Mrs.\ Jane Smith \\
Recruitment Officer \\
The Corporation \\
123 Pleasant Lane \\
City, State 12345
\end{tabular}
\bigskip
Dear Mrs.\ Smith,
\vspace{18pt}% greettoskipafter
\lipsum[1-10]
\vspace{12pt}% sigskipbefore
Sincerely yours,
\vspace{\dimexpr 12pt+72pt}% sigskipafter + sigskip
John Smith
\end{document}
可以使用以下方式添加其他页眉/页脚内容fancyhdr
, 如果需要的话。