Dave Jarvis' Repositories

git clone https://repo.autonoma.ca/repo/recipe-books.git

Adjusted Halloween theme borders and footer in ebook mode.

Author liantze <email>
Date 2013-07-31 23:27:19 GMT+0800
Commit 0d7b7ef8895b9c05419e5ee4de380f765c790410
Parent cce1ea1
headfoot/NightPageNo.tex
\makeevenhead{headings}{}{}{}
\makeoddhead{headings}{}{}{}
-\newcommand{\NightBand}{\raisebox{-1.2ex}{\rule{\textwidth}{1.75em}}}
+\newlength{\footbarskip}
+\newlength{\foottextskip}
+
+\setlength{\footbarskip}{-1.2ex}
+\setlength{\foottextskip}{-.25ex}
+
+\newcommand{\NightBand}{\raisebox{\footbarskip}{\rule{\textwidth}{1.75em}}}
\newcommand{\ScaryNightPageNum}{%
\color{\brighthighlight}\bfseries%
- \raisebox{-.25ex}{\includegraphics[height=.95em]{theme/flyingbat}} \thepage\ \raisebox{-.25ex}{\includegraphics[height=.9em]{theme/Moon}}%
+ \raisebox{\foottextskip}{\includegraphics[height=.95em]{theme/flyingbat}} \thepage\ \raisebox{\foottextskip}{\includegraphics[height=.9em]{theme/Moon}}%
}
\makeevenfoot{plain}{\NightBand}{%
theme/Halloween.tex
\fi
}{%
- \tikz[overlay,remember picture]\draw[\primarycolor,line width=6pt] ([xshift=-.45in,yshift=-.5in]current page.north east) rectangle ([xshift=.95in,yshift=.57in]current page.south west);
+ \tikz[overlay,remember picture]\draw[\primarycolor,line width=6pt] ([xshift=-.45in,yshift=-.5in]current page.north east) rectangle ([xshift=.45in,yshift=.57in]current page.south west);
}
}
Delta 9 lines added, 3 lines removed, 6-line increase