summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/tex/latex/turabian-formatting/turabian-researchpaper.cls
diff options
context:
space:
mode:
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.cls55
1 files changed, 29 insertions, 26 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 eb54ecea50d..03e71de5223 100644
--- a/Master/texmf-dist/tex/latex/turabian-formatting/turabian-researchpaper.cls
+++ b/Master/texmf-dist/tex/latex/turabian-formatting/turabian-researchpaper.cls
@@ -1,6 +1,7 @@
-% Turabian Formatting for LaTeX -- Research Papers
+% 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 the Chicago Manual of Style (16th edition) and Kate Turabian's A
+% Manual for Writers of Research Papers, Theses, and Dissertations (8th edition)
%
% ==============================
% Copyright 2013 Omar Abdool
@@ -17,7 +18,8 @@
% LPPL Maintenance Status: maintained (by Omar Abdool)
%
% This work consists of the files: turabian-formatting.sty,
-% turabian-researchpaper.cls, turabian-thesis.cls, turabian-formatting-doc.tex, % and turabian-formatting-doc.pdf (in addition to this README file).
+% turabian-researchpaper.cls, turabian-thesis.cls, turabian-formatting-doc.tex,
+% and turabian-formatting-doc.pdf (in addition to the README file).
%
% ==============================
%
@@ -25,51 +27,52 @@
\NeedsTeXFormat{LaTeX2e}
-\ProvidesClass{turabian-researchpaper}[2014/12/27 Turabian Research Paper]
+\ProvidesClass{turabian-researchpaper}[2015/11/14 Turabian Research Paper]
-% Flags adjusted with class options
-
-\newif\if@endnotesonly\@endnotesonlyfalse
+% Default point size
+\def\@@ptsize{12pt}
% Options for document class, some passed to article class
-\DeclareOption{draft}{%
- \PassOptionsToPackage{\CurrentOption}{turabian-formatting}
- \PassOptionsToClass{\CurrentOption}{article}}
-
\DeclareOption{raggedright}{%
\PassOptionsToPackage{\CurrentOption}{turabian-formatting}}
\DeclareOption{emptymargins}{%
\PassOptionsToPackage{\CurrentOption}{turabian-formatting}}
-\DeclareOption{endnotesonly}{\@endnotesonlytrue}
+\DeclareOption{endnotes}{%
+ \PassOptionsToPackage{\CurrentOption}{turabian-formatting}}
+
+% Option for Endnotes (deprecated option not functional)
+\DeclareOption{endnotesonly}{%
+ \ClassWarningNoLine{turabian-researchpaper}{The '\CurrentOption' option has been deprecated. Consider the 'endnotes' option instead.}
+ \OptionNotUsed}
+
+\DeclareOption{twocolumn}{%
+ \ClassWarningNoLine{turabian-researchpaper}{The '\CurrentOption' option is not supported.}
+ \OptionNotUsed}
-\DeclareOption{twocolumn}{\OptionNotUsed}
+\DeclareOption{notitlepage}{%
+ \ClassWarningNoLine{turabian-researchpaper}{The '\CurrentOption' option is not supported.}
+ \OptionNotUsed}
-\DeclareOption{notitlepage}{\OptionNotUsed}
+\DeclareOption{10pt}{\def\@@ptsize{10pt}}
+
+\DeclareOption{11pt}{\def\@@ptsize{11pt}}
+
+\DeclareOption{12pt}{\def\@@ptsize{12pt}}
\DeclareOption*{\PassOptionsToClass{\CurrentOption}{article}}
\ProcessOptions\relax
-\LoadClass[titlepage]{article}
+\LoadClass[titlepage,oneside,onecolumn,\@@ptsize]{article}
-\RequirePackage{turabian-formatting}
-\if@endnotesonly
- \PassOptionsToPackage{notetype=endonly}{biblatex-chicago}
- \RequirePackage{endnotes}
-\fi
-
-\AtEndPreamble{%
- \if@endnotesonly
- \let\footnote=\endnote
- \fi
-}
+\RequirePackage{turabian-formatting}