summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--Master/texmf-dist/doc/latex/limecv/README.md20
-rw-r--r--Master/texmf-dist/doc/latex/limecv/examples/mwe-latex.pdfbin112411 -> 112373 bytes
-rw-r--r--Master/texmf-dist/doc/latex/limecv/examples/mwe-latex.tex5
-rw-r--r--Master/texmf-dist/doc/latex/limecv/examples/mwe-lualatex.pdfbin95466 -> 95394 bytes
-rw-r--r--Master/texmf-dist/doc/latex/limecv/examples/mwe-lualatex.tex4
-rw-r--r--Master/texmf-dist/doc/latex/limecv/examples/mwe-xelatex.pdfbin53487 -> 56455 bytes
-rw-r--r--Master/texmf-dist/doc/latex/limecv/examples/mwe-xelatex.tex6
-rw-r--r--Master/texmf-dist/doc/latex/limecv/limecv.pdfbin329677 -> 333109 bytes
-rw-r--r--Master/texmf-dist/source/latex/limecv/limecv.dtx177
-rw-r--r--Master/texmf-dist/source/latex/limecv/limecv.ins2
-rw-r--r--Master/texmf-dist/tex/latex/limecv/limecv.cls94
11 files changed, 217 insertions, 91 deletions
diff --git a/Master/texmf-dist/doc/latex/limecv/README.md b/Master/texmf-dist/doc/latex/limecv/README.md
index 989f872feaa..c50155f639b 100644
--- a/Master/texmf-dist/doc/latex/limecv/README.md
+++ b/Master/texmf-dist/doc/latex/limecv/README.md
@@ -11,14 +11,16 @@ Example CV:
<img src="images/cover_letter.png" alt-="cover letter example" width="300px"/>
</div>
+`limecv` offers support for a bio/profile, contact details, language skills, (general) skills, projects, education, experience and references. It also features a custom cover letter design.
+
## Installation
-The package is available from CTAN, to install this document class using your favourite package manager.
+The package is [available from CTAN](https://ctan.org/pkg/limecv), so you should use a package manager to install this package.
After installing this package, make sure you have the following fonts installed:
* [FontAwesome][FA]
-* [Fira][fira]
+* [Fira][fira] (only needed when using XeLaTeX/LuaLaTeX)
The following packages need to be installed on your system. They are all available on CTAN:
`kvoptions`,
@@ -40,7 +42,7 @@ The following packages need to be installed on your system. They are all availab
## Documentation
-The class documentation can be found on CTAN.
+The class documentation can be found on [CTAN](http://mirrors.ctan.org/macros/latex/contrib/limecv/limecv.pdf).
Alternatively, the documentation can also be created by running `pdflatex limecv.dtx`.
@@ -48,18 +50,6 @@ Alternatively, the documentation can also be created by running `pdflatex limecv
To compile the examples in `/examples/`, install the package from CTAN or compile from source by running: `pdflatex limecv.ins` and copy the resulting `limecv.cls` file to the `/examples/` folder.
-## Roadmap
-
-Below is a list of upcoming features and important to-d items. After these have been resolved, the first stable release will be released.
-
-- [x] Publish to CTAN.
-- [x] Initial release.
-- [x] LuaLaTeX support.
-- [x] LaTeX support.
-- [ ] Cleaned code.
-- [x] `.dtx` source code format.
-- [ ] Real testing by third party.
-
## Licence
LPPL v1.3c See LICENSE file.
diff --git a/Master/texmf-dist/doc/latex/limecv/examples/mwe-latex.pdf b/Master/texmf-dist/doc/latex/limecv/examples/mwe-latex.pdf
index 9558f626fdc..9f80f454148 100644
--- a/Master/texmf-dist/doc/latex/limecv/examples/mwe-latex.pdf
+++ b/Master/texmf-dist/doc/latex/limecv/examples/mwe-latex.pdf
Binary files differ
diff --git a/Master/texmf-dist/doc/latex/limecv/examples/mwe-latex.tex b/Master/texmf-dist/doc/latex/limecv/examples/mwe-latex.tex
index 96e0e9a1a34..6f2b24734fd 100644
--- a/Master/texmf-dist/doc/latex/limecv/examples/mwe-latex.tex
+++ b/Master/texmf-dist/doc/latex/limecv/examples/mwe-latex.tex
@@ -27,6 +27,7 @@
% Defaults used in template design.
\usepackage[margin=\cvMargin,noheadfoot]{geometry}
+ \cvSetLanguage{dutch}
% For cover letter.
\usepackage{lipsum}
@@ -34,7 +35,7 @@
\begin{document}
% Design of side bar.
- \begin{cvSideBar}
+ \begin{cvSidebar}
\cvID{John}{Doe}{picture}{position}
\begin{cvProfile}
@@ -71,7 +72,7 @@
\cvProject[image=limecv-icon,width=1cm,link=https://github.com/opieters/limecv]{\texttt{limecv}}{A \LaTeX\ CV document class.}
\end{cvProjects}
- \end{cvSideBar}
+ \end{cvSidebar}
\begin{cvMainContent}
diff --git a/Master/texmf-dist/doc/latex/limecv/examples/mwe-lualatex.pdf b/Master/texmf-dist/doc/latex/limecv/examples/mwe-lualatex.pdf
index 390eb037877..28d661bf7e1 100644
--- a/Master/texmf-dist/doc/latex/limecv/examples/mwe-lualatex.pdf
+++ b/Master/texmf-dist/doc/latex/limecv/examples/mwe-lualatex.pdf
Binary files differ
diff --git a/Master/texmf-dist/doc/latex/limecv/examples/mwe-lualatex.tex b/Master/texmf-dist/doc/latex/limecv/examples/mwe-lualatex.tex
index 93b67070225..8c585ca6070 100644
--- a/Master/texmf-dist/doc/latex/limecv/examples/mwe-lualatex.tex
+++ b/Master/texmf-dist/doc/latex/limecv/examples/mwe-lualatex.tex
@@ -35,7 +35,7 @@
\begin{document}
% Design of side bar.
- \begin{cvSideBar}
+ \begin{cvSidebar}
\cvID{John}{Doe}{picture}{position}
\begin{cvProfile}
@@ -72,7 +72,7 @@
\cvProject[image=limecv-icon,width=1cm,link=https://github.com/opieters/limecv]{\texttt{limecv}}{A \LaTeX\ CV document class.}
\end{cvProjects}
- \end{cvSideBar}
+ \end{cvSidebar}
\begin{cvMainContent}
diff --git a/Master/texmf-dist/doc/latex/limecv/examples/mwe-xelatex.pdf b/Master/texmf-dist/doc/latex/limecv/examples/mwe-xelatex.pdf
index c7d990b2fac..2d339ef2270 100644
--- a/Master/texmf-dist/doc/latex/limecv/examples/mwe-xelatex.pdf
+++ b/Master/texmf-dist/doc/latex/limecv/examples/mwe-xelatex.pdf
Binary files differ
diff --git a/Master/texmf-dist/doc/latex/limecv/examples/mwe-xelatex.tex b/Master/texmf-dist/doc/latex/limecv/examples/mwe-xelatex.tex
index 8f6e288f42c..e390aecfd00 100644
--- a/Master/texmf-dist/doc/latex/limecv/examples/mwe-xelatex.tex
+++ b/Master/texmf-dist/doc/latex/limecv/examples/mwe-xelatex.tex
@@ -36,7 +36,7 @@
% Design of side bar.
-\begin{cvSideBar}
+\begin{cvSidebar}
\cvID{John}{Doe}{picture}{position}
\begin{cvProfile}
@@ -73,7 +73,7 @@
\cvProject[image=limecv-icon,width=1cm,link=https://github.com/opieters/limecv]{\texttt{limecv}}{A \LaTeX\ CV document class.}
\end{cvProjects}
-\end{cvSideBar}
+\end{cvSidebar}
\begin{cvMainContent}
@@ -136,7 +136,7 @@ Dear Miss.\ Smith
\vspace{\baselineskip}
-\lipsum[1-3]
+\lipsum[1-8]
\vspace{\cvMargin}
diff --git a/Master/texmf-dist/doc/latex/limecv/limecv.pdf b/Master/texmf-dist/doc/latex/limecv/limecv.pdf
index 325eecc76f4..b17f45cddc2 100644
--- a/Master/texmf-dist/doc/latex/limecv/limecv.pdf
+++ b/Master/texmf-dist/doc/latex/limecv/limecv.pdf
Binary files differ
diff --git a/Master/texmf-dist/source/latex/limecv/limecv.dtx b/Master/texmf-dist/source/latex/limecv/limecv.dtx
index 70170b50dcf..b99d554e154 100644
--- a/Master/texmf-dist/source/latex/limecv/limecv.dtx
+++ b/Master/texmf-dist/source/latex/limecv/limecv.dtx
@@ -26,7 +26,7 @@
%<class>\NeedsTeXFormat{LaTeX2e}[1999/12/01]
%<class>\ProvidesClass{limecv}
%<*class>
- [2017/09/12 v0.1.1 limecv Document class for CVs.]
+ [2017/09/12 v0.1.3 limecv Document class for CVs.]
%</class>
%
%<*driver>
@@ -68,7 +68,7 @@
%</driver>
% \fi
%
-% \CheckSum{1469}
+% \CheckSum{1525}
%
% \CharacterTable
% {Upper-case \A\B\C\D\E\F\G\H\I\J\K\L\M\N\O\P\Q\R\S\T\U\V\W\X\Y\Z
@@ -89,13 +89,15 @@
%
% \changes{v0.1}{2017/09/12}{Initial version.}
% \changes{v0.1.1}{2017/09/13}{Bug fixes and improved documentation.}
+% \changes{v0.1.2}{2017/11/25}{Add internationalisation support. Support cover letters spanning multiple pages.}
+% \changes{v0.1.3}{2017/09/25}{Fix checksum issue.}
%
% \DoNotIndex{\NewDocumentCommand,\NewDocumentEnvironment}
%
% \providecommand*{\url}{\texttt}
%
-% \def\fileversion{v0.1.1}
-% \def\filedate{2017/09/12}
+% \def\fileversion{v0.1.3}
+% \def\filedate{2017/11/25}
%
% \GetFileInfo{limecv.dtx}
% \title{The \textsf{limecv} document class\thanks{This document corresponds %
@@ -134,7 +136,7 @@
% \draw[fill=black!20] (0,0) rectangle ++(-4.2,-1.5);
% \end{tikzpicture}
% \caption{Illustation of a basic template. The image to the left depicts the
-% actual CV: side bar to the left (1) with main content on the right (2).
+% actual CV: sidebar to the left (1) with main content on the right (2).
% The image to the right depicts the cover letter design.}
% \label{design}
% \end{figure}
@@ -161,19 +163,34 @@
% the |fontawesome| package.
%
% \section{General Macros and Document Class Options}
+%
+% \subsection{Internationalisation}
+% \DescribeMacro{\cvSetLanguage} Currently, there is only internationalisation support for English and Dutch. The default language is English and can be modified using the |\cvSetLanguage| macro. Possible arguments are: |english| and |dutch|. If you want to use a different language, you need to modify the keys that hold the different section titles. These can be in the source code. The following snippet illustrates how this can be done for French:
+%
+% \iffalse
+%<*example>
+% \fi
+ \begin{lstlisting}
+\pgfkeys{/@cv/names/education = Formations}
+\pgfkeys{/@cv/names/skills = Compétences}
+ \end{lstlisting}
+% \iffalse
+%</example>
+% \fi
+%
%
-% \section{Side Bar}
+% \section{Sidebar}
%
-% The side bar should contain personal information such as your name, job title
+% The sidebar should contain personal information such as your name, job title
% (or industry or similar), contact information, small bio, interests and language
% skills. Special environments and commands have been defined for each of these
% sections and will be described below.
%
-% Everything that should be inside the side bar should be placed in the |cvSideBar|
+% Everything that should be inside the sidebar should be placed in the |cvSidebar|
% environment. This environment is placed on the left side of the page by default.
-% If it should be typeset on the right side, use the starred version (|cvSideBar*|)
+% If it should be typeset on the right side, use the starred version (|cvSidebar*|)
%
-% The following environments are available inside the side bar environment:
+% The following environments are available inside the sidebar environment:
% |cvProfile|, |cvContact|, |cvLanguages|, |cvInterests| and |cvProjects|.
%
% \DescribeMacro{\cvID}
@@ -370,7 +387,7 @@
%</example>
% \fi
%
-% It is currently not possible to extend the side bar with additional environments. To add
+% It is currently not possible to extend the sidebar with additional environments. To add
% your own, look at the source code and create your own \LaTeX-style hack.
%
% \section{Main Content}
@@ -387,7 +404,7 @@
% environments.
%
% Note that |cvMainContent| also has a starred variant (|cvMainContent*|). The
-% function is similar to |cvSideBar*|, in the sense that it places everything to the
+% function is similar to |cvSidebar*|, in the sense that it places everything to the
% left instead of the default right location.
%
% \DescribeMacro{cvEducation}
@@ -662,7 +679,7 @@ Dear Miss.\ Smith
% Default value: |3pt|.
% \item |\cvMargin| Margin around the entire page.
% Default value: |1cm|.
-% \item |\cvSideWidth| Width of the side bar.
+% \item |\cvSideWidth| Width of the sidebar.
% Default value: |0.3\paperwidth-\cvMargin|.
% \item |\cvMainWidth| Width of the main content section.
% Default value: |\paperwidth-4\cvMargin-\cvSideWidth|.
@@ -686,7 +703,7 @@ Dear Miss.\ Smith
% Default value: |0.75em|.
% \item |\cvSectionSep| Distance between sections of the main content section.
% Default value: |0.6cm|.
-% \item |\cvSectionSBSep| Distance between sections of the side bar section.
+% \item |\cvSectionSBSep| Distance between sections of the sidebar section.
% Default value: |4pt|.
% \item |\cvTitleLineWidth| Line width of horizontal line below section title.
% Default value: |2pt|.
@@ -705,7 +722,7 @@ Dear Miss.\ Smith
% \item |\cvCoverLetterPositionSpacing| Distance between name and position in the cover letter.
% Default value: |10pt|.
% \item |\cvSBSectionLineWidth| Line width of left and right lines next to the titles of in the
-% side bar. Default value: |1pt|.
+% sidebar. Default value: |1pt|.
% \item |\cvCoverLetterLineSpacing| Distance between name and line below it in the cover letter.
% Default value: |0pt|.
% \item |\cvIDNameSep| Distance between first and last name.
@@ -1092,8 +1109,9 @@ Dear Miss.\ Smith
% Argument order: string - character number
% \begin{macrocode}
\ExplSyntaxOn
+\cs_generate_variant:Nn\tl_item:nn {f}
\DeclareExpandableDocumentCommand{\extract}{mm}{%
- \tl_item:nn { #1 } { #2 }%
+ \tl_item:fn{#1}{#2}%
}
\ExplSyntaxOff
% \end{macrocode}
@@ -1195,6 +1213,8 @@ Dear Miss.\ Smith
\newlength\cvHeaderIconWidth
\setlength\cvHeaderIconWidth{0pt}
% \end{macrocode}
+%
+%
%------------------------------------------------------
%
% New styling commands
@@ -1218,7 +1238,7 @@ Dear Miss.\ Smith
\endgroup
}
% \end{macrocode}
-% Create horizontal line from edge to edge for side bar
+% Create horizontal line from edge to edge for sidebar
% section titles.
%
% Based on:
@@ -1279,13 +1299,16 @@ Dear Miss.\ Smith
\y\StrGobbleLeft{#1}{1}\egroup};
\node[%
left=\cvTimeDotSep of cv@title \the\value{cv@titleNext},
- cv@headerIcon]
+ cv@headerIcon]
{#2};
+ \node[cv@sectionTitle] at (0,0)
+ (cv@title \the\value{cv@titleNext} dummy) {%
+ \phantom{\cvSection{Education}}};
\begin{scope}[on background layer]
- \draw[line width=\cvTitleLineWidth,cvGreen]
- let \p1=(cv@title \the\value{cv@titleNext}%
- .south west),
- \p2=(current page.east) in
+ \draw[line width=\cvTitleLineWidth,cvGreen]
+ let \p1=(cv@title \the\value{cv@titleNext} %
+ dummy.south west),
+ \p2=(current page.east) in
(\x1,\y1-\cvTitleLineSpacing) to (\x2,\y1-\cvTitleLineSpacing);
\end{scope}
}%
@@ -1360,6 +1383,71 @@ Dear Miss.\ Smith
}
}
% \end{macrocode}
+%
+%-----------------------
+% Language
+% \begin{macrocode}
+\pgfkeys{/@cv/names/.is family,
+ /@cv/names/.unknown/.style = %
+ {\pgfkeyscurrentpath/\pgfkeyscurrentname/%
+ .initial = #1}}
+% \end{macrocode}
+% Set all title names to English (default):
+% \begin{macrocode}
+\NewDocumentCommand{\cv@setEnglish}{}{
+ \pgfkeys{/@cv/names/profile = Profile}%
+ \pgfkeys{/@cv/names/contact = Contact}%
+ \pgfkeys{/@cv/names/languages = Languages}%
+ \pgfkeys{/@cv/names/interests = Interests}%
+ \pgfkeys{/@cv/names/professional = Professional}%
+ \pgfkeys{/@cv/names/personal = Personal}%
+ \pgfkeys{/@cv/names/projects = Projects}%
+ \pgfkeys{/@cv/names/education = Education}%
+ \pgfkeys{/@cv/names/experience = Experience}%
+ \pgfkeys{/@cv/names/references = References}%
+ \pgfkeys{/@cv/names/skills = Skills}%
+}
+% \end{macrocode}
+%
+% Set all title names to Dutch:
+% \begin{macrocode}
+\NewDocumentCommand{\cv@setDutch}{}{
+ \pgfkeys{/@cv/names/profile = Profiel}%
+ \pgfkeys{/@cv/names/contact = Gegevens}%
+ \pgfkeys{/@cv/names/languages = Talenkennis}%
+ \pgfkeys{/@cv/names/interests = Interesses}%
+ \pgfkeys{/@cv/names/professional = Professioneel}%
+ \pgfkeys{/@cv/names/personal = Persoonlijk}%
+ \pgfkeys{/@cv/names/projects = Projecten}%
+ \pgfkeys{/@cv/names/education = Opleiding}%
+ \pgfkeys{/@cv/names/experience = Werkervaring}%
+ \pgfkeys{/@cv/names/references = Referenties}%
+ \pgfkeys{/@cv/names/skills = Vaardigheden}%
+}
+% \end{macrocode}
+%
+% Set the actual language to English. This can be overwritten by the user in the preamble
+%
+% Define the command to change the language
+% \begin{macrocode}
+\ExplSyntaxOn
+\NewDocumentCommand{\cvSetLanguage}{m}{
+ \str_case:nnF {#1}
+ {
+ {dutch} {\cv@setDutch}
+ {english} {\cv@setEnglish}
+ }
+ {\ClassError{limecv}{Unknown option `#1' for cvLanguage %
+ macro.}{Only `english' and `dutch' are valid options %
+ for this macro.}}
+}
+\ExplSyntaxOff
+\cvSetLanguage{english}
+% \end{macrocode}
+%
+% \begin{macrocode}
+% \cvSetLanguage{english}
+% \end{macrocode}
%------------------------------------------------------
%
% Commands specific for cvSkills section
@@ -1436,7 +1524,7 @@ Dear Miss.\ Smith
%
% \begin{macrocode}
\NewDocumentEnvironment{cvEducation}{}{%
- \cv@Title{Education}{\faGraduationCap}
+ \cv@Title{\pgfkeysvalueof{/@cv/names/education}}{\faGraduationCap}
% \end{macrocode}
% insures uniqueness
% \begin{macrocode}
@@ -1456,7 +1544,7 @@ Dear Miss.\ Smith
%
% \begin{macrocode}
\NewDocumentEnvironment{cvExperience}{}{%
- \cv@Title{Experience}{\faBriefcase}
+ \cv@Title{\pgfkeysvalueof{/@cv/names/experience}}{\faBriefcase}
% \end{macrocode}
% insures uniqueness
% \begin{macrocode}
@@ -1476,7 +1564,7 @@ Dear Miss.\ Smith
%
% \begin{macrocode}
\NewDocumentEnvironment{cvSkills}{}{%
- \cv@Title{Skills}{\faStar}
+ \cv@Title{\pgfkeysvalueof{/@cv/names/skills}}{\faStar}
\global\cv@firstskilltrue
}{%
\node[
@@ -1497,7 +1585,7 @@ Dear Miss.\ Smith
%
% \begin{macrocode}
\NewDocumentEnvironment{cvReferences}{}{%
- \cv@Title{References}{\faLink}
+ \cv@Title{\pgfkeysvalueof{/@cv/names/references}}{\faLink}
\node[
below=\cvSectionSep of cv@title \the\value{cv@titlePrev}.%
south west,
@@ -1705,11 +1793,11 @@ Dear Miss.\ Smith
%
%------------------------------------------------------
%
-% cvSideBar environment
+% cvSidebar environment
%
%
% \begin{macrocode}
-\NewDocumentEnvironment{cvSideBar}{}{%
+\NewDocumentEnvironment{cvSidebar}{}{%
\vspace*{\fill}
\vspace*{-0.5\cvMargin}
\begin{tikzpicture}[remember picture,overlay]
@@ -1723,7 +1811,7 @@ Dear Miss.\ Smith
\end{minipage}
\vspace*{\fill}
}
-\NewDocumentEnvironment{cvSideBar*}{}{%
+\NewDocumentEnvironment{cvSidear*}{}{%
\vspace*{\fill}
\vspace*{-0.5\cvMargin}
\begin{tikzpicture}[remember picture,overlay]
@@ -1745,7 +1833,7 @@ Dear Miss.\ Smith
% \begin{macrocode}
\NewDocumentEnvironment{cvProfile}{}{%
\vspace{\cvSectionSBSep}
- \ruleline{Profile}
+ \ruleline{\pgfkeysvalueof{/@cv/names/profile}}
}{%
}
% \end{macrocode}
@@ -1773,7 +1861,7 @@ Dear Miss.\ Smith
\newif\ifcv@contactfirst
\NewDocumentEnvironment{cvContact}{}{%
\vspace{\cvSectionSBSep}
- \ruleline{Contact}%
+ \ruleline{\pgfkeysvalueof{/@cv/names/contact}}%
\vspace{\cvSectionSBSep}
\global\cv@contactfirstfalse
@@ -1932,7 +2020,7 @@ Dear Miss.\ Smith
\fi
%%%%%%
\vspace{\cvSectionSBSep}
- \ruleline{Interests}%
+ \ruleline{\pgfkeysvalueof{/@cv/names/interests}}%
\vspace{\cvSectionSBSep}
}{%
\cv@interestClose
@@ -2062,7 +2150,7 @@ Dear Miss.\ Smith
% \begin{macrocode}
\NewDocumentEnvironment{cvProjects}{}{%
\vspace{\cvSectionSBSep}
- \ruleline{Projects}%
+ \ruleline{\pgfkeysvalueof{/@cv/names/projects}}%
\vspace{\cvSectionSBSep}
\cv@definecvProject
\begin{tikzpicture}[every node/.style={inner sep=0cm,outer sep=0cm}]
@@ -2089,7 +2177,7 @@ Dear Miss.\ Smith
\stepcounter{cv@languages}
}%
\vspace{\cvSectionSBSep}
- \ruleline{Languages}%
+ \ruleline{\pgfkeysvalueof{/@cv/names/languages}}%
\vspace{\cvSectionSBSep}
\begin{tikzpicture}[%
every node/.style={text depth=0pt,inner sep=0pt,outer sep=0pt}]
@@ -2230,6 +2318,7 @@ Dear Miss.\ Smith
}
}
\NewDocumentEnvironment{cvCoverLetter}{}{%
+ \newgeometry{textwidth=\cvCoverLetterWidth,noheadfoot}
\begin{tikzpicture}[%
remember picture,
overlay,
@@ -2280,20 +2369,19 @@ 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}
+%
+%
%------------------------------------------------------
%
% cvID macro
@@ -2323,6 +2411,7 @@ Dear Miss.\ Smith
\end{tikzpicture}\\
}
{\LARGE
+ \vspace{\cvIDNameSep}
#1
\vspace{\cvIDNameSep}
#2}
diff --git a/Master/texmf-dist/source/latex/limecv/limecv.ins b/Master/texmf-dist/source/latex/limecv/limecv.ins
index 2e2742911ca..0c162af69d7 100644
--- a/Master/texmf-dist/source/latex/limecv/limecv.ins
+++ b/Master/texmf-dist/source/latex/limecv/limecv.ins
@@ -41,7 +41,7 @@ LaTeX version 2005/12/01 or later.
\Msg{* To finish the installation you have to move the *}
\Msg{* following file into a directory searched by TeX: *}
\Msg{* *}
-\Msg{* \space\space limecv.cls *}
+\Msg{* \space\space limecv.cls *}
\Msg{* *}
\Msg{* To produce the documentation run the file *}
\Msg{* limecv.dtx through LaTeX. *}
diff --git a/Master/texmf-dist/tex/latex/limecv/limecv.cls b/Master/texmf-dist/tex/latex/limecv/limecv.cls
index df8962e445e..e0d547ecbc9 100644
--- a/Master/texmf-dist/tex/latex/limecv/limecv.cls
+++ b/Master/texmf-dist/tex/latex/limecv/limecv.cls
@@ -20,7 +20,7 @@
%%
\NeedsTeXFormat{LaTeX2e}[1999/12/01]
\ProvidesClass{limecv}
- [2017/09/12 v0.1.1 limecv Document class for CVs.]
+ [2017/09/12 v0.1.3 limecv Document class for CVs.]
\RequirePackage{kvoptions}
\DeclareBoolOption[false]{print}
@@ -211,8 +211,9 @@
\NewDocumentCommand{\kleft}{m}{#1}
\fi
\ExplSyntaxOn
+\cs_generate_variant:Nn\tl_item:nn {f}
\DeclareExpandableDocumentCommand{\extract}{mm}{%
- \tl_item:nn { #1 } { #2 }%
+ \tl_item:fn{#1}{#2}%
}
\ExplSyntaxOff
%% \pagenumbering{gobble}
@@ -340,10 +341,13 @@
left=\cvTimeDotSep of cv@title \the\value{cv@titleNext},
cv@headerIcon]
{#2};
+ \node[cv@sectionTitle] at (0,0)
+ (cv@title \the\value{cv@titleNext} dummy) {%
+ \phantom{\cvSection{Education}}};
\begin{scope}[on background layer]
\draw[line width=\cvTitleLineWidth,cvGreen]
- let \p1=(cv@title \the\value{cv@titleNext}%
- .south west),
+ let \p1=(cv@title \the\value{cv@titleNext} %
+ dummy.south west),
\p2=(current page.east) in
(\x1,\y1-\cvTitleLineSpacing) to (\x2,\y1-\cvTitleLineSpacing);
\end{scope}
@@ -409,6 +413,49 @@
\stepcounter{cv@itemNext}
}
}
+\pgfkeys{/@cv/names/.is family,
+ /@cv/names/.unknown/.style = %
+ {\pgfkeyscurrentpath/\pgfkeyscurrentname/%
+ .initial = #1}}
+\NewDocumentCommand{\cv@setEnglish}{}{
+ \pgfkeys{/@cv/names/profile = Profile}%
+ \pgfkeys{/@cv/names/contact = Contact}%
+ \pgfkeys{/@cv/names/languages = Languages}%
+ \pgfkeys{/@cv/names/interests = Interests}%
+ \pgfkeys{/@cv/names/professional = Professional}%
+ \pgfkeys{/@cv/names/personal = Personal}%
+ \pgfkeys{/@cv/names/projects = Projects}%
+ \pgfkeys{/@cv/names/education = Education}%
+ \pgfkeys{/@cv/names/experience = Experience}%
+ \pgfkeys{/@cv/names/references = References}%
+ \pgfkeys{/@cv/names/skills = Skills}%
+}
+\NewDocumentCommand{\cv@setDutch}{}{
+ \pgfkeys{/@cv/names/profile = Profiel}%
+ \pgfkeys{/@cv/names/contact = Gegevens}%
+ \pgfkeys{/@cv/names/languages = Talenkennis}%
+ \pgfkeys{/@cv/names/interests = Interesses}%
+ \pgfkeys{/@cv/names/professional = Professioneel}%
+ \pgfkeys{/@cv/names/personal = Persoonlijk}%
+ \pgfkeys{/@cv/names/projects = Projecten}%
+ \pgfkeys{/@cv/names/education = Opleiding}%
+ \pgfkeys{/@cv/names/experience = Werkervaring}%
+ \pgfkeys{/@cv/names/references = Referenties}%
+ \pgfkeys{/@cv/names/skills = Vaardigheden}%
+}
+\ExplSyntaxOn
+\NewDocumentCommand{\cvSetLanguage}{m}{
+ \str_case:nnF {#1}
+ {
+ {dutch} {\cv@setDutch}
+ {english} {\cv@setEnglish}
+ }
+ {\ClassError{limecv}{Unknown option `#1' for cvLanguage %
+ macro.}{Only `english' and `dutch' are valid options %
+ for this macro.}}
+}
+\ExplSyntaxOff
+\cvSetLanguage{english}
\newif\ifcv@firstskill
\NewDocumentCommand{\cv@skillsTable}{}{}
\NewDocumentCommand{\cvSkillTwo}{mmmm}{%
@@ -456,7 +503,7 @@
\end{tikzpicture}%
}
\NewDocumentEnvironment{cvEducation}{}{%
- \cv@Title{Education}{\faGraduationCap}
+ \cv@Title{\pgfkeysvalueof{/@cv/names/education}}{\faGraduationCap}
\stepcounter{cv@itemPrev}
\stepcounter{cv@itemNext}
\cv@definecvItem
@@ -467,7 +514,7 @@
node (cv@last item \the\value{cv@lastItem}) {};
}
\NewDocumentEnvironment{cvExperience}{}{%
- \cv@Title{Experience}{\faBriefcase}
+ \cv@Title{\pgfkeysvalueof{/@cv/names/experience}}{\faBriefcase}
\stepcounter{cv@itemPrev}
\stepcounter{cv@itemNext}
\cv@definecvItem
@@ -478,7 +525,7 @@
node (cv@last item \the\value{cv@lastItem}) {};
}
\NewDocumentEnvironment{cvSkills}{}{%
- \cv@Title{Skills}{\faStar}
+ \cv@Title{\pgfkeysvalueof{/@cv/names/skills}}{\faStar}
\global\cv@firstskilltrue
}{%
\node[
@@ -493,7 +540,7 @@
(cv@last item \the\value{cv@lastItem}) {};
}
\NewDocumentEnvironment{cvReferences}{}{%
- \cv@Title{References}{\faLink}
+ \cv@Title{\pgfkeysvalueof{/@cv/names/references}}{\faLink}
\node[
below=\cvSectionSep of cv@title \the\value{cv@titlePrev}.%
south west,
@@ -630,7 +677,7 @@
\fi%
}%
}
-\NewDocumentEnvironment{cvSideBar}{}{%
+\NewDocumentEnvironment{cvSidebar}{}{%
\vspace*{\fill}
\vspace*{-0.5\cvMargin}
\begin{tikzpicture}[remember picture,overlay]
@@ -644,7 +691,7 @@
\end{minipage}
\vspace*{\fill}
}
-\NewDocumentEnvironment{cvSideBar*}{}{%
+\NewDocumentEnvironment{cvSidear*}{}{%
\vspace*{\fill}
\vspace*{-0.5\cvMargin}
\begin{tikzpicture}[remember picture,overlay]
@@ -660,7 +707,7 @@
}
\NewDocumentEnvironment{cvProfile}{}{%
\vspace{\cvSectionSBSep}
- \ruleline{Profile}
+ \ruleline{\pgfkeysvalueof{/@cv/names/profile}}
}{%
}
\NewDocumentCommand{\cv@ContactTemplate}{mm}{
@@ -681,7 +728,7 @@
\newif\ifcv@contactfirst
\NewDocumentEnvironment{cvContact}{}{%
\vspace{\cvSectionSBSep}
- \ruleline{Contact}%
+ \ruleline{\pgfkeysvalueof{/@cv/names/contact}}%
\vspace{\cvSectionSBSep}
\global\cv@contactfirstfalse
@@ -815,7 +862,7 @@
\fi
%%%%%%
\vspace{\cvSectionSBSep}
- \ruleline{Interests}%
+ \ruleline{\pgfkeysvalueof{/@cv/names/interests}}%
\vspace{\cvSectionSBSep}
}{%
\cv@interestClose
@@ -902,7 +949,7 @@
}
\NewDocumentEnvironment{cvProjects}{}{%
\vspace{\cvSectionSBSep}
- \ruleline{Projects}%
+ \ruleline{\pgfkeysvalueof{/@cv/names/projects}}%
\vspace{\cvSectionSBSep}
\cv@definecvProject
\begin{tikzpicture}[every node/.style={inner sep=0cm,outer sep=0cm}]
@@ -923,7 +970,7 @@
\stepcounter{cv@languages}
}%
\vspace{\cvSectionSBSep}
- \ruleline{Languages}%
+ \ruleline{\pgfkeysvalueof{/@cv/names/languages}}%
\vspace{\cvSectionSBSep}
\begin{tikzpicture}[%
every node/.style={text depth=0pt,inner sep=0pt,outer sep=0pt}]
@@ -996,6 +1043,7 @@
}
}
\NewDocumentEnvironment{cvCoverLetter}{}{%
+ \newgeometry{textwidth=\cvCoverLetterWidth,noheadfoot}
\begin{tikzpicture}[%
remember picture,
overlay,
@@ -1034,18 +1082,15 @@
($(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
+ \today
- \vspace{\baselineskip}
- \cv@definecvBeneficiary
- \cv@definecvFullName
+ \vspace{\baselineskip}
+ \cv@definecvBeneficiary
+ \cv@definecvFullName
}{%
- \end{minipage}
- \end{center}
+ \restoregeometry
}
\pgfkeys{/@cv/info/.is family,
/@cv/info/.unknown/.style = %
@@ -1067,6 +1112,7 @@
\end{tikzpicture}\\
}
{\LARGE
+ \vspace{\cvIDNameSep}
#1
\vspace{\cvIDNameSep}
#2}