
Estoy intentando escribir cartas usando newlfm. La primera página está bien pero en las páginas siguientes pone barras para el encabezado y pie de página pero no incluye la dirección, logotipos, etc. que aparecen en la primera página. Preferiría que las páginas siguientes estuvieran en blanco excepto mi texto.
Aquí está el código:
\documentclass[stdletter,11pt]{newlfm}
\addrfromskipbefore{10pt}
\unprbottom{1cm}
\newsavebox{\CortlandLogo}
\sbox{
\CortlandLogo}{\parbox[t]{1.75in}{\includegraphics[height=1.5cm,ext=.pdf]{CortlandLogo}}
}
\newsavebox{\PhysDept}
\sbox{
\PhysDept}{\parbox[t]{5cm}{\sf \Large Physics Department}
}
\Rheader{\usebox{\CortlandLogo}}
\Lheader{\usebox{\PhysDept}}
\newsavebox{\Footertext}
\sbox{\Footertext}{
\begin{minipage}[c]{15cm}
\begin{center}
\sf Bowers Hall, Room 342, P.O. Box 2000, Cortland, NY 13045-0900, United States\\
Phone: (607) 753-2821 Fax: (607) 753-2927
\end{center}
\end{minipage}
}
\Cfooter{\usebox{\Footertext}}
\namefrom{Dr. Andrew Carmichael}
\addrfrom{\parbox{2.5in}{Dr. Andrew Carmichael\\ Office: Bowers 133\\ Phone: 607 753-5697 }}
\begin{document}
\closeline{Yours faithfully,}
\begin{newlfm}
{\bf Re: BLAH BLAH}
\vspace{1cm}
TEXT TEXT BLAH BLAH TEXT WHEN THERE'S ENOUGH TEXT HERE IT GOES OVER TO TWO PAGES AND THERE THE TROUBLE STARTS
\end{newlfm}
\end{document}
Respuesta1
La clase utiliza el estilo de página othhead
para las páginas a partir de la segunda página; entonces puede simplemente \let
que este estilo de página sea el empty
estilo de página; esto se puede hacer usando
\makeatletter
\let\ps@othhead\ps@empty
\makeatother
Un ejemplo completo usando una versión simplificada de su código:
\documentclass[stdletter,11pt]{newlfm}
\makeatletter
\let\ps@othhead\ps@empty
\makeatother
\Rheader{Right}
\Lheader{Left}
\Cfooter{Center}
\namefrom{Dr. Andrew Carmichael}
\addrfrom{\parbox{2.5in}{Dr. Andrew Carmichael\\ Office: Bowers 133\\ Phone: 607 753-5697 }}
\begin{document}
\closeline{Yours faithfully,}
\begin{newlfm}
text
\newpage
Some other text
\end{newlfm}
\end{document}