/ ‘pandoc/header.tex’
This commit is contained in:
parent
eb5f31b3e3
commit
f3d08b33cd
1 changed files with 22 additions and 8 deletions
|
@ -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}
|
||||
|
||||
|
|
Loading…
Reference in a new issue