diff options
Diffstat (limited to 'Master/texmf-dist/tex/latex/windycity/windycity.sty')
-rw-r--r-- | Master/texmf-dist/tex/latex/windycity/windycity.sty | 40 |
1 files changed, 23 insertions, 17 deletions
diff --git a/Master/texmf-dist/tex/latex/windycity/windycity.sty b/Master/texmf-dist/tex/latex/windycity/windycity.sty index 4d9b7977227..718c4f61805 100644 --- a/Master/texmf-dist/tex/latex/windycity/windycity.sty +++ b/Master/texmf-dist/tex/latex/windycity/windycity.sty @@ -1,4 +1,4 @@ -% Last modified: Sun 19 Jul 2020 11:58:38 AM CDT +% Last modified: Tue 10 Nov 2020 07:45:15 AM CST \NeedsTeXFormat{LaTeX2e} \ProvidesPackage{windycity} \RequirePackage{ifxetex} @@ -21,7 +21,7 @@ ItalicFont=*-italic, BoldItalicFont=*-bolditalic]{texgyretermes} \setmonofont[ - Scale=0.96, + Scale=0.94, Numbers=Lining, Extension=.otf, UprightFont=*mono10-regular, @@ -56,7 +56,7 @@ \vskip 4ex% {\Large\@subtitle}% \vskip 4ex% - {\large\@author\par\@website\par\@email\par\@version\par\@date}% + {\large\@author\par\@website\par\@email\par\@version}% dropped '\par\@date' \end{center}% \vskip 4ex}% @@ -195,20 +195,21 @@ \csname adddot@#1\endcsname\quad}% \newcommand*{\adddot@section}{.}% \renewcommand\thesubsubsection{% - \normalfont\arabic{subsection}.\@arabic\c@subsubsection} + \normalfont\arabic{subsection}.\arabic{subsubsection}}% -\renewcommand\section{\@startsection{section}{1}{\z@}% - {-3.5ex \@plus -1ex \@minus -.2ex}% - {2.3ex \@plus.2ex}% - {\normalfont\large\bfseries}} -\renewcommand\subsection{\@startsection{subsection}{2}{\z@}% - {-3.5ex\@plus -1ex \@minus -.2ex}% - {1.5ex \@plus .2ex}% - {\normalfont\bfseries}}% -\renewcommand\subsubsection{\@startsection{subsubsection}{3}{\z@}% - {-4ex\@plus -1ex \@minus -.2ex}% - {1.5ex \@plus .2ex}% - {\normalfont\it}} +\usepackage[clearempty]{titlesec} +\titleformat{\section} + {\large\bfseries}{\thesection.}{2ex}{} +\titleformat{\subsection} + {\normalsize\bfseries}{\thesubsection}{2ex}{} +\titleformat{\subsubsection} + {\normalsize\it}{\thesection.\thesubsubsection}{2ex}{} +\titlespacing*{\section} + {0ex}{3.5ex plus 1ex minus .2ex}{1.5ex plus .2ex}[0ex] +\titlespacing*{\subsection} + {0ex}{3.5ex plus 1ex minus .2ex}{1.5ex plus .2ex}[0ex] +\titlespacing*{\subsubsection} + {0ex}{3.5ex plus 1ex minus .2ex}{1.5ex plus .2ex}[0ex] \AtBeginEnvironment{quote}{\small} \AtBeginEnvironment{verbatim}{\small} @@ -218,14 +219,18 @@ citecolor=, colorlinks=true, linkcolor=blue, - pdfauthor={Brian Michael Chase}, + pdfauthor={Brian Chase}, pdftitle={Windy City for biblatex}, urlcolor=]{hyperref} \urlstyle{rm} +\newcommand{\babel}{% + \href{http://www.ctan.org/pkg/babel}{\textcolor{blue}{babel}}\xspace}% \newcommand{\biblatex}{% \href{http://www.ctan.org/pkg/biblatex}{\textcolor{blue}{biblatex}}\xspace}% \newcommand{\BibTeX}{{\rm B\kern-.05em{\sc i\kern-.025em b}\kern-.08em \TeX}}% +\newcommand{\polyglossia}{% + \href{http://www.ctan.org/pkg/polyglossia}{\textcolor{blue}{polyglossia}}\xspace}% \emergencystretch=1em \hyphenation{bib-la-tex Chi-ca-go} \usepackage{btxdockit}% For \bibfield, \bibtype, \cmd, marglist, optionlist, etc. @@ -283,5 +288,6 @@ \usepackage{float}% For nonfloating tables \usepackage[it,small]{caption}% Adjust captions \gappto{\@floatboxreset}{\centering}% Center floats +\AtBeginEnvironment{tabular}{\small}% Adjust fonts \endinput |