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.sty37
1 files changed, 16 insertions, 21 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 1b6a94e2e6e..2350f66818d 100644
--- a/Master/texmf-dist/tex/latex/turabian-formatting/turabian-formatting.sty
+++ b/Master/texmf-dist/tex/latex/turabian-formatting/turabian-formatting.sty
@@ -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,10 +27,10 @@
\NeedsTeXFormat{LaTeX2e}
-\ProvidesPackage{turabian-formatting}[2017/11/04 Turabian Formatting]
+\ProvidesPackage{turabian-formatting}[2018/05/21 Turabian Formatting]
-% Package options: flags
+% Package options: flags and variables
\newif\if@optraggedright\@optraggedrightfalse
@@ -192,11 +192,9 @@
% Set top section command name to "section" (default)
\def\tf@topsecname{section}
-
% Set adjustment for baselineskip after \section and \section* headings
\def\tf@adjaftersec{\dimexpr \baselineskip -\tf@singlelineskip -\p@ \relax}
-
% Headings formatting: \section, \subsection, and \subsubsection
\setcounter{secnumdepth}{0}
@@ -221,11 +219,8 @@
{\tf@singlelineskip}%
{\normalfont\bfseries\normalsize\singlespacing\raggedright}}
-
-% 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}}
+% Headings formatting: following paragraphs start with an indent
+\def\tf@afterindent{\@afterindenttrue}
% Table of Contents: renew formatting
@@ -235,7 +230,7 @@
\renewcommand{\tableofcontents}{%
\tf@tocpagestyle
\expandafter\csname \tf@topsecname\endcsname*{\contentsname}%
- \@mkboth{\MakeUppercase\contentsname}{\MakeUppercase\contentsname}%
+ \@mkboth{\contentsname}{\contentsname}%
\if@optraggedright
\let\tf@tocrmarg\@tocrmarg
\def\@tocrmarg{\tf@tocrmarg plus1fil}
@@ -244,12 +239,9 @@
\singlespacing
\@starttoc{toc}}}%
-% Table of Contents: right margin and number width formatting
-\def\@tocrmarg{5em}
-\def\@pnumwidth{2.5em}
-
% List of Figures and List of Tables: adjust titles
+
\renewcommand{\listfigurename}{Figures}
\renewcommand{\listtablename}{Tables}
@@ -270,7 +262,8 @@
% List of Figures
\renewcommand{\listoffigures}{%
\expandafter\csname \tf@topsecname\endcsname*{\listfigurename}%
- \@mkboth{\MakeUppercase\listfigurename}{\MakeUppercase\listfigurename}%
+ \@mkboth{\listfigurename}{\listfigurename}%
+ \addcontentsline{toc}{\tf@topsecname}{\listfigurename}%
{ \vspace{\dimexpr -3\tf@singlelineskip +1\baselineskip \relax}%
\singlespacing
\@starttoc{lof}}}
@@ -278,7 +271,8 @@
% List of Tables
\renewcommand{\listoftables}{%
\expandafter\csname \tf@topsecname\endcsname*{\listtablename}%
- \@mkboth{\MakeUppercase\listtablename}{\MakeUppercase\listtablename}%
+ \@mkboth{\listtablename}{\listtablename}%
+ \addcontentsline{toc}{\tf@topsecname}{\listtablename}%
{ \vspace{\dimexpr -3\tf@singlelineskip +1\baselineskip \relax}%
\singlespacing
\@starttoc{lot}}}
@@ -289,7 +283,8 @@
\newcommand{\listofillustrations}{%
\expandafter\csname \tf@topsecname\endcsname*{\listillustrationname}%
- \@mkboth{\MakeUppercase\listillustrationname}{\MakeUppercase\listillustrationname}%
+ \@mkboth{\listillustrationname}{\listillustrationname}%
+ \addcontentsline{toc}{\tf@topsecname}{\listillustrationname}%
{ \vspace{\dimexpr -3\tf@singlelineskip +1\baselineskip \relax}%
\singlespacing
{\tf@illustrsection Figures}\par\nopagebreak
@@ -409,7 +404,7 @@
% biblatex-chicago: set formatting defaults and pass options
\PassOptionsToPackage%
- {isbn=false, autolang=other, footmarkoff, backend=biber}%
+ {isbn=false, autolang=other, footmarkoff, noibid, backend=biber}%
{biblatex-chicago}
\if@authordateformat
\PassOptionsToPackage{authordate}{biblatex-chicago}