/ ‘pandoc/header.tex’

This commit is contained in:
nik gaffney 2015-05-22 16:26:40 +02:00
parent eb5f31b3e3
commit f3d08b33cd

View file

@ -6,13 +6,20 @@
\usepackage{datetime}
\usepackage[iso,english]{isodate}
\newcommand{\resizetitle}[1]{\resizebox{\sectionwidth}{!}{#1}}
\newlength{\sectionwidth}
\AtBeginDocument{%
\setlength{\sectionwidth}{0.7\textwidth}%
}
% unix shell date
%\immediate\write18{date >\jobname.date}
% no page numbers
\pagenumbering{gobble}
\setmainfont{Quattrocento Sans}
%\newfontfamily\sectionfont{Share-ItalicOSF}
%\newfontfamily\sectionfont{Josefin Slab}
@ -25,13 +32,20 @@
\rfoot{\sectionfont\tiny{printed: \isodate{\today} \currenttime \selectfont}}
\titleformat*{\subsection}{\sectionfont\fontsize{32}{20}\selectfont}
\titleformat*{\subsubsection}{\sectionfont\fontsize{32}{12}\selectfont}
%\titleformat*{\subsubsection}{\sectionfont\resizebox{40pt}{!}\selectfont}
%\titleformat*{\subsection}{\sectionfont\fontsize{32}{20}\selectfont}
%\titleformat*{\subsubsection}{\sectionfont\fontsize{32}{12}\selectfont}
%\titleformat{\subsection}{\sectionfont\selectfont}{\resizebox{10cm}{!}]{\thesection}}{1em}{}
%\titleformat{\subsubsection}{\sectionfont\selectfont}{\resizebox{10cm}{!}]{\thesection}}{1em}{}
\titleformat{\subsubsection}
{\Large\bfseries}
{\thesection}
{1em}
{\resizetitle}
\titleformat{\subsection}
{\Large\bfseries}
{\thesection}
{1em}
{\resizetitle}