a few details from foam/futurist-fieldguide#8
This commit is contained in:
parent
0a02b6fb6c
commit
06f3457efa
1 changed files with 46 additions and 51 deletions
|
@ -1,51 +1,46 @@
|
||||||
\usepackage{fancyhdr}
|
\usepackage{fancyhdr}
|
||||||
\usepackage{fontspec}
|
\usepackage{fontspec}
|
||||||
\usepackage{titlesec}
|
\usepackage{titlesec}
|
||||||
\usepackage{graphicx}
|
\usepackage{graphicx}
|
||||||
|
|
||||||
\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}
|
|
||||||
|
% no page numbers
|
||||||
% no page numbers
|
\pagenumbering{gobble}
|
||||||
\pagenumbering{gobble}
|
|
||||||
|
\setmainfont{Quattrocento Sans}
|
||||||
\setmainfont{Quattrocento Sans}
|
%\newfontfamily\sectionfont{Share-ItalicOSF}
|
||||||
%\newfontfamily\sectionfont{Share-ItalicOSF}
|
%\newfontfamily\sectionfont{Josefin Slab}
|
||||||
%\newfontfamily\sectionfont{Josefin Slab}
|
\newfontfamily\sectionfont{Roboto Light}
|
||||||
\newfontfamily\sectionfont{Roboto Light}
|
|
||||||
|
\pagestyle{fancy}
|
||||||
\pagestyle{fancy}
|
\fancyhf{}
|
||||||
\fancyhf{}
|
%\rhead{various \XeTeX}
|
||||||
%\rhead{various \XeTeX}
|
\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*{\subsubsection}{\sectionfont\fontsize{32}{12}\selectfont}
|
||||||
%\titleformat*{\subsection}{\sectionfont\fontsize{32}{20}\selectfont}
|
|
||||||
%\titleformat*{\subsubsection}{\sectionfont\fontsize{32}{12}\selectfont}
|
\titleformat{\subsubsection}
|
||||||
|
{\Large\bfseries}
|
||||||
|
{\thesection}
|
||||||
\titleformat{\subsubsection}
|
{1em}
|
||||||
{\Large\bfseries}
|
{\resizetitle}
|
||||||
{\thesection}
|
|
||||||
{1em}
|
\titleformat{\subsection}
|
||||||
{\resizetitle}
|
{\Large\bfseries}
|
||||||
|
{\thesection}
|
||||||
|
{1em}
|
||||||
\titleformat{\subsection}
|
{\resizetitle}
|
||||||
{\Large\bfseries}
|
|
||||||
{\thesection}
|
|
||||||
{1em}
|
|
||||||
{\resizetitle}
|
|
||||||
|
|
Loading…
Reference in a new issue