如何使用 newlfm 类从信件中删除页眉和页脚规则?

如何使用 newlfm 类从信件中删除页眉和页脚规则?
\documentclass[12pt]{newlfm}
\usepackage{charter}
\widowpenalty=1000
\clubpenalty=1000

\newsavebox{\Luiuc}
\sbox{\Luiuc}{%
    \parbox[b]{1.75in}{%
        \vspace{0.5in}%
        \includegraphics[scale=1.0]
    }%
}%
\makeletterhead{GRIET}{\Lheader{\usebox{\LGRIET}}}

\newlfmP{}
\newlfmP{sigsize=50pt}
\newlfmP{Letter of recommendations} 
\newlfmP{dateskipafter=20pt}
\lthUiuc


\namefrom{(Prof. Dr. Mohammed Hussain)}
\addrfrom{% 
}

\addrto{%
Dr. Mohammed Hussain\\
Professor and Head of the Department,\\
School of Civil Engineering,\\
GRIET,\\
Bachupally,\\
Phone:+91-996-388-0472,\\
Email: [email protected].}

\greetto{To Whom It May Concern,}
\closeline{Sincerely,}
\begin{document}
\begin{newlfm}

I am writing to apply for the position of \ldots{}

he has done a good job

Thank you for your consideration.  I look forward to
hearing from you.

\end{newlfm}
\end{document}

在此处输入图片描述

答案1

请注意,我必须修改您的代码才能编译它,因此,我必须猜测您在几个地方的意思。

noLines删除第一页上的线条。nolines删除后续页面上的线条。

无线条字母

\documentclass[12pt]{newlfm}
\usepackage{charter,graphicx}
\widowpenalty=1000
\clubpenalty=1000

\newsavebox{\Luiuc}
\sbox{\Luiuc}{%
  \parbox[b]{1.75in}{%
    \vspace{0.5in}%
    \includegraphics[scale=.25]{example-image-a}%
  }%
}%
\makeletterhead{GRIET}{\Lheader{\usebox{\LGRIET}}}

\newlfmP{sigsize=50pt,dateskipafter=20pt,stdletter,noLines,nolines}

\namefrom{(Prof. Dr. Mohammed Hussain)}
\addrfrom{%
}

\addrto{%
Dr. Mohammed Hussain\\
Professor and Head of the Department,\\
School of Civil Engineering,\\
GRIET,\\
Bachupally,\\
Phone:+91-996-388-0472,\\
Email: [email protected].}

\greetto{To Whom It May Concern,}
\closeline{Sincerely,}

\renewcommand\headrulewidth{0pt}
\renewcommand\footrulewidth{0pt}

\begin{document}
\begin{newlfm}

I am writing to apply for the position of \ldots{}

he has done a good job

Thank you for your consideration.  I look forward to
hearing from you.

\end{newlfm}
\end{document}

相关内容