# Tag Info

1

I had same problem, but I found the solution. In my case, I had \\ in some fields, for example : \title{ Administrateur système GNU--Linux \\ Responsable technique. } When I deleted \\, the compilation ran correctly. \title{ Administrateur système GNU--Linux Responsable technique. } If there is a \\ string in the fields firstname, ...

1

OK, here is an example of libertine CV. Change `sans to rmfamily if you want. \documentclass[11pt,a4paper]{moderncv} \usepackage{libertine} %% or newtxtext for times \moderncvstyle{classic} \moderncvcolor{blue} \usepackage[scale=0.75]{geometry} \name{John}{Doe} \title{Title} \address{street and number}{postcode city}{country} ...

1

First you need to choose a bullet, or search through the source code of moderncv to find out what bullet they use for \item. \myitem is close, but not exactly the same. \documentclass[11pt,a4paper,sans]{moderncv} \moderncvstyle{casual} \moderncvcolor{blue} \usepackage{lipsum} \usepackage[scale=0.75]{geometry} \firstname{John} \familyname{Smith} ...

0

For Okular choose View->Presentation mode and you'll get what you want.

2

Here's one option. I redefined \section as implemented for the classic style so now you have a third optional argument allowing you to place anything (in particular, an image) before the section: \documentclass[11pt,a4paper,sans]{moderncv} \moderncvstyle{classic} \moderncvcolor{blue} \usepackage[scale=0.75]{geometry} \firstname{John} \familyname{Smith} ...

1

It seems that the easiest way would be to add an empty \extrainfo{} before the command \makelettertitle. Thereby you would overwrite the previous information. \documentclass[11pt,a4paper,sans]{moderncv} \pagestyle{fancy} \usepackage{moderntimeline} \moderncvstyle{classic} \moderncvcolor{green} \usepackage[utf8]{inputenc} \usepackage[scale=0.75]{geometry} ...

2

A much simpler way, which also includes the email symbol is: \extrainfo{\emailsymbol\emaillink{email@email.com}} so: \email{emailOne@email.com} \extrainfo{\emailsymbol\emaillink{emailTwo@email.com}}

6

One option using the tikzmark library: \documentclass[11pt,a4paper,sans]{moderncv} \moderncvstyle{classic} \moderncvcolor{blue} \usepackage[scale=0.75]{geometry} \usepackage{tikz} \usetikzlibrary{tikzmark} \name{John}{Doe} \title{Title} \address{\tikzmark{start}street and number}{postcode city}{country} \phone[mobile]{+1~(234)~567~890} ...

1

If you look at \meaning\firstname, you'll see that it just means \def\@firstname{#1} To get the functionality you want, you'll have to say \firstname{Firstname} \begin{document} \makecvtitle % Print the CV title \section{Personal Data} \cvitem{}{\makeatletter\@firstname\makeatother} (Remembering, of course, that you can make a macro to ...

2

The moderncv document class can handle this just like any other document class. Easiest would be to include \usepackage{pdfpages}% http://ctan.org/pkg/pdfpages in your preamble and insert \includepdf{<file>} wherever you want to include a PDF <file>. <file> can be multi-page (or not) and you can specify the pages to include. See the ...

2

You can modify \cventry so that its content is inside a minipage. Put these lines in your preamble: \renewcommand*{\cvitem}[3][.25em]{% \ifthenelse{\equal{#2}{}}{}{\begin{minipage}[t]{15cm}\hintstyle{#2}: }{#3}\end{minipage}% \par\addvspace{#1}} and adjust 15cm to your needs. MWE: \documentclass[12pt,a4paper,sans]{moderncv} \usepackage{verbatim} % ...

2

In order to make your code compilable you have to specify, at least, a theme, e.g. \moderncvtheme[blue]{classic} and a name for the CV, e.g. \firstname{John}\familyname{Doe} Then, all you have to do to achieve what you want is to insert a \newline at the beginning of the third mandatory argument of \cventry (it works whatever theme you choose). MWE: ...

2

\documentclass[11pt,a4paper,sans,english]{moderncv} \moderncvstyle{classic} \moderncvcolor{blue} \usepackage{lipsum} \usepackage[scale=0.8,a4paper]{geometry} \usepackage{xltxtra} \usepackage{xunicode} \setmainfont[Mapping=tex-text]{Times New Roman} \setsansfont[Mapping=tex-text]{Calibri} \newfontfamily{\cyrillicfonttt}{Courier New} \usepackage{polyglossia} ...

5

We have to completely redefine \makecvtitle. Add the following lines in your preamble: \makeatletter \renewcommand*{\makecvtitle}{% % recompute lengths (in case we are switching from letter to resume, or vice versa) \recomputecvlengths% % optional detailed information (pre-rendering) \def\phonesdetails{}% \collectionloop{phones}{% the key holds ...

6


4

Add the following lines in the preamble: \makeatletter \renewcommand*{\bibliographyitemlabel}{\@biblabel{\arabic{enumiv}}} \patchcmd{\thebibliography} {\setlength{\labelwidth}{\hintscolumnwidth}} {\setlength{\labelwidth}{0pt}} {} {} \makeatother and you will get what you want. The line ...

1

I found what the problem was. Everytime I change the .bib file, I have to change into the .aux file the line that defines the style \bibstyle{moderncv} to \bibstyle{plainyr}. Then I compile the .bib file and then I create the pdf. Everything works fine!

6

This way should work: \documentclass{moderncv} % other stuff here \ifx\conditionmacro\undefined \immediate\write18{% pdflatex --jobname="cv-pt" "\gdef\string\conditionmacro{1}\string\input\space\jobname" }% \immediate\write18{% pdflatex --jobname="cv-pt-web" "\gdef\string\conditionmacro{2}\string\input\space\jobname" }% ...

6

Making it a little simpler, you can patch \maketitle through the \patchcmd command from etoolbox (loaded by moderncv) so to set the length \maketitlewidth to \textwidth. That is, add the following lines to your preamble: \patchcmd{\maketitle} {\setlength{\maketitlewidth}{0.8\textwidth}} {\setlength{\maketitlewidth}{\textwidth}} {} {} MWE: ...

1

This works: \documentclass[12pt,a4paper,finnish]{moderncv} \moderncvstyle{banking} \moderncvcolor{blue} \usepackage{babel} \usepackage[latin1]{inputenc} \usepackage[T1]{fontenc} \usepackage{fouriernc} \usepackage[scale=0.75]{geometry} \makeatletter \renewcommand*{\maketitle}{% \setlength{\maketitlewidth}{\textwidth}% \hfil% ...

0

I found how can I accomplish what I wanted, by modifying my entry in a following way \cventry{2006}{\textnormal{\textbf{markets}}}{Certified as technical and fundamental analyst of international financial}{City, Country}{}{\normalsize{\textit{Euro-Finance company}}} But, I think, this is very artificial and not convenient for general use.

4

Redefine \cventry as \renewcommand*{\cventry}[7][.25em]{ \begin{tabular*}{\textwidth}{p{7cm}@{\extracolsep{\fill}}r}% {\bfseries #4} & {\bfseries #5} \\% {\itshape #3\ifthenelse{\equal{#6}{}}{}{, #6}} & {\itshape #2}\\% \end{tabular*}% \ifx&#7&% \else{\\\vbox{\small#7}}\fi% \par\addvspace{#1}} and adjust 7cm to your needs. MWE: ...

0

You're suffering from two entirely reasonable misapprehensions. The first thing to point out is that the {figure} environment in fact has very little to do with graphics: \includegraphics may go anywhere, and a {figure} may contain just text. What {figure} does is (a) to provide the floating of a figure (of whatever type) away from the point of the file ...

1

you can't use wrapfigure in this context as it demands too much for it to be properly placed. On the other hand, if you want to overlay the photo, you can use textpos package but don't put your photo inside a figure environment as it is a float. This is how it should be done: \documentclass{article} \usepackage{graphicx} ...

2

If cvline and enumitem are allowed, this is an alternative where a customized macro \ccvline taking 4 parameters (year, title/job, school, description) is defined. Code: \documentclass[12pt,a4paper,sans]{moderncv} \moderncvtheme[green]{classic} \usepackage[utf8]{inputenc} \usepackage[scale=0.8]{geometry} \usepackage{enumitem} \firstname{Ice} ...

4

You can define a new command \subcventry and use it instead of \cventry when you want it indented: \newcommand*{\subcventry}[7][.25em]{% \cvitem[#1]{#2}{% {\hspace*{1em}\bfseries#3}% \ifthenelse{\equal{#4}{}}{}{, {\slshape#4}}% \ifthenelse{\equal{#5}{}}{}{, #5}% \ifthenelse{\equal{#6}{}}{}{, #6}% .\strut% \ifx&#7&% ...

1

You can use pagecommand like this: \includepdf[pages=1-6,pagecommand={\thispagestyle{empty}}]{pgfmanual.pdf} Change appropriate style (plain or empty). MWE: \documentclass{article} \usepackage{kantlipsum} \usepackage{pdfpages} \usepackage{fancyhdr} \fancyhf{} \renewcommand{\headrulewidth}{1pt} %% made thick for visibility \pagestyle{fancy} \chead{My ...

4

Here's another option. I have slightly modified your code, so substitute yours with this one: \makeatletter \renewcommand*{\makecvtitle}{% % recompute lengths (in case we are switching from letter to resume, or vice versa) \recomputecvlengths% % optional detailed information (pre-rendering) \def\phonesdetails{}% \collectionloop{phones}{% the key holds the ...

4

Here's one option, using a redefinition of \makecvtitle: \documentclass[11pt,a4paper,sans]{moderncv} \moderncvstyle{classic} \moderncvcolor{blue} \usepackage[scale=0.75]{geometry} \makeatletter \renewcommand*{\makecvtitle}{% % recompute lengths (in case we are switching from letter to resume, or vice versa) \recomputecvlengths% % optional detailed ...

3

You can have a separate letter file. A template is provided in the modercv github letter.tex \documentclass[11pt]{article} \usepackage{kantlipsum} %% only for demo \usepackage[utf8x]{inputenc} \usepackage[T1]{fontenc} \usepackage{lmodern} \usepackage{marvosym} \usepackage{graphicx} \pagestyle{empty} \usepackage[scale=0.775]{geometry} ...

Top 50 recent answers are included