One possibility is to define a bold-faced variation of \httplink
internally used to typeset the homepage; this bold-faced version is then used in patching the \makecvtitle
command; here's an example using the classic
theme:
\documentclass{moderncv}
\moderncvtheme{classic}
\usepackage{etoolbox}
\makeatother
\newcommand*{\bfhttplink}[2][]{%
\ifthenelse{\equal{#1}{}}%
{\href{http://#2}{\bfseries#2}}%
{\href{http://#2}{\bfseries#1}}}
\makeatletter
\AtBeginDocument{
\makeatletter
\patchcmd{\makecvtitle}{\httplink{\@homepage}}{\bfhttplink{\@homepage}}{}{}
\makeatletter
}
\firstname{John}
\familyname{Doe}
\homepage{www.adress.com}
\email{some-email@mail.com}
\begin{document}
\makecvtitle
\end{document}
A MWE for moderncv
requires adding the choice of \moderncvstyle
, \firstname
and \familyname
.
The easiest way to tweak \cvitem
is to copy its definition from one of the moderncvstyle files:
\documentclass[11pt,a4paper,sans]{moderncv}
\moderncvstyle{casual}
\firstname{First}
\familyname{Last}
\renewcommand*{\cvitem}[3][.25em]{%
\begin{tabular}{|@{}p{\hintscolumnwidth}|@{\hspace{\separatorcolumnwidth}}|p{\maincolumnwidth}@{}|}%
\raggedleft\hintstyle{#2} &{#3}%
\end{tabular}%
\par\addvspace{#1}}
\begin{document}
\makecvtitle
\cvitem{Year}{Entry}
\end{document}
I have added some bars to the tabular
environment, to make it clear how each \cvitem
is typeset.
From here you can either customise the tabular
environment or it entries.
I'm not sure I understood exactly what your requirements are, but you can left-align the year by removing \raggedleft
from the tabular entries.
Edit:
In the version above, the year column is clearly too wide (0.15\textwidth
). The width of the column may be controlled using \setlength{\hintscolumnwidth}{width}
.
\documentclass[11pt,a4paper,sans]{moderncv}
\moderncvstyle{casual}
\firstname{First}
\familyname{Last}
\setlength{\hintscolumnwidth}{0.1\textwidth}
\renewcommand*{\cvitem}[3][.25em]{%
\begin{tabular}{@{}p{\hintscolumnwidth}@{\hspace{\separatorcolumnwidth}}p{\maincolumnwidth}@{}}%
\hintstyle{#2} &{#3}%
\end{tabular}%
\par\addvspace{#1}}
\begin{document}
\makecvtitle
\cvitem{Year}{Entry}
\end{document}
Best Answer
You can right-align dates by doing something like this:
It might be wiser to create your own commands for positions and dates, such that you can format them differently later without having to retype anything.
Here is an example of what I mean:
You could then write
\position{Store Clerk}
followed by\hfill
followed by\rdate{Aug 2008-Sep 2012}
Why would you consider putting the dates or other information into custom environments? You might realize later that some of your lines are too long. Perhaps the left-aligned information overlaps the date. This would be no problem, because you could just make the text smaller, for example
\newcommand{\details}[1]{\par\noindent\hspace*{30pt}\ignorespaces{\tiny #1}
Two Youtube Videos might help you (although they use the article class)