mirror of
https://github.com/moderncv/moderncv.git
synced 2026-02-06 10:05:19 +01:00
Replaced the usage of the xargs package by the xparse one
This commit is contained in:
parent
c08522abcc
commit
c3760cc064
10 changed files with 6 additions and 3 deletions
|
|
@ -7,6 +7,7 @@ version 1.3.0 (xx xxx 201x)
|
||||||
- added a 3rd, fully optional (can be omitted or left blank) argument to
|
- added a 3rd, fully optional (can be omitted or left blank) argument to
|
||||||
\address to specify a country, as requested on launchpad (launchpad bug
|
\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)
|
version 1.2.1 (04 Dec 2012)
|
||||||
- fixed a regression bug introduced in version 1.2.0 in the header of the
|
- 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.
|
|
@ -170,7 +170,7 @@
|
||||||
\RequirePackage{calc}
|
\RequirePackage{calc}
|
||||||
|
|
||||||
% advanced command arguments (LaTeX 3)
|
% advanced command arguments (LaTeX 3)
|
||||||
\RequirePackage{xargs,xparse}
|
\RequirePackage{xparse}
|
||||||
% TODO (?): replace all \newcommand by \NewDocumentCommand
|
% TODO (?): replace all \newcommand by \NewDocumentCommand
|
||||||
|
|
||||||
% micro-typography (e.g., character protrusion, font expansion, hyphenatable letterspacing)
|
% micro-typography (e.g., character protrusion, font expansion, hyphenatable letterspacing)
|
||||||
|
|
@ -299,7 +299,9 @@
|
||||||
% resume design commands definitions
|
% resume design commands definitions
|
||||||
%-------------------------------------------------------------------------------
|
%-------------------------------------------------------------------------------
|
||||||
% elements
|
% 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}}
|
\newcommand*{\quote}[1]{\def\@quote{#1}}
|
||||||
|
|
||||||
% fonts
|
% fonts
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue