Remove trailing whitespace (#167)

Remove more trailing whitespace

Remove even more trailing whitespace
This commit is contained in:
Tianyi Zheng 2023-06-04 03:26:38 -07:00 committed by GitHub
commit f3dd14ff62
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
14 changed files with 234 additions and 234 deletions

View file

@ -64,7 +64,7 @@
\end{abstract} \end{abstract}
\section{Introduction} \section{Introduction}
When I saw this class for the first time I was amazed: ``Here it is what I need,'' I thought. Using the very clear examples, it was easy to make my first CV. When I saw this class for the first time I was amazed: ``Here it is what I need,'' I thought. Using the very clear examples, it was easy to make my first CV.
Indeed the class is very simple to use; in this documentation I will only put together all the things to help users to have all on hand. Indeed the class is very simple to use; in this documentation I will only put together all the things to help users to have all on hand.
\smallskip \smallskip
@ -76,7 +76,7 @@ At the very beginning of your preamble (that is the part before \verb|\begin{doc
\begin{verbatim} \begin{verbatim}
\documentclass[<options>]{moderncv} \documentclass[<options>]{moderncv}
\end{verbatim} \end{verbatim}
where the options are: where the options are:
@ -88,24 +88,24 @@ where the options are:
\item[draft/final options:] \texttt{draft}, \texttt{final} \item[draft/final options:] \texttt{draft}, \texttt{final}
\end{description} \end{description}
The default options are: \texttt{a4paper}, \texttt{11pt}, \texttt{color}, \texttt{final}. The default options are: \texttt{a4paper}, \texttt{11pt}, \texttt{color}, \texttt{final}.
After the documentclass specification, choose the theme for your curriculum vit\ae: After the documentclass specification, choose the theme for your curriculum vit\ae:
\begin{verbatim} \begin{verbatim}
\moderncvtheme[<options>]{casual} \moderncvtheme[<options>]{casual}
\end{verbatim} \end{verbatim}
which is the default theme, or which is the default theme, or
\begin{verbatim} \begin{verbatim}
\moderncvtheme[<options>]{classic} \moderncvtheme[<options>]{classic}
\end{verbatim} \end{verbatim}
where the theme options are: where the theme options are:
\begin{description} \begin{description}
\item[color options:] you can choose between five color: \item[color options:] you can choose between five color:
\begin{itemize} \begin{itemize}
\item[\texttt{blue}] {\color{bluecv}\rule{1cm}{2ex}} (default color) \item[\texttt{blue}] {\color{bluecv}\rule{1cm}{2ex}} (default color)
\item[\texttt{green}] {\color{greencv}\rule{1cm}{2ex}} \item[\texttt{green}] {\color{greencv}\rule{1cm}{2ex}}
@ -120,14 +120,14 @@ Then you have to specify the character encoding (utf8, latin1, and so on):
\begin{verbatim} \begin{verbatim}
\usepackage[<your encoding>]{inputenc} \usepackage[<your encoding>]{inputenc}
\end{verbatim} \end{verbatim}
and you can adjust the page geometry: and you can adjust the page geometry:
\begin{verbatim} \begin{verbatim}
\usepackage[<options>]{geometry} \usepackage[<options>]{geometry}
\recomputelengths \recomputelengths
\end{verbatim} \end{verbatim}
where \verb|\recomputelengths| is required when changes are made to page layout lengths. where \verb|\recomputelengths| is required when changes are made to page layout lengths.
@ -137,7 +137,7 @@ Now we can get into the part most related to our curriculum vit\ae: our personal
\item \verb|\firstname{John}| \item \verb|\firstname{John}|
\item \verb|\familyname{Doe}| \item \verb|\familyname{Doe}|
\item \verb|\title{Resum\'e title}|: optional \item \verb|\title{Resum\'e title}|: optional
\item \verb|\address{street and number}{postcode city}|: optional \item \verb|\address{street and number}{postcode city}|: optional
\item \verb|\mobile{mobile}|: optional \item \verb|\mobile{mobile}|: optional
\item \verb|\phone{phone}|: optional \item \verb|\phone{phone}|: optional
\item \verb|\fax{fax}|: optional \item \verb|\fax{fax}|: optional
@ -145,13 +145,13 @@ Now we can get into the part most related to our curriculum vit\ae: our personal
\item \verb|\extrainfo{additional information}|: optional; here you can put, for example, the address of your website \item \verb|\extrainfo{additional information}|: optional; here you can put, for example, the address of your website
\item \verb|\photo[64pt]{picture}|: optional; \texttt{64pt} is the height the picture, you can set here the size you prefer; \texttt{picture} is the name of the picture file \item \verb|\photo[64pt]{picture}|: optional; \texttt{64pt} is the height the picture, you can set here the size you prefer; \texttt{picture} is the name of the picture file
\item \verb|\quote{Some quote}|: optional \item \verb|\quote{Some quote}|: optional
\end{itemize} \end{itemize}
Finally you can suppress automatic page numbering for CVs longer than one page: Finally you can suppress automatic page numbering for CVs longer than one page:
\begin{verbatim} \begin{verbatim}
\nopagenumbers{} \nopagenumbers{}
\end{verbatim} \end{verbatim}
\subsection{Examples} \subsection{Examples}
@ -170,7 +170,7 @@ In practice, you will type:
\usepackage[scale=0.8]{geometry} \usepackage[scale=0.8]{geometry}
\recomputelengths \recomputelengths
% personal data % personal data
\firstname{John} \firstname{John}
\familyname{Doe} \familyname{Doe}
\title{Design enthusiast} \title{Design enthusiast}
@ -181,8 +181,8 @@ In practice, you will type:
\email{jdoe@design.org} \email{jdoe@design.org}
\extrainfo{\weblink{www.ctan.org}} \extrainfo{\weblink{www.ctan.org}}
\photo[64pt]{jdoe_picture} \photo[64pt]{jdoe_picture}
\quote{Any intelligent fool can make things bigger, more complex, \quote{Any intelligent fool can make things bigger, more complex,
and more violent. It takes a touch of genius -- and a lot of courage -- to and more violent. It takes a touch of genius -- and a lot of courage -- to
move in the opposite direction.} move in the opposite direction.}
\begin{document} \begin{document}
@ -225,7 +225,7 @@ As you can seen in figure \ref{fig:casual} e \ref{fig:classic}, you can divide y
\subsection{Section} \subsection{Section}
The command to open a new section is: The command to open a new section is:
\begin{verbatim} \begin{verbatim}
\section{<title>} \section{<title>}
@ -237,7 +237,7 @@ and every section can be divided into subsections:
\subsection{<title>} \subsection{<title>}
\end{verbatim} \end{verbatim}
If necessary, there is a command to close the section: If necessary, there is a command to close the section:
\begin{verbatim} \begin{verbatim}
\closesection{} \closesection{}
@ -253,7 +253,7 @@ An example of their usage can be the next one:
\begin{verbatim} \begin{verbatim}
\section{Section with your own content}\closesection \section{Section with your own content}\closesection
Your content here, inside the normal \LaTeX{} environment. Your content here, inside the normal \LaTeX{} environment.
You can use any regular \LaTeX{} command, display mathematics You can use any regular \LaTeX{} command, display mathematics
\[e =m\,c^2,\] \[e =m\,c^2,\]
put some table or figure, \dots put some table or figure, \dots
@ -281,8 +281,8 @@ Inside sections, you can choose between different kinds of items depending on th
\cventry{years}{degree/job title}{institution/employer} \cventry{years}{degree/job title}{institution/employer}
{localization}{optional: grade/...} {localization}{optional: grade/...}
{optional: comment/job description} {optional: comment/job description}
\end{verbatim} \end{verbatim}
\vspace{-20pt} \vspace{-20pt}
where the last three arguments can be left empty where the last three arguments can be left empty
\item inside `language' cvsection environment, you can type every entry with: \item inside `language' cvsection environment, you can type every entry with:
\begin{verbatim} \begin{verbatim}
@ -328,12 +328,12 @@ Let's put all together and see in figure \ref{fig:sections} what is the result:
\section{Education} \section{Education}
\cventry{year--year}{Degree}{Institution}{City}{\textit{Grade}}{Description} \cventry{year--year}{Degree}{Institution}{City}{\textit{Grade}}{Description}
\cventry{year--year}{Degree}{Institution}{City}{\textit{Grade}}{Description} \cventry{year--year}{Degree}{Institution}{City}{\textit{Grade}}{Description}
% %
\section{Master thesis} \section{Master thesis}
\cvline{title}{\emph{Title}} \cvline{title}{\emph{Title}}
\cvline{supervisors}{Supervisors} \cvline{supervisors}{Supervisors}
\cvline{description}{\small Short thesis abstract} \cvline{description}{\small Short thesis abstract}
% %
\section{Experience} \section{Experience}
\subsection{Vocational} \subsection{Vocational}
\cventry{year--year}{Job title}{Employer}{City}{}{Description} \cventry{year--year}{Job title}{Employer}{City}{}{Description}
@ -341,20 +341,20 @@ Let's put all together and see in figure \ref{fig:sections} what is the result:
\subsection{Miscellaneous} \subsection{Miscellaneous}
\cventry{year--year}{Job title}{Employer}{City}{}% \cventry{year--year}{Job title}{Employer}{City}{}%
{Description line 1\newline{}Description line 2} {Description line 1\newline{}Description line 2}
% %
\section{Languages} \section{Languages}
\cvlanguage{language 1}{Skill level}{Comment} \cvlanguage{language 1}{Skill level}{Comment}
\cvlanguage{language 2}{Skill level}{Comment} \cvlanguage{language 2}{Skill level}{Comment}
% %
\section{Computer skills} \section{Computer skills}
\cvcomputer{category 1}{XXX, YYY, ZZZ}{category 3}{XXX, YYY, ZZZ} \cvcomputer{category 1}{XXX, YYY, ZZZ}{category 3}{XXX, YYY, ZZZ}
\cvcomputer{category 2}{XXX, YYY, ZZZ}{category 4}{XXX, YYY, ZZZ} \cvcomputer{category 2}{XXX, YYY, ZZZ}{category 4}{XXX, YYY, ZZZ}
% %
\section{Interests} \section{Interests}
\cvline{hobby 1}{\small Description} \cvline{hobby 1}{\small Description}
\cvline{hobby 2}{\small Description} \cvline{hobby 2}{\small Description}
\cvline{hobby 3}{\small Description} \cvline{hobby 3}{\small Description}
% %
\closesection{} \closesection{}
\pagebreak \pagebreak
% %
@ -371,15 +371,15 @@ Let's put all together and see in figure \ref{fig:sections} what is the result:
% Publications from a BibTeX file % Publications from a BibTeX file
\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
% %
\end{document} \end{document}
\end{verbatim} \end{verbatim}
\begin{figure}[!ht] \begin{figure}[!ht]
\centering \centering
\fbox{\includegraphics[angle=90,width=\textwidth]{test_cvsection2.pdf}}\\ \fbox{\includegraphics[angle=90,width=\textwidth]{test_cvsection2.pdf}}\\
\fbox{\includegraphics[angle=90,width=\textwidth]{test_cvsection1.pdf}} \fbox{\includegraphics[angle=90,width=\textwidth]{test_cvsection1.pdf}}
\caption{Example of usage of items inside cvsections.} \caption{Example of usage of items inside cvsections.}
\label{fig:sections} \label{fig:sections}
\end{figure} \end{figure}
@ -394,7 +394,7 @@ You can modify the symbols used for the personal data (phone number, the email,
For example: if you want to use the dingbat fonts, load the \texttt{pifont} package in the preamble, then substitute the default symbol \Telefon\ with the dingbat symbol \ding{38}\ by: For example: if you want to use the dingbat fonts, load the \texttt{pifont} package in the preamble, then substitute the default symbol \Telefon\ with the dingbat symbol \ding{38}\ by:
\begin{verbatim} \begin{verbatim}
\renewcommand{\phonesymbol}{\ding{38}} \renewcommand{\phonesymbol}{\ding{38}}
\end{verbatim} \end{verbatim}
You can change the symbol for lists in two way: You can change the symbol for lists in two way:
\begin{itemize} \begin{itemize}
@ -417,7 +417,7 @@ For example: the following code produces the result shown in figure \ref{fig:ex
\cvlistdoubleitem[\Neutral]{Item 1}{Item 4} \cvlistdoubleitem[\Neutral]{Item 1}{Item 4}
\cvlistdoubleitem[\Neutral]{Item 2}{Item 5} \cvlistdoubleitem[\Neutral]{Item 2}{Item 5}
\cvlistdoubleitem[\Neutral]{Item 3}{} \cvlistdoubleitem[\Neutral]{Item 3}{}
\end{verbatim} \end{verbatim}
\begin{figure}[!hbt] \begin{figure}[!hbt]
\centering \centering
@ -431,7 +431,7 @@ The different lengths used by moderncv are customizable by
\begin{verbatim} \begin{verbatim}
\setlength{<length>}{<new_dimensions>} \setlength{<length>}{<new_dimensions>}
\end{verbatim} \end{verbatim}
where \texttt{<length>} are \texttt{quote\-width}, \texttt{sep\-a\-ra\-tor\-col\-umn\-width}, \texttt{main\-col\-umn\-width}, \texttt{doub\-le\-i\-tem\-main\-col\-umn\-width}, \texttt{list\-i\-tem\-sym\-bol\-width}, \texttt{list\-doub\-le\-i\-tem\-main\-col\-umn\-width}, where \texttt{<length>} are \texttt{quote\-width}, \texttt{sep\-a\-ra\-tor\-col\-umn\-width}, \texttt{main\-col\-umn\-width}, \texttt{doub\-le\-i\-tem\-main\-col\-umn\-width}, \texttt{list\-i\-tem\-sym\-bol\-width}, \texttt{list\-doub\-le\-i\-tem\-main\-col\-umn\-width},
In particular, the first column can be set to any width. You can do that in two ways: In particular, the first column can be set to any width. You can do that in two ways:
\begin{itemize} \begin{itemize}
@ -454,7 +454,7 @@ Sometimes there is the need to add some lines at the end of the CV. For example,
\begin{verbatim} \begin{verbatim}
\emptysection{}\closesection \emptysection{}\closesection
\vfill \vfill
\begin{center} \begin{center}
\textit{\small Ai sensi del D. Lgs. 196/2003 ...} \textit{\small Ai sensi del D. Lgs. 196/2003 ...}
\end{center} \end{center}
\end{verbatim} \end{verbatim}

View file

@ -116,7 +116,7 @@
bookmarksdepth= 2,% to show sections and subsections bookmarksdepth= 2,% to show sections and subsections
pdfauthor = {\@firstname{}~\@lastname{}}, pdfauthor = {\@firstname{}~\@lastname{}},
pdftitle = pdftitle =
{\@firstname{}~\@lastname{}\expandafter\notblank\expandafter{\@title}{ -- \@title}{}}, %\notblank does not expand argument automatically {\@firstname{}~\@lastname{}\expandafter\notblank\expandafter{\@title}{ -- \@title}{}}, %\notblank does not expand argument automatically
pdfsubject = {R\'{e}sum\'{e} of \@firstname{}~\@lastname{}}, pdfsubject = {R\'{e}sum\'{e} of \@firstname{}~\@lastname{}},
pdfkeywords = {\@firstname{}~\@lastname{}, curriculum vit\ae{}, r\'{e}sum\'{e}}}} pdfkeywords = {\@firstname{}~\@lastname{}, curriculum vit\ae{}, r\'{e}sum\'{e}}}}
@ -255,8 +255,8 @@
% http://latex.org/forum/viewtopic.php?t=12239 % http://latex.org/forum/viewtopic.php?t=12239
\def\SplitMyMacro#1/#2{#2} \def\SplitMyMacro#1/#2{#2}
% adds a social link to one's personal information (optional) % adds a social link to one's personal information (optional)
% usage: \social[<optional type>][<optional url>]{<account name>} % usage: \social[<optional type>][<optional url>]{<account name>}
% where <optional type> should be either: % where <optional type> should be either:

View file

@ -16,7 +16,7 @@
%------------------------------------------------------------------------------- %-------------------------------------------------------------------------------
% required packages % required packages
%------------------------------------------------------------------------------- %-------------------------------------------------------------------------------
% provides the commands for the skillmatrix as well as the command % provides the commands for the skillmatrix as well as the command
% \recompute@cvskillmatrix@lengths % \recompute@cvskillmatrix@lengths
\RequirePackage[moderncvbodyi]{moderncvskillmatrix} \RequirePackage[moderncvbodyi]{moderncvskillmatrix}

View file

@ -37,7 +37,7 @@
%------------------------------------------------------------------------------- %-------------------------------------------------------------------------------
% required packages % required packages
%------------------------------------------------------------------------------- %-------------------------------------------------------------------------------
% provides the commands for the skillmatrix as well as the command % provides the commands for the skillmatrix as well as the command
% \recompute@cvskillmatrix@lengths % \recompute@cvskillmatrix@lengths
\RequirePackage[moderncvbodyiii]{moderncvskillmatrix} \RequirePackage[moderncvbodyiii]{moderncvskillmatrix}

View file

@ -16,7 +16,7 @@
%------------------------------------------------------------------------------- %-------------------------------------------------------------------------------
% required packages % required packages
%------------------------------------------------------------------------------- %-------------------------------------------------------------------------------
% provides the commands for the skillmatrix as well as the command % provides the commands for the skillmatrix as well as the command
% \recompute@cvskillmatrix@lengths % \recompute@cvskillmatrix@lengths
\RequirePackage[moderncvbodyiv]{moderncvskillmatrix} \RequirePackage[moderncvbodyiv]{moderncvskillmatrix}

View file

@ -16,7 +16,7 @@
%------------------------------------------------------------------------------- %-------------------------------------------------------------------------------
% required packages % required packages
%------------------------------------------------------------------------------- %-------------------------------------------------------------------------------
% provides the commands for the skillmatrix as well as the command % provides the commands for the skillmatrix as well as the command
% \recompute@cvskillmatrix@lengths % \recompute@cvskillmatrix@lengths
\RequirePackage[moderncvbodyv]{moderncvskillmatrix} \RequirePackage[moderncvbodyv]{moderncvskillmatrix}

View file

@ -32,7 +32,7 @@
\begin{tikzpicture}[remember picture,overlay] \begin{tikzpicture}[remember picture,overlay]
\begin{pgfonlayer}{background} \begin{pgfonlayer}{background}
\coordinate (a\thedebugrule); \coordinate (a\thedebugrule);
\draw[red,thin,#1] \draw[red,thin,#1]
([xshift=#2]a\thedebugrule|-current page.north) -- ([xshift=#2]a\thedebugrule|-current page.south); ([xshift=#2]a\thedebugrule|-current page.north) -- ([xshift=#2]a\thedebugrule|-current page.south);
\end{pgfonlayer} \end{pgfonlayer}
\end{tikzpicture}} \end{tikzpicture}}
@ -42,7 +42,7 @@
\begin{tikzpicture}[remember picture,overlay] \begin{tikzpicture}[remember picture,overlay]
\begin{pgfonlayer}{background} \begin{pgfonlayer}{background}
\coordinate (b\thedebugrule); \coordinate (b\thedebugrule);
\draw[red,thin,#1] \draw[red,thin,#1]
([yshift=#2]b\thedebugrule-|current page.west) -- ([yshift=#2]b\thedebugrule-|current page.east); ([yshift=#2]b\thedebugrule-|current page.west) -- ([yshift=#2]b\thedebugrule-|current page.east);
\end{pgfonlayer} \end{pgfonlayer}
\end{tikzpicture}} \end{tikzpicture}}

View file

@ -218,7 +218,7 @@
\protect\begin{tikzpicture}[x=0.11em, y=0.11em, xscale=0.015, yscale=-0.015, inner sep=0pt, outer sep=0pt] \protect\begin{tikzpicture}[x=0.11em, y=0.11em, xscale=0.015, yscale=-0.015, inner sep=0pt, outer sep=0pt]
\protect\begin{scope}[shift={(507,387)}] \protect\begin{scope}[shift={(507,387)}]
\protect\path[fill=color2,line width=0.057pt] \protect\path[fill=color2,line width=0.057pt]
(105.2000,24.9000) .. controls (102.1000,16.0000) and (89.5000,16.0000) .. (105.2000,24.9000) .. controls (102.1000,16.0000) and (89.5000,16.0000) ..
(86.3000,24.9000) -- (29.8000,199.7000) -- (161.7000,199.7000) .. controls (86.3000,24.9000) -- (29.8000,199.7000) -- (161.7000,199.7000) .. controls
(161.7000,199.7000) and (105.2000,24.9000) .. (105.2000,24.9000) -- cycle (161.7000,199.7000) and (105.2000,24.9000) .. (105.2000,24.9000) -- cycle
(0.9000,287.7000) .. controls (-1.7000,295.7000) and (1.2000,304.6000) .. (0.9000,287.7000) .. controls (-1.7000,295.7000) and (1.2000,304.6000) ..
@ -327,7 +327,7 @@
\protect\raisebox{-0.12em}{ \protect\raisebox{-0.12em}{
\protect\begin{tikzpicture}[y=1.8pt, x=1.8pt, yscale=-0.15, xscale=0.15, inner sep=0pt, outer sep=0pt] \protect\begin{tikzpicture}[y=1.8pt, x=1.8pt, yscale=-0.15, xscale=0.15, inner sep=0pt, outer sep=0pt]
\protect\begin{scope}[shift={(507,387)}] \protect\begin{scope}[shift={(507,387)}]
\protect\path[fill=color2] \protect\path[fill=color2]
(0.9360,0.7320) .. controls (0.9360,10.9053) and (0.9360,21.0787) .. (0.9360,0.7320) .. controls (0.9360,10.9053) and (0.9360,21.0787) ..
(0.9360,31.2520) .. controls (1.6673,31.2520) and (2.3987,31.2520) .. (0.9360,31.2520) .. controls (1.6673,31.2520) and (2.3987,31.2520) ..
(3.1300,31.2520) .. controls (3.3452,32.0075) and (2.8778,32.0803) .. (3.1300,31.2520) .. controls (3.3452,32.0075) and (2.8778,32.0803) ..
@ -374,7 +374,7 @@
\protect\raisebox{-0.12em}{ \protect\raisebox{-0.12em}{
\protect\begin{tikzpicture}[y=0.1pt, x=0.1pt, yscale=-0.13, xscale=0.13, inner sep=0pt, outer sep=0pt] \protect\begin{tikzpicture}[y=0.1pt, x=0.1pt, yscale=-0.13, xscale=0.13, inner sep=0pt, outer sep=0pt]
\protect\begin{scope}[shift={(507,387)}] \protect\begin{scope}[shift={(507,387)}]
\protect\path[fill=color2] \protect\path[fill=color2]
(430.1000,180.9000) -- (437.8000,211.9000) .. controls (407.6000,219.3000) (430.1000,180.9000) -- (437.8000,211.9000) .. controls (407.6000,219.3000)
and (378.7000,231.3000) .. (352.1000,247.3000) -- (335.7000,220.0000) .. and (378.7000,231.3000) .. (352.1000,247.3000) -- (335.7000,220.0000) ..
controls (365.0000,202.3000) and (396.9000,189.1000) .. (430.1000,180.9000) -- controls (365.0000,202.3000) and (396.9000,189.1000) .. (430.1000,180.9000) --
@ -448,7 +448,7 @@
(11249.8942,-1872.9296)arc(269.285:169.240:0.201313 and 0.150) -- (11249.8942,-1872.9296)arc(269.285:169.240:0.201313 and 0.150) --
(11258.5852,-1839.4433)arc(66.699:32.084:23.067) -- (11258.5852,-1839.4433)arc(66.699:32.084:23.067) --
(11250.0698,-1872.8557)arc(329.460:269.346:0.201313 and 0.150) -- cycle; (11250.0698,-1872.8557)arc(329.460:269.346:0.201313 and 0.150) -- cycle;
\protect\path[scale=0.265, fill=color2, line width=0.426pt] \protect\path[scale=0.265, fill=color2, line width=0.426pt]
(11249.3743,-1883.6959)arc(269.785:180.000:23.067)arc(180.001:147.920:23.067) (11249.3743,-1883.6959)arc(269.785:180.000:23.067)arc(180.001:147.920:23.067)
-- (11249.1480,-1873.2412)arc(209.929:330.071:0.360097 and 0.269) -- -- (11249.1480,-1873.2412)arc(209.929:330.071:0.360097 and 0.269) --

View file

@ -2,30 +2,30 @@
%% Copyright 2021 David Seus (cryptointerest@posteo.de). %% Copyright 2021 David Seus (cryptointerest@posteo.de).
% %
% This package provides a skill matrix template for the moderncv package. % This package provides a skill matrix template for the moderncv package.
% Some recruiting firms require applicants to rate their skills, computer % Some recruiting firms require applicants to rate their skills, computer
% skills, management tools, or similar in a table involving a graphical % skills, management tools, or similar in a table involving a graphical
% illustration of their skill level. This package implements this idea % illustration of their skill level. This package implements this idea
% and provides the following commands to use within the moderncv % and provides the following commands to use within the moderncv
% package: % package:
% %
% %
% PUBLIC COMMANDS % PUBLIC COMMANDS
% \cvskill{<1-5>} % \cvskill{<1-5>}
% Illustrate skill level with little colored boxes. % Illustrate skill level with little colored boxes.
% By default five skill levels are predefined. % By default five skill levels are predefined.
% %
% Input: % Input:
% input_1: integer between 0 and 5 % input_1: integer between 0 and 5
% %
% Example usages: % Example usages:
% \cvskill{3} % \cvskill{3}
% %
% %
% \cvskilllegend[*][<post_padding>][<first_level>][<second_level>][<third_level>][<fourth_level>][<fifth_level>]{<name>} % \cvskilllegend[*][<post_padding>][<first_level>][<second_level>][<third_level>][<fourth_level>][<fifth_level>]{<name>}
% Print legend table explaining the meaning of \cvskill{1}...\cvskill{5}. % Print legend table explaining the meaning of \cvskill{1}...\cvskill{5}.
% %
% Input: % Input:
% asterix (optional): include vertical (dashed) lines. This behaviour depends on the body style. % asterix (optional): include vertical (dashed) lines. This behaviour depends on the body style.
% For the fancy style, the asterix has no meaning. % For the fancy style, the asterix has no meaning.
% input_1 (optional): padding length appended to the legend, default: <0.25em> % input_1 (optional): padding length appended to the legend, default: <0.25em>
% input_2 (optional): string describing meaning of \cvskill{1}, default: <basic knowledge> % input_2 (optional): string describing meaning of \cvskill{1}, default: <basic knowledge>
@ -34,25 +34,25 @@
% input_5 (optional): string describing meaning of \cvskill{4}, default: <deepened expert knowledge> % input_5 (optional): string describing meaning of \cvskill{4}, default: <deepened expert knowledge>
% input_6 (optional): string describing meaning of \cvskill{5}, default: <expert/guru> % input_6 (optional): string describing meaning of \cvskill{5}, default: <expert/guru>
% input_7: string giving a name to the legend, default: <> % input_7: string giving a name to the legend, default: <>
% %
% Example usages: % Example usages:
% \cvskilllegend{} print default legend % \cvskilllegend{} print default legend
% \cvskilllegend[0.5em]{Legend} print default legend, but adjust post padding and display the word ``Legend''. % \cvskilllegend[0.5em]{Legend} print default legend, but adjust post padding and display the word ``Legend''.
% \cvskilllegend*[0.2em][Grundkenntnisse][Grundkenntnisse und eigene Erfahrung in Projekten][Umfangreiche Erfahrung in Projekten][Vertiefte Expertenkenntnisse][Experte/Guru]{Legende} Fully adjust legend to German example and including dashed lines % \cvskilllegend*[0.2em][Grundkenntnisse][Grundkenntnisse und eigene Erfahrung in Projekten][Umfangreiche Erfahrung in Projekten][Vertiefte Expertenkenntnisse][Experte/Guru]{Legende} Fully adjust legend to German example and including dashed lines
% %
% Note: % Note:
% -The width of the columns can be adjusted by the \setcvskilllegendcolumns, see \setcvskilllegendcolumns % -The width of the columns can be adjusted by the \setcvskilllegendcolumns, see \setcvskilllegendcolumns
% -The design of the table is such that the <second_level> entry stands in the first column but % -The design of the table is such that the <second_level> entry stands in the first column but
% occupies rows two and three. This has been done to accomodate english and german defaults. % occupies rows two and three. This has been done to accomodate english and german defaults.
% An alternative is provided by \cvskillplainlegend % An alternative is provided by \cvskillplainlegend
% %
% %
% \cvskillplainlegend[*][<post_padding>][<first_level>][<second_level>][<third_level>][<fourth_level>][<fifth_level>]{<name>} % \cvskillplainlegend[*][<post_padding>][<first_level>][<second_level>][<third_level>][<fourth_level>][<fifth_level>]{<name>}
% Print alternative legend table explaining the meaning of \cvskill{1}...\cvskill{5}. % Print alternative legend table explaining the meaning of \cvskill{1}...\cvskill{5}.
% In this legend, the first three skill levels are in one column % In this legend, the first three skill levels are in one column
% %
% Input: % Input:
% asterix (optional): include vertical (dashed) lines. This behaviour depends on the body style. % asterix (optional): include vertical (dashed) lines. This behaviour depends on the body style.
% For the fancy style, the asterix has no meaning. % For the fancy style, the asterix has no meaning.
% input_1 (optional): padding length appended to the legend, default: <0.25em> % input_1 (optional): padding length appended to the legend, default: <0.25em>
% input_2 (optional): string describing meaning of \cvskill{1}, default: <basic knowledge> % input_2 (optional): string describing meaning of \cvskill{1}, default: <basic knowledge>
@ -61,40 +61,40 @@
% input_5 (optional): string describing meaning of \cvskill{4}, default: <deepened expert knowledge> % input_5 (optional): string describing meaning of \cvskill{4}, default: <deepened expert knowledge>
% input_6 (optional): string describing meaning of \cvskill{5}, default: <expert/guru> % input_6 (optional): string describing meaning of \cvskill{5}, default: <expert/guru>
% input_7: string giving a name to the legend, default: <> % input_7: string giving a name to the legend, default: <>
% %
% Example usages: % Example usages:
% \cvskillplainlegend{} print default legend % \cvskillplainlegend{} print default legend
% \cvskillplainlegend[0.5em]{Legend} print default legend, but adjust post padding and display the word ``Legend''. % \cvskillplainlegend[0.5em]{Legend} print default legend, but adjust post padding and display the word ``Legend''.
% \cvskillplainlegend*[0.2em][Grundkenntnisse][Grundkenntnisse und eigene Erfahrung in Projekten][Umfangreiche Erfahrung in Projekten][Vertiefte Expertenkenntnisse][Experte/Guru]{Legende} Fully adjust legend to German example and including dashed lines % \cvskillplainlegend*[0.2em][Grundkenntnisse][Grundkenntnisse und eigene Erfahrung in Projekten][Umfangreiche Erfahrung in Projekten][Vertiefte Expertenkenntnisse][Experte/Guru]{Legende} Fully adjust legend to German example and including dashed lines
% %
% Note: % Note:
% -The width of the columns can be adjusted by the \setcvskilllegendcolumns, see \setcvskilllegendcolumns % -The width of the columns can be adjusted by the \setcvskilllegendcolumns, see \setcvskilllegendcolumns
% %
% %
% \cvskillhead[<post_padding>][<Level>][<Skill>][<Years>][<Comment>]% % \cvskillhead[<post_padding>][<Level>][<Skill>][<Years>][<Comment>]%
% add skill matrix line acting as header explaining the meaning of columns. % add skill matrix line acting as header explaining the meaning of columns.
% %
% Input: % Input:
% input_1 (optional): padding length appended to the legend, default: <0.25em> % input_1 (optional): padding length appended to the legend, default: <0.25em>
% input_2 (optional): string naming the level column (2nd column), default: <Level> % input_2 (optional): string naming the level column (2nd column), default: <Level>
% input_3 (optional): string naming the skill column (3nd column), default: <Skill> % input_3 (optional): string naming the skill column (3nd column), default: <Skill>
% input_4 (optional): string naming the experience-in-years column (4th column), default: <Years> % input_4 (optional): string naming the experience-in-years column (4th column), default: <Years>
% input_5 (optional): string naming the comment column (5th column), default: <Comment> % input_5 (optional): string naming the comment column (5th column), default: <Comment>
% %
% Example usages: % Example usages:
% \cvskillhead print default head. % \cvskillhead print default head.
% \cvskillhead[0.5em] print default head, but adjust post padding. % \cvskillhead[0.5em] print default head, but adjust post padding.
% \cvskillhead[0.25em][Level][F\"ahigkeit][Jahre][Bemerkung] Fully adjust head to German example % \cvskillhead[0.25em][Level][F\"ahigkeit][Jahre][Bemerkung] Fully adjust head to German example
% %
% Note: % Note:
% - The width of the columns can be adjusted by the \setcvskillcolumns command, see \setcvskillcolumns. % - The width of the columns can be adjusted by the \setcvskillcolumns command, see \setcvskillcolumns.
% %
% %
% \cvskillentry[*][<post_padding>]{<skill_cathegory>}{<0-5>}{<skill_name>}{<years_of_experience>}{<comment>}% % \cvskillentry[*][<post_padding>]{<skill_cathegory>}{<0-5>}{<skill_name>}{<years_of_experience>}{<comment>}%
% add cvskill matrix row. % add cvskill matrix row.
% %
% Input: % Input:
% asterix (optional): include horizontal (dashed) line above the entered line. This behaviour depends on the body style. % asterix (optional): include horizontal (dashed) line above the entered line. This behaviour depends on the body style.
% For the fancy style, the asterix has no meaning. % For the fancy style, the asterix has no meaning.
% input_1 (optional): padding length appended to the legend, default: <0.25em> % input_1 (optional): padding length appended to the legend, default: <0.25em>
% input_2: string, naming skill cathegory, default: <> % input_2: string, naming skill cathegory, default: <>
@ -102,98 +102,98 @@
% input_4: string, naming the skill, default: <> % input_4: string, naming the skill, default: <>
% input_5: positive real number, stating the number of years of experience with this skill , default: <> % input_5: positive real number, stating the number of years of experience with this skill , default: <>
% input_6: string, explaining details w.r.t. that particual skill default: <> % input_6: string, explaining details w.r.t. that particual skill default: <>
% %
% Example usages: % Example usages:
% \cvskillentry*{Language:}{3}{Python}{2}{I have done a million projects with Python} % \cvskillentry*{Language:}{3}{Python}{2}{I have done a million projects with Python}
% \cvskillentry{}{2}{Lilypond}{14}{So much sheet music! Man I'm the best!} % \cvskillentry{}{2}{Lilypond}{14}{So much sheet music! Man I'm the best!}
% \cvskillentry{}{3}{\LaTeX}{14}{Clearly I rock at \LaTeX} % \cvskillentry{}{3}{\LaTeX}{14}{Clearly I rock at \LaTeX}
% \cvskillentry*[1.5em]{OS:}{3}{Linux}{2}{I only use Archlinux} % \cvskillentry*[1.5em]{OS:}{3}{Linux}{2}{I only use Archlinux}
% %
% Note: % Note:
% - The width of the columns can be adjusted by the \setcvskillcolumns command, see \setcvskillcolumns. % - The width of the columns can be adjusted by the \setcvskillcolumns command, see \setcvskillcolumns.
% %
% %
% \setcvskillcolumns[<width>][<factor>][<exp_width>] % \setcvskillcolumns[<width>][<factor>][<exp_width>]
% adjust column width of skill table % adjust column width of skill table
% %
% The \cvskillentry command comes with default FIXED width definitions of the kill matrix for the columns % The \cvskillentry command comes with default FIXED width definitions of the kill matrix for the columns
% based on the author's own skill matrix. This is necessary to ensure that the entries are nicely aligned % based on the author's own skill matrix. This is necessary to ensure that the entries are nicely aligned
% and actually yield a decent looking table. The defaults depend on the style used and are chosen reasonably. % and actually yield a decent looking table. The defaults depend on the style used and are chosen reasonably.
% However, depending on the user input and the style that is used some of the columns might need adjustments. % However, depending on the user input and the style that is used some of the columns might need adjustments.
% The \setcvskillcolumns command provides means to influence the width of the first, the third and the fourth % The \setcvskillcolumns command provides means to influence the width of the first, the third and the fourth
% skill matrix column. The second column containg the output of \cvskill remains fixed width. The last column, % skill matrix column. The second column containg the output of \cvskill remains fixed width. The last column,
% the comment column gets recalculated according to the setting of the other columns. % the comment column gets recalculated according to the setting of the other columns.
% %
% Input % Input
% Input_1 (optional): width smaller than \textwidth, default <\skillmatrix@hintscolumnwidth> % Input_1 (optional): width smaller than \textwidth, default <\skillmatrix@hintscolumnwidth>
% Input_2 (optional): float between 0 and 1 adjusting how much percent of the table width without % Input_2 (optional): float between 0 and 1 adjusting how much percent of the table width without
% the first column is used columns two, three and four. Through this parameter % the first column is used columns two, three and four. Through this parameter
% the width of the 3rd column (skill name) can be adjusted, default <\skillmatrix@columnwidth> % the width of the 3rd column (skill name) can be adjusted, default <\skillmatrix@columnwidth>
% Input_3 (optional): width smaller than \textwidth, setting the width of the 4th column % Input_3 (optional): width smaller than \textwidth, setting the width of the 4th column
% (Years of experience), default <\cvskill@experiencewidth> % (Years of experience), default <\cvskill@experiencewidth>
% %
% Example usage % Example usage
% \setcvskillcolumns[5em][][]% adjust first column. Same as \setcvskillcolumns[5em] % \setcvskillcolumns[5em][][]% adjust first column. Same as \setcvskillcolumns[5em]
% \setcvskillcolumns[][0.45][]% adjust third (skill) column. Same as \setcvskillcolumns[][0.45] % \setcvskillcolumns[][0.45][]% adjust third (skill) column. Same as \setcvskillcolumns[][0.45]
% \setcvskillcolumns[][][\widthof{``Year''}]% adjust fourth (years) column. % \setcvskillcolumns[][][\widthof{``Year''}]% adjust fourth (years) column.
% \setcvskillcolumns[\widthof{``Language''}][0.48][]% adjust 1st and 3rd columns. Same as \setcvskillcolumns[\widthof{``Language''}][0.45] % \setcvskillcolumns[\widthof{``Language''}][0.48][]% adjust 1st and 3rd columns. Same as \setcvskillcolumns[\widthof{``Language''}][0.45]
% \setcvskillcolumns[\widthof{``Management Tools''}][0.6][3em]% ajust all at once. % \setcvskillcolumns[\widthof{``Management Tools''}][0.6][3em]% ajust all at once.
% %
% Note % Note
% - For the styles 'classic' and 'casual' the first column is set to hintscolumnwidth such that % - For the styles 'classic' and 'casual' the first column is set to hintscolumnwidth such that
% it aligns with the rest of the entries. A readjustment of the first column should therefor % it aligns with the rest of the entries. A readjustment of the first column should therefor
% be avoided. It is recomended to only use \setcvskillcolumns in the form of % be avoided. It is recomended to only use \setcvskillcolumns in the form of
% \setcvskillcolumns[][<factor>][<width>], thereby leaving the defaults in place for the first column. % \setcvskillcolumns[][<factor>][<width>], thereby leaving the defaults in place for the first column.
% %
% %
% \setcvskilllegendcolumns[<width>][<factor>] % \setcvskilllegendcolumns[<width>][<factor>]
% adjust column width of legend % adjust column width of legend
% %
% The \cvskilllegend command comes with default FIXED width definitions for the columns of the legend matrix % The \cvskilllegend command comes with default FIXED width definitions for the columns of the legend matrix
% such that the default english and german examples look good. % such that the default english and german examples look good.
% However, depending on the user input (translation) and the style that is used some adjustment might be needed. % However, depending on the user input (translation) and the style that is used some adjustment might be needed.
% The \setcvskilllegendcolumns command provides means to influence all columns except the ones containing % The \setcvskilllegendcolumns command provides means to influence all columns except the ones containing
% \cvskill commands. The second column containg the output of \cvskill remains fixed width. The last column, % \cvskill commands. The second column containg the output of \cvskill remains fixed width. The last column,
% the comment column gets recalculated according to the setting of the other columns. % the comment column gets recalculated according to the setting of the other columns.
% %
% Input % Input
% Input_1 (optional): length smaller than \textwidth influencing the width of the first column % Input_1 (optional): length smaller than \textwidth influencing the width of the first column
% where depending on the style the legend_string gets printed. In case the % where depending on the style the legend_string gets printed. In case the
% string is left empty adjusting this width allows moving the legend horizontally. % string is left empty adjusting this width allows moving the legend horizontally.
% Default <\skilllegend@hintscolumnwidth> % Default <\skilllegend@hintscolumnwidth>
% Input_2 (optional): float between 0 and 1 influencing the width of the left legend descritor column, % Input_2 (optional): float between 0 and 1 influencing the width of the left legend descritor column,
% aka \cvskilllegend@leftdescriptorwidth. The desriptor column on the right, % aka \cvskilllegend@leftdescriptorwidth. The desriptor column on the right,
% \cvskilllegend@rightdescriptorwidth is influenced by the factor 1-<factor>. % \cvskilllegend@rightdescriptorwidth is influenced by the factor 1-<factor>.
% Default <\skilllegend@leftdesriptorfactor> % Default <\skilllegend@leftdesriptorfactor>
% %
% Example usage % Example usage
% \setcvskilllegendcolumns[][0.45]%% adjust left desriptor column. % \setcvskilllegendcolumns[][0.45]%% adjust left desriptor column.
% \setcvskilllegendcolumns[\widthof{``Legend''}][0.45]% adjust both left descriptor column and string column % \setcvskilllegendcolumns[\widthof{``Legend''}][0.45]% adjust both left descriptor column and string column
% %
% Note % Note
% - Due to implementation of \cvskilllegend for style 'fancy' (moderncvbodyv) % - Due to implementation of \cvskilllegend for style 'fancy' (moderncvbodyv)
% the first optional variable has no effect in this case. % the first optional variable has no effect in this case.
% - For the styles 'classic' and 'casual' the first column is set to hintscolumnwidth such that % - For the styles 'classic' and 'casual' the first column is set to hintscolumnwidth such that
% it aligns with the rest of the entries. A readjustment of the first column should therefor % it aligns with the rest of the entries. A readjustment of the first column should therefor
% be avoided. It is recomended to only use \cvskilllegend in the form of % be avoided. It is recomended to only use \cvskilllegend in the form of
% \cvskilllegend[][<factor>], thereby leaving the defaults in place for the first column. % \cvskilllegend[][<factor>], thereby leaving the defaults in place for the first column.
% - For style 'banking' the first column is set to align with the rest of the \cvskillentry entries % - For style 'banking' the first column is set to align with the rest of the \cvskillentry entries
% Therefor adjusting the first column can be used to widen the table while moving it around. If no % Therefor adjusting the first column can be used to widen the table while moving it around. If no
% legend string is used, setting \cvskilllegend[0em] maximises the real enstate for the legend. % legend string is used, setting \cvskilllegend[0em] maximises the real enstate for the legend.
% %
% %
% PRIVATE COMMANDS % PRIVATE COMMANDS
% %
% \recompute@cvskillmatrix@lengths % \recompute@cvskillmatrix@lengths
% compute all lengths necessary for the skill matrix depending on % compute all lengths necessary for the skill matrix depending on
% the moderncv style (moderncvbody) % the moderncv style (moderncvbody)
% %
% Input: none % Input: none
% %
% Example usage (only internally in moderncvbody<i-v>.sty) % Example usage (only internally in moderncvbody<i-v>.sty)
% \recompute@cvskillmatrix@lengths % \recompute@cvskillmatrix@lengths
% %
% %
% This work may be distributed and/or modified under the % This work may be distributed and/or modified under the
% conditions of the LaTeX Project Public License version 1.3c, % conditions of the LaTeX Project Public License version 1.3c,
% available at http://www.latex-project.org/lppl/. % available at http://www.latex-project.org/lppl/.
@ -205,8 +205,8 @@
\NeedsTeXFormat{LaTeX2e} \NeedsTeXFormat{LaTeX2e}
\ProvidesPackage{moderncvskillmatrix}[2022-02-21 v2.3.1 modern curriculum vitae and letter skill matrix] \ProvidesPackage{moderncvskillmatrix}[2022-02-21 v2.3.1 modern curriculum vitae and letter skill matrix]
% The definitions need to be adjusted depending on which moderncvbody<i-v>.sty style is usde. % The definitions need to be adjusted depending on which moderncvbody<i-v>.sty style is usde.
% body type options: "moderncvbodyi" (default), "moderncvbodyii", "moderncvbodyiii", "moderncvbodyiv" or "moderncvbodyv" % body type options: "moderncvbodyi" (default), "moderncvbodyii", "moderncvbodyiii", "moderncvbodyiv" or "moderncvbodyv"
\@initializeif{\if@moderncvbodyi}\@moderncvbodyifalse \@initializeif{\if@moderncvbodyi}\@moderncvbodyifalse
\DeclareOption{moderncvbodyi}{\@moderncvbodyitrue\@moderncvbodyiifalse\@moderncvbodyiiifalse\@moderncvbodyivfalse\@moderncvbodyvfalse} \DeclareOption{moderncvbodyi}{\@moderncvbodyitrue\@moderncvbodyiifalse\@moderncvbodyiiifalse\@moderncvbodyivfalse\@moderncvbodyvfalse}
\@initializeif{\if@moderncvbodyii}\@moderncvbodyiifalse % this option is added in case moderncvbodyii gets implemented standalone \@initializeif{\if@moderncvbodyii}\@moderncvbodyiifalse % this option is added in case moderncvbodyii gets implemented standalone
@ -244,11 +244,11 @@
\newcount\my@repeat@count \newcount\my@repeat@count
\DeclareDocumentCommand{\cvskill}{m}{% \DeclareDocumentCommand{\cvskill}{m}{%
% Illustrate skill level with little colored boxes. % Illustrate skill level with little colored boxes.
% By default five skill levels are predefined. % By default five skill levels are predefined.
% %
% Input: % Input:
% integer between 0 and 5 % integer between 0 and 5
% Example usage: % Example usage:
% \cvskill{3} % \cvskill{3}
\begingroup \begingroup
\my@repeat@count=\z@ \my@repeat@count=\z@
@ -279,10 +279,10 @@
\@initializelength{\skilllegend@padding} \@initializelength{\skilllegend@padding}
\@initializelength{\skilllegend@bodylength} \@initializelength{\skilllegend@bodylength}
% \separatorrulewidth is defined in moderncvbodyv.sty and we need to % \separatorrulewidth is defined in moderncvbodyv.sty and we need to
% define it to not throw an error in the other cases % define it to not throw an error in the other cases
\if@moderncvbodyv% \if@moderncvbodyv%
% %
\else% \else%
\@initializelength{\separatorrulewidth} \@initializelength{\separatorrulewidth}
\setlength{\separatorrulewidth}{1ex} \setlength{\separatorrulewidth}{1ex}
@ -292,13 +292,13 @@
%% DEFINITION \recompute@cvskillmatrix@lengths %% DEFINITION \recompute@cvskillmatrix@lengths
% declare the command \recompute@cvskillmatrix@lengths empty % declare the command \recompute@cvskillmatrix@lengths empty
\DeclareDocumentCommand{\recompute@cvskillmatrix@lengths}{}{}% \DeclareDocumentCommand{\recompute@cvskillmatrix@lengths}{}{}%
% compute all lengths necessary for the skill matrix depending on % compute all lengths necessary for the skill matrix depending on
% the moderncv style (moderncvbody) % the moderncv style (moderncvbody)
% %
% Input: none % Input: none
% %
% Example usage (only internally in moderncvbody<i-v>.sty) % Example usage (only internally in moderncvbody<i-v>.sty)
% \recompute@cvskillmatrix@lengths % \recompute@cvskillmatrix@lengths
% Definition of \recompute@cvskillmatrix@lengths for moderncvbodyi % Definition of \recompute@cvskillmatrix@lengths for moderncvbodyi
\if@moderncvbodyi% \if@moderncvbodyi%
@ -332,7 +332,7 @@
\setlength{\cvskill@descriptorwidth}{\skillmatrix@columnwidth-\cvskill@width-\cvskill@experiencewidth}% \setlength{\cvskill@descriptorwidth}{\skillmatrix@columnwidth-\cvskill@width-\cvskill@experiencewidth}%
\setlength{\skillmatrix@commentwidth}{\skillmatrix@bodylength-\skillmatrix@columnwidth-3\skillmatrix@padding}% \setlength{\skillmatrix@commentwidth}{\skillmatrix@bodylength-\skillmatrix@columnwidth-3\skillmatrix@padding}%
% lengths and definitions needed for the legends % lengths and definitions needed for the legends
% note that \skillmatrix@padding also affects the appearance of legends % note that \skillmatrix@padding also affects the appearance of legends
\setlength{\skilllegend@padding}{0.25ex}% \setlength{\skilllegend@padding}{0.25ex}%
\setlength{\skilllegend@hintscolumnwidth}{\skillmatrix@hintscolumnwidth}% \setlength{\skilllegend@hintscolumnwidth}{\skillmatrix@hintscolumnwidth}%
\setlength{\skilllegend@bodylength}{\skillmatrix@bodylength}% \setlength{\skilllegend@bodylength}{\skillmatrix@bodylength}%
@ -352,7 +352,7 @@
\setlength{\cvskill@descriptorwidth}{\skillmatrix@columnwidth-\cvskill@width-\cvskill@experiencewidth} \setlength{\cvskill@descriptorwidth}{\skillmatrix@columnwidth-\cvskill@width-\cvskill@experiencewidth}
\setlength{\skillmatrix@commentwidth}{\skillmatrix@bodylength-\skillmatrix@columnwidth-3\skillmatrix@padding}% \setlength{\skillmatrix@commentwidth}{\skillmatrix@bodylength-\skillmatrix@columnwidth-3\skillmatrix@padding}%
% lengths and definitions needed for the legends % lengths and definitions needed for the legends
% note that \skillmatrix@padding also affects the appearance of legends % note that \skillmatrix@padding also affects the appearance of legends
\setlength{\skilllegend@padding}{0.25ex} \setlength{\skilllegend@padding}{0.25ex}
\setlength{\skilllegend@hintscolumnwidth}{0ex}%\skillmatrix@hintscolumnwidth \setlength{\skilllegend@hintscolumnwidth}{0ex}%\skillmatrix@hintscolumnwidth
\setlength{\skilllegend@bodylength}{\maincolumnwidth} \setlength{\skilllegend@bodylength}{\maincolumnwidth}
@ -371,7 +371,7 @@
\setlength{\cvskill@descriptorwidth}{\skillmatrix@columnwidth-\cvskill@width-\cvskill@experiencewidth}% \setlength{\cvskill@descriptorwidth}{\skillmatrix@columnwidth-\cvskill@width-\cvskill@experiencewidth}%
\setlength{\skillmatrix@commentwidth}{\skillmatrix@bodylength-\skillmatrix@columnwidth-3\skillmatrix@padding}% \setlength{\skillmatrix@commentwidth}{\skillmatrix@bodylength-\skillmatrix@columnwidth-3\skillmatrix@padding}%
% lengths and definitions needed for the legends % lengths and definitions needed for the legends
% note that \skillmatrix@padding also affects the appearance of legends % note that \skillmatrix@padding also affects the appearance of legends
\setlength{\skilllegend@padding}{0.25ex}% \setlength{\skilllegend@padding}{0.25ex}%
\setlength{\skilllegend@hintscolumnwidth}{\skillmatrix@hintscolumnwidth}% \setlength{\skilllegend@hintscolumnwidth}{\skillmatrix@hintscolumnwidth}%
\setlength{\skilllegend@bodylength}{\maincolumnwidth}% \setlength{\skilllegend@bodylength}{\maincolumnwidth}%
@ -385,43 +385,43 @@
% \setcvskillcolumns[<width>][<factor>][<exp_width>] % \setcvskillcolumns[<width>][<factor>][<exp_width>]
\DeclareDocumentCommand{\setcvskillcolumns}{+O{\skillmatrix@hintscolumnwidth} +O{\skillmatrix@columnwidth} +O{\cvskill@experiencewidth}}{% \DeclareDocumentCommand{\setcvskillcolumns}{+O{\skillmatrix@hintscolumnwidth} +O{\skillmatrix@columnwidth} +O{\cvskill@experiencewidth}}{%
% adjust column width of skill table % adjust column width of skill table
% %
% The \cvskillentry command comes with default FIXED width definitions of the kill matrix for the columns % The \cvskillentry command comes with default FIXED width definitions of the kill matrix for the columns
% based on the author's own skill matrix. This is necessary to ensure that the entries are nicely aligned % based on the author's own skill matrix. This is necessary to ensure that the entries are nicely aligned
% and actually yield a decent looking table. The defaults depend on the style used and are chosen reasonably. % and actually yield a decent looking table. The defaults depend on the style used and are chosen reasonably.
% However, depending on the user input and the style that is used some of the columns might need adjustments. % However, depending on the user input and the style that is used some of the columns might need adjustments.
% The \setcvskillcolumns command provides means to influence the width of the first, the third and the fourth % The \setcvskillcolumns command provides means to influence the width of the first, the third and the fourth
% skill matrix column. The second column containg the output of \cvskill remains fixed width. The last column, % skill matrix column. The second column containg the output of \cvskill remains fixed width. The last column,
% the comment column gets recalculated according to the setting of the other columns. % the comment column gets recalculated according to the setting of the other columns.
% %
% Input % Input
% Input_1 (optional): width smaller than \textwidth, default <\skillmatrix@hintscolumnwidth> % Input_1 (optional): width smaller than \textwidth, default <\skillmatrix@hintscolumnwidth>
% Input_2 (optional): float between 0 and 1 adjusting how much percent of the table width without % Input_2 (optional): float between 0 and 1 adjusting how much percent of the table width without
% the first column is used columns two, three and four. Through this parameter % the first column is used columns two, three and four. Through this parameter
% the width of the 3rd column (skill name) can be adjusted, default <\skillmatrix@columnwidth> % the width of the 3rd column (skill name) can be adjusted, default <\skillmatrix@columnwidth>
% Input_3 (optional): width smaller than \textwidth, setting the width of the 4th column % Input_3 (optional): width smaller than \textwidth, setting the width of the 4th column
% (Years of experience), default <\cvskill@experiencewidth> % (Years of experience), default <\cvskill@experiencewidth>
% %
% Example usage % Example usage
% \setcvskillcolumns[5em][][]% adjust first column. Same as \setcvskillcolumns[5em] % \setcvskillcolumns[5em][][]% adjust first column. Same as \setcvskillcolumns[5em]
% \setcvskillcolumns[][0.45][]% adjust third (skill) column. Same as \setcvskillcolumns[][0.45] % \setcvskillcolumns[][0.45][]% adjust third (skill) column. Same as \setcvskillcolumns[][0.45]
% \setcvskillcolumns[][][\widthof{``Year''}]% adjust fourth (years) column. % \setcvskillcolumns[][][\widthof{``Year''}]% adjust fourth (years) column.
% \setcvskillcolumns[\widthof{``Language''}][0.48][]% adjust 1st and 3rd columns. Same as \setcvskillcolumns[\widthof{``Language''}][0.45] % \setcvskillcolumns[\widthof{``Language''}][0.48][]% adjust 1st and 3rd columns. Same as \setcvskillcolumns[\widthof{``Language''}][0.45]
% \setcvskillcolumns[\widthof{``Management Tools''}][0.6][3em]% ajust all at once. % \setcvskillcolumns[\widthof{``Management Tools''}][0.6][3em]% ajust all at once.
% %
% Note % Note
% - For the styles 'classic' and 'casual' the first column is set to hintscolumnwidth such that % - For the styles 'classic' and 'casual' the first column is set to hintscolumnwidth such that
% it aligns with the rest of the entries. A readjustment of the first column should therefor % it aligns with the rest of the entries. A readjustment of the first column should therefor
% be avoided. It is recomended to only use \setcvskillcolumns in the form of % be avoided. It is recomended to only use \setcvskillcolumns in the form of
% \setcvskillcolumns[][<factor>][<width>], thereby leaving the defaults in place for the first column. % \setcvskillcolumns[][<factor>][<width>], thereby leaving the defaults in place for the first column.
% %
\def\arg@new@hintscolumnwidth{#1}% <-- all these terminal % signs are necessary for the fancy style to not show weird spaces!!! \def\arg@new@hintscolumnwidth{#1}% <-- all these terminal % signs are necessary for the fancy style to not show weird spaces!!!
\def\arg@new@bodyLengthFactor{#2}% \def\arg@new@bodyLengthFactor{#2}%
\def\arg@new@experienceWidth{#3}% \def\arg@new@experienceWidth{#3}%
% Check for empty arguments. Defaults are given. Thus a call of \setcvskillcolumns % Check for empty arguments. Defaults are given. Thus a call of \setcvskillcolumns
% without any arguments leads to nonempty arguments \arg@new@hintscolumnwidth and % without any arguments leads to nonempty arguments \arg@new@hintscolumnwidth and
% \def\arg@new@bodyLengthFactor{#2}. However, we need to take care of calls like % \def\arg@new@bodyLengthFactor{#2}. However, we need to take care of calls like
% \setcvskillcolumns[], \setcvskillcolumns[][], \setcvskillcolumns[][][] or even % \setcvskillcolumns[], \setcvskillcolumns[][], \setcvskillcolumns[][][] or even
% \setcvskillcolumns[<somelength>][], \setcvskillcolumns[][<somefactor>] \setcvskillcolumns[][][<length>] % \setcvskillcolumns[<somelength>][], \setcvskillcolumns[][<somefactor>] \setcvskillcolumns[][][<length>]
\ifdefempty{\arg@new@hintscolumnwidth}{% \ifdefempty{\arg@new@hintscolumnwidth}{%
% Case \setcvskillcolumns[], \setcvskillcolumns[][] or \setcvskillcolumns[][<somefactor>] % Case \setcvskillcolumns[], \setcvskillcolumns[][] or \setcvskillcolumns[][<somefactor>]
@ -445,13 +445,13 @@
% \cvskill@descriptorwidth accordingly % \cvskill@descriptorwidth accordingly
\setlength{\cvskill@experiencewidth}{\arg@new@experienceWidth}% \setlength{\cvskill@experiencewidth}{\arg@new@experienceWidth}%
\setlength{\cvskill@descriptorwidth}{\skillmatrix@columnwidth-\cvskill@width-\cvskill@experiencewidth}% \setlength{\cvskill@descriptorwidth}{\skillmatrix@columnwidth-\cvskill@width-\cvskill@experiencewidth}%
}% }%
\setlength{\cvskill@descriptorwidth}{\skillmatrix@columnwidth-\cvskill@width-\cvskill@experiencewidth}% \setlength{\cvskill@descriptorwidth}{\skillmatrix@columnwidth-\cvskill@width-\cvskill@experiencewidth}%
\setlength{\skillmatrix@commentwidth}{\skillmatrix@bodylength-\skillmatrix@columnwidth-3\skillmatrix@padding}% \setlength{\skillmatrix@commentwidth}{\skillmatrix@bodylength-\skillmatrix@columnwidth-3\skillmatrix@padding}%
}% }%
% Case \setcvskillcolumns[] nothing needs to be done here recalculate lengths affected by the change % Case \setcvskillcolumns[] nothing needs to be done here recalculate lengths affected by the change
}{% }{%
% Case \setcvskillcolumns, \setcvskillcolumns[<width>], \setcvskillcolumns[<width>][] % Case \setcvskillcolumns, \setcvskillcolumns[<width>], \setcvskillcolumns[<width>][]
% or \setcvskillcolumns[<width>][<somefactor>] % or \setcvskillcolumns[<width>][<somefactor>]
\setlength{\skillmatrix@hintscolumnwidth}{\arg@new@hintscolumnwidth}% \setlength{\skillmatrix@hintscolumnwidth}{\arg@new@hintscolumnwidth}%
\setlength{\skillmatrix@bodylength}{\maincolumnwidth-\skillmatrix@hintscolumnwidth-\separatorcolumnwidth}% \setlength{\skillmatrix@bodylength}{\maincolumnwidth-\skillmatrix@hintscolumnwidth-\separatorcolumnwidth}%
@ -483,41 +483,41 @@
\setlength{\skillmatrix@commentwidth}{\skillmatrix@bodylength-\skillmatrix@columnwidth-3\skillmatrix@padding}% \setlength{\skillmatrix@commentwidth}{\skillmatrix@bodylength-\skillmatrix@columnwidth-3\skillmatrix@padding}%
}% }%
}% }%
% %
% \setcvskilllegendcolumns[<width>][<factor>] % \setcvskilllegendcolumns[<width>][<factor>]
\DeclareDocumentCommand{\setcvskilllegendcolumns}{+O{\skilllegend@hintscolumnwidth} +O{\skilllegend@leftdesriptorfactor}}{% \DeclareDocumentCommand{\setcvskilllegendcolumns}{+O{\skilllegend@hintscolumnwidth} +O{\skilllegend@leftdesriptorfactor}}{%
% adjust column width of legend % adjust column width of legend
% %
% The \cvskilllegend command comes with default FIXED width definitions for the columns of the legend matrix % The \cvskilllegend command comes with default FIXED width definitions for the columns of the legend matrix
% such that the default english and german examples look good. % such that the default english and german examples look good.
% However, depending on the user input (translation) and the style that is used some adjustment might be needed. % However, depending on the user input (translation) and the style that is used some adjustment might be needed.
% The \setcvskilllegendcolumns command provides means to influence all columns except the ones containing % The \setcvskilllegendcolumns command provides means to influence all columns except the ones containing
% \cvskill commands. The second column containg the output of \cvskill remains fixed width. The last column, % \cvskill commands. The second column containg the output of \cvskill remains fixed width. The last column,
% the comment column gets recalculated according to the setting of the other columns. % the comment column gets recalculated according to the setting of the other columns.
% %
% Input % Input
% Input_1 (optional): length smaller than \textwidth influencing the width of the first column % Input_1 (optional): length smaller than \textwidth influencing the width of the first column
% where depending on the style the legend_string gets printed. In case the % where depending on the style the legend_string gets printed. In case the
% string is left empty adjusting this width allows moving the legend horizontally. % string is left empty adjusting this width allows moving the legend horizontally.
% Default <\skilllegend@hintscolumnwidth> % Default <\skilllegend@hintscolumnwidth>
% Input_2 (optional): float between 0 and 1 influencing the width of the left legend descritor column, % Input_2 (optional): float between 0 and 1 influencing the width of the left legend descritor column,
% aka \cvskilllegend@leftdescriptorwidth. The desriptor column on the right, % aka \cvskilllegend@leftdescriptorwidth. The desriptor column on the right,
% \cvskilllegend@rightdescriptorwidth is influenced by the factor 1-<factor>. % \cvskilllegend@rightdescriptorwidth is influenced by the factor 1-<factor>.
% Default <\skilllegend@leftdesriptorfactor> % Default <\skilllegend@leftdesriptorfactor>
% %
% Example usage % Example usage
% \setcvskilllegendcolumns[][0.45]%% adjust left desriptor column. % \setcvskilllegendcolumns[][0.45]%% adjust left desriptor column.
% \setcvskilllegendcolumns[\widthof{``Legend''}][0.45]% adjust both left descriptor column and string column % \setcvskilllegendcolumns[\widthof{``Legend''}][0.45]% adjust both left descriptor column and string column
% %
% Note % Note
% - Due to implementation of \cvskilllegend for style 'fancy' (moderncvbodyv) % - Due to implementation of \cvskilllegend for style 'fancy' (moderncvbodyv)
% the first optional variable has no effect in this case. % the first optional variable has no effect in this case.
% - For the styles 'classic' and 'casual' the first column is set to hintscolumnwidth such that % - For the styles 'classic' and 'casual' the first column is set to hintscolumnwidth such that
% it aligns with the rest of the entries. A readjustment of the first column should therefor % it aligns with the rest of the entries. A readjustment of the first column should therefor
% be avoided. It is recomended to only use \cvskilllegend in the form of % be avoided. It is recomended to only use \cvskilllegend in the form of
% \cvskilllegend[][<factor>], thereby leaving the defaults in place for the first column. % \cvskilllegend[][<factor>], thereby leaving the defaults in place for the first column.
% - For style 'banking' the first column is set to align with the rest of the \cvskillentry entries % - For style 'banking' the first column is set to align with the rest of the \cvskillentry entries
% Therefor adjusting the first column can be used to widen the table while moving it around. If no % Therefor adjusting the first column can be used to widen the table while moving it around. If no
% legend string is used, setting \cvskilllegend[0em] maximises the real enstate for the legend. % legend string is used, setting \cvskilllegend[0em] maximises the real enstate for the legend.
% %
\def\arg@new@legend@hintscolumnwidth{#1}% \def\arg@new@legend@hintscolumnwidth{#1}%
@ -532,8 +532,8 @@
\RenewDocumentCommand{\skilllegend@leftdesriptorfactor}{}{\arg@new@legend@leftDescriptorFactor}% \RenewDocumentCommand{\skilllegend@leftdesriptorfactor}{}{\arg@new@legend@leftDescriptorFactor}%
}% }%
% % Case \setcvskilllegendcolumns[] nothing needs to be done here i.e. leave default values unaltered % % Case \setcvskilllegendcolumns[] nothing needs to be done here i.e. leave default values unaltered
}{% }{%
% Case \setcvskilllegendcolumns, \setcvskilllegendcolumns[<width>], \setcvskilllegendcolumns[<width>][] % Case \setcvskilllegendcolumns, \setcvskilllegendcolumns[<width>], \setcvskilllegendcolumns[<width>][]
% or \setcvskilllegendcolumns[<width>][<somefactor>] % or \setcvskilllegendcolumns[<width>][<somefactor>]
\setlength{\skilllegend@hintscolumnwidth}{\arg@new@legend@hintscolumnwidth}% \setlength{\skilllegend@hintscolumnwidth}{\arg@new@legend@hintscolumnwidth}%
\if@moderncvbodyi% \if@moderncvbodyi%
@ -554,18 +554,18 @@
}% }%
}% }%
}% }%
% %
% %------------------------------------------------------------------------------- % %-------------------------------------------------------------------------------
% % \cvskilllegend % % \cvskilllegend
% %------------------------------------------------------------------------------- % %-------------------------------------------------------------------------------
% default legend style % default legend style
% \cvskilllegend[*][<post_padding>][<first_level>][<second_level>][<third_level>][<fourth_level>][<fifth_level>]{<name>} % \cvskilllegend[*][<post_padding>][<first_level>][<second_level>][<third_level>][<fourth_level>][<fifth_level>]{<name>}
\NewDocumentCommand\skillLegend@FontSize{}{\scriptsize} \NewDocumentCommand\skillLegend@FontSize{}{\scriptsize}
\DeclareDocumentCommand\cvskilllegend{s +O{} +O{} +O{} +O{} +O{} +O{} +m}{}% \DeclareDocumentCommand\cvskilllegend{s +O{} +O{} +O{} +O{} +O{} +O{} +m}{}%
% Print legend table explaining the meaning of \cvskill{1}...\cvskill{5}. % Print legend table explaining the meaning of \cvskill{1}...\cvskill{5}.
% %
% Input: % Input:
% asterix (optional): include vertical (dashed) lines. This behaviour depends on the body style. % asterix (optional): include vertical (dashed) lines. This behaviour depends on the body style.
% For the fancy style, the asterix has no meaning. % For the fancy style, the asterix has no meaning.
% input_1 (optional): padding length appended to the legend, default: <0.25em> % input_1 (optional): padding length appended to the legend, default: <0.25em>
% input_2 (optional): string describing meaning of \cvskill{1}, default: <basic knowledge> % input_2 (optional): string describing meaning of \cvskill{1}, default: <basic knowledge>
@ -574,15 +574,15 @@
% input_5 (optional): string describing meaning of \cvskill{4}, default: <deepened expert knowledge> % input_5 (optional): string describing meaning of \cvskill{4}, default: <deepened expert knowledge>
% input_6 (optional): string describing meaning of \cvskill{5}, default: <expert/guru> % input_6 (optional): string describing meaning of \cvskill{5}, default: <expert/guru>
% input_7: string giving a name to the legend, default: <> % input_7: string giving a name to the legend, default: <>
% %
% Example usages: % Example usages:
% \cvskilllegend{} print default legend % \cvskilllegend{} print default legend
% \cvskilllegend[0.5em]{Legend} print default legend, but adjust post padding and display the word ``Legend''. % \cvskilllegend[0.5em]{Legend} print default legend, but adjust post padding and display the word ``Legend''.
% \cvskilllegend*[0.2em][Grundkenntnisse][Grundkenntnisse und eigene Erfahrung in Projekten][Umfangreiche Erfahrung in Projekten][Vertiefte Expertenkenntnisse][Experte/Guru]{Legende} Fully adjust legend to German example and including dashed lines % \cvskilllegend*[0.2em][Grundkenntnisse][Grundkenntnisse und eigene Erfahrung in Projekten][Umfangreiche Erfahrung in Projekten][Vertiefte Expertenkenntnisse][Experte/Guru]{Legende} Fully adjust legend to German example and including dashed lines
% %
% Note: % Note:
% -The width of the columns can be adjusted by the \setcvskilllegendcolumns, see \setcvskilllegendcolumns % -The width of the columns can be adjusted by the \setcvskilllegendcolumns, see \setcvskilllegendcolumns
% -The design of the table is such that the <second_level> entry stands in the first column but % -The design of the table is such that the <second_level> entry stands in the first column but
% occupies rows two and three. This has been done to accomodate english and german defaults. % occupies rows two and three. This has been done to accomodate english and german defaults.
% An alternative is provided by \cvskillplainlegend % An alternative is provided by \cvskillplainlegend
@ -610,7 +610,7 @@
\raggedleft\hintstyle{#8} & \cvskill{1}& & {\skillLegend@FontSize #3} & \cvskill{3}& &{\skillLegend@FontSize #5 } \\% \raggedleft\hintstyle{#8} & \cvskill{1}& & {\skillLegend@FontSize #3} & \cvskill{3}& &{\skillLegend@FontSize #5 } \\%
% %
& \cvskill{2} & & \multirow{2}{\cvskilllegend@leftdescriptorwidth}{{\skillLegend@FontSize #4}} & \cvskill{4}& & {\skillLegend@FontSize #6 } \\% & \cvskill{2} & & \multirow{2}{\cvskilllegend@leftdescriptorwidth}{{\skillLegend@FontSize #4}} & \cvskill{4}& & {\skillLegend@FontSize #6 } \\%
% %
& & & & \cvskill{5}& & {\skillLegend@FontSize #7 }% & & & & \cvskill{5}& & {\skillLegend@FontSize #7 }%
\end{tabular}% \end{tabular}%
\endgroup \endgroup
@ -629,7 +629,7 @@
\raggedleft\hintstyle{#8} & \cvskill{1}\, & \,{\skillLegend@FontSize #3} & \cvskill{3}\, &\,{\skillLegend@FontSize #5 } \\% \raggedleft\hintstyle{#8} & \cvskill{1}\, & \,{\skillLegend@FontSize #3} & \cvskill{3}\, &\,{\skillLegend@FontSize #5 } \\%
% %
& \cvskill{2}\, & \,\multirow{2}{\cvskilllegend@leftdescriptorwidth}{{\skillLegend@FontSize #4}} & \cvskill{4}\, &\,{\skillLegend@FontSize #6 } \\% & \cvskill{2}\, & \,\multirow{2}{\cvskilllegend@leftdescriptorwidth}{{\skillLegend@FontSize #4}} & \cvskill{4}\, &\,{\skillLegend@FontSize #6 } \\%
% %
& & & \cvskill{5}\, &\,{\skillLegend@FontSize #7 }% & & & \cvskill{5}\, &\,{\skillLegend@FontSize #7 }%
\end{tabular}% \end{tabular}%
\endgroup% \endgroup%
@ -646,7 +646,7 @@
}% }%
\IfBooleanTF#1{% if a star is given, add dashed line \IfBooleanTF#1{% if a star is given, add dashed line
\begingroup% \begingroup%
% recalculate desrciptor widths on the fly. Allows for different padding % recalculate desrciptor widths on the fly. Allows for different padding
% in the stared and nonstared case % in the stared and nonstared case
\setlength{\cvskilllegend@leftdescriptorwidth}{\skilllegend@leftdesriptorfactor\skilllegend@bodylength-\cvskill@width-\skillmatrix@padding-4\skilllegend@padding}% \setlength{\cvskilllegend@leftdescriptorwidth}{\skilllegend@leftdesriptorfactor\skilllegend@bodylength-\cvskill@width-\skillmatrix@padding-4\skilllegend@padding}%
\setlength{\cvskilllegend@rightdescriptorwidth}{\skilllegend@bodylength-\skilllegend@leftdesriptorfactor\skilllegend@bodylength-\cvskill@width-\skillmatrix@padding-4\skilllegend@padding}% \setlength{\cvskilllegend@rightdescriptorwidth}{\skilllegend@bodylength-\skilllegend@leftdesriptorfactor\skilllegend@bodylength-\cvskill@width-\skillmatrix@padding-4\skilllegend@padding}%
@ -660,13 +660,13 @@
\raggedleft\hintstyle{} & \cvskill{1} & & {\skillLegend@FontSize #3} & \cvskill{3} & & {\skillLegend@FontSize #5 } \\ \raggedleft\hintstyle{} & \cvskill{1} & & {\skillLegend@FontSize #3} & \cvskill{3} & & {\skillLegend@FontSize #5 } \\
% %
& \cvskill{2} & & \multirow{2}{\cvskilllegend@leftdescriptorwidth}{{\skillLegend@FontSize #4}} & \cvskill{4} & &{\skillLegend@FontSize #6 } \\ & \cvskill{2} & & \multirow{2}{\cvskilllegend@leftdescriptorwidth}{{\skillLegend@FontSize #4}} & \cvskill{4} & &{\skillLegend@FontSize #6 } \\
% %
& & & & \cvskill{5}& & {\skillLegend@FontSize #7 } & & & & \cvskill{5}& & {\skillLegend@FontSize #7 }
\end{tabular}% \end{tabular}%
\endgroup% \endgroup%
\par\addvspace{#2}}{ \par\addvspace{#2}}{
\begingroup% \begingroup%
% oddly enough, we should only need to subtract 2 paddings in the descritorwidths. % oddly enough, we should only need to subtract 2 paddings in the descritorwidths.
% but while testing I got overflow of text into the margin % but while testing I got overflow of text into the margin
\setlength{\cvskilllegend@leftdescriptorwidth}{\skilllegend@leftdesriptorfactor\skilllegend@bodylength-\cvskill@width-\skillmatrix@padding-4\skilllegend@padding}% \setlength{\cvskilllegend@leftdescriptorwidth}{\skilllegend@leftdesriptorfactor\skilllegend@bodylength-\cvskill@width-\skillmatrix@padding-4\skilllegend@padding}%
\setlength{\cvskilllegend@rightdescriptorwidth}{\skilllegend@bodylength-\skilllegend@leftdesriptorfactor\skilllegend@bodylength-\cvskill@width-\skillmatrix@padding-5\skilllegend@padding}% \setlength{\cvskilllegend@rightdescriptorwidth}{\skilllegend@bodylength-\skilllegend@leftdesriptorfactor\skilllegend@bodylength-\cvskill@width-\skillmatrix@padding-5\skilllegend@padding}%
@ -678,8 +678,8 @@
\raggedleft\hintstyle{} & \cvskill{1} & {\skillLegend@FontSize #3} & \cvskill{3} & {\skillLegend@FontSize #5 } \\ \raggedleft\hintstyle{} & \cvskill{1} & {\skillLegend@FontSize #3} & \cvskill{3} & {\skillLegend@FontSize #5 } \\
% %
& \cvskill{2} & \multirow{2}{\cvskilllegend@leftdescriptorwidth}{{\skillLegend@FontSize #4}} & \cvskill{4} &{\skillLegend@FontSize #6 } \\ & \cvskill{2} & \multirow{2}{\cvskilllegend@leftdescriptorwidth}{{\skillLegend@FontSize #4}} & \cvskill{4} &{\skillLegend@FontSize #6 } \\
% %
& & & \cvskill{5} & {\skillLegend@FontSize #7 } & & & \cvskill{5} & {\skillLegend@FontSize #7 }
\end{tabular}% \end{tabular}%
\endgroup% \endgroup%
\par\addvspace{#2} \par\addvspace{#2}
@ -713,32 +713,32 @@
\@moderncvstrut{4pt}{16pt} & \cvskill{1}& {\skillLegend@FontSize #3} & \cvskill{3}& {\skillLegend@FontSize #5 }\\% \@moderncvstrut{4pt}{16pt} & \cvskill{1}& {\skillLegend@FontSize #3} & \cvskill{3}& {\skillLegend@FontSize #5 }\\%
% %
& \cvskill{2}& \multirow{2}{\cvskilllegend@leftdescriptorwidth}{{\skillLegend@FontSize #4}} & \cvskill{4}& {\skillLegend@FontSize #6 }\\% & \cvskill{2}& \multirow{2}{\cvskilllegend@leftdescriptorwidth}{{\skillLegend@FontSize #4}} & \cvskill{4}& {\skillLegend@FontSize #6 }\\%
% %
& & & \cvskill{5} & {\skillLegend@FontSize #7 }\\[#2]% the spacing needs to be inside the cell for the vertical rule to extend correctly & & & \cvskill{5} & {\skillLegend@FontSize #7 }\\[#2]% the spacing needs to be inside the cell for the vertical rule to extend correctly
\end{tabular}% \end{tabular}%
\endgroup% \endgroup%
\par\@aftersectionfalse\ignorespaces% \par\@aftersectionfalse\ignorespaces%
}% }%
% because of this weird style and the position of the parameter [#2], the dashed lines of the other version look bad. So no lines. % because of this weird style and the position of the parameter [#2], the dashed lines of the other version look bad. So no lines.
\IfBooleanTF#1{% \IfBooleanTF#1{%
\@starIndependentTabular% \@starIndependentTabular%
}{% }{%
\@starIndependentTabular% \@starIndependentTabular%
}% }%
}% }%
\fi \fi
% %------------------------------------------------------------------------------- % %-------------------------------------------------------------------------------
% % \cvskillplainlegend % % \cvskillplainlegend
% %------------------------------------------------------------------------------- % %-------------------------------------------------------------------------------
% alternative legend style % alternative legend style
% \cvskillplainlegend[*][<post_padding>][<first_level>][<second_level>][<third_level>][<fourth_level>][<fifth_level>]{<name>} % \cvskillplainlegend[*][<post_padding>][<first_level>][<second_level>][<third_level>][<fourth_level>][<fifth_level>]{<name>}
\DeclareDocumentCommand\cvskillplainlegend{s +O{} +O{} +O{} +O{} +O{} +O{} +m}{}% \DeclareDocumentCommand\cvskillplainlegend{s +O{} +O{} +O{} +O{} +O{} +O{} +m}{}%
% Print alternative legend table explaining the meaning of \cvskill{1}...\cvskill{5}. % Print alternative legend table explaining the meaning of \cvskill{1}...\cvskill{5}.
% In this legend, the first three skill levels are in one column % In this legend, the first three skill levels are in one column
% %
% Input: % Input:
% asterix (optional): include vertical (dashed) lines. This behaviour depends on the body style. % asterix (optional): include vertical (dashed) lines. This behaviour depends on the body style.
% For the fancy style, the asterix has no meaning. % For the fancy style, the asterix has no meaning.
% input_1 (optional): padding length appended to the legend, default: <0.25em> % input_1 (optional): padding length appended to the legend, default: <0.25em>
% input_2 (optional): string describing meaning of \cvskill{1}, default: <basic knowledge> % input_2 (optional): string describing meaning of \cvskill{1}, default: <basic knowledge>
@ -747,12 +747,12 @@
% input_5 (optional): string describing meaning of \cvskill{4}, default: <deepened expert knowledge> % input_5 (optional): string describing meaning of \cvskill{4}, default: <deepened expert knowledge>
% input_6 (optional): string describing meaning of \cvskill{5}, default: <expert/guru> % input_6 (optional): string describing meaning of \cvskill{5}, default: <expert/guru>
% input_7: string giving a name to the legend, default: <> % input_7: string giving a name to the legend, default: <>
% %
% Example usages: % Example usages:
% \cvskillplainlegend{} print default legend % \cvskillplainlegend{} print default legend
% \cvskillplainlegend[0.5em]{Legend} print default legend, but adjust post padding and display the word ``Legend''. % \cvskillplainlegend[0.5em]{Legend} print default legend, but adjust post padding and display the word ``Legend''.
% \cvskillplainlegend*[0.2em][Grundkenntnisse][Grundkenntnisse und eigene Erfahrung in Projekten][Umfangreiche Erfahrung in Projekten][Vertiefte Expertenkenntnisse][Experte/Guru]{Legende} Fully adjust legend to German example and including dashed lines % \cvskillplainlegend*[0.2em][Grundkenntnisse][Grundkenntnisse und eigene Erfahrung in Projekten][Umfangreiche Erfahrung in Projekten][Vertiefte Expertenkenntnisse][Experte/Guru]{Legende} Fully adjust legend to German example and including dashed lines
% %
% Note: % Note:
% -The width of the columns can be adjusted by the \setcvskilllegendcolumns, see \setcvskilllegendcolumns % -The width of the columns can be adjusted by the \setcvskilllegendcolumns, see \setcvskilllegendcolumns
@ -780,7 +780,7 @@
\raggedleft\hintstyle{#8} & \cvskill{1}& & {\skillLegend@FontSize #3} & \cvskill{4}& &{\skillLegend@FontSize #6} \\% \raggedleft\hintstyle{#8} & \cvskill{1}& & {\skillLegend@FontSize #3} & \cvskill{4}& &{\skillLegend@FontSize #6} \\%
% %
& \cvskill{2} & & {\skillLegend@FontSize #4} & \cvskill{5}& & {\skillLegend@FontSize #7} \\% & \cvskill{2} & & {\skillLegend@FontSize #4} & \cvskill{5}& & {\skillLegend@FontSize #7} \\%
% %
& \cvskill{3} & & {\skillLegend@FontSize #5} & & & % & \cvskill{3} & & {\skillLegend@FontSize #5} & & & %
\end{tabular}% \end{tabular}%
\endgroup% \endgroup%
@ -799,7 +799,7 @@
\raggedleft\hintstyle{#8} & \cvskill{1} & {\skillLegend@FontSize #3} & \cvskill{4} &{\skillLegend@FontSize #6} \\% \raggedleft\hintstyle{#8} & \cvskill{1} & {\skillLegend@FontSize #3} & \cvskill{4} &{\skillLegend@FontSize #6} \\%
% %
& \cvskill{2} & {\skillLegend@FontSize #4} & \cvskill{5} &{\skillLegend@FontSize #7} \\% & \cvskill{2} & {\skillLegend@FontSize #4} & \cvskill{5} &{\skillLegend@FontSize #7} \\%
% %
& \cvskill{3} & {\skillLegend@FontSize #5 } & & % & \cvskill{3} & {\skillLegend@FontSize #5 } & & %
\end{tabular}% \end{tabular}%
\endgroup% \endgroup%
@ -828,8 +828,8 @@
\raggedleft\hintstyle{} & \cvskill{1} & & {\skillLegend@FontSize#3} & \cvskill{4} & & {\skillLegend@FontSize#6}\\% \raggedleft\hintstyle{} & \cvskill{1} & & {\skillLegend@FontSize#3} & \cvskill{4} & & {\skillLegend@FontSize#6}\\%
% %
& \cvskill{2} & &{\skillLegend@FontSize#4} & \cvskill{5} & &{\skillLegend@FontSize#7}\\% & \cvskill{2} & &{\skillLegend@FontSize#4} & \cvskill{5} & &{\skillLegend@FontSize#7}\\%
% %
& \cvskill{3} & &{\skillLegend@FontSize#5} & & &% & \cvskill{3} & &{\skillLegend@FontSize#5} & & &%
\end{tabular}% \end{tabular}%
\endgroup% \endgroup%
\par\addvspace{#2}}{ \par\addvspace{#2}}{
@ -845,7 +845,7 @@
\raggedleft\hintstyle{} & \cvskill{1} & {\skillLegend@FontSize #3} & \cvskill{4} & {\skillLegend@FontSize #6} \\ \raggedleft\hintstyle{} & \cvskill{1} & {\skillLegend@FontSize #3} & \cvskill{4} & {\skillLegend@FontSize #6} \\
% %
& \cvskill{2} & {\skillLegend@FontSize #4} & \cvskill{5} & {\skillLegend@FontSize #7} \\ & \cvskill{2} & {\skillLegend@FontSize #4} & \cvskill{5} & {\skillLegend@FontSize #7} \\
% %
& \cvskill{3} & {\skillLegend@FontSize #5} & & % & \cvskill{3} & {\skillLegend@FontSize #5} & & %
\end{tabular}% \end{tabular}%
\endgroup \endgroup
@ -879,16 +879,16 @@
\@moderncvstrut{4pt}{16pt} & \cvskill{1} & {\skillLegend@FontSize #3} & \cvskill{4} & {\skillLegend@FontSize #6}\\% \@moderncvstrut{4pt}{16pt} & \cvskill{1} & {\skillLegend@FontSize #3} & \cvskill{4} & {\skillLegend@FontSize #6}\\%
% %
& \cvskill{2} & {\skillLegend@FontSize #4} & \cvskill{5} & {\skillLegend@FontSize #7}\\% & \cvskill{2} & {\skillLegend@FontSize #4} & \cvskill{5} & {\skillLegend@FontSize #7}\\%
% %
& \cvskill{3} & {\skillLegend@FontSize #5} & & \\[#2]% the spacing needs to be inside the cell for the vertical rule to extend correctly & \cvskill{3} & {\skillLegend@FontSize #5} & & \\[#2]% the spacing needs to be inside the cell for the vertical rule to extend correctly
\end{tabular}% \end{tabular}%
\endgroup% \endgroup%
\par\@aftersectionfalse\ignorespaces% \par\@aftersectionfalse\ignorespaces%
}% }%
% because of this weird style and the position of the parameter [#2], the dashed lines of the other version look bad. So no lines. % because of this weird style and the position of the parameter [#2], the dashed lines of the other version look bad. So no lines.
\IfBooleanTF#1{% \IfBooleanTF#1{%
\@starIndependentTabular% \@starIndependentTabular%
}{% }{%
\@starIndependentTabular% \@starIndependentTabular%
}% }%
}% }%
@ -900,20 +900,20 @@
\NewDocumentCommand\cvSkillMatrix@HeadFont{}{\normalfont} \NewDocumentCommand\cvSkillMatrix@HeadFont{}{\normalfont}
\DeclareDocumentCommand\cvskillhead{+O{} +O{} +O{} +O{} +O{}}{}% \DeclareDocumentCommand\cvskillhead{+O{} +O{} +O{} +O{} +O{}}{}%
% add skill matrix line acting as header explaining the meaning of columns. % add skill matrix line acting as header explaining the meaning of columns.
% %
% Input: % Input:
% input_1 (optional): padding length appended to the legend, default: <0.25em> % input_1 (optional): padding length appended to the legend, default: <0.25em>
% input_2 (optional): string naming the level column (2nd column), default: <Level> % input_2 (optional): string naming the level column (2nd column), default: <Level>
% input_3 (optional): string naming the skill column (3nd column), default: <Skill> % input_3 (optional): string naming the skill column (3nd column), default: <Skill>
% input_4 (optional): string naming the experience-in-years column (4th column), default: <Years> % input_4 (optional): string naming the experience-in-years column (4th column), default: <Years>
% input_5 (optional): string naming the comment column (5th column), default: <Comment> % input_5 (optional): string naming the comment column (5th column), default: <Comment>
% %
% Example usages: % Example usages:
% \cvskillhead print default head. % \cvskillhead print default head.
% \cvskillhead[0.5em] print default head, but adjust post padding. % \cvskillhead[0.5em] print default head, but adjust post padding.
% \cvskillhead[0.25em][Level][F\"ahigkeit][Jahre][Bemerkung] Fully adjust head to German example % \cvskillhead[0.25em][Level][F\"ahigkeit][Jahre][Bemerkung] Fully adjust head to German example
% %
% Note: % Note:
% - The width of the columns can be adjusted by the \setcvskillcolumns command, see \setcvskillcolumns. % - The width of the columns can be adjusted by the \setcvskillcolumns command, see \setcvskillcolumns.
\NewDocumentCommand\skillMatrix@HeaderDefaultOne{}{Level} \NewDocumentCommand\skillMatrix@HeaderDefaultOne{}{Level}
@ -930,7 +930,7 @@
p{\cvskill@descriptorwidth}@{\hspace{\skillmatrix@padding}}% p{\cvskill@descriptorwidth}@{\hspace{\skillmatrix@padding}}%
p{\cvskill@experiencewidth}@{\hspace{\skillmatrix@padding}} p{\cvskill@experiencewidth}@{\hspace{\skillmatrix@padding}}
p{\skillmatrix@commentwidth}@{}}% p{\skillmatrix@commentwidth}@{}}%
& \centering{\cvSkillMatrix@HeadFont #2} & \centering{\cvSkillMatrix@HeadFont #3} & \centering{\cvSkillMatrix@HeadFont #4} & {\cvSkillMatrix@HeadFont #5} & \centering{\cvSkillMatrix@HeadFont #2} & \centering{\cvSkillMatrix@HeadFont #3} & \centering{\cvSkillMatrix@HeadFont #4} & {\cvSkillMatrix@HeadFont #5}
\end{tabular}% \end{tabular}%
\endgroup \endgroup
\par\addvspace{#1} \par\addvspace{#1}
@ -954,19 +954,19 @@
& & \centering{\cvSkillMatrix@HeadFont#2} & \centering{\cvSkillMatrix@HeadFont#3} & \centering{\cvSkillMatrix@HeadFont#4} & {\cvSkillMatrix@HeadFont#5} \\[#1]% the spacing needs to be inside the cell for the vertical rule to extend correctly & & \centering{\cvSkillMatrix@HeadFont#2} & \centering{\cvSkillMatrix@HeadFont#3} & \centering{\cvSkillMatrix@HeadFont#4} & {\cvSkillMatrix@HeadFont#5} \\[#1]% the spacing needs to be inside the cell for the vertical rule to extend correctly
\end{tabular}% \end{tabular}%
\endgroup% \endgroup%
\par\@aftersectionfalse\ignorespaces% \par\@aftersectionfalse\ignorespaces%
}% }%
\fi \fi
% %------------------------------------------------------------------------------- % %-------------------------------------------------------------------------------
% % \cvskillentry % % \cvskillentry
% %------------------------------------------------------------------------------- % %-------------------------------------------------------------------------------
% \cvskillentry[*][<post_padding>]{<skill_cathegory>}{<0-5>}{<skill_name>}{<years_of_experience>}{<comment>}% % \cvskillentry[*][<post_padding>]{<skill_cathegory>}{<0-5>}{<skill_name>}{<years_of_experience>}{<comment>}%
\DeclareDocumentCommand\cvskillentry{s +O{} +m +m +m +m +m}{}% \DeclareDocumentCommand\cvskillentry{s +O{} +m +m +m +m +m}{}%
% add cvskill matrix row. % add cvskill matrix row.
% %
% Input: % Input:
% asterix (optional): include horizontal (dashed) line above the entered line. This behaviour depends on the body style. % asterix (optional): include horizontal (dashed) line above the entered line. This behaviour depends on the body style.
% For the fancy style, the asterix has no meaning. % For the fancy style, the asterix has no meaning.
% input_1 (optional): padding length appended to the legend, default: <0.25em> % input_1 (optional): padding length appended to the legend, default: <0.25em>
% input_2: string, naming skill cathegory, default: <> % input_2: string, naming skill cathegory, default: <>
@ -974,14 +974,14 @@
% input_4: string, naming the skill, default: <> % input_4: string, naming the skill, default: <>
% input_5: positive real number, stating the number of years of experience with this skill , default: <> % input_5: positive real number, stating the number of years of experience with this skill , default: <>
% input_6: string, explaining details w.r.t. that particual skill default: <> % input_6: string, explaining details w.r.t. that particual skill default: <>
% %
% Example usages: % Example usages:
% \cvskillentry*{Language:}{3}{Python}{2}{I have done a million projects with Python} % \cvskillentry*{Language:}{3}{Python}{2}{I have done a million projects with Python}
% \cvskillentry{}{2}{Lilypond}{14}{So much sheet music! Man I'm the best!} % \cvskillentry{}{2}{Lilypond}{14}{So much sheet music! Man I'm the best!}
% \cvskillentry{}{3}{\LaTeX}{14}{Clearly I rock at \LaTeX} % \cvskillentry{}{3}{\LaTeX}{14}{Clearly I rock at \LaTeX}
% \cvskillentry*[1.5em]{OS:}{3}{Linux}{2}{I only use Archlinux} % \cvskillentry*[1.5em]{OS:}{3}{Linux}{2}{I only use Archlinux}
% %
% Note: % Note:
% - The width of the columns can be adjusted by the \setcvskillcolumns command, see \setcvskillcolumns. % - The width of the columns can be adjusted by the \setcvskillcolumns command, see \setcvskillcolumns.
% Definition of \cvskillentry valid for moderncvbodyi, moderncvbodyii, moderncvbodyiii, moderncvbodyiv % Definition of \cvskillentry valid for moderncvbodyi, moderncvbodyii, moderncvbodyiii, moderncvbodyiv
@ -1038,13 +1038,13 @@
}% }%
\IfBooleanTF{#1}{% the star does not do anything here \IfBooleanTF{#1}{% the star does not do anything here
\@starIndependentMatrixEntry% \@starIndependentMatrixEntry%
}{% }{%
\@starIndependentMatrixEntry% \@starIndependentMatrixEntry%
}% }%
\par\@aftersectionfalse\ignorespaces% \par\@aftersectionfalse\ignorespaces%
}% }%
\fi \fi
% %
\endinput \endinput

View file

@ -55,7 +55,7 @@
% symbols % symbols
\if@symbols \if@symbols
\moderncvicons{symbols} % use symbols \moderncvicons{symbols} % use symbols
\else \else
\moderncvicons{letters} % do not use symbols, use letters \moderncvicons{letters} % do not use symbols, use letters
\fi \fi

View file

@ -42,7 +42,7 @@
% symbols % symbols
\if@symbols \if@symbols
\moderncvicons{symbols} % use symbols \moderncvicons{symbols} % use symbols
\else \else
\moderncvicons{letters} % do not use symbols, use letters \moderncvicons{letters} % do not use symbols, use letters
\fi \fi

View file

@ -43,7 +43,7 @@
% symbols % symbols
\if@symbols \if@symbols
\moderncvicons{symbols} % use symbols \moderncvicons{symbols} % use symbols
\else \else
\moderncvicons{letters} % do not use symbols, use letters \moderncvicons{letters} % do not use symbols, use letters
\fi \fi

View file

@ -37,7 +37,7 @@
%------------------------------------------------------------------------------- %-------------------------------------------------------------------------------
% symbols % symbols
\if@symbols \if@symbols
\moderncvicons{symbols} % use symbols \moderncvicons{symbols} % use symbols
\else \else
\moderncvicons{letters} % do not use symbols, use letters \moderncvicons{letters} % do not use symbols, use letters
\fi \fi

View file

@ -38,7 +38,7 @@
% symbols % symbols
\if@symbols \if@symbols
\moderncvicons{symbols} % use symbols \moderncvicons{symbols} % use symbols
\else \else
\moderncvicons{letters} % do not use symbols, use letters \moderncvicons{letters} % do not use symbols, use letters
\fi \fi