Added a "black" color option for black & white printing
This commit is contained in:
committed by
Xavier Danaux
parent
acd71285ca
commit
732a654137
@ -1,3 +1,7 @@
|
||||
version 0.13 (xx August 2010)
|
||||
- added a "black" color option to render the resume in black & white, as suggested
|
||||
by F. Bicarri.
|
||||
|
||||
version 0.12 (03 August 2010)
|
||||
- prevents pagebreaks after sections and subsections (launchpad bug #409902),
|
||||
as originally reported by C. Gaspoz and fixed by launchpad user tentotwo).
|
||||
|
||||
@ -64,10 +64,6 @@
|
||||
\newif\if@lmodern\@lmoderntrue
|
||||
\DeclareOption{nolmodern}{\@lmodernfalse}
|
||||
|
||||
% nocolor option
|
||||
\newif\if@color\@colortrue
|
||||
\DeclareOption{nocolor}{\@colorfalse}
|
||||
|
||||
% CJK option
|
||||
%\newif\if@CJK\@CJKfalse
|
||||
%\DeclareOption{CJK}{\@CJKtrue}
|
||||
|
||||
@ -36,6 +36,9 @@
|
||||
% grey
|
||||
\newif\if@colorgrey\@colorgreyfalse
|
||||
\DeclareOption{grey}{\@colorgreytrue}
|
||||
% black
|
||||
\newif\if@colorblack\@colorblackfalse
|
||||
\DeclareOption{black}{\@colorblacktrue}
|
||||
|
||||
% roman option
|
||||
\newif\if@roman\@romanfalse
|
||||
@ -46,7 +49,7 @@
|
||||
\PackageWarning{moderncvthemecasual}{Unknown option '\CurrentOption'}}
|
||||
|
||||
% execute default options
|
||||
\ExecuteOptions{color}
|
||||
\ExecuteOptions{}
|
||||
|
||||
% process given options
|
||||
\ProcessOptions\relax
|
||||
@ -87,6 +90,15 @@
|
||||
\definecolor{sectiontitlecolor}{rgb}{0.35,0.35,0.35}
|
||||
\definecolor{subsectioncolor}{rgb}{0.35,0.35,0.35}
|
||||
\definecolor{footersymbolcolor}{rgb}{0.35,0.35,0.35}\fi
|
||||
\if@colorblack
|
||||
\definecolor{firstnamecolor}{rgb}{0,0,0}
|
||||
\definecolor{familynamecolor}{rgb}{0,0,0}
|
||||
\definecolor{quotecolor}{rgb}{0,0,0}
|
||||
\definecolor{addresscolor}{rgb}{0,0,0}
|
||||
\definecolor{sectionrectanglecolor}{rgb}{0,0,0}
|
||||
\definecolor{sectiontitlecolor}{rgb}{0,0,0}
|
||||
\definecolor{subsectioncolor}{rgb}{0,0,0}
|
||||
\definecolor{footersymbolcolor}{rgb}{0,0,0}\fi
|
||||
|
||||
% fonts
|
||||
\if@roman
|
||||
|
||||
@ -36,6 +36,9 @@
|
||||
% grey
|
||||
\newif\if@colorgrey\@colorgreyfalse
|
||||
\DeclareOption{grey}{\@colorgreytrue}
|
||||
% black
|
||||
\newif\if@colorblack\@colorblackfalse
|
||||
\DeclareOption{black}{\@colorblacktrue}
|
||||
|
||||
% roman option
|
||||
\newif\if@roman\@romanfalse
|
||||
@ -46,7 +49,7 @@
|
||||
\PackageWarning{moderncvthemeclassic}{Unknown option '\CurrentOption'}}
|
||||
|
||||
% execute default options
|
||||
\ExecuteOptions{color}
|
||||
\ExecuteOptions{}
|
||||
|
||||
% process given options
|
||||
\ProcessOptions\relax
|
||||
@ -87,6 +90,13 @@
|
||||
\definecolor{sectionrectanglecolor}{rgb}{0.75,0.75,0.75}
|
||||
\definecolor{sectiontitlecolor}{rgb}{0.35,0.35,0.35}
|
||||
\definecolor{subsectioncolor}{rgb}{0.35,0.35,0.35}\fi
|
||||
\if@colorblack
|
||||
\definecolor{titlecolor}{rgb}{0,0,0}
|
||||
\definecolor{quotecolor}{rgb}{0,0,0}
|
||||
\definecolor{addresscolor}{rgb}{0,0,0}
|
||||
\definecolor{sectionrectanglecolor}{rgb}{0,0,0}
|
||||
\definecolor{sectiontitlecolor}{rgb}{0,0,0}
|
||||
\definecolor{subsectioncolor}{rgb}{0,0,0}\fi
|
||||
|
||||
% fonts
|
||||
\if@roman
|
||||
|
||||
Reference in New Issue
Block a user