From 05b2b1a84046e090d7f30190fe6e97c81acf8451 Mon Sep 17 00:00:00 2001 From: Tianyi Zheng Date: Mon, 29 May 2023 06:40:22 -0700 Subject: [PATCH] Remove trailing whitespace Remove more trailing whitespace Remove even more trailing whitespace --- manual/moderncv_userguide.tex | 64 +++--- moderncv.cls | 6 +- moderncvbodyi.sty | 2 +- moderncvbodyiii.sty | 2 +- moderncvbodyiv.sty | 2 +- moderncvbodyv.sty | 2 +- moderncvdebugtools.sty | 4 +- moderncvheadiii.sty | 2 +- moderncviconstikz.sty | 8 +- moderncvskillmatrix.sty | 368 +++++++++++++++++----------------- moderncvstylebanking.sty | 2 +- moderncvstylecasual.sty | 2 +- moderncvstyleclassic.sty | 2 +- moderncvstyleempty.sty | 2 +- moderncvstylefancy.sty | 2 +- template.tex | 11 +- 16 files changed, 240 insertions(+), 241 deletions(-) diff --git a/manual/moderncv_userguide.tex b/manual/moderncv_userguide.tex index ab46213..db0ea1c 100644 --- a/manual/moderncv_userguide.tex +++ b/manual/moderncv_userguide.tex @@ -64,7 +64,7 @@ \end{abstract} \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. \smallskip @@ -76,7 +76,7 @@ At the very beginning of your preamble (that is the part before \verb|\begin{doc \begin{verbatim} \documentclass[]{moderncv} -\end{verbatim} +\end{verbatim} where the options are: @@ -88,24 +88,24 @@ where the options are: \item[draft/final options:] \texttt{draft}, \texttt{final} \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: \begin{verbatim} \moderncvtheme[]{casual} -\end{verbatim} +\end{verbatim} which is the default theme, or \begin{verbatim} \moderncvtheme[]{classic} -\end{verbatim} +\end{verbatim} where the theme options are: \begin{description} - \item[color options:] you can choose between five color: + \item[color options:] you can choose between five color: \begin{itemize} \item[\texttt{blue}] {\color{bluecv}\rule{1cm}{2ex}} (default color) \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} \usepackage[]{inputenc} -\end{verbatim} +\end{verbatim} and you can adjust the page geometry: \begin{verbatim} \usepackage[]{geometry} \recomputelengths -\end{verbatim} +\end{verbatim} 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|\familyname{Doe}| \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|\phone{phone}|: 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|\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 -\end{itemize} +\end{itemize} Finally you can suppress automatic page numbering for CVs longer than one page: \begin{verbatim} \nopagenumbers{} -\end{verbatim} +\end{verbatim} \subsection{Examples} @@ -170,7 +170,7 @@ In practice, you will type: \usepackage[scale=0.8]{geometry} \recomputelengths -% personal data +% personal data \firstname{John} \familyname{Doe} \title{Design enthusiast} @@ -181,8 +181,8 @@ In practice, you will type: \email{jdoe@design.org} \extrainfo{\weblink{www.ctan.org}} \photo[64pt]{jdoe_picture} -\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 +\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 move in the opposite direction.} \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} -The command to open a new section is: +The command to open a new section is: \begin{verbatim} \section{} @@ -237,7 +237,7 @@ and every section can be divided into subsections: \subsection{<title>} \end{verbatim} -If necessary, there is a command to close the section: +If necessary, there is a command to close the section: \begin{verbatim} \closesection{} @@ -253,7 +253,7 @@ An example of their usage can be the next one: \begin{verbatim} \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 \[e =m\,c^2,\] 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} {localization}{optional: grade/...} {optional: comment/job description} - \end{verbatim} -\vspace{-20pt} + \end{verbatim} +\vspace{-20pt} where the last three arguments can be left empty \item inside `language' cvsection environment, you can type every entry with: \begin{verbatim} @@ -328,12 +328,12 @@ Let's put all together and see in figure \ref{fig:sections} what is the result: \section{Education} \cventry{year--year}{Degree}{Institution}{City}{\textit{Grade}}{Description} \cventry{year--year}{Degree}{Institution}{City}{\textit{Grade}}{Description} -% +% \section{Master thesis} \cvline{title}{\emph{Title}} \cvline{supervisors}{Supervisors} \cvline{description}{\small Short thesis abstract} -% +% \section{Experience} \subsection{Vocational} \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} \cventry{year--year}{Job title}{Employer}{City}{}% {Description line 1\newline{}Description line 2} -% +% \section{Languages} \cvlanguage{language 1}{Skill level}{Comment} \cvlanguage{language 2}{Skill level}{Comment} -% +% \section{Computer skills} \cvcomputer{category 1}{XXX, YYY, ZZZ}{category 3}{XXX, YYY, ZZZ} \cvcomputer{category 2}{XXX, YYY, ZZZ}{category 4}{XXX, YYY, ZZZ} -% +% \section{Interests} \cvline{hobby 1}{\small Description} \cvline{hobby 2}{\small Description} \cvline{hobby 3}{\small Description} -% +% \closesection{} \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 \nocite{*} \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{verbatim} +\end{verbatim} \begin{figure}[!ht] \centering \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.} \label{fig:sections} \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: \begin{verbatim} \renewcommand{\phonesymbol}{\ding{38}} -\end{verbatim} +\end{verbatim} You can change the symbol for lists in two way: \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 2}{Item 5} \cvlistdoubleitem[\Neutral]{Item 3}{} -\end{verbatim} +\end{verbatim} \begin{figure}[!hbt] \centering @@ -431,7 +431,7 @@ The different lengths used by moderncv are customizable by \begin{verbatim} \setlength{<length>}{<new_dimensions>} \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: \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} \emptysection{}\closesection \vfill -\begin{center} +\begin{center} \textit{\small Ai sensi del D. Lgs. 196/2003 ...} \end{center} \end{verbatim} diff --git a/moderncv.cls b/moderncv.cls index 139e9f2..271ca6c 100644 --- a/moderncv.cls +++ b/moderncv.cls @@ -116,7 +116,7 @@ bookmarksdepth= 2,% to show sections and subsections pdfauthor = {\@firstname{}~\@lastname{}}, 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{}}, pdfkeywords = {\@firstname{}~\@lastname{}, curriculum vit\ae{}, r\'{e}sum\'{e}}}} @@ -255,8 +255,8 @@ % http://latex.org/forum/viewtopic.php?t=12239 \def\SplitMyMacro#1/#2{#2} - - + + % adds a social link to one's personal information (optional) % usage: \social[<optional type>][<optional url>]{<account name>} % where <optional type> should be either: diff --git a/moderncvbodyi.sty b/moderncvbodyi.sty index 5ed5748..5099ad2 100644 --- a/moderncvbodyi.sty +++ b/moderncvbodyi.sty @@ -16,7 +16,7 @@ %------------------------------------------------------------------------------- % 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 \RequirePackage[moderncvbodyi]{moderncvskillmatrix} diff --git a/moderncvbodyiii.sty b/moderncvbodyiii.sty index 8ee52fb..638bfd4 100644 --- a/moderncvbodyiii.sty +++ b/moderncvbodyiii.sty @@ -37,7 +37,7 @@ %------------------------------------------------------------------------------- % 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 \RequirePackage[moderncvbodyiii]{moderncvskillmatrix} diff --git a/moderncvbodyiv.sty b/moderncvbodyiv.sty index a8890b2..22d9ac7 100644 --- a/moderncvbodyiv.sty +++ b/moderncvbodyiv.sty @@ -16,7 +16,7 @@ %------------------------------------------------------------------------------- % 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 \RequirePackage[moderncvbodyiv]{moderncvskillmatrix} diff --git a/moderncvbodyv.sty b/moderncvbodyv.sty index c5c7340..96be31e 100644 --- a/moderncvbodyv.sty +++ b/moderncvbodyv.sty @@ -16,7 +16,7 @@ %------------------------------------------------------------------------------- % 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 \RequirePackage[moderncvbodyv]{moderncvskillmatrix} diff --git a/moderncvdebugtools.sty b/moderncvdebugtools.sty index b28e409..0661651 100644 --- a/moderncvdebugtools.sty +++ b/moderncvdebugtools.sty @@ -32,7 +32,7 @@ \begin{tikzpicture}[remember picture,overlay] \begin{pgfonlayer}{background} \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); \end{pgfonlayer} \end{tikzpicture}} @@ -42,7 +42,7 @@ \begin{tikzpicture}[remember picture,overlay] \begin{pgfonlayer}{background} \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); \end{pgfonlayer} \end{tikzpicture}} diff --git a/moderncvheadiii.sty b/moderncvheadiii.sty index 7bec702..bc05d89 100644 --- a/moderncvheadiii.sty +++ b/moderncvheadiii.sty @@ -82,7 +82,7 @@ \centering% % name and title \namestyle{\@firstname~\@lastname}% - \ifthenelse{\equal{\@title}{}}{}{\titlestyle{~|~\@title}}% \isundefined doesn't work on \@title, as LaTeX itself defines \@title (before it possibly gets redefined by \title) + \ifthenelse{\equal{\@title}{}}{}{\titlestyle{~|~\@title}}% \isundefined doesn't work on \@title, as LaTeX itself defines \@title (before it possibly gets redefined by \title) % optional detailed information \if@details{% \\% diff --git a/moderncviconstikz.sty b/moderncviconstikz.sty index 73a7c3b..a2101d7 100644 --- a/moderncviconstikz.sty +++ b/moderncviconstikz.sty @@ -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{scope}[shift={(507,387)}] \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 (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) .. @@ -327,7 +327,7 @@ \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{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,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) .. @@ -374,7 +374,7 @@ \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{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) 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) -- @@ -448,7 +448,7 @@ (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) -- (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] (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) -- diff --git a/moderncvskillmatrix.sty b/moderncvskillmatrix.sty index 68b8db9..6cf41c0 100644 --- a/moderncvskillmatrix.sty +++ b/moderncvskillmatrix.sty @@ -2,30 +2,30 @@ %% Copyright 2021 David Seus (cryptointerest@posteo.de). % % This package provides a skill matrix template for the moderncv package. -% Some recruiting firms require applicants to rate their skills, computer -% skills, management tools, or similar in a table involving a graphical -% illustration of their skill level. This package implements this idea -% and provides the following commands to use within the moderncv +% Some recruiting firms require applicants to rate their skills, computer +% skills, management tools, or similar in a table involving a graphical +% illustration of their skill level. This package implements this idea +% and provides the following commands to use within the moderncv % package: -% -% +% +% % PUBLIC COMMANDS % \cvskill{<1-5>} % Illustrate skill level with little colored boxes. -% By default five skill levels are predefined. -% -% Input: +% By default five skill levels are predefined. +% +% Input: % input_1: integer between 0 and 5 -% -% Example usages: +% +% Example usages: % \cvskill{3} -% -% +% +% % \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}. -% +% % 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. % input_1 (optional): padding length appended to the legend, default: <0.25em> % 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_6 (optional): string describing meaning of \cvskill{5}, default: <expert/guru> % input_7: string giving a name to the legend, default: <> -% +% % Example usages: % \cvskilllegend{} print default 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 -% +% % Note: % -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. % An alternative is provided by \cvskillplainlegend -% -% +% +% % \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}. % In this legend, the first three skill levels are in one column -% +% % 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. % input_1 (optional): padding length appended to the legend, default: <0.25em> % 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_6 (optional): string describing meaning of \cvskill{5}, default: <expert/guru> % input_7: string giving a name to the legend, default: <> -% +% % Example usages: % \cvskillplainlegend{} print default 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 -% +% % Note: % -The width of the columns can be adjusted by the \setcvskilllegendcolumns, see \setcvskilllegendcolumns -% -% +% +% % \cvskillhead[<post_padding>][<Level>][<Skill>][<Years>][<Comment>]% % add skill matrix line acting as header explaining the meaning of columns. -% +% % Input: % 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_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_5 (optional): string naming the comment column (5th column), default: <Comment> -% +% % Example usages: % \cvskillhead print default head. % \cvskillhead[0.5em] print default head, but adjust post padding. % \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. -% -% +% +% % \cvskillentry[*][<post_padding>]{<skill_cathegory>}{<0-5>}{<skill_name>}{<years_of_experience>}{<comment>}% % add cvskill matrix row. -% +% % 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. % input_1 (optional): padding length appended to the legend, default: <0.25em> % input_2: string, naming skill cathegory, default: <> @@ -102,98 +102,98 @@ % input_4: string, naming the 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: <> -% +% % Example usages: % \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{}{3}{\LaTeX}{14}{Clearly I rock at \LaTeX} % \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. -% -% +% +% % \setcvskillcolumns[<width>][<factor>][<exp_width>] % adjust column width of skill table -% -% 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 +% +% 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 % 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. -% The \setcvskillcolumns command provides means to influence the width of the first, the third and the fourth +% 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 % 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. -% +% % Input % 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 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> -% +% % Example usage % \setcvskillcolumns[5em][][]% adjust first column. Same as \setcvskillcolumns[5em] % \setcvskillcolumns[][0.45][]% adjust third (skill) column. Same as \setcvskillcolumns[][0.45] % \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. -% +% % Note % - 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 -% be avoided. It is recomended to only use \setcvskillcolumns in the form of +% 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 % \setcvskillcolumns[][<factor>][<width>], thereby leaving the defaults in place for the first column. -% -% +% +% % \setcvskilllegendcolumns[<width>][<factor>] % adjust column width of legend -% -% 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. -% 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 \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. +% 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 % \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. -% +% % Input -% 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 -% string is left empty adjusting this width allows moving the legend horizontally. +% 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 +% string is left empty adjusting this width allows moving the legend horizontally. % Default <\skilllegend@hintscolumnwidth> -% 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, +% 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, % \cvskilllegend@rightdescriptorwidth is influenced by the factor 1-<factor>. % Default <\skilllegend@leftdesriptorfactor> -% +% % Example usage % \setcvskilllegendcolumns[][0.45]%% adjust left desriptor column. % \setcvskilllegendcolumns[\widthof{``Legend''}][0.45]% adjust both left descriptor column and string column -% +% % 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. % - 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 -% be avoided. It is recomended to only use \cvskilllegend in the form of +% 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 % \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 -% 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. -% -% +% +% % PRIVATE COMMANDS -% +% % \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) -% +% % Input: none -% +% % 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 % conditions of the LaTeX Project Public License version 1.3c, % available at http://www.latex-project.org/lppl/. @@ -205,8 +205,8 @@ \NeedsTeXFormat{LaTeX2e} \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. -% body type options: "moderncvbodyi" (default), "moderncvbodyii", "moderncvbodyiii", "moderncvbodyiv" or "moderncvbodyv" +% 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" \@initializeif{\if@moderncvbodyi}\@moderncvbodyifalse \DeclareOption{moderncvbodyi}{\@moderncvbodyitrue\@moderncvbodyiifalse\@moderncvbodyiiifalse\@moderncvbodyivfalse\@moderncvbodyvfalse} \@initializeif{\if@moderncvbodyii}\@moderncvbodyiifalse % this option is added in case moderncvbodyii gets implemented standalone @@ -244,11 +244,11 @@ \newcount\my@repeat@count \DeclareDocumentCommand{\cvskill}{m}{% % Illustrate skill level with little colored boxes. -% By default five skill levels are predefined. -% -% Input: +% By default five skill levels are predefined. +% +% Input: % integer between 0 and 5 -% Example usage: +% Example usage: % \cvskill{3} \begingroup \my@repeat@count=\z@ @@ -279,10 +279,10 @@ \@initializelength{\skilllegend@padding} \@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 \if@moderncvbodyv% -% +% \else% \@initializelength{\separatorrulewidth} \setlength{\separatorrulewidth}{1ex} @@ -292,13 +292,13 @@ %% DEFINITION \recompute@cvskillmatrix@lengths % declare the command \recompute@cvskillmatrix@lengths empty \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) -% +% % Input: none -% +% % Example usage (only internally in moderncvbody<i-v>.sty) -% \recompute@cvskillmatrix@lengths +% \recompute@cvskillmatrix@lengths % Definition of \recompute@cvskillmatrix@lengths for moderncvbodyi \if@moderncvbodyi% @@ -332,7 +332,7 @@ \setlength{\cvskill@descriptorwidth}{\skillmatrix@columnwidth-\cvskill@width-\cvskill@experiencewidth}% \setlength{\skillmatrix@commentwidth}{\skillmatrix@bodylength-\skillmatrix@columnwidth-3\skillmatrix@padding}% % 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@hintscolumnwidth}{\skillmatrix@hintscolumnwidth}% \setlength{\skilllegend@bodylength}{\skillmatrix@bodylength}% @@ -352,7 +352,7 @@ \setlength{\cvskill@descriptorwidth}{\skillmatrix@columnwidth-\cvskill@width-\cvskill@experiencewidth} \setlength{\skillmatrix@commentwidth}{\skillmatrix@bodylength-\skillmatrix@columnwidth-3\skillmatrix@padding}% % 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@hintscolumnwidth}{0ex}%\skillmatrix@hintscolumnwidth \setlength{\skilllegend@bodylength}{\maincolumnwidth} @@ -371,7 +371,7 @@ \setlength{\cvskill@descriptorwidth}{\skillmatrix@columnwidth-\cvskill@width-\cvskill@experiencewidth}% \setlength{\skillmatrix@commentwidth}{\skillmatrix@bodylength-\skillmatrix@columnwidth-3\skillmatrix@padding}% % 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@hintscolumnwidth}{\skillmatrix@hintscolumnwidth}% \setlength{\skilllegend@bodylength}{\maincolumnwidth}% @@ -385,43 +385,43 @@ % \setcvskillcolumns[<width>][<factor>][<exp_width>] \DeclareDocumentCommand{\setcvskillcolumns}{+O{\skillmatrix@hintscolumnwidth} +O{\skillmatrix@columnwidth} +O{\cvskill@experiencewidth}}{% % adjust column width of skill table -% -% 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 +% +% 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 % 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. -% The \setcvskillcolumns command provides means to influence the width of the first, the third and the fourth +% 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 % 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. -% +% % Input % 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 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> -% +% % Example usage % \setcvskillcolumns[5em][][]% adjust first column. Same as \setcvskillcolumns[5em] % \setcvskillcolumns[][0.45][]% adjust third (skill) column. Same as \setcvskillcolumns[][0.45] % \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. -% +% % Note % - 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 -% be avoided. It is recomended to only use \setcvskillcolumns in the form of +% 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 % \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@bodyLengthFactor{#2}% - \def\arg@new@experienceWidth{#3}% - % Check for empty arguments. Defaults are given. Thus a call of \setcvskillcolumns + \def\arg@new@bodyLengthFactor{#2}% + \def\arg@new@experienceWidth{#3}% + % Check for empty arguments. Defaults are given. Thus a call of \setcvskillcolumns % 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 - % \setcvskillcolumns[], \setcvskillcolumns[][], \setcvskillcolumns[][][] or even + % \def\arg@new@bodyLengthFactor{#2}. However, we need to take care of calls like + % \setcvskillcolumns[], \setcvskillcolumns[][], \setcvskillcolumns[][][] or even % \setcvskillcolumns[<somelength>][], \setcvskillcolumns[][<somefactor>] \setcvskillcolumns[][][<length>] \ifdefempty{\arg@new@hintscolumnwidth}{% % Case \setcvskillcolumns[], \setcvskillcolumns[][] or \setcvskillcolumns[][<somefactor>] @@ -445,13 +445,13 @@ % \cvskill@descriptorwidth accordingly \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{\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, \setcvskillcolumns[<width>], \setcvskillcolumns[<width>][] + }{% + % Case \setcvskillcolumns, \setcvskillcolumns[<width>], \setcvskillcolumns[<width>][] % or \setcvskillcolumns[<width>][<somefactor>] \setlength{\skillmatrix@hintscolumnwidth}{\arg@new@hintscolumnwidth}% \setlength{\skillmatrix@bodylength}{\maincolumnwidth-\skillmatrix@hintscolumnwidth-\separatorcolumnwidth}% @@ -483,41 +483,41 @@ \setlength{\skillmatrix@commentwidth}{\skillmatrix@bodylength-\skillmatrix@columnwidth-3\skillmatrix@padding}% }% }% -% +% % \setcvskilllegendcolumns[<width>][<factor>] \DeclareDocumentCommand{\setcvskilllegendcolumns}{+O{\skilllegend@hintscolumnwidth} +O{\skilllegend@leftdesriptorfactor}}{% % adjust column width of legend -% -% 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. -% 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 \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. +% 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 % \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. -% +% % Input -% 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 -% string is left empty adjusting this width allows moving the legend horizontally. +% 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 +% string is left empty adjusting this width allows moving the legend horizontally. % Default <\skilllegend@hintscolumnwidth> -% 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, +% 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, % \cvskilllegend@rightdescriptorwidth is influenced by the factor 1-<factor>. % Default <\skilllegend@leftdesriptorfactor> -% +% % Example usage % \setcvskilllegendcolumns[][0.45]%% adjust left desriptor column. % \setcvskilllegendcolumns[\widthof{``Legend''}][0.45]% adjust both left descriptor column and string column -% +% % 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. % - 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 -% be avoided. It is recomended to only use \cvskilllegend in the form of +% 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 % \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 -% 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. % \def\arg@new@legend@hintscolumnwidth{#1}% @@ -532,8 +532,8 @@ \RenewDocumentCommand{\skilllegend@leftdesriptorfactor}{}{\arg@new@legend@leftDescriptorFactor}% }% % % 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>] \setlength{\skilllegend@hintscolumnwidth}{\arg@new@legend@hintscolumnwidth}% \if@moderncvbodyi% @@ -554,18 +554,18 @@ }% }% }% -% +% % %------------------------------------------------------------------------------- -% % \cvskilllegend +% % \cvskilllegend % %------------------------------------------------------------------------------- % default legend style % \cvskilllegend[*][<post_padding>][<first_level>][<second_level>][<third_level>][<fourth_level>][<fifth_level>]{<name>} \NewDocumentCommand\skillLegend@FontSize{}{\scriptsize} \DeclareDocumentCommand\cvskilllegend{s +O{} +O{} +O{} +O{} +O{} +O{} +m}{}% % Print legend table explaining the meaning of \cvskill{1}...\cvskill{5}. -% +% % 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. % input_1 (optional): padding length appended to the legend, default: <0.25em> % 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_6 (optional): string describing meaning of \cvskill{5}, default: <expert/guru> % input_7: string giving a name to the legend, default: <> -% +% % Example usages: % \cvskilllegend{} print default 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 -% +% % Note: % -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. % An alternative is provided by \cvskillplainlegend @@ -610,7 +610,7 @@ \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{5}& & {\skillLegend@FontSize #7 }% \end{tabular}% \endgroup @@ -629,7 +629,7 @@ \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{5}\, &\,{\skillLegend@FontSize #7 }% \end{tabular}% \endgroup% @@ -646,7 +646,7 @@ }% \IfBooleanTF#1{% if a star is given, add dashed line \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 \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}% @@ -660,13 +660,13 @@ \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{5}& & {\skillLegend@FontSize #7 } + % + & & & & \cvskill{5}& & {\skillLegend@FontSize #7 } \end{tabular}% \endgroup% \par\addvspace{#2}}{ \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 \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}% @@ -678,8 +678,8 @@ \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{5} & {\skillLegend@FontSize #7 } + % + & & & \cvskill{5} & {\skillLegend@FontSize #7 } \end{tabular}% \endgroup% \par\addvspace{#2} @@ -713,32 +713,32 @@ \@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{5} & {\skillLegend@FontSize #7 }\\[#2]% the spacing needs to be inside the cell for the vertical rule to extend correctly \end{tabular}% \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{% \@starIndependentTabular% - }{% + }{% \@starIndependentTabular% }% }% \fi % %------------------------------------------------------------------------------- -% % \cvskillplainlegend +% % \cvskillplainlegend % %------------------------------------------------------------------------------- % alternative legend style % \cvskillplainlegend[*][<post_padding>][<first_level>][<second_level>][<third_level>][<fourth_level>][<fifth_level>]{<name>} \DeclareDocumentCommand\cvskillplainlegend{s +O{} +O{} +O{} +O{} +O{} +O{} +m}{}% % Print alternative legend table explaining the meaning of \cvskill{1}...\cvskill{5}. % In this legend, the first three skill levels are in one column -% +% % 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. % input_1 (optional): padding length appended to the legend, default: <0.25em> % 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_6 (optional): string describing meaning of \cvskill{5}, default: <expert/guru> % input_7: string giving a name to the legend, default: <> -% +% % Example usages: % \cvskillplainlegend{} print default 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 -% +% % Note: % -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} \\% % & \cvskill{2} & & {\skillLegend@FontSize #4} & \cvskill{5}& & {\skillLegend@FontSize #7} \\% - % + % & \cvskill{3} & & {\skillLegend@FontSize #5} & & & % \end{tabular}% \endgroup% @@ -799,7 +799,7 @@ \raggedleft\hintstyle{#8} & \cvskill{1} & {\skillLegend@FontSize #3} & \cvskill{4} &{\skillLegend@FontSize #6} \\% % & \cvskill{2} & {\skillLegend@FontSize #4} & \cvskill{5} &{\skillLegend@FontSize #7} \\% - % + % & \cvskill{3} & {\skillLegend@FontSize #5 } & & % \end{tabular}% \endgroup% @@ -828,8 +828,8 @@ \raggedleft\hintstyle{} & \cvskill{1} & & {\skillLegend@FontSize#3} & \cvskill{4} & & {\skillLegend@FontSize#6}\\% % & \cvskill{2} & &{\skillLegend@FontSize#4} & \cvskill{5} & &{\skillLegend@FontSize#7}\\% - % - & \cvskill{3} & &{\skillLegend@FontSize#5} & & &% + % + & \cvskill{3} & &{\skillLegend@FontSize#5} & & &% \end{tabular}% \endgroup% \par\addvspace{#2}}{ @@ -845,7 +845,7 @@ \raggedleft\hintstyle{} & \cvskill{1} & {\skillLegend@FontSize #3} & \cvskill{4} & {\skillLegend@FontSize #6} \\ % & \cvskill{2} & {\skillLegend@FontSize #4} & \cvskill{5} & {\skillLegend@FontSize #7} \\ - % + % & \cvskill{3} & {\skillLegend@FontSize #5} & & % \end{tabular}% \endgroup @@ -879,16 +879,16 @@ \@moderncvstrut{4pt}{16pt} & \cvskill{1} & {\skillLegend@FontSize #3} & \cvskill{4} & {\skillLegend@FontSize #6}\\% % & \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 \end{tabular}% \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{% \@starIndependentTabular% - }{% + }{% \@starIndependentTabular% }% }% @@ -900,20 +900,20 @@ \NewDocumentCommand\cvSkillMatrix@HeadFont{}{\normalfont} \DeclareDocumentCommand\cvskillhead{+O{} +O{} +O{} +O{} +O{}}{}% % add skill matrix line acting as header explaining the meaning of columns. -% +% % Input: % 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_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_5 (optional): string naming the comment column (5th column), default: <Comment> -% +% % Example usages: % \cvskillhead print default head. % \cvskillhead[0.5em] print default head, but adjust post padding. % \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. \NewDocumentCommand\skillMatrix@HeaderDefaultOne{}{Level} @@ -930,7 +930,7 @@ p{\cvskill@descriptorwidth}@{\hspace{\skillmatrix@padding}}% p{\cvskill@experiencewidth}@{\hspace{\skillmatrix@padding}} 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}% \endgroup \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 \end{tabular}% \endgroup% - \par\@aftersectionfalse\ignorespaces% + \par\@aftersectionfalse\ignorespaces% }% \fi % %------------------------------------------------------------------------------- -% % \cvskillentry +% % \cvskillentry % %------------------------------------------------------------------------------- % \cvskillentry[*][<post_padding>]{<skill_cathegory>}{<0-5>}{<skill_name>}{<years_of_experience>}{<comment>}% \DeclareDocumentCommand\cvskillentry{s +O{} +m +m +m +m +m}{}% % add cvskill matrix row. -% +% % 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. % input_1 (optional): padding length appended to the legend, default: <0.25em> % input_2: string, naming skill cathegory, default: <> @@ -974,14 +974,14 @@ % input_4: string, naming the 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: <> -% +% % Example usages: % \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{}{3}{\LaTeX}{14}{Clearly I rock at \LaTeX} % \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. % Definition of \cvskillentry valid for moderncvbodyi, moderncvbodyii, moderncvbodyiii, moderncvbodyiv @@ -1038,13 +1038,13 @@ }% \IfBooleanTF{#1}{% the star does not do anything here \@starIndependentMatrixEntry% - }{% + }{% \@starIndependentMatrixEntry% }% \par\@aftersectionfalse\ignorespaces% }% \fi -% +% \endinput diff --git a/moderncvstylebanking.sty b/moderncvstylebanking.sty index afc20e5..29df385 100644 --- a/moderncvstylebanking.sty +++ b/moderncvstylebanking.sty @@ -55,7 +55,7 @@ % symbols \if@symbols - \moderncvicons{symbols} % use symbols + \moderncvicons{symbols} % use symbols \else \moderncvicons{letters} % do not use symbols, use letters \fi diff --git a/moderncvstylecasual.sty b/moderncvstylecasual.sty index eba5df6..dd1c3eb 100644 --- a/moderncvstylecasual.sty +++ b/moderncvstylecasual.sty @@ -42,7 +42,7 @@ % symbols \if@symbols - \moderncvicons{symbols} % use symbols + \moderncvicons{symbols} % use symbols \else \moderncvicons{letters} % do not use symbols, use letters \fi diff --git a/moderncvstyleclassic.sty b/moderncvstyleclassic.sty index ff75507..7008b03 100644 --- a/moderncvstyleclassic.sty +++ b/moderncvstyleclassic.sty @@ -43,7 +43,7 @@ % symbols \if@symbols - \moderncvicons{symbols} % use symbols + \moderncvicons{symbols} % use symbols \else \moderncvicons{letters} % do not use symbols, use letters \fi diff --git a/moderncvstyleempty.sty b/moderncvstyleempty.sty index a865605..056a37f 100644 --- a/moderncvstyleempty.sty +++ b/moderncvstyleempty.sty @@ -37,7 +37,7 @@ %------------------------------------------------------------------------------- % symbols \if@symbols - \moderncvicons{symbols} % use symbols + \moderncvicons{symbols} % use symbols \else \moderncvicons{letters} % do not use symbols, use letters \fi diff --git a/moderncvstylefancy.sty b/moderncvstylefancy.sty index 56de636..ea56bba 100644 --- a/moderncvstylefancy.sty +++ b/moderncvstylefancy.sty @@ -38,7 +38,7 @@ % symbols \if@symbols - \moderncvicons{symbols} % use symbols + \moderncvicons{symbols} % use symbols \else \moderncvicons{letters} % do not use symbols, use letters \fi diff --git a/template.tex b/template.tex index 73cd460..22be6f0 100644 --- a/template.tex +++ b/template.tex @@ -30,7 +30,7 @@ \setmainfont{Latin Modern Roman} \setsansfont{Latin Modern Sans} \setmonofont{Latin Modern Mono} - \setmathfont{Latin Modern Math} + \setmathfont{Latin Modern Math} \else \usepackage[utf8]{inputenc} \usepackage[T1]{fontenc} @@ -161,9 +161,9 @@ Detailed achievements: \section{Skill matrix} \cvitem{Skill matrix}{Alternatively, provide a skill matrix to show off your skills} -%% Skill matrix as an alternative to rate one's skills, computer or other. +%% Skill matrix as an alternative to rate one's skills, computer or other. -%% Adjusts width of skill matrix columns. +%% Adjusts width of skill matrix columns. %% Usage \setcvskillcolumns[<width>][<factor>][<exp_width>] %% <width>, <exp_width> should be lengths smaller than \textwidth, <factor> needs to be between 0 and 1. %% Examples: @@ -202,12 +202,12 @@ Detailed achievements: %% Adjust head of the skill matrix for other languages % \cvskillhead[0.25em][Level][F\"ahigkeit][Jahre][Bemerkung] -%% \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>}% %% Example usages: \cvskillentry*{Language:}{3}{Python}{2}{I'm so experienced in Python and have realised a million projects. At least.} \cvskillentry{}{2}{Lilypond}{14}{So much sheet music! Man, I'm the best!} \cvskillentry{}{3}{\LaTeX}{14}{Clearly I rock at \LaTeX} -\cvskillentry*{OS:}{3}{Linux}{2}{I only use Archlinux btw}% notice the use of the starred command and the optional +\cvskillentry*{OS:}{3}{Linux}{2}{I only use Archlinux btw}% notice the use of the starred command and the optional \cvskillentry*[1em]{Methods}{4}{SCRUM}{8}{SCRUM master for 5 years} %% \cvskill{<0-5>} command % \cvitem{\textbackslash{cvskill}:}{Skills can be visually expressed by the \textbackslash{cvskill} command, e.g. \cvskill{2}} @@ -279,4 +279,3 @@ Albert Einstein discovered that $e=mc^2$ in 1905. %% end of file `template.tex'. -