diff options
author | Karl Berry <karl@freefriends.org> | 2014-12-29 23:22:51 +0000 |
---|---|---|
committer | Karl Berry <karl@freefriends.org> | 2014-12-29 23:22:51 +0000 |
commit | ce111182f0ecbdc3d83fa92b13dc125370af7280 (patch) | |
tree | 043e577e76ff285c55f8ffa706df6a33de81f002 /Master/texmf-dist/tex/latex/turabian-formatting/turabian-formatting.sty | |
parent | 1502159a0ea1bde12aee24add557f14386539361 (diff) |
turabian-formatting (27dec14)
git-svn-id: svn://tug.org/texlive/trunk@35917 c570f23f-e606-0410-a88d-b1316a301751
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.sty | 43 |
1 files changed, 17 insertions, 26 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 9f9951c3ab7..786475d0935 100644 --- a/Master/texmf-dist/tex/latex/turabian-formatting/turabian-formatting.sty +++ b/Master/texmf-dist/tex/latex/turabian-formatting/turabian-formatting.sty @@ -33,7 +33,7 @@ \NeedsTeXFormat{LaTeX2e} -\ProvidesPackage{turabian-formatting}[2014/12/10 Turabian Formatting] +\ProvidesPackage{turabian-formatting}[2014/12/27 Turabian Formatting] % Flags adjusted with package options @@ -224,8 +224,6 @@ \RequirePackage{titlesec} \titleformat{\chapter}[display]% - % 7th Edition - % {\normalfont\mdseries\normalsize\singlespacing\centering}% {\normalfont\bfseries\normalsize\singlespacing\centering}% {Chapter \thechapter}% {1\baselineskip}% @@ -246,7 +244,7 @@ {0pt} \titleformat{\subsection}[block]% - {\normalfont\mdseries\normalsize\singlespacing\centering}% + {\normalfont\mdseries\itshape\normalsize\singlespacing\centering}% {}% {0pt}% {} @@ -283,46 +281,40 @@ \setwordcount{} -% Title Page: reformat \maketitle (Research Paper default) +% Title Page default: reformat \maketitle (Research Paper) + +\newcommand{\@makewordcount}{% + \ifthenelse{\equal{\@wordcount}{}}% + {} + {\hspace*{\fill}\@wordcount} +} \if@maketitlepage \renewcommand{\thanks}[1]{\def\@thanks{#1}} \thanks{} - \newcommand{\@makewordcount}{% - \ifthenelse{\equal{\@wordcount}{}}% - {}% - {% - \hspace*{\fill} - \vspace{-1\baselineskip} - \@wordcount\ words% - } - } \renewcommand{\mytitlepage}{% - \vspace*{\stretch{1}} + \vspace*{-1.2\baselineskip} + \vspace*{0.333\paperheight} + \vspace*{-1in} \ifthenelse{\equal{\@subtitle}{}}% {% - % 7th Edition - % \uppercase\expandafter{\@title}\par% - {\bfseries\@title}% + {\bfseries\@title}\par% }% {% - % 7th Edition - % \MakeUppercase{\@title}:\par - % \MakeUppercase{\@subtitle}\par% - {\bfseries\@title}\par - \vspace*{1\baselineskip} + {\bfseries\@title :}\par + \vspace*{0.833\baselineskip} {\bfseries\@subtitle}\par% } - \vspace*{1in} \vspace*{\stretch{1}} - \doublespacing + \parskip=0.833\baselineskip \@author\par \@thanks\par \@course\par \@institution\par \@date\par + \parskip=0pt \vspace*{\stretch{1}} \@makewordcount% } @@ -331,7 +323,6 @@ \newgeometry{margin=1in, ignoreall, noheadfoot} \thispagestyle{empty} {\normalfont\normalsize\centering\singlespacing - \vspace*{-1\baselineskip} \mytitlepage} \clearpage \restoregeometry |