xdanaux / moderncv Goto Github PK
View Code? Open in Web Editor NEWA modern curriculum vitae class for LaTeX
A modern curriculum vitae class for LaTeX
The following post on TeX.SE identifies a spurious space in the construction of the header under the classic
style:
moderncv, classic style: how to shift address box to the right?
Adding the appropriate line-ending %
would remove this spurious space.
I'm using the version "version 2.0.0 (28 Jul 2015)"
In the last version of the pdf avialable (moderncv_userguide.v2.pdf), in the Additional Commands section there is a reference to the command \weblink but it doesn't work.
There is also a reference to the command \httplink. This command works as expected.
I think this is only a documentation bug.
Regards
There is too much space between the bibliography heading and first entry, as well as after the last entry.
This issue seems to be known, as it says BUG/TODO: remove extra space between heading and first bibliography entry, as well as after last one
in moderncvbodyv.sty
I have no clue how to find where this space comes from, maybe someone has a hint?
In the banking template, if I have a long description in a cventry (4th argument), then the description flows into the second column (containing City and year). It would be nice if the text wraps it happens.
Hi,
\setlength{\makecvtitlenamewidth}{10cm}
as used in your "template.tex" example will not compile (if uncommented), supposedly because this length seems to be called makecvheadnamewidth now.
Using \cvitem (or one of its derivatives like \cventry) with an itemize list like
\cvitem{foo}{\begin{itemize}%
\item bar%
\end{itemize}}
in fancy style, results in a too big vertical space after the entry.
This can be seen in the example template_fancy_purple.pdf too (the space between the first two jobs is a lot bigger than between the first two degrees).
With respect to the CV heading: I wonder whether it would be possible to allow for the author's given name and family name to be prefixed by a title. Example: Dr. John Doe. In this example, Dr. and Doe would have the same color. And as the dot/fullstop "." after "Dr." does not indicate an end of the sentence, the blank should be a normal blank.
Many thanks for considering! And I am sorry if suggesting this here is the wrong venue! Great that you maintain this package!
when i use xelatex complies templatex-zh.tex, i find it was ok to use classic and oldstyle but failed when I used banking and casual style. The error was reported as below.
/usr/local/texlive/2015/texmf-dist/tex/latex/fontawesome/fontawesome.sty:27: !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! [\newfontfamily{\FA}{FontAwesome}]
Is there any bugs? May be something wrong with fontawesome?
I don't know if i must talk about that issue here or to the fedora package's owner of texlive-moderncv but when I try to use \moderncvtheme{fancy} i got that error "File `moderncvstylefancy.sty' not found."
I have a weird printing problem with the moderncv casual style:
I want to use color1 for the heading of "firstname lastname", like the following:
{\color{color1!50}\@firstname} {\color{color1}\@lastname}
this works fine on display, but when printing from Linux the colors are in grayscale. When printed from Mac OS X (same printer) the colors are as expected. To make it more interesting: when renewing the
\renewcommand*{\namefont}{\fontsize{38}{40}\mdseries\upshape}
to \fontsize{20}{22}
(or smaller) the text is printed in color. Using a new tex file (report class) using various font sizes printing on Linux worked fine.
Any ideas, where I can look to solve this?
Hi!
I have
texlive-bibtexextra 2016.42278-1
texlive-bin 2016.41290-9
texlive-core 2016.42515-2
texlive-fontsextra 2016.42286-1
texlive-formatsextra 2016.41438-3
texlive-games 2016.39318-2
texlive-genericextra 2016.42435-1
texlive-htmlxml 2016.41841-1
texlive-humanities 2016.42509-1
texlive-langcyrillic 2016.42428-1
texlive-latexextra 2016.42294-1
texlive-moderncv-git v2.0.0.r10.g2033517-1 # !!!!
texlive-music 2016.41913-1
texlive-pictures 2016.42477-1
texlive-plainextra 2016.42258-1
texlive-pstricks 2016.42276-1
texlive-publishers 2016.42522-1
texlive-science 2016.42453-1
I opened simple cv (copied from https://www.overleaf.com/7365392wdxwpscvfmrf) in TeXstudio. When I am trying to compile I get
line 139: pdfTeX error (font expansion): auto expansion is only possible with scalable fonts.
line 91: Font shape `T1/lmss/m/sc' in size <10.95> not available(Font) Font shape `T1/lmr/m/sc' tried instead
How I can fix it?
Would it make sense to allow \@recipientname
and/or \@recipientaddress
to be undefined and print nothing without raising an error?
Looking at moderncvheadstylei.sty, it looks like it could be as simple as:
% recipient block
\begin{minipage}[t]{.5\textwidth}
\raggedright%
\addressfont%
\ifthenelse{\isundefined{\@recipientname}}{}{{\bfseries\upshape\@recipientname}\\}%
\ifthenelse{\isundefined{\@recipientaddress}}{}{\@recipientaddress}%
\end{minipage}
And so on for the other head styles.
I don't know what's going wrong, but I am not able to get Xing, GitLab and Skype references working. Has anybody an idea how to fix it?
Source (from examples/template.tex):
% personal data
\name{John}{Doe}
\title{Resumé title} % optional, remove / comment the line if not wanted
\address{street and number}{postcode city}{country}% optional, remove / comment the line if not wanted; the "postcode city" and "country" arguments can be omitted or provided empty
\phone[mobile]{+1~(234)~567~890} % optional, remove / comment the line if not wanted; the optional "type" of the phone can be "mobile" (default), "fixed" or "fax"
\phone[fixed]{+2~(345)~678~901}
\phone[fax]{+3~(456)~789~012}
\email{[email protected]} % optional, remove / comment the line if not wanted
\homepage{www.johndoe.com} % optional, remove / comment the line if not wanted
\social[linkedin]{john.doe} % optional, remove / comment the line if not wanted
\social[xing]{john\_doe} % optional, remove / comment the line if not wanted
\social[twitter]{jdoe} % optional, remove / comment the line if not wanted
\social[github]{jdoe} % optional, remove / comment the line if not wanted
\social[gitlab]{jdoe} % optional, remove / comment the line if not wanted
\social[skype]{jdoe} % optional, remove / comment the line if not wanted
\extrainfo{additional information} % optional, remove / comment the line if not wanted
\photo[64pt][0.4pt]{picture} % optional, remove / comment the line if not wanted; '64pt' is the height the picture must be resized to, 0.4pt is the thickness of the frame around it (put it to 0pt for no frame) and 'picture' is the name of the picture file
\quote{Some quote} % optional, remove / comment the line if not wanted
Update:
Using mactex version 20170524 on OSX High Sierra...
When using the \makecvtitle
command, social links are displayed underneath the contact info in the top right. However, when using \makelettertitle
this is omitted.
In this example, the social info is displayed:
\documentclass[11pt,a4paper,sans]{moderncv}
\moderncvstyle{classic}
\moderncvcolor{blue}
\usepackage[scale=0.80]{geometry}
\firstname{Milton}
\familyname{Waddams}
\title{Stiplr Analyst}
\address{address 1}{city, 012345}
\phone{+1 123 124 1234}
\email{[email protected]}
\social[github]{miltonwaddams}
\begin{document}
\makecvtitle
\section{Employment}
\cventry{1998--2000}
{Initech}{}
{Stipler Inspector}
{}
{
I don't care if they lay me off either, because I told, I told Bill that if they move my desk one more time, then, then I'm, I'm quitting, I'm going to quit. And, and I told Don too, because they've moved my desk four times already this year, and I used to be over by the window, and I could see the squirrels, and they were merry, but then, they switched from the Swingline to the Boston stiplr, but I kept my Swingline stiplr because it didn't bind up as much, and I kept the staples for the Swingline stapler and it's not okay because if they take my stapler then I'll set the building on fire...
}
\end{document}
\documentclass[11pt,a4paper,sans]{moderncv} % possible options include font size ('10pt', '11pt' and '12pt'), paper size ('a4paper', 'letterpaper', 'a5paper', 'legalpaper', 'executivepaper' and 'landscape') and font family ('sans' and 'roman')
% moderncv themes
\moderncvstyle{classic}
\moderncvcolor{blue}
\usepackage[scale=0.80]{geometry}
\nopagenumbers
\renewcommand*{\labelitemi}{\strut\textcolor{color1}{\large\rmfamily\textbullet}}
% Applicant Personal Data
\name{Milton}{Waddams}
\address{2 Initech Way}{Exampleville \space 012345}{}
\phone{012 627 8817}
\email{[email protected]}
\social[github]{miltonwaddams}
\begin{document}
\recipient{Bill Lumbergh}{1, Example Drive\\ Exampleville, \space 01234}
\date{\today}
\opening{Dear Bill Lumbergh,}
\closing{Sincerely,}
\enclosure[Attached]{curriculum vit\ae{}}
\makelettertitle
I am writing to apply for the position of stipler supervisor, because I said at my last job that they took my stipler and I said that I would quit
\makeletterclosing
\end{document}
Bullets are set too low. This can be observed even in the sample documents, e.g. the bulleted achievements here.
I remember figuring this out years ago, but I don't remember the solution. I seem to recall something about the engine mattering (LuaLaTeX/pdfLatex).
Hi,
Not really an issue, but I was wondering if it would be possible to create a custom \social
item where the user can provide his own logo for a social media. I'm guessing it would be possible to tweak the source files to create one, but I'm not big on using TeX like that...
The reason I'm asking that is that I would like to give my ORCID ID with their nice little logo.
If creating a custom command is too much work for the use, I would love it if you could guide me through the steps of doing it myself!
Best,
Arthur
Hello,
First, thank you for your awesome package !
The bibliography is at the section level when using both packages instead of the subsection level.
You can modify the template-multibib.tex as follows to reproduce the issue and to see my 'dirty' workaround. I cannot attach a tex file to the issue.
\usepackage[numbers]{natbib} %%FIXME use the section level instead of subsection !
%% Uncomment this dirty workaround to 'fix' the issue
% \renewcommand\bibsection{%
% \subsection*{\refname}%
% }%
% bibliography with mutiple entries
\usepackage{multibib}
\newcites{book,misc}{{Books},{Others}}
Hello,
Firstly, I would like to thank you for your hard work on this great modencv template. I really use it everyday for my resumé, please do continue :)
I have a simple question for you. How can I change green color.
I have tried to modify \definecolor{sectionrectanglecolor}{rgb}{0,0.79,0.136} without success :(
I need following color :
CMYK 80 / 0 / 60 / 0
RGB 1 / 169 / 130
HEX #01a982
PMS 339
I don't understand how to configure rgb colors to 1 / 169 / 130 colors ? What is the calculation method to have a 0.x value?
Thanks for help
\homepage{https://foo}
generates link to https//foo
\extrainfo{\url{https://foo}}
works but then I miss the mouse logo
\homepage{\url{https://foo}} results into stack overflow
When I only provide the address, the phone and the mail message, the cv title show a ugly spacing line between the address and the phone/mail line.
Is there any solution? I using the banking theme
It seems the version 2012/10/31 v1.2.0 have no the problem
The problem seems happen to the version: 2015/07/28 v2.0.0
See here:
Solution:
Replace \roman{<counter>}
with \romannumeral\c@<counter>
.
When bibtex bibliographies are included from https://ui.adsabs.harvard.edu/ the articles macros
are not recognized even if the aas_macros.sty
package (http://doc.adsabs.harvard.edu/abs_doc/aas_macros.sty) is included. This method works with other classes such as article
and report
.
\usepackage{aas_macros}
\nocite{*}
\bibliographystyle{plainyr}
\bibliography{ads}
! Undefined control sequence.
\ref@jnl #1->{\jnl@style
#1}
l.18 \newblock {\em \mnras
}, 370:529--558, August 2006.
All the examples have short names, emails, urls, etc., and many formats don't work with long-ish names.
For example, a name such as Johnathan W. Doughmaker doesn't look good in many of the formats (esp. banking, classic), especially if you use the optional title after. Any way to have the font size dynamically scaled to fit?
The same thing happens if a URL is long-ish (the wrapping looks bad). It would be better if a template supported names with more length.
moderncv loads styles with the help of \romanumeral. While \romannumeral 1
outputs an i
and so the file is found, the catcode of the i is different, and so one get tons of warnings regarding the package names:
LaTeX Warning: You have requested package `moderncvheadi',
but the package provides `moderncvheadi'.
Suggested fix (if you want to use letters instead of normal numbers in the file names):
\newcommand*{\moderncvhead}[2][]{
\expandafter\RequirePackage\expandafter[\expandafter#1\expandafter]{\expandafter moderncvhead\romannumeral #2}}
There are unnecessary (and wrong as \expandafter goes behind the next token, so you are actually expanding the "o" in moderncvhead). \RequirePackage[#1]{moderncvhead\romannumeral #2}}
should work fine.
\ProvidesPackage{moderncvhead\romannumeral 1}[2015/07/28 v2.0.0 modern curriculum vitae and letter header variant: 1]
Hi!
I just reinstalled my whole system yesterday (Debian 9 Stretch) and found a regression when compiling my resume. The bug was introduced in moderncv between these two version:
\newline
not working (also, the text is not bold anymore)\newline
create a line break as expectedMinimal example:
\documentclass[11pt, a4paper]{moderncv}
\usepackage[utf8]{inputenc}
\moderncvstyle{classic}
\moderncvcolor{blue}
\firstname{first}
\familyname{last}
\begin{document}
\cvitemwithcomment{2016-2017}{ Lorem ipsum dolor sit amet, consectetur adipiscing elit. \newline Donec efficitur rutrum nisl, quis sodales mi mattis eget.}{}
\end{document}
Some more info (not sure if usefull ...)
tree
's output for moderncv v2.0.0 installed with tlmgr
:
$ tree ~/texmf/
/home/nodraak/texmf/
├── tex
│ └── latex
│ ├── framed
│ │ └── framed.sty
│ └── moderncv
│ ├── moderncvbodyiii.sty
│ ├── moderncvbodyii.sty
│ ├── moderncvbodyi.sty
│ ├── moderncvbodyiv.sty
│ ├── moderncvbodyv.sty
│ ├── moderncv.cls
│ ├── moderncvcollection.sty
│ ├── moderncvcolorblack.sty
│ ├── moderncvcolorblue.sty
│ ├── moderncvcolorburgundy.sty
│ ├── moderncvcolorgreen.sty
│ ├── moderncvcolorgrey.sty
│ ├── moderncvcolororange.sty
│ ├── moderncvcolorpurple.sty
│ ├── moderncvcolorred.sty
│ ├── moderncvcompatibility.sty
│ ├── moderncvdebugtools.sty
│ ├── moderncvfooti.sty
│ ├── moderncvheadiii.sty
│ ├── moderncvheadii.sty
│ ├── moderncvheadi.sty
│ ├── moderncvheadiv.sty
│ ├── moderncvheadvi.sty
│ ├── moderncvheadv.sty
│ ├── moderncviconsawesome.sty
│ ├── moderncviconsletters.sty
│ ├── moderncviconsmarvosym.sty
│ ├── moderncvstylebanking.sty
│ ├── moderncvstylecasual.sty
│ ├── moderncvstyleclassic.sty
│ ├── moderncvstyleempty.sty
│ ├── moderncvstylefancy.sty
│ ├── moderncvstyleoldstyle.sty
│ └── tweaklist.sty
├── tlpkg
│ ├── texlive.tlpdb
│ └── tlpobj
│ ├── 00texlive.installation.tlpobj
│ ├── framed.tlpobj
│ └── moderncv.tlpobj
└── web2c
└── tlmgr.log
tree
's output for moderncv v1.5.1 installed manually:
$ tree ~/texmf/
/home/nodraak/texmf/
├── tex
│ └── latex
│ ├── base
│ │ └── moderncv.cls
│ ├── framed
│ │ └── framed.sty
│ └── moderncv
│ ├── moderncvcollection.sty
│ ├── moderncvcolorblack.sty
│ ├── moderncvcolorblue.sty
│ ├── moderncvcolorgreen.sty
│ ├── moderncvcolorgrey.sty
│ ├── moderncvcolororange.sty
│ ├── moderncvcolorpurple.sty
│ ├── moderncvcolorred.sty
│ ├── moderncvcompatibility.sty
│ ├── moderncviconsawesome.sty
│ ├── moderncviconsletters.sty
│ ├── moderncviconsmarvosym.sty
│ ├── moderncvstylebanking.sty
│ ├── moderncvstylecasual.sty
│ ├── moderncvstyleclassic.sty
│ ├── moderncvstyleempty.sty
│ ├── moderncvstyleoldstyle.sty
│ └── tweaklist.sty
├── tlpkg
│ ├── texlive.tlpdb
│ └── tlpobj
│ ├── 00texlive.installation.tlpobj
│ └── framed.tlpobj
└── web2c
└── tlmgr.log
Fresh system install from yesterday:
$ pdflatex -v
pdfTeX 3.14159265-2.6-1.40.17 (TeX Live 2016/Debian)
kpathsea version 6.2.2
[... legal disclaimers ...]
Compiled with libpng 1.6.28; using libpng 1.6.28
Compiled with zlib 1.2.8; using zlib 1.2.8
Compiled with poppler version 0.48.0
moderncviconsawesome.sty defines \addresssymbol
to be none. \faHome
looks good to me:
\renewcommand*{\addresssymbol} {{\faHome}~}
Can you please update the UserGuide. The one are here on Github are outdated and for new users - like me, an new UserGuide would be much helpful. thanks
Dear Mr. Danaux,
Allow me to start by thanking you for your work on the beautiful moderncv class, I have been using it ever since I wrote my first CV when I was starting college in 2010, not to mention numerous number of people I recommended your project to. Thank you very much for all your efforts.
I have searched for a solution to my problem in the internet and especially stackexchange and could not find a solution unfortunately. My problem started after the update to version 2.0.0 I guess.
I used to use the code provided in http://tex.stackexchange.com/a/224888 to get double column references but now even with the complete example provided there which I was able to run I get the error:
! Undefined control sequence.
\listitemmaincolumnwidth
which is set in the recomputecvlengths command. Can you help me figure out this problem?
Thank you very much.
template.tex
under the casual
style currently shows the following footer:
The fontawesome icons in the footer are obviously wrong.
I can't add two /extrainfo{} in the preamble. Is it normal? Or is there a way to do it that I don't know about?
Left justifying dates improves readability. It allows the eye to come back to a strong line and top down scanning.
I would love to see an option or default! Let me know what you think.
Hi,
since the update of moderncv to 2.0, I get orphans (i.e. orphaned paragraphs at the end of one page) in my CV that worked fine with 1.x.
At the end first page, there is some code saying:
\section{\bfseries Experience}
\subsection{Working}
This was previously placed on the next page, now its on the first page, but all the \cventries that follow in this subsection are on the next page.
This seems to be a bug. Is there a temporary workaround?
Currently the repo size is about 67 MB which is quite heavy for such a small number of revisions. The reason is that PDF files for manual and examples cannot be effectively delta-compressed, so the size increases linearly.
Maybe you should consider removing PDF files from the repo and just write a separate build script which will prepare everything for CTAN submission.
I'll just let TeX.Stackexchange speak her: https://tex.stackexchange.com/questions/260446
It would be nice to be able to include an ORCID ID, and perhaps things like arXiv and PhilPapers. There are icons in https://github.com/jpswalsh/academicons and there is a package on CTAN: https://ctan.org/pkg/academicons
If I can get it working would you accept a pull request?
I'm using moderncv v2.0.0, and when I compile with concmath font is fine, without errors, but when I change to ccfonts, it shows some error messages like this:
! Illegal parameter number in definition of \phonesdetails.
2
l.30 \makecvtitle
You meant to type ## instead of #, right?
Or maybe a } was forgotten somewhere earlier, and things
are all screwed up? I'm going to assume that you meant ##.
My preamble is this:
\documentclass[a4paper]{moderncv}
\moderncvstyle{classic}
\moderncvcolor{blue}
\usepackage[T1]{fontenc}
\usepackage[utf8]{inputenc}
\usepackage{ccfonts}
\usepackage[english]{babel}
\usepackage{fontawesome}
\usepackage[left=2cm,right=2cm,top=2cm,bottom=2cm]{geometry}
\name{Rafael}{Ribeiro Bento e Silva}
\address{Villagio do Cohatrac V}{São Luís - MA}{}
\social[linkedin]{john-doe}
\phone[mobile]{00-00000000}
\social[github][github.com/Rafael-Bento]{Rafael-Bento (Github)}
\email{[email protected]}
\moderncvicons{awesome}
I guess that it is a problem with the font, but the error message is not clear
I see that the project has a number of pull requests and the last commit is over one year ago. Is this project dead? It would be nice to have people integrate the enhancements that they have created back and have the one-moderncv-to-rule-them-all...
Some CVs have more than one page of references. When I try this, it just cuts off the bibliography at one page (crashing into the margin). It seems the style doesn't support long (multi-page) bibliographies?
Is there a way to turn off pagebreak around \cventry so that the entry is broken across multiple pages?
Thanks!
In moderncvfooti.sty
, the footer size is progressively checked against \footwidth
. If it exceeds this length, a line break \\
is inserted. This check should be performed using \ifdim
, not \ifnum
:
\newcommand*{\addtofoot}[2][\footsymbol]{%
\if@firstfootelement%
\savebox{\foottempbox}{\usebox{\footbox}#2}%
\else%
\savebox{\foottempbox}{\usebox{\footbox}#1#2}\fi%
\settowidth{\footboxwidth}{\usebox{\foottempbox}}%
\ifnum\footboxwidth<\footwidth% <---------------------------------
\savebox{\footbox}{\usebox{\foottempbox}}%
\@firstfootelementfalse%
\else%
\flushfoot\\%
\savebox{\footbox}{#2}%
\savebox{\foottempbox}{#2}%
\settowidth{\footboxwidth}{\usebox{\footbox}}%
\@firstfootelementfalse\fi}
How would it be possible to include a photo when using the banking style?
I have the font size set to 12pt in the document class options but the cventry description font size is 10pt. I would like to scale text sizes up so that cventry description font size is 12pt.
\documentclass[12pt, a4paper, nocolor, final]{moderncv} is my header.
I am writing an Arch Linux AUR PKGBUILD to use your git repository. However, I noticed that you do not include tags in your releases.
May you add a tag to commit f50d1cf?
git tag -a 2.0.0 f50d1cff -m "Release 2.0.0"
git push origin 2.0.0
While \IfFileExists
can be helpful to avoid error messages due to non-existent files (think self-made auxiliary files), it can have serious drawbacks when used for package loading. As currently used, packages will be skipped over if they are not found. This means that two documents with the same code can have significantly different output on different installations. Granted, there is always a chance that things look slightly different if compiled with different package installations, but since the class currently does \IfFileExists
with font packages, the impact can be huge.
Since there are no error messages or warnings, the files will just silently look different and confuse people. Case in point: https://tex.stackexchange.com/q/446425/35864
So I suggest to drop the \IfFileExists
test when loading font packages. If you want the font, load it directly, be upfront about it. If you want your users to be able to use the files even without the default font packages, an option to disable font loading seems more sensible, since it lets people actively decide to opt in or out.
I keep the following option commented but I still have no page number at all. My resume is longer than one page and use the classic style.
%\nopagenumbers{} % uncomment to suppress automatic page numbering for CVs longer than one page
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.