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
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue