Added two options to change the "Enclosure" string used for the letter enclosure
This commit is contained in:
@ -8,6 +8,9 @@ version 1.1.0 (xx Jul 2012)
|
|||||||
(LauLaTeX or XeLaTeX).
|
(LauLaTeX or XeLaTeX).
|
||||||
- tweaked the \subsectionfill of the "banking" style to distribute extra space
|
- tweaked the \subsectionfill of the "banking" style to distribute extra space
|
||||||
evenly between leaders.
|
evenly between leaders.
|
||||||
|
- added two options to change the "Enclosure" string used for the letter
|
||||||
|
enclosure: either specify another string as optional argument to \enclosure,
|
||||||
|
or redefine \enclname (as suggested by D. Wille).
|
||||||
|
|
||||||
version 1.0.0 (26 Mar 2012)
|
version 1.0.0 (26 Mar 2012)
|
||||||
- added commands to generate letters for every resume style: \recipient, \date,
|
- added commands to generate letters for every resume style: \recipient, \date,
|
||||||
|
|||||||
Binary file not shown.
Binary file not shown.
Binary file not shown.
@ -112,7 +112,9 @@ Detailed achievements:%
|
|||||||
\cvlistdoubleitem{Item 2}{Item 5\cite{book1}}
|
\cvlistdoubleitem{Item 2}{Item 5\cite{book1}}
|
||||||
\cvlistdoubleitem{Item 3}{}
|
\cvlistdoubleitem{Item 3}{}
|
||||||
|
|
||||||
% Publications from a BibTeX file without multibib\renewcommand*{\bibliographyitemlabel}{\@biblabel{\arabic{enumiv}}}% for BibTeX numerical labels
|
% Publications from a BibTeX file without multibib
|
||||||
|
% for numerical labels: \renewcommand{\bibliographyitemlabel}{\@biblabel{\arabic{enumiv}}}
|
||||||
|
% to redefine the heading string ("Publications"): \renewcommand{\refname}{Articles}
|
||||||
\nocite{*}
|
\nocite{*}
|
||||||
\bibliographystyle{plain}
|
\bibliographystyle{plain}
|
||||||
\bibliography{publications} % 'publications' is the name of a BibTeX file
|
\bibliography{publications} % 'publications' is the name of a BibTeX file
|
||||||
@ -133,7 +135,7 @@ Detailed achievements:%
|
|||||||
\date{January 01, 1984}
|
\date{January 01, 1984}
|
||||||
\opening{Dear Sir or Madam,}
|
\opening{Dear Sir or Madam,}
|
||||||
\closing{Yours faithfully,}
|
\closing{Yours faithfully,}
|
||||||
\enclosure{curriculum vit\ae{}}
|
\enclosure[Attached]{curriculum vit\ae{}} % use an optional argument to use a string other than "Enclosure", or redefine \enclname
|
||||||
\makelettertitle
|
\makelettertitle
|
||||||
|
|
||||||
Lorem ipsum dolor sit amet, consectetur adipiscing elit. Duis ullamcorper neque sit amet lectus facilisis sed luctus nisl iaculis. Vivamus at neque arcu, sed tempor quam. Curabitur pharetra tincidunt tincidunt. Morbi volutpat feugiat mauris, quis tempor neque vehicula volutpat. Duis tristique justo vel massa fermentum accumsan. Mauris ante elit, feugiat vestibulum tempor eget, eleifend ac ipsum. Donec scelerisque lobortis ipsum eu vestibulum. Pellentesque vel massa at felis accumsan rhoncus.
|
Lorem ipsum dolor sit amet, consectetur adipiscing elit. Duis ullamcorper neque sit amet lectus facilisis sed luctus nisl iaculis. Vivamus at neque arcu, sed tempor quam. Curabitur pharetra tincidunt tincidunt. Morbi volutpat feugiat mauris, quis tempor neque vehicula volutpat. Duis tristique justo vel massa fermentum accumsan. Mauris ante elit, feugiat vestibulum tempor eget, eleifend ac ipsum. Donec scelerisque lobortis ipsum eu vestibulum. Pellentesque vel massa at felis accumsan rhoncus.
|
||||||
|
|||||||
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
18
moderncv.cls
18
moderncv.cls
@ -196,7 +196,7 @@
|
|||||||
\setlength\fboxsep{3\p@}
|
\setlength\fboxsep{3\p@}
|
||||||
\setlength\fboxrule{.4\p@}
|
\setlength\fboxrule{.4\p@}
|
||||||
|
|
||||||
% Not required
|
% not required
|
||||||
%\setlength\arraycolsep{5\p@}
|
%\setlength\arraycolsep{5\p@}
|
||||||
%\setlength\tabcolsep{6\p@}
|
%\setlength\tabcolsep{6\p@}
|
||||||
%\setlength\arrayrulewidth{.4\p@}
|
%\setlength\arrayrulewidth{.4\p@}
|
||||||
@ -250,6 +250,10 @@
|
|||||||
% fonts
|
% fonts
|
||||||
\AtBeginDocument{\normalfont\color{color0}}
|
\AtBeginDocument{\normalfont\color{color0}}
|
||||||
|
|
||||||
|
% strings for internationalisation
|
||||||
|
\newcommand*{\refname}{Publications}
|
||||||
|
\newcommand*{\enclname}{Enclosure}
|
||||||
|
|
||||||
% makes the footer (normally used both for the resume and the letter)
|
% makes the footer (normally used both for the resume and the letter)
|
||||||
% usage: \makefooter
|
% usage: \makefooter
|
||||||
\newcommand*{\makefooter}{}%
|
\newcommand*{\makefooter}{}%
|
||||||
@ -366,7 +370,6 @@
|
|||||||
{\href{mailto:#2}{#1}}}
|
{\href{mailto:#2}{#1}}}
|
||||||
|
|
||||||
% thebibliography environment, for use with BibTeX and possibly multibib
|
% thebibliography environment, for use with BibTeX and possibly multibib
|
||||||
\newcommand*{\refname}{Publications}
|
|
||||||
\newlength{\bibindent}
|
\newlength{\bibindent}
|
||||||
\setlength{\bibindent}{1.5em}
|
\setlength{\bibindent}{1.5em}
|
||||||
% bibliography item label
|
% bibliography item label
|
||||||
@ -434,22 +437,25 @@
|
|||||||
\renewcommand*{\date}[1]{\def\@date{#1}}
|
\renewcommand*{\date}[1]{\def\@date{#1}}
|
||||||
\newcommand*{\opening}[1]{\def\@opening{#1}}
|
\newcommand*{\opening}[1]{\def\@opening{#1}}
|
||||||
\newcommand*{\closing}[1]{\def\@closing{#1}}
|
\newcommand*{\closing}[1]{\def\@closing{#1}}
|
||||||
\newcommand*{\enclosure}[1]{\def\@enclosure{#1}}
|
\newcommand*{\enclosure}[2][]{%
|
||||||
|
% if an optional argument is provided, use it to redefine \enclname
|
||||||
|
\ifthenelse{\equal{#1}{}}{}{\renewcommand*{\enclname}{#1}}%
|
||||||
|
\def\@enclosure{#2}}
|
||||||
|
|
||||||
% recompute all letter lengths
|
% recompute all letter lengths
|
||||||
\newcommand*{\recomputeletterlengths}{}
|
\newcommand*{\recomputeletterlengths}{}
|
||||||
|
|
||||||
% makes the letter title
|
% makes the letter title
|
||||||
% usage: \makelettertitle
|
% usage: \makelettertitle
|
||||||
\newcommand*{\makelettertitle}{}%
|
\newcommand*{\makelettertitle}{}
|
||||||
|
|
||||||
% makes the letter footer
|
% makes the letter footer
|
||||||
% usage: \makeletterfooter
|
% usage: \makeletterfooter
|
||||||
\newcommand*{\makeletterfooter}{\makefooter}%
|
\newcommand*{\makeletterfooter}{\makefooter}
|
||||||
|
|
||||||
% makes the letter closing
|
% makes the letter closing
|
||||||
% usage: \makeletterclosing
|
% usage: \makeletterclosing
|
||||||
\newcommand*{\makeletterclosing}{}%
|
\newcommand*{\makeletterclosing}{}
|
||||||
|
|
||||||
|
|
||||||
\endinput
|
\endinput
|
||||||
|
|||||||
@ -275,7 +275,7 @@
|
|||||||
\ifthenelse{\isundefined{\@enclosure}}{}{%
|
\ifthenelse{\isundefined{\@enclosure}}{}{%
|
||||||
\\%
|
\\%
|
||||||
\vfill%
|
\vfill%
|
||||||
{\color{color2}\itshape Enclosure: \@enclosure}}}
|
{\color{color2}\itshape\enclname: \@enclosure}}}
|
||||||
|
|
||||||
|
|
||||||
\endinput
|
\endinput
|
||||||
|
|||||||
@ -167,7 +167,7 @@
|
|||||||
\ifthenelse{\isundefined{\@enclosure}}{}{%
|
\ifthenelse{\isundefined{\@enclosure}}{}{%
|
||||||
\\%
|
\\%
|
||||||
\vfil%
|
\vfil%
|
||||||
{\color{color2}\itshape Enclosure: \@enclosure}}%
|
{\color{color2}\itshape\enclname: \@enclosure}}%
|
||||||
\vfil}
|
\vfil}
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
@ -291,7 +291,7 @@
|
|||||||
\ifthenelse{\isundefined{\@enclosure}}{}{%
|
\ifthenelse{\isundefined{\@enclosure}}{}{%
|
||||||
\\%
|
\\%
|
||||||
\vfill%
|
\vfill%
|
||||||
{\color{color2}\itshape Enclosure: \@enclosure}}}
|
{\color{color2}\itshape\enclname: \@enclosure}}}
|
||||||
|
|
||||||
|
|
||||||
\endinput
|
\endinput
|
||||||
|
|||||||
@ -300,7 +300,7 @@
|
|||||||
\ifthenelse{\isundefined{\@enclosure}}{}{%
|
\ifthenelse{\isundefined{\@enclosure}}{}{%
|
||||||
\\%
|
\\%
|
||||||
\vfill%
|
\vfill%
|
||||||
{\color{color2}\itshape{}Enclosure: \@enclosure}}}
|
{\color{color2}\itshape\enclname: \@enclosure}}}
|
||||||
|
|
||||||
|
|
||||||
\endinput
|
\endinput
|
||||||
|
|||||||
Reference in New Issue
Block a user