## LaTeX forum ⇒ Curricula Vitae / Résumés ⇒ Removing the horizontal bar to the left of section headings Topic is solved

ModernCV, Friggeri, Plasmati, Classicthesis-CV, and more
templateuser
Posts: 679
Joined: Tue Mar 03, 2015 4:01 pm

### Removing the horizontal bar to the left of section headings

Hi Vel,
Can you suggest how I might remove the horizontal bar at each section heading, and shift the section heading text (e.g. “Education”) to the left such that it occupies the position where the bar had been? In other words, I want to replace the horizontal bar with the section heading text.

Thanks for your help and for such a great template!
Joel

Tags:

Vel
Site Moderator
Posts: 458
Joined: Fri Jun 29, 2012 1:20 am
Hi Joel,

Simply comment out line 164 of `moderncvstyleclassic.sty`:

`\parbox[t]{\hintscolumnwidth}{\strut\raggedleft\raisebox{\baseletterheight}%{\color{color1}\rule{\hintscolumnwidth}{0.95ex}}}`

Cheers,
Vel
Founder and administrator of LaTeXTemplates.com and LaTeXTypesetting.com

templateuser
Posts: 679
Joined: Tue Mar 03, 2015 4:01 pm
How to increase the length of the horizontal bar at each section heading, so that I can insert more information at the column, for eg: under the eduation section, I want to insert '1 Sep 2011 - 1 Sep 2012' instead '2011-2013'...(the bar should cover the inserted numbers)?

prem006in

Vel
Site Moderator
Posts: 458
Joined: Fri Jun 29, 2012 1:20 am
Hey,

Just go to line 72 in `moderncvstyleclassic.sty`: `\setlength{\hintscolumnwidth}{0.175\textwidth}` and change the value before `\textwidth` to something larger!

Cheers,
Vel
Founder and administrator of LaTeXTemplates.com and LaTeXTypesetting.com

templateuser
Posts: 679
Joined: Tue Mar 03, 2015 4:01 pm
Hi Vel,
Can you suggest how I can change the positions of 'the horizontal bar at each section heading', and 'the section heading text'. I want to interchange the positions so that I will get a long horizontal bar at the right side and section text at the left side .

Prem

Vel
Site Moderator
Posts: 458
Joined: Fri Jun 29, 2012 1:20 am
Hi Prem,

Go to `moderncvstyleclassic.sty` and find this block:


Your titles will now be on the left and the bars on the right. Note that long titles will now wrap and look ugly so you'll have to either keep them brief or change the `\hintscolumnwidth` value where the title is printed.

Cheers,
Vel
Founder and administrator of LaTeXTemplates.com and LaTeXTypesetting.com