Tag Info

Hot answers tagged

37

Here's a way of getting this to work with moderncv. I've defined a new macro, \funkycventry that takes the start and end year and then all the same arguments as cventry, and uses this to draw the timeline bar in the same colour and width as the section headers. If the end year is 0, the bar fades out, and no end year is printed. \documentclass[]{moderncv} ...


36

For the record, I have adapted Jake's code and began working on a new package called moderntimeline: \usepackage{moderntimeline} % Set the scale. % I go up to 2013 otherwise some late dates overflow on the entry \tlmaxdates{1999}{2013} % Set the line width. % This automatically sets the space under the top label to be 1pt more \tlwidth{0.8ex} % Set the ...


18

The current version of moderncv (version 0.19 of Feb 06, 2012) has 4 styles (other than the dummy empty one): casual (default), classic, oldstyle, and banking, and 7 color schemes: black, blue, green, grey, orange, purple, and red.


14

Pass the roman option to moderncv: \documentclass[roman]{moderncv} \usepackage{mathpazo} In this way only the titles will be in a sans serif font. If you want everything in Palatino, \documentclass{moderncv} \usepackage{mathpazo} \renewcommand{\sfdefault}{\rmdefault}


12

The themes for moderncv are located in files named moderncvstyle<name>.sty which are loaded by moderncv as sub-packages. In earlier versions they were named moderncvtheme<name>.sty instead, but this got changed (which broke my documents until I figured it out). You must rename existing older custom themes to match the new name in order to be ...


12

According to the changelog, \homepage was only added this May. Most Linux distributions don’t have recent enough TeX Live packages. You can either install a new version of TeX Live, replacing the one from your package manager, our install a current version of moderncv from CTAN into your local texmf dir.


12

You could either use the \tldatecventry, which will draw a circle instead of a bar: \tldatecventry{2009}{I did something cool for just one year.}{}{}{}{} Or you could patch moderntimeline.sty by replacing the three occurrences of \ifnum #3=0 with \pgfmathsetlength{\pgf@xa}{#3} \ifdim\pgf@xa=0pt and correcting the spacing by adding a missing % in ...


11

Add the following to your document preamble, after loading the moderncv style (classic): \usepackage{etoolbox}% http://ctan.org/pkg/etoolbox \makeatletter \patchcmd{\makelettertitle}% <cmd> {\raggedright \@opening}% <search> {\@opening}% <replace> {}{}% <success><failure> \makeatother The above patch just removes the ...


11

Without exploring more complex options, you could simply put each section in a separate file (say education.tex, experience.tex and references.tex) and include those in you main file (as Mariano correctly points out in his comment, using input is preferable to include in order to avoid page breaks): \input{education.tex} \input{experience.tex} ...


10

If you only want to fit the text on one page than I recommend the simple pragmatic approach of adjusting the spaces manually using some \vspace* with a negative value, normally a factor of \baselineskip. The following fits the last two lines on the page which are just too much to fit otherwise: \documentclass[11pt,a4paper]{moderncv} % moderncv themes ...


10

That is because moderncv.cls sets pdfborder to 0 0 0 at the beginning of the document; here's the relevant code: \AtEndPreamble{ \@ifpackageloaded{CJK} {\RequirePackage[CJKbookmarks]{hyperref}} {\RequirePackage[pdftex]{hyperref}} \AtBeginDocument{ \hypersetup{ breaklinks, baseurl = http://, pdfborder = 0 0 0, ...


9

moderncv places many of its items in LaTeX minipages which have their own footnote areas. You may use \footnotemark at the point that you want the mark and \footnotetext{some text} at a point in the source document that is at the outer level and can allow the footnote to migrate to the bottom of the main page.


9

Actually, a combination of the two answers given will give the desired result: \documentclass{scrlttr2} % ---- beginning of relevant part \usepackage{lmodern}% Latin Modern typeface (font) \usepackage[T1]{fontenc}% T1 font encoding for high quality font output \renewcommand{\familydefault}{\sfdefault}% Latin Modern's sans serif font family as default % ...


9

moderncv loads hyperref with the option unicode. This leads to the warning as you can try with this minimal example: \documentclass{article} \usepackage[unicode]{hyperref} \hypersetup{pdfkeywords = {test}} \begin{document} abx \end{document} The warning is described in section 6 of readme.pdf from hyperref. The best would be if moderncv would not use ...


8

There is also the empty theme. You can relatively easily create you own theme, though. If you are not satisfied with the output of moderncv, I suggest using one of these: http://rpi.edu/dept/arc/training/latex/resumes/


8

tex4ht uses dvi as the intermediate format (it inserts \specials into the dvi file). Therefore it internally calls latex, not pdflatex. Since moderncv uses hyperref as pdftex option, you might want to override it in the document, adding before teh4ht run: \hypersetup{tex4ht} You can do it automatically using this tex4ht magic that determines whether ...


