Skip to content

Commit

Permalink
Blue-gray cover, B&W version of cover for home printing
Browse files Browse the repository at this point in the history
  • Loading branch information
andrejbauer committed Jun 4, 2013
1 parent eaf3a18 commit 7c2f734
Show file tree
Hide file tree
Showing 16 changed files with 23 additions and 6 deletions.
2 changes: 1 addition & 1 deletion Makefile
Expand Up @@ -90,7 +90,7 @@ cover-lulu.pdf: cover-lulu.tex cover-hires.png $(OPTFILES)
then latexmk -pdf $<;\
else pdflatex $<; fi

cover-letter.pdf: cover-lulu.tex cover-lores-front.png cover-lores-back.png $(OPTFILES)
cover-letter.pdf: cover-letter.tex cover-lores-front.png cover-lores-back.png $(OPTFILES)
if which latexmk > /dev/null 2>&1 ;\
then latexmk -pdf $<;\
else pdflatex $<; fi
Expand Down
3 changes: 2 additions & 1 deletion back.tex
Expand Up @@ -4,8 +4,9 @@
\cleartoevenpage

%%%%%%%%%%%%%%%%%%%% Back cover %%%%%%%%%%%%%%%%%%%%
\ThisLRCornerWallPaper{0.7}{cover-lores-back}
\ThisLRCornerWallPaper{0.7}{\OPTlobackimage}
\pagecolor{covercolor}
\color{covertext}
\input{blurb.tex}
\else
\fi
Expand Down
Binary file added cover-hires-back-bw.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified cover-hires-back.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added cover-hires-bw.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added cover-hires-front-bw.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified cover-hires-front.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
6 changes: 4 additions & 2 deletions cover-letter.tex
Expand Up @@ -9,6 +9,7 @@
\usepackage{wallpaper}

\definecolor{covercolor}{cmyk}{\OPTcovercolor}
\definecolor{covertext}{cmyk}{\OPTcovertextcolor}
\pagecolor{covercolor}

%%% Set the fonts
Expand Down Expand Up @@ -40,6 +41,7 @@
\begin{minipage}[b][\coverheight][t]{\coverwidth}
\begin{center}
\begin{minipage}[t]{0.80\coverwidth}
\color{covertext}
\vspace{\OPTtopskip}
\input{blurb.tex}
\end{minipage}
Expand All @@ -49,9 +51,9 @@

\begin{document}
%\layout
\ThisLRCornerWallPaper{1.1}{cover-lores-front}
\ThisLRCornerWallPaper{1.1}{\OPThifrontimage}
\coverpage{\frontpage}
\newpage
\ThisLRCornerWallPaper{0.7}{cover-lores-back}
\ThisLRCornerWallPaper{0.7}{\OPThibackimage}
\coverpage{\backpage}
\end{document}
Binary file added cover-lores-back-bw.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified cover-lores-back.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added cover-lores-front-bw.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified cover-lores-front.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
2 changes: 1 addition & 1 deletion front.tex
Expand Up @@ -7,7 +7,7 @@
\newlength{\coverwidth}
\setlength{\coverwidth}{8.45in}
\input{frontpage}
\ThisLLCornerWallPaper{1.1}{cover-lores-front}
\ThisLLCornerWallPaper{1.1}{\OPTlofrontimage}
\pagecolor{covercolor}
\frontpage
\newpage
Expand Down
3 changes: 2 additions & 1 deletion main.tex
Expand Up @@ -147,7 +147,7 @@
\rhead[\fancyplain{}{\nouppercase{\leftmark}}]%
{\fancyplain{}{\thepage}}
\cfoot[]{}
\lfoot{\textsc{\scriptsize \textcolor{gray}{[Draft of \today]}}}
\lfoot[]{}
\rfoot[]{}

%%%% Chapter & part style
Expand All @@ -163,6 +163,7 @@
% For some reason \pagecolor overlays the cover image,
% unless we use it once before the document starts.
\definecolor{covercolor}{cmyk}{\OPTcovercolor}
\definecolor{covertext}{cmyk}{\OPTcovertextcolor}
\pagecolor{white}
\nopagecolor

Expand Down
7 changes: 7 additions & 0 deletions opt-black-white.tex
Expand Up @@ -2,6 +2,13 @@

% BACKGROUND OF COVER PAGE
\def\OPTcovercolor{0,0,0,0}
\def\OPTcovertextcolor{0,0,0,1}

% COVER IMAGE
\def\OPTlofrontimage{cover-lores-front-bw.png}
\def\OPTlobackimage{cover-lores-back-bw.png}
\def\OPThifrontimage{cover-hires-front-bw.png}
\def\OPThibackimage{cover-hires-back-bw.png}

% LINK COLORS
\def\OPTlinkcolor{0,0,0} % RGB components for clickable links
Expand Down
6 changes: 6 additions & 0 deletions opt-color.tex
Expand Up @@ -4,6 +4,12 @@
\def\OPTcovercolor{0.375,0,0,0.625} % CMYK
\def\OPTcovertextcolor{0,0,0,0.125}

% COVER IMAGE
\def\OPTlofrontimage{cover-lores-front.png}
\def\OPTlobackimage{cover-lores-back.png}
\def\OPThifrontimage{cover-hires-front.png}
\def\OPThibackimage{cover-hires-back.png}

% LINK COLORS
\def\OPTlinkcolor{0,0.45,0} % RGB components for clickable links

Expand Down

0 comments on commit 7c2f734

Please sign in to comment.