![Newlfm 第二页的水平线太低](https://linux22.com/image/284859/Newlfm%20%E7%AC%AC%E4%BA%8C%E9%A1%B5%E7%9A%84%E6%B0%B4%E5%B9%B3%E7%BA%BF%E5%A4%AA%E4%BD%8E.png)
我正在使用 newlfm 文档类,发现自己被一个问题困扰:下部水平线(在第一页上,它比页面末尾高出几厘米)从第 2 页开始正好位于页面的下边缘。有什么想法可以改变这种情况吗?这是我的代码:
\documentclass[10pt,stdletter,dateno, sigleft]{newlfm}
\usepackage[ansinew]{inputenc}
\usepackage{url}
\widowpenalty=1000
\clubpenalty=1000
\newlfmP{headermarginskip=20pt}
\newlfmP{sigsize=50pt}
\newlfmP{dateskipafter=20pt}
\newlfmP{addrfromphone}
\newlfmP{addrfromemail}
\PhrPhone{Phone}
\PhrEmail{Email}
\namefrom{}
\addrfrom{}
\phonefrom{}
\emailfrom{}
\addrto{}
\greetto{}
\closeline{nmnmnmnmnm}
\begin{document}
\begin{newlfm}
Text\newpage text
\end{newlfm}
\end{document}
答案1
只需添加\Cfooter
(即使使用空参数,如果第一页不需要页脚)即可避免出现不良行为:
\documentclass[10pt,stdletter,dateno, sigleft]{newlfm}
\usepackage[ansinew]{inputenc}
\usepackage{url}
\widowpenalty=1000
\clubpenalty=1000
\newlfmP{headermarginskip=20pt}
\newlfmP{sigsize=50pt}
\newlfmP{dateskipafter=20pt}
\newlfmP{addrfromphone}
\newlfmP{addrfromemail}
\PhrPhone{Phone}
\PhrEmail{Email}
\namefrom{}
\addrfrom{}
\phonefrom{}
\emailfrom{}
\addrto{}
\greetto{}
\closeline{nmnmnmnmnm}
\Cfooter{}
\begin{document}
\begin{newlfm}
Text\newpage text
\end{newlfm}
\end{document}