8

There is no package makemypdfsmaller.sty which reduces the PDF file size without removing information. However, there are a few things you can do: Reduce number of images Do you really need to include eighteen images? Maybe sixteen or twelve is enough. Reduce image size You can use imagemagick (or gimp or …) to reduce the image size. You have to ...


8

This is all I can say without an MWE. Maybe it works for you. \documentclass{article} \usepackage{hyperref, etoolbox} \newtoggle{supervisor} %\toggletrue{supervisor} \newcommand{\myhref}[2]{% \iftoggle{supervisor}% {\href{#1}{#2}}% {#2}% } \begin{document} PhD student at the \myhref{http://www.weizmann.ac.il/}{Weizmann Institute of Science} ...


7

You can avoid the first warning by setting the option before \documentclass: \PassOptionsToPackage{pdfpagelabels=false}{hyperref} You can't avoid the other three without patching moderncv. moderncv sets some hyperref options incorrectly in a \AtBeginDocument.


7

moderncv uses a sans serif font for the entire document. As far as I can tell, there is no sans serif font in mathpazo, so you probably want to use the normal Palatino font in that package. To do that, you need to load the package change the sans serif font. Add \usepackage{mathpazo} \renewcommand{\sfdefault}{ppl} at the end of your preamble.


7

You just need to change the \maketitle command: % reverse the name and photo \makeatletter % maketitle \renewcommand*{\maketitle}{% {% {\firstnamestyle{\@firstname}~\familynamestyle{\@familyname}}}% \hfill% \ifthenelse{\isundefined{\@photo}}% {}% ...


7

I'm afraid there's no easy solution. As Marco stated, a CV requires attention and better control. I'll present a solution I use, though it's not totally LaTeX based. Here comes sphinx. According to the website, sphinx is a tool that makes it easy to create intelligent and beautiful documentation, written by Georg Brandl and licensed under the BSD license. ...


7

Just forget the TeXlive version from the Ubuntu repositories and install the real stuff: Getting TexLive installation to work How to install "vanilla" TeXLive on Debian or Ubuntu? Versions of TeXLive under Ubuntu A comment on the merits of the net installation. It is not ubuntu specific but the main points are still valid.


7

It seems to be a bug of moderncv. moderncv puts the page number in a \parbox but doesn't justify them vertical. So you can use the following redefinition: \makeatletter \renewcommand*{\nopagenumbers}{\@displaypagenumbersfalse} \AtEndPreamble{% \AtBeginDocument{% \if@displaypagenumbers% \@ifundefined{r@lastpage}{}{% ...


7

You can just wrap your \hypersetup command in \AtBeginDocument{...}. No need to fiddle with the .cls file: \documentclass{moderncv} \moderncvstyle{casual} \firstname{Mister} \familyname{X} \AtBeginDocument{ \hypersetup{colorlinks,urlcolor=red} } \begin{document} \makecvtitle \section{Stuff} ...


7

Thanks for reporting this bug @hakaze. The right way to correct the bug is to add \settowidth{\footerboxwidth}{\usebox{\footerbox}}% after line 55 of moderncvstylecasual.sty. By forcing \flushfooter as suggested above, you will create another regression bug when the footer was normally flushed as part of the regular routine (e.g., if you only want to ...


7

All you need to do is to define a newcommand (say, \emailtwo), completely analogous to \email as defined in moderncv.cls and then to modify appropriately the \makecvtitle command (as implemented in moderncvclassic.sty) to conditionally include the information for this new field: \documentclass{moderncv} \moderncvstyle{classic} \makeatletter ...


7

This is a partial (and not completely working answer) using koma-moderncvclassic, biblatex and biber. Sorting descending by year is easy (sorting=ydnt), but it get's difficult because we have to wrap the year and the rest of the bibliography into \cvlist{<year>}{<everything else>}. What I tried to do is: First, remove the brackets and delimiter ...


7

The entry you're showing is produce with \cventry, so we want to change the definition of this macro. It is defined in moderncvstyleclassic.sty. All I did is copy it into my preamble verbatim and remove the undesired comma. (In the MWE, I actually copied the line and commented out the original, to make the change recognizable. \documentclass{moderncv} ...


6

\cvlanguage is defined as: \newcommand*{\cvlanguage}[3]{% \cvline{#1}{\begin{minipage}[t]{0.625\maincolumnwidth}\textbf{#2}\end{minipage}\hfill\begin{minipage}[t]{0.325\maincolumnwidth}\raggedleft\footnotesize\itshape #3\end{minipage}}} What you have to do is redefine the command in your document changing the number 0.625 for something bigger (but ...



Only top voted, non community-wiki answers of a minimum length are eligible