Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update manual to correspond with implementation and fix typos #40

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion CHANGELOG
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ version 2.0.0 (28 Jul 2015)
- corrected the color of \addressstyle to match the one effectively used
(color2).
- adjusted the bibliography spacing to handle entries with or without labels.
- added a check on the emptyness of \title when setting the hyperref document
- added a check on the emptiness of \title when setting the hyperref document
properties.

version 1.5.1 (29 Apr 2013)
Expand Down
12 changes: 5 additions & 7 deletions manual/moderncv_userguide.tex
Original file line number Diff line number Diff line change
Expand Up @@ -134,8 +134,7 @@ \section{In the preamble}
Now we can get into the part most related to our curriculum vit\ae: our personal data. They will be inserted in the header of the first page, in the classic theme, or in the footer of every page, in the case of casual theme.

\begin{itemize}
\item \verb|\firstname{John}|
\item \verb|\familyname{Doe}|
\item \verb|\name{John}{Doe}|
\item \verb|\title{Resum\'e title}|: optional
\item \verb|\address{street and number}{postcode city}|: optional
\item \verb|\mobile{mobile}|: optional
Expand Down Expand Up @@ -171,15 +170,14 @@ \subsection{Examples}
\recomputelengths

% personal data
\firstname{John}
\familyname{Doe}
\name{John}{Doe}
\title{Design enthusiast}
\address{12 somestreet}{3456 somecity}
\mobile{+123 456 7890}
\phone{+12 (3)456 78 90}
\fax{+12 (3)456 78 90}
\email{[email protected]}
\extrainfo{\weblink{www.ctan.org}}
\extrainfo{\link{www.ctan.org}}
\photo[64pt]{jdoe_picture}
\quote{Any intelligent fool can make things bigger, more complex,
and more violent. It takes a touch of genius -- and a lot of courage -- to
Expand Down Expand Up @@ -426,7 +424,7 @@ \section{Extra 2}
\label{fig:ex_items}
\end{figure}

\subsection*{Adjusting lenghts}
\subsection*{Adjusting lengths}
The different lengths used by moderncv are customizable by
\begin{verbatim}
\setlength{<length>}{<new_dimensions>}
Expand All @@ -442,7 +440,7 @@ \subsection*{Adjusting lenghts}
\subsection*{Additional commands}
There are commands to manage hypertextual links:
\begin{itemize}
\item[-] \verb|\weblink[optional text]{link}|
\item[-] \verb|\link[optional text]{URL}|
\item[-] \verb|\httplink[optional text]{link}|
\item[-] \verb|\emaillink[optional text]{link}|
\end{itemize}
Expand Down
10 changes: 5 additions & 5 deletions moderncv.cls
Original file line number Diff line number Diff line change
Expand Up @@ -161,7 +161,7 @@

% reduced list spacing
% package providing hooks into lists
% originally developped by Jakob Schiotz (see http://dcwww.camd.dtu.dk/~schiotz/comp/LatexTips/tweaklist.sty)
% originally developed by Jakob Schiotz (see http://dcwww.camd.dtu.dk/~schiotz/comp/LatexTips/tweaklist.sty)
% modified and distributed with moderncv(not available otherwise on ctan)
\RequirePackage{tweaklist}
\renewcommand*{\itemhook}{%
Expand Down Expand Up @@ -237,7 +237,7 @@
\NewDocumentCommand{\address}{mG{}G{}}{\def\@addressstreet{#1}\def\@addresscity{#2}\def\@addresscountry{#3}}

% defines one's email (optional)
% usage: \email{<email adress>}
% usage: \email{<email address>}
\newcommand*{\email}[1]{\def\@email{#1}}

% defines one's home page (optional)
Expand Down Expand Up @@ -348,7 +348,7 @@
% usage: \moderncvfoot[<optional foot option>]{<foot variant number>}
\newcommand*{\moderncvfoot}[2][]{%
\@loadmoderncvpackage[#1]{foot}{#2}}

% loads a color scheme
% usage: \moderncvcolor{<color scheme name>}
\newcommand*{\moderncvcolor}[1]{%
Expand Down Expand Up @@ -494,7 +494,7 @@
\newcommand*{\cvitemwithcomment}[4][.25em]{}

% makes a generic hyperlink
% usage: \link[optional text]{link}
% usage: \link[optional text]{URL}
\newcommand*{\link}[2][]{%
\ifthenelse{\equal{#1}{}}%
{\href{#2}{#2}}%
Expand All @@ -513,7 +513,7 @@
\ifthenelse{\equal{#1}{}}%
{\href{mailto:#2}{#2}}%
{\href{mailto:#2}{#1}}}

% makes a tel hyperlink
% usage: \tellink[optional text]{link}
\newcommand*{\tellink}[2][]{%
Expand Down