TeX - LaTeX Stack Exchange is a question and answer site for users of TeX, LaTeX, ConTeXt, and related typesetting systems. It's 100% free, no registration required.

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

Using moderncv, does anyone know how I change the command \cvlanguage{}{B}{} such that the column containing B gets wider? As it is now it linebreaks after 15 characters.

I also don't want the changes to affect any other commands

share|improve this question
up vote 8 down vote accepted

\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 smaller than one). Don't forget to change the 0.325 to something smaller (ideally the sum should stay the same). For example:

\renewcommand*{\cvlanguage}[3]{%
  \cvline{#1}{\begin{minipage}[t]{0.7\maincolumnwidth}\textbf{#2}\end{minipage}\hfill\begin{minipage}[t]{0.25\maincolumnwidth}\raggedleft\footnotesize\itshape #3\end{minipage}}}
share|improve this answer
    
Thank you fabikw! – Leonard Dec 14 '10 at 0:40

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.