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
Curricula Vitae / Résumés ⇒ Removing the horizontal bar to the left of section headings
-
- Posts: 679
- Joined: Tue Mar 03, 2015 4:01 pm
NEW: TikZ book now 40% off at Amazon.com for a short time.
Removing the horizontal bar to the left of section headings
Hi Joel,
Simply comment out line 164 of
Cheers,
Vel
Simply comment out line 164 of
moderncvstyleclassic.sty
:Code: Select all
\parbox[t]{\hintscolumnwidth}{\strut\raggedleft\raisebox{\baseletterheight}%
{\color{color1}\rule{\hintscolumnwidth}{0.95ex}}}
Vel
Founder and administrator of LaTeXTemplates.com and LaTeXTypesetting.com
-
- Posts: 679
- Joined: Tue Mar 03, 2015 4:01 pm
Re: Removing the horizontal bar to the left of section headi
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
prem006in
Removing the horizontal bar to the left of section headings
Hey,
Just go to line 72 in
Cheers,
Vel
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
-
- Posts: 679
- Joined: Tue Mar 03, 2015 4:01 pm
Re: Removing the horizontal bar to the left of section headi
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 .
Thanks for your help!
Prem
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 .
Thanks for your help!
Prem
Removing the horizontal bar to the left of section headings
Hi Prem,
Go to
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
Cheers,
Vel
Go to
moderncvstyleclassic.sty
and find this block:Code: Select all
\renewcommand*{\section}[1]{%
\par\addvspace{2.5ex}%
\phantomsection{}% reset the anchor for hyperrefs
\addcontentsline{toc}{section}{#1}%
\parbox[t]{\hintscolumnwidth}{\strut\raggedleft\raisebox{\baseletterheight}{\color{color1}\rule{\hintscolumnwidth}{0.95ex}}}%
\hspace{\separatorcolumnwidth}%
\parbox[t]{\maincolumnwidth}{\strut\sectionstyle{#1}}%
\par\nobreak\addvspace{1ex}\@afterheading}% to avoid a pagebreak after the heading
Replace it with this:
\renewcommand*{\section}[1]{%
\par\addvspace{2.5ex}%
\phantomsection{}% reset the anchor for hyperrefs
\addcontentsline{toc}{section}{#1}%
\parbox[t]{\hintscolumnwidth}{\strut\sectionstyle{#1}}%
\hspace{\separatorcolumnwidth}%
\parbox[t]{\hintscolumnwidth}{\strut\raggedright\raisebox{\baseletterheight}{\color{color1}\rule{\hintscolumnwidth}{0.95ex}}}%
\par\nobreak\addvspace{1ex}\@afterheading}% to avoid a pagebreak after the heading
\hintscolumnwidth
value where the title is printed.Cheers,
Vel
Founder and administrator of LaTeXTemplates.com and LaTeXTypesetting.com