Skip to content

Commit

Permalink
Added support for cover letters spanning more that one page.
Browse files Browse the repository at this point in the history
  • Loading branch information
opieters committed Nov 25, 2017
1 parent 5828567 commit 678717e
Showing 1 changed file with 8 additions and 10 deletions.
18 changes: 8 additions & 10 deletions src/limecv.dtx
Original file line number Diff line number Diff line change
Expand Up @@ -2316,6 +2316,7 @@ Dear Miss.\ Smith
}
}
\NewDocumentEnvironment{cvCoverLetter}{}{%
\newgeometry{textwidth=\cvCoverLetterWidth,noheadfoot}
\begin{tikzpicture}[%
remember picture,
overlay,
Expand Down Expand Up @@ -2366,18 +2367,15 @@ Dear Miss.\ Smith
($(cv cover letter name.south east)+(0,-\cvCoverLetterLineSpacing)$);
\end{scope}
\end{tikzpicture}
\vspace{\dimexpr\cvCoverLetterHeight\relax}
\vspace{\dimexpr\cvCoverLetterHeight-1in-\topmargin\relax}

\begin{center}
\begin{minipage}{\cvCoverLetterWidth}
\today

\vspace{\baselineskip}
\cv@definecvBeneficiary
\cv@definecvFullName
\today

\vspace{\baselineskip}
\cv@definecvBeneficiary
\cv@definecvFullName
}{%
\end{minipage}
\end{center}
\restoregeometry
}
% \end{macrocode}
%
Expand Down

0 comments on commit 678717e

Please sign in to comment.