From 4b36a60b82232b5e9cb8756a887150d8a568ba9d Mon Sep 17 00:00:00 2001 From: LLdaniel Date: Sat, 16 May 2026 20:13:41 +0200 Subject: [PATCH 1/9] document the makelettertitle and makeletterclosing command to frame the cover letter --- manual/moderncv_userguide.tex | 14 +++++++++++++- 1 file changed, 13 insertions(+), 1 deletion(-) diff --git a/manual/moderncv_userguide.tex b/manual/moderncv_userguide.tex index 3e2ed27..233f6b2 100644 --- a/manual/moderncv_userguide.tex +++ b/manual/moderncv_userguide.tex @@ -98,7 +98,7 @@ cvitem, cventry, cvdoubleentry, cvdoubleitem, cvtripleitem, cvlistitem, cvlistdoubleitem, cvcolumns, moderncvstyle, moderncvcolor, cvskill, cvskilllegend, cvskillplainlegend, cvskillhead, cvskillentry, nopagenumbers, name, born, address, email, link, social, phone, homepage, extrainfo, photo, quote, section, subsection, setlength, NewDocumentCommand, definecolor, colorlet, cvitemwithcomment, - recipient, subject, opening, closing, signature, postscript, enclosure + recipient, subject, opening, closing, signature, postscript, enclosure, makelettertitle, makeletterclosing }, emphstyle={\color{cvblue}}, emph={[2] @@ -615,6 +615,18 @@ A command to list the attached documents. The first optional parameter allows a \enclosure[]{} \end{lstlisting} +\paragraph{\code{\\makelettertitle}} +A command to create the whole cover letter title before beginning with the letter's body. +\begin{lstlisting} + \makelettertitle +\end{lstlisting} + +\paragraph{\code{\\makeletterclosing}} +A command to create the closing paragraph after the letter's body. +\begin{lstlisting} + \makeletterclosing +\end{lstlisting} + \note If typesetting the resume in Chinese using CJK an additional \code{\\clearpage} is required after the \code{\\makeletterclosing} command. This helps \code{fancyhdr} to work correctly with CJK. Otherwise it will remove the page numbering by making \code{lastpage} undefined. \section{Customization} From 948ebc5e59f948bf8eb7db184f63e31734b5caa6 Mon Sep 17 00:00:00 2001 From: LLdaniel Date: Tue, 3 Mar 2026 21:28:09 +0100 Subject: [PATCH 2/9] adds an additional example on how to change the skill matrix columns to the user guide --- CHANGELOG | 2 ++ manual/moderncv_userguide.tex | 25 ++++++++++++++++++++++++- 2 files changed, 26 insertions(+), 1 deletion(-) diff --git a/CHANGELOG b/CHANGELOG index 384d3b6..3135706 100644 --- a/CHANGELOG +++ b/CHANGELOG @@ -6,6 +6,8 @@ version next - Decreasing the size of born symbol to "tiny" and raising it by .5ex, to look typograpically more in line with born symbols outside moderncv (#273) - Fix missing Senders Name in Header (#278) +- document an additional example in the userguide on how to adjust the skill matrix (#213) + version 2.5.1 (31 Jan 2026) - Fix french babel breaking contemporary style (#219) diff --git a/manual/moderncv_userguide.tex b/manual/moderncv_userguide.tex index 233f6b2..68e4428 100644 --- a/manual/moderncv_userguide.tex +++ b/manual/moderncv_userguide.tex @@ -920,7 +920,13 @@ The width of the quote can be adjusted by setting \code{\\quotewidth}. Due to in \subsubsection{Lengths in the skill matrix} \label{section:length:skillmatrix} -Both the width of the skill matrix legend and the width of the skill matrix columns can be adjusted. +Both the width of the skill matrix legend and the width of the skill matrix columns can be adjusted. In general there are three measures available to change the width, which are: +\begin{itemize} +\item absolute values depending on the font like \code{5em} +\item factors in the range from $0$ to $1$ +\item width measuring words and sentences like \code{\\widthof\{``Year''\}} +\end{itemize} + The width of the skill matrix legend can be adjusted as follows: \begin{lstlisting} @@ -945,6 +951,23 @@ The width of the skill matrix columns can be adjusted as follows: \end{lstlisting} \code{} and \code{} should be lengths smaller than \code{\\textwidth}, and \code{} must be between 0 and 1. +\subsubsection{Additional example for column length adjustments} +The following code snippet illustrates an additional example of length adjustments and tries to explain the effects for the different columns. +Adjusting one column affects the other ones as the total width of the skill matrix stays the same. +\begin{lstlisting} + % narrow the "skill" column (at the same time giving more space to the comment column) + % reading like: being 25\% of the default column space + \setcvskillcolumns[][0.25][] + + % decrease the size of "years" giving more space to "skills" + \setcvskillcolumns[][][0.05\textwidth] + + % combining the above will help to increase the "comment" column. + % Thinking of it like save space for "years" and "skills" + % in favor of the "comment" + \setcvskillcolumns[][0.25][0.05\textwidth] +\end{lstlisting} + \subsection{Additional link commands}%% adapted from Cristina Sambo's documentation To create links to a website or a email address, use the following commands: From c1b51c7eafa7588d789bc2320cec5c5431814062 Mon Sep 17 00:00:00 2001 From: LLdaniel Date: Sun, 22 Feb 2026 18:25:11 +0100 Subject: [PATCH 3/9] adds a contributing guidelines for moderncv and references it in the README.md file --- CONTRIBUTING.md | 49 +++++++++++++++++++++++++++++++++++++++++++++++++ README.md | 1 + 2 files changed, 50 insertions(+) create mode 100644 CONTRIBUTING.md diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md new file mode 100644 index 0000000..83a7b7c --- /dev/null +++ b/CONTRIBUTING.md @@ -0,0 +1,49 @@ +# Contributing to moderncv +First off, thanks for taking the time to contribute to *moderncv*! ❤️ + +All types of contributions are encouraged and valued. +In order to make the contribution experience easier for both maintainers and contributors, please read the below listed guidelines. + +The *moderncv* community is looking forward to your contributions. + + +## Questions about moderncv +If there are questions about *moderncv* our `manual/moderncv_userguide.pdf` is a good starting point. Also our `template.tex` follows the approach to comment on options available in *moderncv*. +In case you are still left with question marks, feel free to raise an issue or join our matrix room [moderncv:matrix.org](https://matrix.to/#/#moderncv:matrix.org) for a discussion. + + +## Reporting issues and suggesting enhancements +Bug reports and enhancement suggestions are welcome under our GitHub [issues section](https://github.com/moderncv/moderncv/issues). First have a look at the existing reports, maybe your issue is already addressed? In case you have additional information just add a comment to the existing reports. Otherwise create a new issue. + +A good bug report shouldn't leave others needing to chase you up for more information. Therefore, we ask you to investigate carefully, collect information and describe the issue in detail in your report. Please complete the following steps in advance to help us fix any potential bug as fast as possible and use the prepared templates. +- Make sure that you are using the latest version +- Determine if your bug is really a bug and not an error on your side e.g. using incompatible environment components/versions (Make sure that you have read the documentation (see `manual/moderncv_userguide.pdf`) +- Collect information about the bug like how it can be triggered, which compiler and OS you are using and if you can provide a log file or a minimal example +- Can you reliably reproduce the issue? Give some instructions how to trigger the issue - as we all know, reproducing the error is half the fix already + +After filing the issue, we will then take care of it as soon as possible. + + +## Making contributions +> ### Legal Notice +> When contributing to this project, you must agree that you have the necessary rights to the content and that the content you contribute may be provided under the project's LPPL-1.3c license (see `LICENSE.txt`). + +The best way to add a contribution is to create your own fork of this project first. After creating a separate branch and pushing your changes, please open up a pull request for a review. + +### Common practice +Please make sure that: +- your commits have a explanatory **commit message** what was changed in the source code +- your **branch name** contains a short hint to what is going to be changed +- you use a clear and descriptive **title** of the pull request +- you **explain shortly** what you intend to change with your pull request + +### Moderncv specifics +Please make sure that the following requirements are met for your pull request: +- Document your changes in the `manual/moderncv_userguide.tex` if they changed the behavior of *moderncv* or introduced new features +- Write a small line in the `CHANGELOG` to keep track of changes and reference the issue, which will be solved with your pull request + +In case you have the feeling that a more detailed discussion is needed for your pull request or you want to discuss your changes beforehand, just feel free to join our matrix room [moderncv:matrix.org](https://matrix.to/#/#moderncv:matrix.org). + + + +Inspired by [contributing.md](https://contributing.md/). diff --git a/README.md b/README.md index 19ff062..089d8d8 100644 --- a/README.md +++ b/README.md @@ -30,6 +30,7 @@ If you are using the [`academicons`](https://ctan.org/tex-archive/fonts/academic As the main goal is to keep this package alive, it is maintained in a loosely structured team. You can contact us in our matrix room [moderncv:matrix.org](https://matrix.to/#/#moderncv:matrix.org), feel free to join if you have questions or want to contribute. Development takes place at [github.com/moderncv/moderncv](https://github.com/moderncv/moderncv). +We are always happy if you want to contribute. Before you start, please make sure to read our guidelines in `CONTRIBUTING.md`. ## Licence From d3a1fc0c3eb41632c336ab6a5ee5b205e56baf37 Mon Sep 17 00:00:00 2001 From: LLdaniel Date: Sun, 22 Feb 2026 18:33:43 +0100 Subject: [PATCH 4/9] mention CONTRIBUTING.md in changelog --- CHANGELOG | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/CHANGELOG b/CHANGELOG index 3135706..eec2a43 100644 --- a/CHANGELOG +++ b/CHANGELOG @@ -6,7 +6,8 @@ version next - Decreasing the size of born symbol to "tiny" and raising it by .5ex, to look typograpically more in line with born symbols outside moderncv (#273) - Fix missing Senders Name in Header (#278) -- document an additional example in the userguide on how to adjust the skill matrix (#213) +- Document an additional example in the userguide on how to adjust the skill matrix (#213) +- Adds contributing guidelines for moderncv (#275) version 2.5.1 (31 Jan 2026) From a1aac59a6f2852e5ee534422c5a59be8c102b7ba Mon Sep 17 00:00:00 2001 From: daniel Date: Mon, 25 May 2026 23:04:48 +0200 Subject: [PATCH 5/9] Fix auto guide generation on master (#284) * prevent warning on user guide creation: current user from gh actions vs. owner: detected dubious ownership in repository at '/__w/moderncv/moderncv' * manipulate conditions for tests besides the master branch! * add debug output lines * build of user guide * revert debug outputs and manipulation of branches for tests * Revert " build of user guide" This reverts commit 0da41eb48a93dfbb33ee97827908f50261a8dc1e. --- .github/workflows/build-userguide-pdf.yml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/.github/workflows/build-userguide-pdf.yml b/.github/workflows/build-userguide-pdf.yml index 665b93c..d49c04f 100644 --- a/.github/workflows/build-userguide-pdf.yml +++ b/.github/workflows/build-userguide-pdf.yml @@ -49,6 +49,8 @@ jobs: apt update && apt install git -y git config --global user.name '${{ env.UG_AUTHOR }}' git config --global user.email '${{ github.actor }}@users.noreply.github.com' + # prevent error message due to mismatch in users: process in gh actions vs. owner of repo + git config --global --add safe.directory /__w/moderncv/moderncv ls -l git add manual/moderncv_userguide.pdf git commit -m "${{ env.UG_COMMIT_MESSAGE }}" From 60f5c12448e1cbe9de689b7a5cfc17cd6dd73fd9 Mon Sep 17 00:00:00 2001 From: der-scheme <13749199+der-scheme@users.noreply.github.com> Date: Fri, 12 Jun 2026 16:19:46 +0200 Subject: [PATCH 6/9] Fix #286. (#287) Fixes bug #286 by replacing the incorrect macro calls with the correct ones for the fontawesome6 package. --- CHANGELOG | 1 + moderncviconsawesome.sty | 12 ++++++------ 2 files changed, 7 insertions(+), 6 deletions(-) diff --git a/CHANGELOG b/CHANGELOG index eec2a43..e1bb6cd 100644 --- a/CHANGELOG +++ b/CHANGELOG @@ -8,6 +8,7 @@ version next - Fix missing Senders Name in Header (#278) - Document an additional example in the userguide on how to adjust the skill matrix (#213) - Adds contributing guidelines for moderncv (#275) +- Fix incomplete social icons migration (Fontawesome 6) (#287) version 2.5.1 (31 Jan 2026) diff --git a/moderncviconsawesome.sty b/moderncviconsawesome.sty index f55f0a9..d76c6cf 100644 --- a/moderncviconsawesome.sty +++ b/moderncviconsawesome.sty @@ -68,16 +68,16 @@ %\renewcommand*{\addresssymbol} {} -\renewcommand*{\mobilephonesymbol} {{\color{mobilephone}\small\faMobile*}~} % alternative: \faMobile (solid style) -\renewcommand*{\fixedphonesymbol} {{\color{fixedphone}\small\faPhone*}~} % alternative: \faPhone (reversed) +\renewcommand*{\mobilephonesymbol} {{\color{mobilephone}\small\faMobileScreen}~} % alternative: \faMobile (solid style) +\renewcommand*{\fixedphonesymbol} {{\color{fixedphone}\small\faPhone}~} % alternative: \faPhoneFlip (reversed) \renewcommand*{\faxphonesymbol} {{\color{faxphone}\small\faFax}~} % alternative: \faPrint \renewcommand*{\emailsymbol} {{\color{email}\small\faEnvelope[regular]}~} % alternative: \faInbox, \faEnvelope (solid style) -\renewcommand*{\homepagesymbol} {{\color{homepage}\small\faEarthAmericas}~} % alternative: \faHome, \faGlobe, \faEarthEurope, \faEarthAfrica, \faEarthAsia, \faEarthOceania +\renewcommand*{\homepagesymbol} {{\color{homepage}\small\faEarthAmericas}~} % alternative: \faHouse, \faHouseChimney, \faGlobe, \faEarthEurope, \faEarthAfrica, \faEarthAsia, \faEarthOceania \renewcommand*{\linkedinsocialsymbol} {{\color{linkedin}\small\faLinkedinIn}~} % alternative: \faLinkedin -\renewcommand*{\xingsocialsymbol} {{\color{xing}\small\faXing}~} % alternative: \faXingSquare -\renewcommand*{\twittersocialsymbol} {{\color{twitter}\small\faTwitter}~} % alternative: \faTwitterSquare +\renewcommand*{\xingsocialsymbol} {{\color{xing}\small\faXing}~} % alternative: \faSquareXing +\renewcommand*{\twittersocialsymbol} {{\color{twitter}\small\faTwitter}~} % alternative: \faSquareTwitter, \faXTwitter, \faSquareXTwitter \renewcommand*{\mastodonsocialsymbol} {{\color{mastodon}\small\faMastodon}~} -\renewcommand*{\githubsocialsymbol} {{\color{github}\small\faGithub}~} % alternative: \faGithubSquare, \faGithub* +\renewcommand*{\githubsocialsymbol} {{\color{github}\small\faGithub}~} % alternative: \faSquareGithub, \faGithubAlt \renewcommand*{\gitlabsocialsymbol} {{\color{gitlab}\small\faGitlab}~} \renewcommand*{\stackoverflowsocialsymbol}{{\color{stackoverflow}\small\faStackOverflow}~} \renewcommand*{\bitbucketsocialsymbol} {{\color{bitbucket}\small\faBitbucket}~} From 017db17850ded5573f246ea6070c53e6c39ca2cb Mon Sep 17 00:00:00 2001 From: Alexander Edding <13305603+alexedding@users.noreply.github.com> Date: Thu, 18 Jun 2026 23:38:02 +0200 Subject: [PATCH 7/9] docs: Complete the color and style listings in the documentation (#292) Update the [User Guide], addressing #291: - Define the `cvcerulean` color in the preamble, following its definition in `moderncvcolors.sty`. - Add `cerulean` and `contemporary` to the color and style table on page 3. - Adjust the table width to accommodate for the additions, avoiding weird line breaks. - Update `CHANGELOG` with a summary of the changes and a reference to the issue they close. [User Guide]: https://github.com/moderncv/moderncv/blob/master/manual/moderncv_userguide.pdf --- CHANGELOG | 1 + manual/moderncv_userguide.tex | 8 ++++---- 2 files changed, 5 insertions(+), 4 deletions(-) diff --git a/CHANGELOG b/CHANGELOG index e1bb6cd..71b2ef0 100644 --- a/CHANGELOG +++ b/CHANGELOG @@ -9,6 +9,7 @@ version next - Document an additional example in the userguide on how to adjust the skill matrix (#213) - Adds contributing guidelines for moderncv (#275) - Fix incomplete social icons migration (Fontawesome 6) (#287) +- Complete the color and style listings in the documentation (#291) version 2.5.1 (31 Jan 2026) diff --git a/manual/moderncv_userguide.tex b/manual/moderncv_userguide.tex index 68e4428..fe8137e 100644 --- a/manual/moderncv_userguide.tex +++ b/manual/moderncv_userguide.tex @@ -140,6 +140,7 @@ \definecolor{cvburgundy}{rgb}{0.596078, 0, 0} % burgundy: 139/255 (0.545098) or 152/255 (0.596078) \definecolor{cvgrey}{rgb}{0.55, 0.55, 0.55} \definecolor{cvpurple}{rgb}{0.50, 0.33, 0.80} +\definecolor{cvcerulean}{HTML}{0081a7} % Macros \newcommand{\todo}[1]{\marginpar{\raggedright \textcolor{red}{[\textbf{TODO:} #1]}}} @@ -247,10 +248,9 @@ Choose a \Moderncv style and color by adjusting the commands (command order is i \end{lstlisting} As explained in \cvtemplate, the possible values are -\begin{tabular}{r@{\hspace{2ex}}p{0.65\textwidth}} - \textbf{\code{color}:} & \code{black} \cvdoccolorbox{black}, \code{blue} \cvdoccolorbox{cvblue} (default), \code{burgundy} \cvdoccolorbox{cvburgundy}, \code{green} \cvdoccolorbox{cvgreen}, \code{grey} \cvdoccolorbox{cvgrey}, \code{orange} \cvdoccolorbox{cvorange}, \code{purple} \cvdoccolorbox{cvpurple}, \code{red} \cvdoccolorbox{cvred}\\ - \textbf{\code{style}:} & \code{casual} (default), \code{classic}, \code{banking}, \code{oldstyle}, - \code{fancy} +\begin{tabular}{r@{\hspace{2ex}}p{0.72\textwidth}} + \textbf{\code{color}:} & \code{black} \cvdoccolorbox{black}, \code{blue} \cvdoccolorbox{cvblue} (default), \code{burgundy} \cvdoccolorbox{cvburgundy}, \code{cerulean} \cvdoccolorbox{cvcerulean}, \code{green} \cvdoccolorbox{cvgreen}, \code{grey} \cvdoccolorbox{cvgrey}, \code{orange} \cvdoccolorbox{cvorange}, \code{purple} \cvdoccolorbox{cvpurple}, \code{red} \cvdoccolorbox{cvred}\\ + \textbf{\code{style}:} & \code{casual} (default), \code{classic}, \code{banking}, \code{oldstyle}, \code{fancy}, \code{contemporary} \end{tabular} \note Some of the styles take additional options to fine-tune their appearance. From e65bc3ce72371d608639fc2f8a05478b71ed7f69 Mon Sep 17 00:00:00 2001 From: Alexander Edding <13305603+alexedding@users.noreply.github.com> Date: Thu, 18 Jun 2026 23:54:26 +0200 Subject: [PATCH 8/9] docs: Correct additional link signatures in the documentation (#294) Update the [User Guide], addressing #293: - Add `httplink`, `httpslink`, and `emaillink` to the `emph` list. - Replace incorrect signatures and an example with the relevant commands (`\httplink`, `\httpslink`, and `\emaillink`). - Fix a grammatical error: "a email" to "an email". - Update `CHANGELOG` with a summary of the changes and a reference to the issue they close. [User Guide]: https://github.com/moderncv/moderncv/blob/master/manual/moderncv_userguide.pdf --- CHANGELOG | 1 + manual/moderncv_userguide.tex | 20 ++++++++++---------- 2 files changed, 11 insertions(+), 10 deletions(-) diff --git a/CHANGELOG b/CHANGELOG index 71b2ef0..8c020d3 100644 --- a/CHANGELOG +++ b/CHANGELOG @@ -10,6 +10,7 @@ version next - Adds contributing guidelines for moderncv (#275) - Fix incomplete social icons migration (Fontawesome 6) (#287) - Complete the color and style listings in the documentation (#291) +- Correct additional link signatures in the documentation (#293) version 2.5.1 (31 Jan 2026) diff --git a/manual/moderncv_userguide.tex b/manual/moderncv_userguide.tex index fe8137e..ccb7dd1 100644 --- a/manual/moderncv_userguide.tex +++ b/manual/moderncv_userguide.tex @@ -98,7 +98,7 @@ cvitem, cventry, cvdoubleentry, cvdoubleitem, cvtripleitem, cvlistitem, cvlistdoubleitem, cvcolumns, moderncvstyle, moderncvcolor, cvskill, cvskilllegend, cvskillplainlegend, cvskillhead, cvskillentry, nopagenumbers, name, born, address, email, link, social, phone, homepage, extrainfo, photo, quote, section, subsection, setlength, NewDocumentCommand, definecolor, colorlet, cvitemwithcomment, - recipient, subject, opening, closing, signature, postscript, enclosure, makelettertitle, makeletterclosing + recipient, subject, opening, closing, signature, postscript, enclosure, makelettertitle, makeletterclosing, httplink, httpslink, emaillink }, emphstyle={\color{cvblue}}, emph={[2] @@ -969,32 +969,32 @@ Adjusting one column affects the other ones as the total width of the skill matr \end{lstlisting} \subsection{Additional link commands}%% adapted from Cristina Sambo's documentation -To create links to a website or a email address, use the following commands: +To create links to a website or an email address, use the following commands: -A general weblink with optional text. +A general weblink with optional text. \begin{lstlisting} \link[]{} %% example \link[name of the link]{ftp://ftp.somesite.org} \end{lstlisting} -An HTTP link. The HTTP prefix is generated automatically and is not needed in the link argument. +An HTTP link. The \texttt{http://} prefix is generated automatically and is not needed in the link argument. \begin{lstlisting} - \link[]{} + \httplink[]{} %% example - \link[goto HTTP site]{www.somehttpsite.org} + \httplink[goto HTTP site]{www.somehttpsite.org} \end{lstlisting} -A HTTPS link. The HTTPS prefix is generated automatically and is not needed in the link argument. +A HTTPS link. The \texttt{https://} prefix is generated automatically and is not needed in the link argument. \begin{lstlisting} - \link[]{} + \httpslink[]{} %% example \httpslink[goto HTTPS site]{www.somesecuresite.org} \end{lstlisting} -An email link. The mailto prefix is generated automatically and is not needed in the link argument. +An email link. The \texttt{mailto:} prefix is generated automatically and is not needed in the link argument. \begin{lstlisting} - \link[]{} + \emaillink[]{} %% example \emaillink[my email]{jdoe@website.org} \end{lstlisting} From 0d3fb557086c406db846a15911f03f940400a9c1 Mon Sep 17 00:00:00 2001 From: Daniel Gallagher <1045365+danielgallagher@users.noreply.github.com> Date: Fri, 19 Jun 2026 16:19:24 -0400 Subject: [PATCH 9/9] Fix tabular parser conflicts in banking style (Remove arydshln dependency) (#290) * Fix #288, #289: Remove arydshln and fix tabular parser conflicts - Removed arydshln dependency from moderncvskillmatrix.sty - Replaced dashed rules with TikZ to avoid conflicts with banking style - Fixed missing FontAwesome 6 icons (\faAsterisk, \faTiktok) - Updated CHANGELOG and userguide * Clean up commented arydshln code * Revert faTiktok and faAsterisk updates --- CHANGELOG | 1 + manual/moderncv_userguide.tex | 2 +- moderncvskillmatrix.sty | 25 ++++++++++--------------- 3 files changed, 12 insertions(+), 16 deletions(-) diff --git a/CHANGELOG b/CHANGELOG index 8c020d3..b31bb59 100644 --- a/CHANGELOG +++ b/CHANGELOG @@ -11,6 +11,7 @@ version next - Fix incomplete social icons migration (Fontawesome 6) (#287) - Complete the color and style listings in the documentation (#291) - Correct additional link signatures in the documentation (#293) +- Remove arydshln dependency to fix tabular parser conflicts with cventry (#288, #289) version 2.5.1 (31 Jan 2026) diff --git a/manual/moderncv_userguide.tex b/manual/moderncv_userguide.tex index ccb7dd1..9022c1d 100644 --- a/manual/moderncv_userguide.tex +++ b/manual/moderncv_userguide.tex @@ -1108,7 +1108,7 @@ In addition to the packages that \Moderncv provides, the following packages are \item \code{ebgaramond} \item \code{kurier} \item \code{multirow} - \item \code{arydshln} + \end{multicols} \end{itemize} diff --git a/moderncvskillmatrix.sty b/moderncvskillmatrix.sty index ad1940b..656106b 100644 --- a/moderncvskillmatrix.sty +++ b/moderncvskillmatrix.sty @@ -232,12 +232,7 @@ \RequirePackage{tikz} \usetikzlibrary{babel} \RequirePackage{multirow} -% package arydshln is needed for the dashed lines but is incompatible with fancy style -\if@moderncvbodyv% -% \RequirePackage{arydshln} % incompatible with fancy style -\else% - \RequirePackage{arydshln} % incompatible with fancy style -\fi + % %------------------------------------------------------------------------------- % % \cvskill command @@ -613,9 +608,9 @@ \setlength{\cvskilllegend@rightdescriptorwidth}{\skilllegend@bodylength-\skilllegend@leftdesriptorfactor\skilllegend@bodylength-\cvskill@width-\skillmatrix@padding-3\skilllegend@padding}% \begin{tabular}{@{}p{\skilllegend@hintscolumnwidth}% @{\hspace{\separatorcolumnwidth}}% - p{\cvskill@width}@{\hspace{\skilllegend@padding}};{.6pt/1pt}%% + p{\cvskill@width}@{\hspace{\skilllegend@padding}}!{\color{bodyrulecolor}\vrule width 0.6pt}%% p{2\skilllegend@padding}p{\cvskilllegend@leftdescriptorwidth}@{}@{\hspace{2\skillmatrix@padding}}% - p{\cvskill@width}@{\hspace{\skilllegend@padding}};{.6pt/1pt}% + p{\cvskill@width}@{\hspace{\skilllegend@padding}}!{\color{bodyrulecolor}\vrule width 0.6pt}% p{2\skilllegend@padding}% p{\cvskilllegend@rightdescriptorwidth}@{}}% \raggedleft\hintstyle{#8} & \cvskill{1}& & {\skillLegend@FontSize #3} & \cvskill{3}& &{\skillLegend@FontSize #5 } \\% @@ -663,10 +658,10 @@ \setlength{\cvskilllegend@rightdescriptorwidth}{\skilllegend@bodylength-\skilllegend@leftdesriptorfactor\skilllegend@bodylength-\cvskill@width-\skillmatrix@padding-4\skilllegend@padding}% \arrayrulecolor{bodyrulecolor} \begin{tabular}{@{}p{\skilllegend@hintscolumnwidth} - @{\hspace{\separatorcolumnwidth}}p{\cvskill@width}@{\hspace{\skilllegend@padding}};{.6pt/1pt}% + @{\hspace{\separatorcolumnwidth}}p{\cvskill@width}@{\hspace{\skilllegend@padding}}!{\color{bodyrulecolor}\vrule width 0.6pt}% p{2\skilllegend@padding}% p{\cvskilllegend@leftdescriptorwidth}@{\hspace{\skillmatrix@padding}}% - p{\cvskill@width}@{\hspace{\skilllegend@padding}};{.6pt/1pt}% + p{\cvskill@width}@{\hspace{\skilllegend@padding}}!{\color{bodyrulecolor}\vrule width 0.6pt}% p{2\skilllegend@padding}p{\cvskilllegend@rightdescriptorwidth}@{}}% \raggedleft\hintstyle{} & \cvskill{1} & & {\skillLegend@FontSize #3} & \cvskill{3} & & {\skillLegend@FontSize #5 } \\ % @@ -783,9 +778,9 @@ \setlength{\cvskilllegend@rightdescriptorwidth}{\skilllegend@bodylength-\skilllegend@leftdesriptorfactor\skilllegend@bodylength-\cvskill@width-\skillmatrix@padding-3\skilllegend@padding}% \begin{tabular}{@{}p{\skilllegend@hintscolumnwidth}% @{\hspace{\separatorcolumnwidth}}% - p{\cvskill@width}@{\hspace{\skilllegend@padding}};{.6pt/1pt}%% + p{\cvskill@width}@{\hspace{\skilllegend@padding}}!{\color{bodyrulecolor}\vrule width 0.6pt}%% p{2\skilllegend@padding}p{\cvskilllegend@leftdescriptorwidth}@{}@{\hspace{2\skillmatrix@padding}}% - p{\cvskill@width}@{\hspace{\skilllegend@padding}};{.6pt/1pt}% + p{\cvskill@width}@{\hspace{\skilllegend@padding}}!{\color{bodyrulecolor}\vrule width 0.6pt}% p{2\skilllegend@padding}% p{\cvskilllegend@rightdescriptorwidth}@{}}% \raggedleft\hintstyle{#8} & \cvskill{1}& & {\skillLegend@FontSize #3} & \cvskill{4}& &{\skillLegend@FontSize #6} \\% @@ -831,10 +826,10 @@ \setlength{\cvskilllegend@leftdescriptorwidth}{\skilllegend@leftdesriptorfactor\skilllegend@bodylength-\cvskill@width-\skillmatrix@padding-6\skilllegend@padding}% \setlength{\cvskilllegend@rightdescriptorwidth}{\skilllegend@bodylength-\skilllegend@leftdesriptorfactor\skilllegend@bodylength-\cvskill@width-\skillmatrix@padding-6\skilllegend@padding}% \begin{tabular}{@{}p{\skilllegend@hintscolumnwidth} - @{\hspace{\separatorcolumnwidth}}p{\cvskill@width}@{\hspace{\skilllegend@padding}};{.6pt/1pt}% + @{\hspace{\separatorcolumnwidth}}p{\cvskill@width}@{\hspace{\skilllegend@padding}}!{\color{bodyrulecolor}\vrule width 0.6pt}% p{2\skilllegend@padding}% p{\cvskilllegend@leftdescriptorwidth}@{\hspace{2\skillmatrix@padding}}% - p{\cvskill@width}@{\hspace{\skilllegend@padding}};{.6pt/1pt}% + p{\cvskill@width}@{\hspace{\skilllegend@padding}}!{\color{bodyrulecolor}\vrule width 0.6pt}% p{2\skilllegend@padding}p{\cvskilllegend@rightdescriptorwidth}@{}}% \raggedleft\hintstyle{} & \cvskill{1} & & {\skillLegend@FontSize#3} & \cvskill{4} & & {\skillLegend@FontSize#6}\\% % @@ -1007,7 +1002,7 @@ p{\cvskill@descriptorwidth}@{\hspace{\skillmatrix@padding}}% p{\cvskill@experiencewidth} @{\hspace{\skillmatrix@padding}}% p{\skillmatrix@commentwidth}@{}}% - \cdashline{2-5}[.6pt/1pt] + \noalign{\vspace{2pt}\noindent\tikz \draw[dashed, color=bodyrulecolor, line width=0.6pt] (0,0) -- (\linewidth,0);\vspace{2pt}} \raggedleft\hintstyle{#3} &\centering \cvskill{#4} &\centering {#5} & \centering {#6} &{\itshape#7}% \end{tabular}% \endgroup