Fixed the switching from letter to resume, correcting spacing errors
This commit is contained in:
@ -1,4 +1,6 @@
|
|||||||
version 1.1.0 (xx Jul 2012)
|
version 1.1.0 (29 Jul 2012)
|
||||||
|
- fixed the switching from letter to resume, correcting spacing errors when a
|
||||||
|
letter is typeset before the resume (as noticed by Ulrich G.).
|
||||||
- prepared moderncv for fontspec font loading (still commented in code).
|
- prepared moderncv for fontspec font loading (still commented in code).
|
||||||
- changed the handling of the "sans" and "roman" class options, to be reflected
|
- changed the handling of the "sans" and "roman" class options, to be reflected
|
||||||
at the beginning of the document and override style font choices.
|
at the beginning of the document and override style font choices.
|
||||||
|
|||||||
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
@ -129,7 +129,7 @@
|
|||||||
\newlength{\listdoubleitemmaincolumnwidth}
|
\newlength{\listdoubleitemmaincolumnwidth}
|
||||||
|
|
||||||
% commands
|
% commands
|
||||||
\renewcommand*{\recomputelengths}{%
|
\renewcommand*{\recomputecvlengths}{%
|
||||||
\setlength{\quotewidth}{0.65\textwidth}%
|
\setlength{\quotewidth}{0.65\textwidth}%
|
||||||
% main lenghts
|
% main lenghts
|
||||||
\setlength{\maincolumnwidth}{\textwidth}%
|
\setlength{\maincolumnwidth}{\textwidth}%
|
||||||
@ -142,7 +142,9 @@
|
|||||||
\setlength{\listdoubleitemmaincolumnwidth}{\maincolumnwidth-\listitemsymbolwidth-\separatorcolumnwidth-\listitemsymbolwidth}%
|
\setlength{\listdoubleitemmaincolumnwidth}{\maincolumnwidth-\listitemsymbolwidth-\separatorcolumnwidth-\listitemsymbolwidth}%
|
||||||
\setlength{\listdoubleitemmaincolumnwidth}{0.5\listdoubleitemmaincolumnwidth}%
|
\setlength{\listdoubleitemmaincolumnwidth}{0.5\listdoubleitemmaincolumnwidth}%
|
||||||
% fancyhdr lengths
|
% fancyhdr lengths
|
||||||
\renewcommand{\headwidth}{\textwidth}}
|
\renewcommand{\headwidth}{\textwidth}%
|
||||||
|
% regular lengths
|
||||||
|
\setlength{\parskip}{0\p@}}
|
||||||
|
|
||||||
\renewcommand*{\makecvtitle}{%
|
\renewcommand*{\makecvtitle}{%
|
||||||
% recompute lengths (in case we are switching from letter to resume, or vice versa)
|
% recompute lengths (in case we are switching from letter to resume, or vice versa)
|
||||||
|
|||||||
@ -70,6 +70,8 @@
|
|||||||
|
|
||||||
% commands
|
% commands
|
||||||
\renewcommand*{\makecvtitle}{%
|
\renewcommand*{\makecvtitle}{%
|
||||||
|
% recompute lengths (in case we are switching from letter to resume, or vice versa)
|
||||||
|
\recomputecvlengths%
|
||||||
% ensure footer with personal information
|
% ensure footer with personal information
|
||||||
\makecvfooter%
|
\makecvfooter%
|
||||||
% optional picture
|
% optional picture
|
||||||
|
|||||||
@ -93,7 +93,9 @@
|
|||||||
\setlength{\listdoubleitemmaincolumnwidth}{\maincolumnwidth-\listitemsymbolwidth-\separatorcolumnwidth-\listitemsymbolwidth}%
|
\setlength{\listdoubleitemmaincolumnwidth}{\maincolumnwidth-\listitemsymbolwidth-\separatorcolumnwidth-\listitemsymbolwidth}%
|
||||||
\setlength{\listdoubleitemmaincolumnwidth}{0.5\listdoubleitemmaincolumnwidth}%
|
\setlength{\listdoubleitemmaincolumnwidth}{0.5\listdoubleitemmaincolumnwidth}%
|
||||||
% fancyhdr lengths
|
% fancyhdr lengths
|
||||||
\renewcommand{\headwidth}{\textwidth}}
|
\renewcommand{\headwidth}{\textwidth}%
|
||||||
|
% regular lengths
|
||||||
|
\setlength{\parskip}{0\p@}}
|
||||||
|
|
||||||
% optional maketitle width to force a certain width (if set to 0pt, the width is calculated automatically)
|
% optional maketitle width to force a certain width (if set to 0pt, the width is calculated automatically)
|
||||||
\newlength{\makecvtitlenamewidth}
|
\newlength{\makecvtitlenamewidth}
|
||||||
@ -245,7 +247,7 @@
|
|||||||
% letter style definition
|
% letter style definition
|
||||||
%-------------------------------------------------------------------------------
|
%-------------------------------------------------------------------------------
|
||||||
% commands
|
% commands
|
||||||
\renewcommand*{\recomputeletterlengths}{
|
\renewcommand*{\recomputeletterlengths}{%
|
||||||
\recomputecvlengths%
|
\recomputecvlengths%
|
||||||
\setlength{\parskip}{6\p@}}
|
\setlength{\parskip}{6\p@}}
|
||||||
|
|
||||||
|
|||||||
@ -87,7 +87,15 @@
|
|||||||
\newlength{\listdoubleitemmaincolumnwidth}
|
\newlength{\listdoubleitemmaincolumnwidth}
|
||||||
|
|
||||||
% commands
|
% commands
|
||||||
|
\setlength{\marginparwidth}{0\p@}%
|
||||||
|
\setlength{\marginparsep}{0\p@}
|
||||||
\renewcommand*{\recomputecvlengths}{%
|
\renewcommand*{\recomputecvlengths}{%
|
||||||
|
% regular lengths
|
||||||
|
\changepage{}{+\marginparwidth+\marginparsep}{}{}{}{}{}{}{}% if a letter was typeset before the resume, \marginparwidth and \marginparsep will be non-zero; otherwise, this has no effect
|
||||||
|
\setlength{\marginparwidth}{0\p@}%
|
||||||
|
\setlength{\marginparsep}{0\p@}
|
||||||
|
\setlength{\parskip}{0\p@}%
|
||||||
|
% maketitle lengths
|
||||||
\setlength{\quotewidth}{0.65\textwidth}%
|
\setlength{\quotewidth}{0.65\textwidth}%
|
||||||
% main lenghts
|
% main lenghts
|
||||||
\setlength{\maincolumnwidth}{\textwidth-\hintscolumnwidth-\separatorcolumnwidth}%
|
\setlength{\maincolumnwidth}{\textwidth-\hintscolumnwidth-\separatorcolumnwidth}%
|
||||||
@ -255,7 +263,7 @@
|
|||||||
% commands
|
% commands
|
||||||
%\newlength{\textwidthdelta}%
|
%\newlength{\textwidthdelta}%
|
||||||
\renewcommand*{\recomputeletterlengths}{%
|
\renewcommand*{\recomputeletterlengths}{%
|
||||||
\recomputecvlengths{}%
|
\recomputecvlengths%
|
||||||
\setlength{\parskip}{6\p@}%
|
\setlength{\parskip}{6\p@}%
|
||||||
\leftskip=0pt%
|
\leftskip=0pt%
|
||||||
% \setlength{\textwidthdelta}{+\marginparwidth+\marginparsep}%
|
% \setlength{\textwidthdelta}{+\marginparwidth+\marginparsep}%
|
||||||
|
|||||||
Reference in New Issue
Block a user