TeX - LaTeX Stack Exchange is a question and answer site for users of TeX, LaTeX, ConTeXt, and related typesetting systems. Join them; it only takes a minute:

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

I used LaTeX to write my CV. At this moment I need to remove the horizontal line that appears below my name (this line only appears at the top of the first page of the CV). How can I do this? Thanks in advance!

share|improve this question
up vote 6 down vote accepted

The rule you mention is produced by \makecvtitle using

\color{color2!50}\rule{\textwidth}{.25ex}

the quickest solution is to patch \makecvtitle to supress the rule:

\documentclass{moderncv}
\moderncvtheme{casual}
\usepackage{etoolbox}

\patchcmd{\makecvtitle}
  {\color{color2!50}\rule{\textwidth}{.25ex}}
  {}
  {}
  {}

\name{John}{Doe}

\begin{document}

\makecvtitle
\section{Test section}

\end{document}

enter image description here

share|improve this answer
    
Thank you very much!! – User X Apr 18 '14 at 2:59
    
@user135328 You're welcome! – Gonzalo Medina Apr 18 '14 at 3:13

Your Answer

 
discard

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

Not the answer you're looking for? Browse other questions tagged or ask your own question.