Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- \documentclass[10pt]{article}
- \usepackage[tmargin=1cm,bmargin=6cm,includehead,includefoot]{geometry}
- \usepackage{xcolor}
- \usepackage{array}
- \usepackage{graphicx}
- \usepackage{lipsum}
- \usepackage{fancyhdr}
- \usepackage{fontspec}
- \usepackage[doublespacing]{setspace}
- \usepackage{soul}
- \setmainfont{Ubuntu Light}
- \newfontface\ubold{Ubuntu Bold}
- \sodef\ugg{}{.4em plus 1fill}{1em plus 2 fill}{2em plus 2fill minus.1em}
- \definecolor{gbblue}{RGB}{0,176,240}
- \definecolor{gbblack}{RGB}{55,53,53}
- \definecolor{gbred}{RGB}{236,28,36}
- \definecolor{footertxtclr}{RGB}{190,192,194}
- \newcommand\address{Streetname and \#}
- \newcommand\pccity{Postal Code, City}
- \newcommand\twitter{@twittrhandle}
- \newcommand\telnr{+1234567890}
- \newcommand\email{[email protected]}
- \newcommand\website{address.com}
- \newcommand\sloganone{\ubold \color{gbred} 1st slogan line}
- \newcommand\slogantwo{\ubold \color{gbred} 2nd slogan line}
- \newcommand\footertext{\color{footertxtclr} \footnotesize some more information about me and my services in the footer of my document}
- \newcommand\ColRule{%
- {\noindent\color{gbblue}\rule{\textwidth}{.5pt}}}
- \newcommand\ColBlRule{%
- {\noindent\color{gbblack}\rule{\textwidth}{.5pt}}}
- \newcommand\Header{%
- \noindent\makebox[\textwidth][l]{\parbox{1.09\textwidth}{%
- \hfill\includegraphics[height=78.142pt]{logo}}}\par\vskip1ex%
- \ColRule\par\noindent
- \begin{tabular*}{\textwidth}%
- {@{}>{\raggedright}p{.27\textwidth}@{}>{\raggedright}p{.2\textwidth}@{}>{\raggedright}p{.13\textwidth}@{}>{\raggedleft}p{.4\textwidth}@{}}
- \address & \twitter & \telnr & \sloganone \tabularnewline
- \pccity & \telnr & \website & \slogantwo \tabularnewline
- \end{tabular*}\par\ColBlRule\par}
- \newcommand\Footer[1]{%
- \ColRule\par
- \noindent\begin{tabular*}{\textwidth}{@{}>{\raggedright}p{\textwidth}@{}}
- \footertext
- \end{tabular*}\par\vskip-1.5ex\ColRule\par\centering\thepage\par}
- \fancyhf{}
- \fancyhead[C]{\Header}
- \fancyfoot[C]{\Footer}
- \renewcommand{\headrulewidth}{0pt}
- \setlength\headheight{107.4pt}
- \pagestyle{fancy}
- \begin{document}
- \lipsum[1-20]
- \end{document}
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement