summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/tex/latex/mycv/mycv_dec.sty
diff options
context:
space:
mode:
Diffstat (limited to 'Master/texmf-dist/tex/latex/mycv/mycv_dec.sty')
-rw-r--r--Master/texmf-dist/tex/latex/mycv/mycv_dec.sty111
1 files changed, 66 insertions, 45 deletions
diff --git a/Master/texmf-dist/tex/latex/mycv/mycv_dec.sty b/Master/texmf-dist/tex/latex/mycv/mycv_dec.sty
index ffeee559861..31dbb3e2d85 100644
--- a/Master/texmf-dist/tex/latex/mycv/mycv_dec.sty
+++ b/Master/texmf-dist/tex/latex/mycv/mycv_dec.sty
@@ -1,15 +1,32 @@
-% -------------------------------------------------------
-% Copyright 2012 Ghersi Andrea (ghanhawk@gmail.com).
-% This work may be distributed and/or modified under the
-% conditions of the LaTeX Project Public License version
-% 1.3c, available at 'http://www.latex-project.org/lppl'.
-% -------------------------------------------------------
-
+%%
+%% This is file `mycv_dec.sty',
+%% generated with the docstrip utility.
+%%
+%% The original source files were:
+%%
+%% mycv.dtx (with options: `mycv-dec.sty')
+%% --------------------------------------------------------
+%% Author: Andrea Ghersi
+%% Copyright 2012 Ghersi Andrea (ghanhawk@gmail.com).
+%%
+%% This work may be distributed and/or modified under the
+%% conditions of the LaTeX Project Public License version
+%% 1.3c, available at 'http://www.latex-project.org/lppl'.
+%%
+%% This work has the LPPL maintenance status "maintained".
+%% The Current Maintainer of this work is Andrea Ghersi.
+%%
+%% This work consists of the files listed in the README
+%% file.
+%% --------------------------------------------------------
+
+\NeedsTeXFormat{LaTeX2e}
\RequirePackage{svn-prov}
+
\input{mycv_version.def}
\ProvidesPackageSVN
- {$Id: mycv_dec.sty 85 2012-05-12 17:07:42Z ghangenit $}
+ {$Id: mycv_dec.sty 89 2012-05-19 18:23:03Z ghangenit $}
[v\@versionstr][Decorations commands]
\RequirePackage{tikz} % for graphics
@@ -21,11 +38,11 @@
\RequirePackage{xparse} % for commands with multiple default arguments
\RequirePackage{xstring} % for string utilities
-%%%%%%%%%%%%
-% %
-% Settings %
-% %
-%%%%%%%%%%%%
+%%%%%%%%%%%%%
+%% %
+%% Settings %
+%% %
+%%%%%%%%%%%%%
\def\@segmentLengthString{}
\def\@segmentLengthValue{}
@@ -57,31 +74,31 @@
}
}
-%%%%%%%%%%%%
-% %
-% Commands %
-% %
-%%%%%%%%%%%%
+%%%%%%%%%%%%%
+%% %
+%% Commands %
+%% %
+%%%%%%%%%%%%%
\newcommand{\versionBasedSettings}[2]{%
\IfBooleanTF#1{%
- % ---------------------------------------------------------
- % From <xstring> package
- % ---------------------------------------------------------
- % Macros of this package take the catcodes of tokens into
- % account. To avoid unexpected behaviour (particulary with
- % tests), you should keep in mind that tokens and their
- % catcodes are examined.
- % For instance, these two arguments: {\string a\string b}
- % and {ab} do not expand into equal strings for xstring!
- % Because of the command \string, the first expands into
- % ab with catcodes 12 while the second have characters
- % with their natural catcodes 11. Catcodes do not match!
- % Starred macros do not take catcodes into account. They
- % simply convert some arguments into arguments with
- % catcodes 10, 11 and 12, and call the non-starred macros
- % with these modified arguments.
- % ---------------------------------------------------------
+ %% ---------------------------------------------------------
+ %% From <xstring> package
+ %% ---------------------------------------------------------
+ %% Macros of this package take the catcodes of tokens into
+ %% account. To avoid unexpected behaviour (particulary with
+ %% tests), you should keep in mind that tokens and their
+ %% catcodes are examined.
+ %% For instance, these two arguments: {\string a\string b}
+ %% and {ab} do not expand into equal strings for xstring!
+ %% Because of the command \string, the first expands into
+ %% ab with catcodes 12 while the second have characters
+ %% with their natural catcodes 11. Catcodes do not match!
+ %% Starred macros do not take catcodes into account. They
+ %% simply convert some arguments into arguments with
+ %% catcodes 10, 11 and 12, and call the non-starred macros
+ %% with these modified arguments.
+ %% ---------------------------------------------------------
\IfStrEqCase*{#2}{%
{radial}{\def\@colorStr{inner color}}%
{ball}{\def\@colorStr{ball color}}%
@@ -91,12 +108,13 @@
}{\relax}%
}
-% -----------------------------------------------------
-% Pathmorphing decoration values:
-% shape, straight zigzag, random steps, saw, zigzag,
-% bent, bumps, coil, snake, Koch snowflake
-% Shadings: radial, ball
-% -----------------------------------------------------
+%% -----------------------------------------------------
+%% Pathmorphing decoration values:
+%% shape, straight zigzag, random steps, saw, zigzag,
+%% bent, bumps, coil, snake, Koch snowflake
+%%
+%% Shadings: radial, ball
+%% -----------------------------------------------------
\DeclareDocumentCommand{\mydecorationsPathmorphing}%
{s O{1} m O{gray} D<>{radial} D<>{white}}%
@@ -136,9 +154,9 @@
\endgroup
}
-% --------------------------------------
-% Shapes: dart, diamond, rectangle, star
-% --------------------------------------
+%% --------------------------------------
+%% Shapes: dart, diamond, rectangle, star
+%% --------------------------------------
\DeclareDocumentCommand{\mydecorationsShape}%
{O{1} m O{gray}}
@@ -228,4 +246,7 @@
{\def\@segmentLengthString{segment length}} % not starred
\def\@segmentLengthValue{#2}%
-} \ No newline at end of file
+}
+\endinput
+%%
+%% End of file `mycv_dec.sty'.