Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- renewcommand*{makeletterfooter}{%
- setlength{footerwidth}{0.8textwidth}%
- fancypagestyle{plain}{%
- fancyfoot[c]{%
- parbox[b]{footerwidth}{%
- centering%
- addressfontcolor{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
- strut{bfseriesupshape@firstname~@lastname}\% the strut is required to ensure the line is exactly baselineskip tall
- 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{@addresscountry}{}}{}{addtofooter[~--~]{@addresscountry}}%
- flushfooter@firstfooterelementtrue\}%
- collectionloop{phones}{% the key holds the phone type (=symbol command prefix), the item holds the number
- addtofooter{csnamecollectionloopkey phonesymbolendcsnamecollectionloopitem}}%
- ifthenelse{isundefined{@email}}{}{addtofooter{emailsymbolemaillink{@email}}}%
- ifthenelse{isundefined{@homepage}}{}{addtofooter{homepagesymbolhttplink{@homepage}}}%
- collectionloop{socials}{% the key holds the social type (=symbol command prefix), the item holds the link
- addtofooter{csnamecollectionloopkey socialsymbolendcsnamecollectionloopitem}}%
- ifthenelse{isundefined{@extrainfo}}{}{addtofooter{@extrainfo}}%
- ifthenelse{lengthtest{footerboxwidth=0pt}}{}{flushfooter}% the lengthtest is required to avoid flushing an empty footer, which could cause a blank line due to the \ after the address, if no other personal info is used
- }}}%
- pagestyle{plain}}
- fancyfoot[c]{%
- parbox[b]{0.8textwidth}{%
- centering%
- 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{bfseriesupshape firstname~lastname}\% the strut is required to ensure the line is exactly baselineskip tall
- street number~city\
- phone~email~etc.
- }%end parbox
- }%end fancyfoot
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement