Forced some white space between the main text and the footer of the "casual" style variant

This commit is contained in:
Xavier Danaux
2013-04-23 01:17:34 -04:00
parent 77055475f6
commit f5163b8fa2
8 changed files with 4 additions and 0 deletions

View File

@ -8,6 +8,8 @@ version 1.5.0 (xx MMM 2013)
- forced all the icons of the "letters" icon set to be of the same width, for - forced all the icons of the "letters" icon set to be of the same width, for
alignment purpose. alignment purpose.
- added a letter icon ("W") for the homepage of the "letters" icon set. - added a letter icon ("W") for the homepage of the "letters" icon set.
- forced some white space between the main text and the footer of the "casual"
style variant.
version 1.4.0 (28 Mar 2013) version 1.4.0 (28 Mar 2013)
- deprecated \phone, \mobile and \fax in favour of \phone[<type>], where <type> - deprecated \phone, \mobile and \fax in favour of \phone[<type>], where <type>

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

View File

@ -104,6 +104,7 @@
\parbox[b]{\footerwidth}{% \parbox[b]{\footerwidth}{%
\centering% \centering%
\color{color2}\addressfont% \color{color2}\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}}{}{\addtofooter[]{\addresssymbol\@addressstreet}% \ifthenelse{\isundefined{\@addressstreet}}{}{\addtofooter[]{\addresssymbol\@addressstreet}%
\ifthenelse{\equal{\@addresscity}{}}{}{\addtofooter[~--~]{\@addresscity}}% if \addresstreet is defined, \addresscity and \addresscountry will always be defined but could be empty \ifthenelse{\equal{\@addresscity}{}}{}{\addtofooter[~--~]{\@addresscity}}% if \addresstreet is defined, \addresscity and \addresscountry will always be defined but could be empty
\ifthenelse{\equal{\@addresscountry}{}}{}{\addtofooter[~--~]{\@addresscountry}}% \ifthenelse{\equal{\@addresscountry}{}}{}{\addtofooter[~--~]{\@addresscountry}}%
@ -153,6 +154,7 @@
\parbox[b]{\footerwidth}{% \parbox[b]{\footerwidth}{%
\centering% \centering%
\addressfont\color{color2}% \addressfont\color{color2}%
\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 \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 \strut{\bfseries\upshape\@firstname~\@lastname}\\% the \strut is required to ensure the line is exactly \baselineskip tall
\ifthenelse{\isundefined{\@addressstreet}}{}{\addtofooter[]{\addresssymbol\@addressstreet}% \ifthenelse{\isundefined{\@addressstreet}}{}{\addtofooter[]{\addresssymbol\@addressstreet}%