mirror of
https://github.com/moderncv/moderncv.git
synced 2026-02-06 10:05:19 +01:00
make colors user adjustable.
- Systematize colors and make them user adjustable. See documentation for details. this requires the \moderncvcolor to be issued BEFORE \moderncvstyle.
This commit is contained in:
parent
1e320e465f
commit
85a0342e79
22 changed files with 485 additions and 93 deletions
|
|
@ -79,7 +79,7 @@
|
|||
\fancyfoot[c]{%
|
||||
\parbox[b]{\footwidth}{%
|
||||
\centering%
|
||||
\color{color2}\addressfont%
|
||||
\color{addresscolor}\addressfont%
|
||||
\vspace{\baselineskip}% forces a white line to ensure space between main text and footer (as footer height can't be known in advance)
|
||||
\ifthenelse{\isundefined{\@addressstreet}}{}{\addtofoot[]{\addresssymbol\@addressstreet}%
|
||||
\ifthenelse{\equal{\@addresscity}{}}{}{\addtofoot[~--~]{\@addresscity}}% if \addresstreet is defined, \addresscity and \addresscountry will always be defined but could be empty
|
||||
|
|
@ -109,7 +109,7 @@
|
|||
\fancyfoot[c]{%
|
||||
\parbox[b]{\footwidth}{%
|
||||
\centering%
|
||||
\addressfont\color{color2}%
|
||||
\addressfont\color{addresscolor}%
|
||||
\vspace{\baselineskip}% forces a white line to ensure space between main text and footer (as footer height can't be known in advance)
|
||||
\vspace{-\baselineskip}% to cancel out the extra vertical space taken by the name (below) and ensure perfect alignment of letter and cv footers
|
||||
\strut{\bfseries\upshape\@firstname~\@lastname}\\% the \strut is required to ensure the line is exactly \baselineskip tall
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue