Renamed collections.sty as moderncvcollections.sty

This commit is contained in:
Xavier Danaux
2013-04-08 08:36:39 -04:00
parent 5f92b3460a
commit a2335f76be
2 changed files with 6 additions and 4 deletions

View File

@ -183,6 +183,9 @@
% micro-typography (e.g., character protrusion, font expansion, hyphenatable letterspacing) % micro-typography (e.g., character protrusion, font expansion, hyphenatable letterspacing)
\RequirePackage{microtype} \RequirePackage{microtype}
% stack of key-value elements, used to save personal information
\RequirePackage{moderncvcollection}
% compatibility package with older versions of moderncv % compatibility package with older versions of moderncv
\RequirePackageWithOptions{moderncvcompatibility} \RequirePackageWithOptions{moderncvcompatibility}
@ -229,7 +232,6 @@
% adds a mobile/fixed/fax number to one's personal information (optional) % adds a mobile/fixed/fax number to one's personal information (optional)
% usage: \phone[<optional type>]{<number>} % usage: \phone[<optional type>]{<number>}
% where <optional type> should be either "mobile", "fixed" or "fax % where <optional type> should be either "mobile", "fixed" or "fax
\RequirePackage{collection}
\collectionnew{phones} \collectionnew{phones}
\newcommand*{\phone}[2][fixed]{\collectionadd[#1]{phones}{#2}} \newcommand*{\phone}[2][fixed]{\collectionadd[#1]{phones}{#2}}
\newcommand*{\email}[1]{\def\@email{#1}} \newcommand*{\email}[1]{\def\@email{#1}}

View File

@ -1,4 +1,4 @@
%% start of file `collection.sty'. %% start of file `moderncvcollection.sty'.
%% Copyright 2013-2013 Xavier Danaux (xdanaux@gmail.com). %% Copyright 2013-2013 Xavier Danaux (xdanaux@gmail.com).
% %
% This work may be distributed and/or modified under the % This work may be distributed and/or modified under the
@ -10,7 +10,7 @@
% identification % identification
%------------------------------------------------------------------------------- %-------------------------------------------------------------------------------
\NeedsTeXFormat{LaTeX2e} \NeedsTeXFormat{LaTeX2e}
\ProvidesPackage{collection}[2013/03/28 v1.0.0 collections] \ProvidesPackage{moderncvcollection}[2013/03/28 v1.4.0 moderncv collections]
%------------------------------------------------------------------------------- %-------------------------------------------------------------------------------
@ -82,4 +82,4 @@
\endinput \endinput
%% end of file `collection.cls'. %% end of file `moderncvcollection.cls'.