diff options
Diffstat (limited to 'Master/texmf-dist/tex/latex/turabian-formatting/turabian-researchpaper.cls')
-rw-r--r-- | Master/texmf-dist/tex/latex/turabian-formatting/turabian-researchpaper.cls | 59 |
1 files changed, 27 insertions, 32 deletions
diff --git a/Master/texmf-dist/tex/latex/turabian-formatting/turabian-researchpaper.cls b/Master/texmf-dist/tex/latex/turabian-formatting/turabian-researchpaper.cls index ba32c40228b..8e7ac1b695d 100644 --- a/Master/texmf-dist/tex/latex/turabian-formatting/turabian-researchpaper.cls +++ b/Master/texmf-dist/tex/latex/turabian-formatting/turabian-researchpaper.cls @@ -1,10 +1,10 @@ % Turabian Formatting for LaTeX % -% Based on the Chicago Manual of Style (16th edition) and Kate Turabian's A -% Manual for Writers of Research Papers, Theses, and Dissertations (8th edition) +% Based on Kate L. Turabian's "A Manual for Writers of Research Papers, Theses, +% and Dissertations," 9th edition. % % ============================== -% Copyright 2013-2017 Omar Abdool +% Copyright 2013-2018 Omar Abdool % % This work may be distributed and/or modified under the conditions of the LaTeX % Project Public License (LPPL), either version 1.3 of this license or (at your @@ -27,7 +27,7 @@ \NeedsTeXFormat{LaTeX2e} -\ProvidesClass{turabian-researchpaper}[2017/11/04 Turabian Research Paper] +\ProvidesClass{turabian-researchpaper}[2018/05/21 Turabian Research Paper] % Default point size @@ -49,7 +49,7 @@ \PassOptionsToPackage{\CurrentOption}{turabian-formatting}} \DeclareOption{twocolumn}{% - \ClassWarningNoLine{turabian-researchpaper}{The '\CurrentOption' option is not supported.} + \ClassWarningNoLine{turabian-researchpaper}{The '\CurrentOption' option is not supported} \OptionNotUsed} \DeclareOption{10pt}{\def\@@ptsize{10pt}} @@ -80,13 +80,13 @@ % Part: formatting -\def\tf@partformat{\normalfont\bfseries\normalsize\singlespacing\centering} +\def\tf@partformat{\normalfont\bfseries\singlespacing\centering} \def\@part[#1]#2{% \ifnum \c@secnumdepth >-2\relax \refstepcounter{part}% \addcontentsline{toc}{part}% - {\protect\numberline{\thepart.}#1}% + {\protect{\partname\space\thepart}}% \else \addcontentsline{toc}{part}{#1}% \fi @@ -130,7 +130,7 @@ \@tempskipa #4\relax \@afterindenttrue \ifdim \@tempskipa <\z@ - \@tempskipa -\@tempskipa \@afterindentfalse + \@tempskipa -\@tempskipa \tf@afterindent \fi \if@nobreak \everypar{} \else \addpenalty\@secpenalty\addvspace\@tempskipa @@ -157,7 +157,7 @@ \protected@edef\tf@secsep#1#2{\@empty} % Sections: formatting of TOC \addcontentsline -\def\tf@tocline#1{\protect\numberline{\csname the#1\endcsname\quad}} +\def\tf@tocline#1{\protect{\csname the#1\endcsname\quad}} % Sections: redefine \@sect to support optional two-line formatting \def\@sect#1#2#3#4#5#6[#7]#8{% @@ -186,7 +186,7 @@ \csname #1mark\endcsname{#7}% \addcontentsline{toc}{#1}{% \ifnum #2>\c@secnumdepth \else - \protect\numberline{\csname the#1\endcsname\quad}% + \tf@tocline{#1}% \fi #7}}% \fi @@ -275,63 +275,58 @@ \fi -% Table of Contents: formatting +% Table of Contents, List of Figures, and List of Tables: item number alignment +%\def\numberline#1{\hb@xt@\@tempdima{\hfil #1\hspace{1em}}} + +\def\@tocrmarg{0.75in} +\def\@pnumwidth{3.5ex} + +% Table of Contents: formatting \setcounter{tocdepth}{1} \renewcommand*{\l@part}[2]{% \ifnum \c@tocdepth >-2\relax \addpenalty{-\@highpenalty}% \addvspace{1\baselineskip}% - \setlength\@tempdima{3em}% - \vskip 1\baselineskip + \setlength\@tempdima{0.5in}% + \vskip \tf@singlelineskip { \parindent \z@ \rightskip \z@ \parfillskip -\@rightskip \leavevmode \advance\leftskip\@tempdima \hskip -\leftskip - \bfseries #1\nobreak\hfil \nobreak\hb@xt@\@pnumwidth{\hss #2}\par} + \bfseries #1\nobreak\hfil \nobreak\par} \fi} \renewcommand*{\l@section}[2]{% \ifnum \c@tocdepth >\z@ \addpenalty\@secpenalty \setlength\@tempdima{\z@}% - \vskip 1\baselineskip + \vskip \tf@singlelineskip { \parindent \z@ \rightskip \@tocrmarg \parfillskip -\rightskip \leavevmode - \ifnum \c@tocdepth >\@ne \bfseries \fi \advance\leftskip\@tempdima \hskip -\leftskip #1\nobreak\hfil \nobreak\hb@xt@\@pnumwidth{\hss #2}\par} \fi} \renewcommand*{\l@subsection}{% - \ifnum \c@tocdepth >1 \vskip 1\baselineskip \fi + \ifnum \c@tocdepth >1 \vskip \tf@singlelineskip \fi \@dottedtocline{2}{0.5in}{\z@}} \renewcommand*{\l@subsubsection}{% - \ifnum \c@tocdepth >2 \vskip 1\baselineskip \fi + \ifnum \c@tocdepth >2 \vskip \tf@singlelineskip \fi \@dottedtocline{3}{1.0in}{\z@}} % List of Figures: formatting -\renewcommand*{\l@figure}[2]{% - \def\tflist@beforesecnum{\hfil} - \def\tflist@aftersecnum{\hspace{3.5em}} - \setlength\@tempdima{5em} - \vskip 1\baselineskip - { \leftskip \z@ \relax - \rightskip \@tocrmarg - \parfillskip -\rightskip - \parindent \z@ \relax\@afterindenttrue - \interlinepenalty\@M - \leavevmode - \advance\leftskip\@tempdima \null\nobreak\hskip -\leftskip - #1\nobreak\hfil \nobreak\hb@xt@\@pnumwidth{\hss #2}\par}} +\renewcommand*\l@figure{ + \vskip \tf@singlelineskip + \@dottedtocline{1}{1em}{0.5in}} % List of Tables: formatting @@ -389,7 +384,7 @@ \vspace{\dimexpr -4\tf@singlelineskip +1\baselineskip \relax} \singlespacing\mbox{}% \def\tf@adjaftersec{\dimexpr \tf@singlelineskip -\p@ \relax} - \let\@afterindentfalse\@afterindenttrue}% + \let\tf@afterindent\@afterindenttrue}% \fi |