futurist-fieldguide/pandoc/header.tex

52 lines
1 KiB
TeX
Raw Normal View History

2015-05-21 14:56:49 +00:00
\usepackage{fancyhdr}
\usepackage{fontspec}
\usepackage{titlesec}
\usepackage{graphicx}
\usepackage{datetime}
\usepackage[iso,english]{isodate}
2015-05-22 14:26:40 +00:00
\newcommand{\resizetitle}[1]{\resizebox{\sectionwidth}{!}{#1}}
\newlength{\sectionwidth}
\AtBeginDocument{%
\setlength{\sectionwidth}{0.7\textwidth}%
}
2015-05-21 14:56:49 +00:00
% unix shell date
%\immediate\write18{date >\jobname.date}
% no page numbers
\pagenumbering{gobble}
\setmainfont{Quattrocento Sans}
%\newfontfamily\sectionfont{Share-ItalicOSF}
%\newfontfamily\sectionfont{Josefin Slab}
\newfontfamily\sectionfont{Roboto Light}
\pagestyle{fancy}
\fancyhf{}
%\rhead{various \XeTeX}
\lhead{Quattrocento Sans / Roboto Light }
\rfoot{\sectionfont\tiny{printed: \isodate{\today} \currenttime \selectfont}}
2015-05-22 14:26:40 +00:00
%\titleformat*{\subsection}{\sectionfont\fontsize{32}{20}\selectfont}
%\titleformat*{\subsubsection}{\sectionfont\fontsize{32}{12}\selectfont}
2015-05-21 14:56:49 +00:00
2015-05-22 14:26:40 +00:00
\titleformat{\subsubsection}
{\Large\bfseries}
{\thesection}
{1em}
{\resizetitle}
2015-05-21 14:56:49 +00:00
2015-05-22 14:26:40 +00:00
\titleformat{\subsection}
{\Large\bfseries}
{\thesection}
{1em}
{\resizetitle}
2015-05-21 14:56:49 +00:00