Added a "purple" color option

This commit is contained in:
Xavier Danaux
2011-11-06 17:51:11 +01:00
parent 00d57b7204
commit 63669b90c6
3 changed files with 20 additions and 0 deletions

View File

@ -1,6 +1,10 @@
version 0.13 (xx August 2010) version 0.13 (xx August 2010)
- added a "black" color option to render the resume in black & white, as suggested - added a "black" color option to render the resume in black & white, as suggested
by F. Bicarri. by F. Bicarri.
- removed the pdflatex option when loading hyperref to enable other engines
(e.g., dvips, xetex), leftover from the v 0.11 cleanup, as reported by
K. Amaterasu and P. Mavrogiorgos.
- added a "purple" color option, as proposed by B. Ravel.
version 0.12 (03 August 2010) version 0.12 (03 August 2010)
- prevents pagebreaks after sections and subsections (launchpad bug #409902), - prevents pagebreaks after sections and subsections (launchpad bug #409902),

View File

@ -33,6 +33,9 @@
% red % red
\newif\if@colorred\@colorredfalse \newif\if@colorred\@colorredfalse
\DeclareOption{red}{\@colorredtrue} \DeclareOption{red}{\@colorredtrue}
% purple
\newif\if@colorpurple\@colorpurplefalse
\DeclareOption{purple}{\@colorpurpletrue}
% grey % grey
\newif\if@colorgrey\@colorgreyfalse \newif\if@colorgrey\@colorgreyfalse
\DeclareOption{grey}{\@colorgreytrue} \DeclareOption{grey}{\@colorgreytrue}
@ -85,6 +88,11 @@
\definecolor{sectiontitlecolor}{rgb}{0.95,0.20,0.20} \definecolor{sectiontitlecolor}{rgb}{0.95,0.20,0.20}
\definecolor{subsectioncolor}{rgb}{0.95,0.20,0.20} \definecolor{subsectioncolor}{rgb}{0.95,0.20,0.20}
\definecolor{footersymbolcolor}{rgb}{0.95,0.20,0.20}\fi \definecolor{footersymbolcolor}{rgb}{0.95,0.20,0.20}\fi
\if@colorpurple
\definecolor{sectionrectanglecolor}{rgb}{0.40,0.23,0.80}
\definecolor{sectiontitlecolor}{rgb}{0.50,0.33,0.80}
\definecolor{subsectioncolor}{rgb}{0.50,0.33,0.80}
\definecolor{addresscolor}{rgb}{0.40,0.23,0.70}\fi
\if@colorgrey \if@colorgrey
\definecolor{sectionrectanglecolor}{rgb}{0.75,0.75,0.75} \definecolor{sectionrectanglecolor}{rgb}{0.75,0.75,0.75}
\definecolor{sectiontitlecolor}{rgb}{0.35,0.35,0.35} \definecolor{sectiontitlecolor}{rgb}{0.35,0.35,0.35}

View File

@ -33,6 +33,9 @@
% red % red
\newif\if@colorred\@colorredfalse \newif\if@colorred\@colorredfalse
\DeclareOption{red}{\@colorredtrue} \DeclareOption{red}{\@colorredtrue}
% purple
\newif\if@colorpurple\@colorpurplefalse
\DeclareOption{purple}{\@colorpurpletrue}
% grey % grey
\newif\if@colorgrey\@colorgreyfalse \newif\if@colorgrey\@colorgreyfalse
\DeclareOption{grey}{\@colorgreytrue} \DeclareOption{grey}{\@colorgreytrue}
@ -85,6 +88,11 @@
\definecolor{sectionrectanglecolor}{rgb}{1.00,0.30,0.30} \definecolor{sectionrectanglecolor}{rgb}{1.00,0.30,0.30}
\definecolor{sectiontitlecolor}{rgb}{0.95,0.20,0.20} \definecolor{sectiontitlecolor}{rgb}{0.95,0.20,0.20}
\definecolor{subsectioncolor}{rgb}{0.95,0.20,0.20}\fi \definecolor{subsectioncolor}{rgb}{0.95,0.20,0.20}\fi
\if@colorpurple
\definecolor{sectionrectanglecolor}{rgb}{0.40,0.23,0.80}
\definecolor{sectiontitlecolor}{rgb}{0.50,0.33,0.80}
\definecolor{subsectioncolor}{rgb}{0.50,0.33,0.80}
\definecolor{addresscolor}{rgb}{0.40,0.23,0.70}\fi
\if@colorgrey \if@colorgrey
\definecolor{addresscolor}{rgb}{0.35,0.35,0.35} \definecolor{addresscolor}{rgb}{0.35,0.35,0.35}
\definecolor{sectionrectanglecolor}{rgb}{0.75,0.75,0.75} \definecolor{sectionrectanglecolor}{rgb}{0.75,0.75,0.75}