Take the 2-minute tour ×
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.

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
add comment

1 Answer 1

up vote 6 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
add comment

Your Answer

 
discard

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