Tag Info

Hot answers tagged

18

its a bug in the class, looks like a recent change in the github log, can't test here, no tex, but the package name constructed by \expandafter moderncv\romannumeral which doesn't do the right thing \expandafter does nothing there, you can ignore the warning until it's fixed. Lines 315 to 333 of moderncv.cls should be changed into % loads a header ...


6

With longtable \documentclass{article} \usepackage{array,longtable} \usepackage{lipsum} \begin{document} \begin{center} \bfseries\Large Curriculum Vitae \end{center} \begin{longtable}{@{}>{\raggedleft}p{0.25\linewidth}| p{\dimexpr0.75\linewidth-2\tabcolsep-\arrayrulewidth\relax}@{}} Address & Some address \\ ...


4

I suggest a different patch: \xpatchcmd{\cventry}{,}{\cventrycomma}{}{} \newcommand{\cventrycomma}{,} Then you can do \renewcommand{\cventrycomma}{\newline} when you want to have a new line instead of a comma. The restoration can be obtained in two ways: Enclose the part where you want the new line, including the \renewcommand, in a ...


3

You can simply use one \extrainfo command and add there all the information you require, using \makeheaddetailssymbol between entries if you want the usual separator between the various informations: \extrainfo{\href{www.google.com}{\textit{link}}\makeheaddetailssymbol \href{https://github.com/johndoe}{\faGithub~johndoe}\makeheaddetailssymbol additional ...


2

instead of redefining the whole command yourself also consider using xpatch: \usepackage{xpatch} \xpatchcmd\cventry{,}{}{}{} this line replaces the first occurence in the macro text of , by the empty string - i.e. removes it. Here is also a nice documentation of how the command works.


2

moderncv loads hyperref package by itself with the option unicode. These are the lines from moderncv.cls. \AtEndPreamble{ \pagenumbering{arabic}% has to be issued before loading hyperref, as to set \thepage and hence to avoid hyperref issuing a warning and setting pdfpagelabels=false \RequirePackage[unicode]{hyperref}% unicode is required for unicode ...


1

I had the same problem with FontAwesome and struggled a lot with my new Windows 10 Installation, MiKTeX 2.9 and TexStudio. I also tried other things like running initexmf --mkmaps and initexmf --update-fndb or reinstalling MiKTeX or reinstalling the packages using MPM which didn't help me. Here is what worked: miktex-makepk: PK font ...


1

On ModernCV version 2.0, the answer provided by Werner needs to be updated to: \usepackage{etoolbox}% http://ctan.org/pkg/etoolbox \makeatletter \patchcmd{\makeletterhead}% <cmd> {\raggedright \@opening}% <search> {\@opening}% <replace> {}{}% <success><failure> \makeatother


1

Have you tried a minipage with multicols? \documentclass[11pt,a4paper]{moderncv} \moderncvstyle{casual} \moderncvcolor{blue} \usepackage{layout} \usepackage{multicol} \usepackage{lmodern} \usepackage[ngerman]{babel} \usepackage{amsmath} \usepackage[utf8]{inputenc} \usepackage[top=1in, bottom=1.25in, left=1.25in, right=1.25in]{geometry} ...


1

I would do this as follows: \let\originalcventry\cventry% save a copy of \cventry \xpatchcmd\cventry{,}{\newline}{}{}% create the patched version ...use the patched version... \let\cventry\originalcventry% restore the original



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