This commit is contained in:
nik gaffney 2015-05-22 14:36:14 +00:00
parent 0a02b6fb6c
commit 06f3457efa

View file

@ -6,14 +6,13 @@
\usepackage{datetime} \usepackage{datetime}
\usepackage[iso,english]{isodate} \usepackage[iso,english]{isodate}
% http://tex.stackexchange.com/questions/246174/dynamic-title-size-using-titlesec
\newcommand{\resizetitle}[1]{\resizebox{\sectionwidth}{!}{#1}} \newcommand{\resizetitle}[1]{\resizebox{\sectionwidth}{!}{#1}}
\newlength{\sectionwidth} \newlength{\sectionwidth}
\AtBeginDocument{% \AtBeginDocument{%
\setlength{\sectionwidth}{0.7\textwidth}% \setlength{\sectionwidth}{0.7\textwidth}%
} }
% unix shell date % unix shell date
%\immediate\write18{date >\jobname.date} %\immediate\write18{date >\jobname.date}
@ -31,21 +30,17 @@
\lhead{Quattrocento Sans / Roboto Light } \lhead{Quattrocento Sans / Roboto Light }
\rfoot{\sectionfont\tiny{printed: \isodate{\today} \currenttime \selectfont}} \rfoot{\sectionfont\tiny{printed: \isodate{\today} \currenttime \selectfont}}
%\titleformat*{\subsection}{\sectionfont\fontsize{32}{20}\selectfont} %\titleformat*{\subsection}{\sectionfont\fontsize{32}{20}\selectfont}
%\titleformat*{\subsubsection}{\sectionfont\fontsize{32}{12}\selectfont} %\titleformat*{\subsubsection}{\sectionfont\fontsize{32}{12}\selectfont}
\titleformat{\subsubsection} \titleformat{\subsubsection}
{\Large\bfseries} {\Large\bfseries}
{\thesection} {\thesection}
{1em} {1em}
{\resizetitle} {\resizetitle}
\titleformat{\subsection} \titleformat{\subsection}
{\Large\bfseries} {\Large\bfseries}
{\thesection} {\thesection}
{1em} {1em}
{\resizetitle} {\resizetitle}