summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/tex/latex/turabian/turabian.cls
blob: 1c448e95c6c64927026e5704c18978ad736e04db (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
% ----------------------------------------------------------
% -                                                        -
% -           Turabian LaTeX v0.0.3 [2014/03/13]           -
% -                  By Wesley A. Surber                   -
% -          Liberty Baptist Theological Seminary          -
% -                                                        -
% -                  Get the latest version                -
% -          http://www.wesleysurber.com/turabian          -
% -                                                        -
% - NOTE: Some professors still require papers submitted   -
% - in Microsoft Word format.  Consult your grading rubric -
% - and professor's personal preference before utilizing   -
% - this tool.                                             -
% -                                                        -
% ----------------------------------------------------------

\NeedsTeXFormat{LaTeX2e}
\ProvidesClass{turabian}[2014/03/15 v0.0.3 Turabian LaTeX document class]
\renewcommand{\normalsize}{\fontsize{10}{12}\selectfont}
\LoadClass[a4paper,oneside,12pt]{report}
\usepackage{lipsum} % Provides options for creating the demo template.
\usepackage[hmargin=1in,vmargin=1in]{geometry} % Sets margins and page layout.
\usepackage{mathptmx} % Changes LaTeX default font to Times New Roman.
\usepackage{fancyhdr} % Enables header modifications for Turabian format.
\usepackage{setspace} % Enables double-spaced line support for Turabian format.
\usepackage{tocloft} % Enables Table of Contents customization for Turabian format.
\usepackage{cjhebrew} % Enables Hebrew support.  Refer to user guide for code sequence.
\usepackage{scrextend} % Enables footnote modification for Turabian format.
\usepackage{indentfirst} % Indents first paragraph line after section headers.
\usepackage[none]{hyphenat} % Prohibits LaTeX from hyphenating words.
\usepackage{titlesec} % Enables section header modifications.
\usepackage{graphicx} % Enables image support.

\batchmode % Enables TeXworks to continue LaTeX compiling on error.

\deffootnote[3em]{0em}{1em}{\thefootnotemark . }  % Enables Turabian formatted footnotes.

\titleformat{\section}
  {\normalfont\normalsize\bfseries\centering}{}{0em}{} % Custom Turabian section header.

\setlength{\headheight}{15pt} % Custom header height.  Avoids compiling errors.

% ---- TABLE OF CONTENTS ----

\newcommand{\contentstable}{
    \pagestyle{fancy}
    \fancyhf{}
    \fancyhead[R]{\thepage} % Aligns page number to right of header.  
    \renewcommand{\headrulewidth}{0pt}
    
    \section{TABLE OF CONTENTS}
    
    }
    
\newcommand{\tocone}{
    \parindent=0em
    } 
    
\newcommand{\toctwo}{
    \parindent=1.5em
    }
  
\newcommand{\tocthree}{
    \parindent=3em
    }
    
\newcommand{\tocfour}{
    \parindent=4.5em
    }   
    
% ---- MAIN CONTENT ----

\newcommand{\content}{
    \doublespace
    \raggedright
    \parindent=1.5em
    }
    
% ---- BIBLIOGRAPHY ----
    
\renewcommand{\bibliography}{
    \section{BIBLIOGRAPHY}

    \singlespacing
    \vspace{-5mm}
    \parindent=0em
    }

\newcommand{\bibline}{
    \hangindent=1.5em
    \hangafter=1 
    }