diff --git a/chapters/Counting-BinomialCoefficients.tex b/chapters/Counting-BinomialCoefficients.tex index 7b83e2eac..870080e3f 100644 --- a/chapters/Counting-BinomialCoefficients.tex +++ b/chapters/Counting-BinomialCoefficients.tex @@ -213,6 +213,8 @@ \subsection{Pascal's Triangle} \newpage \thispagestyle{empty} +~ +\vskip 1in \begin{center} \hspace*{-3em}{\Huge \textsc{Pascal's Triangle}\index{Pascal's triangle}} \end{center} diff --git a/discretebook-print.pdf b/discretebook-print.pdf index b004d27f8..531ef9335 100644 Binary files a/discretebook-print.pdf and b/discretebook-print.pdf differ diff --git a/discretebook-print.tex b/discretebook-print.tex index f08b45e11..42d059f4a 100644 --- a/discretebook-print.tex +++ b/discretebook-print.tex @@ -4,9 +4,11 @@ \usepackage{discretebook} \makeindex -\pagestyle{ruled} +\pagestyle{mypagestyle} \chapterstyle{mychapstyle} +\PassOptionsToPackage{gray}{xcolor} %for print version, no color! + %\showinstnotes \hideinstnotes @@ -43,11 +45,15 @@ {\small \input{frontmatter/copyright-page}} + +\input{frontmatter/dedication} + \tableofcontents +\cleardoublepage \input{frontmatter/preface} - +\cleardoublepage \mainmatter diff --git a/discretebook.pdf b/discretebook.pdf index 08fa321b5..ee5564941 100644 Binary files a/discretebook.pdf and b/discretebook.pdf differ diff --git a/discretebook.sty b/discretebook.sty index 55ae4d68f..8926f7530 100755 --- a/discretebook.sty +++ b/discretebook.sty @@ -5,7 +5,7 @@ \usepackage{amssymb, amsmath, amsthm} \usepackage{bold-extra} \usepackage{marvosym} %for stop signs. -%\usepackage{textcomp} +\usepackage{textcomp} @@ -72,6 +72,7 @@ \usepackage{glossary-mcols} %\setglossarystyle{mcolindex} +\usepackage{xcolor} \usepackage{tikz} \usetikzlibrary{shapes,decorations,shadows,fadings} @@ -316,6 +317,15 @@ \raggedbottom +% % % % % % % % % % My modified page style: % % % % % % % % % % % % % % % % % % % % +\copypagestyle{mypagestyle}{ruled} +\makeevenhead{ruled}{{\footnotesize \textsl{\thepage}}~~ \textsc{\scriptsize \leftmark}}{}{} +\makeoddhead{ruled}{}{}{\textsc{\scriptsize \rightmark} ~~ {\footnotesize \textsl{\thepage}}} +\makeevenfoot{ruled}{}{}{} +\makeoddfoot{ruled}{}{}{} + + + % % % % % % % % % % My chapter style (based on VZ14: % % % % % % % % % % % % % % % % \makeatletter diff --git a/discretebook.tex b/discretebook.tex index 15dd8b4bb..4ea71a012 100755 --- a/discretebook.tex +++ b/discretebook.tex @@ -4,7 +4,7 @@ \usepackage{discretebook} \makeindex -\pagestyle{ruled} +\pagestyle{mypagestyle} \chapterstyle{mychapstyle} %\showinstnotes