Skip to content

Commit

Permalink
Added option to create custom contact info.
Browse files Browse the repository at this point in the history
  • Loading branch information
opieters committed Jun 5, 2018
1 parent 72757db commit 180e175
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 3 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -58,11 +58,11 @@ The following packages need to be installed on your system. They are all availab

The class documentation can be found on [CTAN](http://mirrors.ctan.org/macros/latex/contrib/limecv/limecv.pdf).

Alternatively, the documentation can also be created by running `pdflatex limecv.dtx`.
Alternatively, the documentation can also be created by running `xelatex limecv.dtx`.

## Examples

To compile the examples in `/examples/`, install the package from CTAN or compile from source by running: `pdflatex limecv.ins` and copy the resulting `limecv.cls` file to the `/examples/` folder.
To compile the examples in `/examples/`, install the package from CTAN or compile from source by running: `xelatex limecv.ins` and copy the resulting `limecv.cls` file to the `/examples/` folder.

## Licence

Expand Down
13 changes: 12 additions & 1 deletion src/limecv.dtx
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,7 @@
%</driver>
% \fi
%
% \CheckSum{1561}
% \CheckSum{1575}
%
% \CharacterTable
% {Upper-case \A\B\C\D\E\F\G\H\I\J\K\L\M\N\O\P\Q\R\S\T\U\V\W\X\Y\Z
Expand Down Expand Up @@ -2087,6 +2087,17 @@ Dear Miss.\ Smith
\@IfNoValueOrEmptyTF{##1}{##2}{\href{##1}{##2}}};
}
}
\NewDocumentCommand{\cvContactTemplate}{O{} mm}{
\ifcv@contactfirst%
\\%
\else %
\global\cv@contactfirsttrue %
\fi %
\node[cv@contactIcon]{#2};
\pgfmatrixnextcell \node[cv@contactText]{%
\@IfNoValueOrEmptyTF{#1}{#3}{\href{#1}{#3}}%
};
}
\newif\ifcv@contactfirst
\NewDocumentEnvironment{cvContact}{}{%
\vspace{\cvSectionSBSep}
Expand Down

0 comments on commit 180e175

Please sign in to comment.