summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/tex/latex/turabian-formatting/turabian-formatting.sty
diff options
context:
space:
mode:
Diffstat (limited to 'Master/texmf-dist/tex/latex/turabian-formatting/turabian-formatting.sty')
-rw-r--r--Master/texmf-dist/tex/latex/turabian-formatting/turabian-formatting.sty76
1 files changed, 14 insertions, 62 deletions
diff --git a/Master/texmf-dist/tex/latex/turabian-formatting/turabian-formatting.sty b/Master/texmf-dist/tex/latex/turabian-formatting/turabian-formatting.sty
index 2a7b4a40b26..f53320c3f86 100644
--- a/Master/texmf-dist/tex/latex/turabian-formatting/turabian-formatting.sty
+++ b/Master/texmf-dist/tex/latex/turabian-formatting/turabian-formatting.sty
@@ -27,7 +27,7 @@
\NeedsTeXFormat{LaTeX2e}
-\ProvidesPackage{turabian-formatting}[2016/07/18 Turabian Formatting]
+\ProvidesPackage{turabian-formatting}[2016/09/17 Turabian Formatting]
% Package options: flags
@@ -215,48 +215,16 @@
{\normalfont\bfseries\normalsize\singlespacing\raggedright}}
-% Title page: commands for use with \maketitle
-
-\newcommand{\subtitle}[1]{\gdef\tf@subtitle{#1}}
-\subtitle{\@empty}
-
-\newcommand{\submissioninfo}[1]{\gdef\tf@submissioninfo{#1}}
-\submissioninfo{\@empty}
-
-% Title page: command for emptying/completing \maketitle
-\newcommand{\tf@emptymaketitle}{%
- % if not endnotes, reset footnote counter
- \if@endnotesformat \else \setcounter{footnote}{0} \fi
-
- % Clear command content at end of \maketitle
- \global\let\thanks\relax
- \global\let\maketitle\relax
-
- \global\let\@thanks\@empty
- \global\let\@author\@empty
- \global\let\@date\@empty
- \global\let\@title\@empty
- \global\let\tf@subtitle\@empty
- \global\let\tf@submissioninfo\@empty
-
- \global\let\title\relax
- \global\let\author\relax
- \global\let\date\relax
- \global\let\subtitle\relax
- \global\let\submissioninfo\relax}
-
-
-% Table of Contents, Figures, and Tables: section number alignment adjustments
+% Table of Contents, List of Figures, and List of Tables: section number alignment
\def\tflist@beforesecnum{}
\def\tflist@aftersecnum{\hfil}
\def\numberline#1{\hb@xt@\@tempdima{\tflist@beforesecnum #1\tflist@aftersecnum}}
% Table of Contents: renew \tableofcontents with single spacing support
+\def\tf@tocpagestyle{\@empty}
\renewcommand{\tableofcontents}{%
- \ifstrequal{\tf@topsecname}{chapter}%
- {\pagestyle{plain}}%
- {\thispagestyle{plain}}%
+ \tf@tocpagestyle
\expandafter\csname \tf@topsecname\endcsname*{\contentsname}%
\@mkboth{\MakeUppercase\contentsname}{\MakeUppercase\contentsname}%
\if@optraggedright
@@ -273,9 +241,7 @@
\def\@pnumwidth{2.5em}
-% Figures, Tables, and Illustrations
-
-% Figures and Tables: adjust list titles
+% List of Figures and List of Tables: adjust titles
\renewcommand{\listfigurename}{Figures}
\renewcommand{\listtablename}{Tables}
@@ -350,7 +316,6 @@
% Lists: enumerate and itemize formatting
-
\setlength\leftmargini{1.5\parindent}
\setlength\leftmargin{\leftmargini}
\setlength\leftmarginii{\parindent}
@@ -416,9 +381,11 @@
\fi
\setlength\parsep{\z@}
% Place line spacing between text and quotation
- \ifnumequal{\baselinestretch}{1}%
- {\setlength\topsep{\baselineskip}}%
- {\setlength\topsep{\z@}}}%
+ \ifnum \baselinestretch =1
+ \setlength\topsep{\baselineskip}
+ \else
+ \setlength\topsep{\z@}
+ \fi}%
\singlespacing%
\item\relax%
}
@@ -426,15 +393,6 @@
\def\quote{\quotation}
-% Appendixes: formatting
-
-\AtEndPreamble{%
- \let\tf@appendix\appendix
- \def\appendix{\@empty}}
-
-\newif\if@appendixes\@appendixesfalse
-
-
% thebibliography environment: formatting (adjust \@openbib@code hook default)
\setlength\bibindent{\parindent}
@@ -449,15 +407,7 @@
\setlength\parsep{\z@}}
-% biblatex-chicago: set formatting defaults
-
-% biblatex-chicago: provide warning if loaded before turabian-formatting
-\@ifpackageloaded{biblatex-chicago}%
- {%
- \PackageWarningNoLine{turabian-formatting}{Loading the 'biblatex-chicago' package after the 'turabian-formatting' package is recommended. See documentation for more information}%
- }{}
-
-% biblatex-chicago: pass options
+% biblatex-chicago: set formatting defaults and pass options
\PassOptionsToPackage%
{isbn=false, autolang=other, footmarkoff, backend=biber}%
{biblatex-chicago}
@@ -477,7 +427,9 @@
\DefineBibliographyStrings{english}{%
references = {Bibliography}}
\fi
- \renewcommand{\bibsetup}{\singlespacing}
+ \renewcommand{\bibsetup}{%
+ \addcontentsline{toc}{\tf@topsecname}{\bibname}
+ \singlespacing}
\renewcommand{\bibitemsep}{1\baselineskip}
\renewcommand{\bibhang}{0.5in}
}{}}