페이지를 약간 위로 이동합니다. \enlargethispage*{-2\baselineskip}을 작동할 수 없습니다.

페이지를 약간 위로 이동합니다. \enlargethispage*{-2\baselineskip}을 작동할 수 없습니다.

두 번째 페이지를 첫 번째 페이지로 어떻게 이동합니까? 1페이지에 공간이 많이 남아있는 것 같은데, 2페이지를 1페이지로 옮길 수 없습니다.

을 사용 \enlargethispage*{-2\baselineskip}하고 숫자를 가지고 놀아 보았지만 제대로 작동하지 않는 것 같습니다.

감사해요. 내 라텍스 코드는 다음과 같습니다.

여기에 이미지 설명을 입력하세요

% Cover letter using letter.sty
\documentclass{letter} % Uses 10pt
%Use \documentstyle[newcent]{letter} for New Century Schoolbook postscript font
% the following commands control the margins:
\topmargin=-1in    % Make letterhead start about 1 inch from top of page 
\textheight=8in  % text height can be bigger for a longer letter
\oddsidemargin=0pt % leftmargin is 1 inch
\textwidth=6.5in   % textwidth of 6.5in leaves 1 inch for right margin

\begin{document}

\enlargethispage*{-2\baselineskip}

\signature{John Doe}           % name for signature 
\longindentation=0pt                       % needed to get closing flush left
\let\raggedleft\raggedright                % needed to get date flush left


\begin{letter}{\textbf{Address Line} \\
\textbf{Address Line} \\
\textbf{Address Line} \\
Address Line, \\
Address Line, \\
Address Line, \\
Address Line}


\begin{flushleft}
{\large\bf John Doe}
\end{flushleft}
\medskip\hrule height 1pt
\begin{flushright}
\hfill House address \\
\hfill House address \\
\hfill House address \\
\hfill House address \\
\hfill House address \\
\hfill +0123456789\\
\hfill [email protected]\\

\end{flushright} 
\vfill % forces letterhead to top of page


\opening{Dear Sir/Madam,} 

Paragraph One.Paragraph One.Paragraph One.Paragraph One.Paragraph One.Paragraph One.Paragraph One.Paragraph One.Paragraph One.Paragraph One.Paragraph One.Paragraph One.Paragraph One.Paragraph One.Paragraph One.Paragraph One.Paragraph One.Paragraph One.Paragraph One.Paragraph One.Paragraph One.Paragraph One.Paragraph One.Paragraph One.Paragraph One.Paragraph One.Paragraph One.Paragraph One.Paragraph One.Paragraph One.Paragraph One.Paragraph One.Paragraph One.Paragraph One.Paragraph One.Paragraph One.Paragraph One.Paragraph One.Paragraph One.Paragraph One.Paragraph One.ragraph One.Paragraph One.Paragraph One.Paragraph One.Paragraph One.Paragraph One.Paragraph 

Paragraph Two. Paragraph Two. Paragraph Two. Paragraph Two. Paragraph Two. Paragraph Two. Paragraph Two. Paragraph Two. Paragraph Two. Paragraph Two. Paragraph Two. Paragraph Two. Paragraph Two. Paragraph Two. Paragraph Two. Paragraph Two. Paragraph Two. Paragraph Two. Paragraph Two. Paragraph Two. Paragraph Two. Paragraph Two. Paragraph Two. Paragraph Two. Paragraph Two. Paragraph Two. Paragraph Two. Paragraph Two. Paragraph Two. Paragraph Two. Paragraph Two. Paragraph Two. Paragraph Two. Paragraph Two. Paragraph Two. Paragraph Two. Paragraph Two. Paragraph Two. Paragraph Two. Paragraph Two Paragraph Two. Paragraph Two.  Paragraph Two. Paragraph Two.

Paragraph Three. Paragraph Three. Paragraph Three. Paragraph Three. Paragraph Three. Paragraph Three. Paragraph Three. Paragraph Three. Paragraph Three. Paragraph Three. Paragraph Three. Paragraph Three. Paragraph Three. Paragraph Three. Paragraph Three. Paragraph Three. Paragraph Three. Paragraph Three. Paragraph Three. Paragraph Three. Paragraph Three. Paragraph Three. Paragraph Three. Paragraph Three. Paragraph Three. Paragraph Three. Paragraph Three. Paragraph Three.  Paragraph Three. Paragraph Three. Paragraph Three. 

Thanks.Thanks.Thanks.Thanks.Thanks.Thanks.Thanks.Thanks.Thanks.Thanks.Thanks.Thanks.Thanks.Thanks.

Yours sincerely,

\makeatletter
\renewcommand{\closing}[1]{\par\nobreak\vspace{\parskip}%
  \stopbreaks
  \noindent
  \ifx\@empty\fromaddress\else
  \hspace*{\longindentation}\fi
  \parbox{\indentedwidth}{\raggedright
       \ignorespaces #1\\[6\medskipamount]%
       \ifx\@empty\fromsig
           \fromname
       \else \fromsig \fi\strut}%
   \par}
\makeatother
\textbf{\textit{John Doe}}

\encl{My CV.doc}                % Enclosures

\end{letter}


\end{document}

답변1

값을 \textheight9인치로 변경합니다.

여기에 이미지 설명을 입력하세요

답변2

\enlargethispage예를 들어 에 대한 인수로 양수를 사용합니다 \enlargethispage{4\baselineskip}.

관련 정보