我怎样才能将信头放在页面顶部?

我怎样才能将信头放在页面顶部?

可能重复:
减少字母类别中日期上方的空白

我使用以下求职信模板:http://www.rpi.edu/dept/arc/training/latex/resumes/let9b.tex

在第 33 行,此模板使用\vfill命令将信头推到页面顶部。但这也会在信头和信件开头之间产生很大的空白空间(大概是为了让信件的底部位于页面底部)。(构建此模板,您就会明白我的意思)

使信头与顶部齐平并且使信件开始不超过下面几行的最简单方法是什么?

答案1

这实际上是信件类别的一个“特征”。对于单页信件,信件类别将信件置于页面中央。对于多页信件,包括最后一页在内的页面与顶部齐平。实现此目的的方法是

\def\@texttop{\ifnum\c@page=1\vskip \z@ plus.00006fil\relax\fi}

要改变行为并使一页信件与顶部齐平,只需将其添加到您的信件文件中即可。

\makeatletter
\def\@texttop{}
\makeatother

答案2

您可以在此处执行一些操作来实现您想要的目标。我还没有真正使用过 letter 类,因此不确定该fancyhdr包是否能正常工作,因此这里是根据您提供的内容进行简单的修改。

以下列内容开始序言,使用几何包来定义页面大小和边距等...删除其后和之前的所有其他与几何相关的行\begin{document}

\documentclass{letter} % Uses 10pt
\usepackage[a4paper,left=2.5cm, right=2.5cm, top=1cm, bottom=1cm]{geometry}
\textwidth=6.5in 

然后,不要使用命令,而是\vfill将标题放在小页面中,如下所示。

\begin{minipage}[t!]{\textwidth}
    \vspace{-7cm}
    \begin{flushleft}
    {\large\bf Susan R. Bumpershoot}
    \end{flushleft}
    \medskip\hrule height 1pt
    \begin{flushright}
    \hfill 1985 Storm Lane, Troy, NY 12180 \\
    \hfill (518) 273-0014 or (518) 272-6666 
    \end{flushright}
\end{minipage}

请注意,这\vspace(-7cm}会强制小页面缩回到页面顶部。根据需要/期望进行编辑。

希望这可以帮助。

答案3

我不完全理解文档类的用途letter。其中一个原因就体现在这个“模板”中。使用默认文档类同样容易article获得类似的(而且更加灵活)结果:

在此处输入图片描述

\documentclass{article} % Uses 10pt
\usepackage[
  margin=1in, % All margins are 1 inch
  ]{geometry}% http://ctan.org/pkg/geometry
\pagestyle{empty}

\begin{document}

\begin{flushleft}
  \large\bfseries Susan R.\ Bumpershoot
\end{flushleft}
\medskip\hrule height 1pt
\begin{flushright}
  1985 Storm Lane, Troy, NY 12180 \\
  (518) 273-0014 or (518) 272-6666 
\end{flushright} 

\bigskip

\noindent \today

\bigskip

\noindent
\begin{tabular}{@{}l}
  Ms. Terri Roberts \\
  Senior Staff Recruiter \\
  XYZ Corporation \\
  Rt. 56 \\
  Anytown, New Jersey 05867
\end{tabular}

\bigskip

\noindent Dear Ms. Roberts:

\setlength{\parskip}{\baselineskip}

\noindent PARAGRAPH ONE: State reason for letter, name the position or type 
of work you are applying for and identify source from  which  you 
learned   of   the  opening.  (i.e.  Career  Development  Center, 
newspaper, employment service, personal contact).

\noindent PARAGRAPH  TWO:  Indicate why you are interested in the position, 
the company, its products, services - above all, stress what  you 
can  do  for  the employer. If you are a recent graduate, explain 
how your academic background makes you a qualified candidate  for 
the  position.  If  you have practical work experience, point out 
specific achievements or unique qualifications. Try not to repeat 
the  same  information  the reader will find in the resume. Refer 
the reader to the enclosed resume or application which summarizes 
your  qualifications,  training,  and experiences. The purpose of 
this section is to strengthen your resume  by  providing  details 
which bring your experiences to life.

\noindent PARAGRAPH THREE: Request a personal interview and  indicate  your 
flexibility as to the time and place. Repeat your phone number in 
the letter and offer assistance to help in a speedy response. For 
example,  state that you will be in the city where the company is 
located on a certain date and would like to set up an  interview. 
Or,  state  that  you  will  call  on a certain date to set up an 
interview. End the letter by thanking  the  employer  for  taking 
time to consider your credentials.

\noindent Sincerely yours,

\bigskip \bigskip

\noindent Susan R.\ Bumpershoot           % name for signature 

\noindent encl:                 % Enclosures

\end{document}

用得\noindent有点多,但我不确定你的信中是否需要缩进段落。如果不需要,你可以\setlength{\parindent}{0pt}在文档序言中设置。

geometry提供布局规范。margin=1in将设置 1 英寸边距(顶部、底部、左侧和右侧)全部页。

另请参阅在网上求职申请中添加签名在您的信件中添加签名。

相关内容