Replaced the usage of the xargs package by the xparse one

This commit is contained in:
Xavier Danaux
2012-12-07 02:04:01 -05:00
parent c08522abcc
commit c3760cc064
10 changed files with 6 additions and 3 deletions

View File

@ -6,7 +6,8 @@ version 1.3.0 (xx xxx 201x)
fullscreen mode).
- added a 3rd, fully optional (can be omitted or left blank) argument to
\address to specify a country, as requested on launchpad (launchpad bug
#1063995).
#1063995).
- replaced the usage of the xargs package by the xparse one.
version 1.2.1 (04 Dec 2012)
- fixed a regression bug introduced in version 1.2.0 in the header of the

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

View File

@ -170,7 +170,7 @@
\RequirePackage{calc}
% advanced command arguments (LaTeX 3)
\RequirePackage{xargs,xparse}
\RequirePackage{xparse}
% TODO (?): replace all \newcommand by \NewDocumentCommand
% micro-typography (e.g., character protrusion, font expansion, hyphenatable letterspacing)
@ -299,7 +299,9 @@
% resume design commands definitions
%-------------------------------------------------------------------------------
% elements
\newcommandx*{\photo}[3][1=64pt,2=0.4pt,usedefault]{\def\@photowidth{#1}\def\@photoframewidth{#2}\def\@photo{#3}}% the 1st (optional) argument is the width of the photo, the 2nd (optional) argument is the thickness of the frame around it.
% defines one's picture (optional)
% usage: photo[<picture width>][<picture frame thickness>]{<picture filename>}
\NewDocumentCommand{\photo}{O{64pt}O{0.4pt}m}{\def\@photowidth{#1}\def\@photoframewidth{#2}\def\@photo{#3}}
\newcommand*{\quote}[1]{\def\@quote{#1}}
% fonts