Skip to content

Commit

Permalink
fixed page numbers
Browse files Browse the repository at this point in the history
  • Loading branch information
oscarlevin committed Aug 16, 2015
1 parent 5173a23 commit 9fe7651
Show file tree
Hide file tree
Showing 6 changed files with 22 additions and 4 deletions.
2 changes: 2 additions & 0 deletions chapters/Counting-BinomialCoefficients.tex
Original file line number Diff line number Diff line change
Expand Up @@ -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}
Expand Down
Binary file modified discretebook-print.pdf
Binary file not shown.
10 changes: 8 additions & 2 deletions discretebook-print.tex
Original file line number Diff line number Diff line change
Expand Up @@ -4,9 +4,11 @@
\usepackage{discretebook}
\makeindex

\pagestyle{ruled}
\pagestyle{mypagestyle}
\chapterstyle{mychapstyle}

\PassOptionsToPackage{gray}{xcolor} %for print version, no color!

%\showinstnotes
\hideinstnotes

Expand Down Expand Up @@ -43,11 +45,15 @@

{\small \input{frontmatter/copyright-page}}


\input{frontmatter/dedication}

\tableofcontents
\cleardoublepage

\input{frontmatter/preface}


\cleardoublepage

\mainmatter

Expand Down
Binary file modified discretebook.pdf
Binary file not shown.
12 changes: 11 additions & 1 deletion discretebook.sty
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
\usepackage{amssymb, amsmath, amsthm}
\usepackage{bold-extra}
\usepackage{marvosym} %for stop signs.
%\usepackage{textcomp}
\usepackage{textcomp}



Expand Down Expand Up @@ -72,6 +72,7 @@
\usepackage{glossary-mcols}
%\setglossarystyle{mcolindex}

\usepackage{xcolor}
\usepackage{tikz}
\usetikzlibrary{shapes,decorations,shadows,fadings}

Expand Down Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion discretebook.tex
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
\usepackage{discretebook}
\makeindex

\pagestyle{ruled}
\pagestyle{mypagestyle}
\chapterstyle{mychapstyle}

%\showinstnotes
Expand Down

0 comments on commit 9fe7651

Please sign in to comment.