diff options
author | Karl Berry <karl@freefriends.org> | 2014-04-23 21:38:00 +0000 |
---|---|---|
committer | Karl Berry <karl@freefriends.org> | 2014-04-23 21:38:00 +0000 |
commit | c581c0efcec2202e4516d289b60b992b0cd5ca29 (patch) | |
tree | 78e77af1b9c755c6cd552e6e796630253c88218e /Master/texmf-dist/tex/latex | |
parent | 01ad29db02bf6feea44fbbe6cce1bb52c4dc4e93 (diff) |
ryethesis (23apr14)
git-svn-id: svn://tug.org/texlive/trunk@33645 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/tex/latex')
-rw-r--r-- | Master/texmf-dist/tex/latex/ryethesis/ryethesis.cls | 34 |
1 files changed, 21 insertions, 13 deletions
diff --git a/Master/texmf-dist/tex/latex/ryethesis/ryethesis.cls b/Master/texmf-dist/tex/latex/ryethesis/ryethesis.cls index f2bb53fcf5c..92af164c356 100644 --- a/Master/texmf-dist/tex/latex/ryethesis/ryethesis.cls +++ b/Master/texmf-dist/tex/latex/ryethesis/ryethesis.cls @@ -22,7 +22,7 @@ %% \NeedsTeXFormat{LaTeX2e}[1999/12/01] \ProvidesClass{ryethesis} - [2010/06/18 v1.3 Ryerson University thesis class definition] + [2014/04/23 v1.35 Ryerson University thesis class definition] \RequirePackage{ifthen} \RequirePackage{fancyhdr} @@ -466,7 +466,12 @@ Ryerson University{\ifx\empty\ryethesis@partnerUniv\else{ and \ifthenelse{\boolean{@ryeindex}} { -\RequirePackage{makeidx}\makeindex +\providecommand*\see[2]{\emph{\seename} #1} +\providecommand*\seealso[2]{\emph{\alsoname} #1} +\providecommand\printindex{\@input@{\jobname.ind}} +\providecommand\seename{see} +\providecommand*\alsoname{see also} +\makeindex \RequirePackage{multicol} \renewenvironment{theindex} {\begin{multicols}{2}[\@makeschapterhead{\indexname}\addcontentsline{toc}{chapter}{\indexname}% @@ -525,17 +530,6 @@ Ryerson University{\ifx\empty\ryethesis@partnerUniv\else{ and \newcommand{\usereferences}{\renewcommand{\bibname}{References}} \newcommand{\useendnotes}{\renewcommand{\bibname}{End Notes}} -\newcommand{\Saved@addtocontents}{} -\let\Saved@addtocontents\addtocontents -\def\addtocontents#1#2{% -\if@ryethesismatchtoc% -{\ifthenelse{\equal{#1}{toc}}% -{\Saved@addtocontents{toa}{#2}} -{\Saved@addtocontents{#1}{#2}}} -\else -{\Saved@addtocontents{#1}{#2}} -\fi} - \AtEndOfClass{ \ifthenelse{\boolean{@ryedraft}} @@ -544,9 +538,23 @@ Ryerson University{\ifx\empty\ryethesis@partnerUniv\else{ and {% Final mode uses 1.5 spacing as specified in SGS policy Sept. 2009. \onehalfspacing} \usereferences + } \RequirePackage{etoolbox} \AfterEndPreamble{ + + +\newcommand{\Saved@addtocontents}{} +\let\Saved@addtocontents\addtocontents +\def\addtocontents#1#2{% +\if@ryethesismatchtoc% +{\ifthenelse{\equal{#1}{toc}}% +{\Saved@addtocontents{toa}{#2}} +{\Saved@addtocontents{#1}{#2}}} +\else +{\Saved@addtocontents{#1}{#2}} +\fi} + \frontmatter\mainmatter } \AtEndDocument{\backmatter} |