X-Git-Url: https://jxself.org/git/?a=blobdiff_plain;f=Pandoc%2Ftemplates%2Fcs-6x9-pdf.latex;h=25087c5dccf0171b9f11da7426f79c9035a48f99;hb=HEAD;hp=3c9ca93f648d9ba56f03113f2a714150c54a78de;hpb=b7c3c0efecd51244dff40c0a41e31650d299ddda;p=themediocreprogrammer.git diff --git a/Pandoc/templates/cs-6x9-pdf.latex b/Pandoc/templates/cs-6x9-pdf.latex index 3c9ca93..25087c5 100644 --- a/Pandoc/templates/cs-6x9-pdf.latex +++ b/Pandoc/templates/cs-6x9-pdf.latex @@ -104,6 +104,7 @@ \usepackage[bookmarks=true]{hyperref} + \hypersetup{pdfstartpage={}} \hypersetup{unicode=true, @@ -154,7 +155,7 @@ $endif$ {25pt}%bottom margin % This tells it to style the titleformat for chapters -\titleformat{\chapter}[display]{\bfseries\titlefont}{\Large Chapter \thechapter \normalfont}{0.5mm}{\small} +% \titleformat{\chapter}[display]{\bfseries\titlefont}{\Large Chapter \thechapter \normalfont}{0.5mm}{\small} %%%%%%%%%%%%%%%%%% %% This part says to style the titles for "chapters" @@ -273,6 +274,13 @@ $endif$ \newfontfamily\normalfont[Ligatures=TeX, Numbers=OldStyle]{Linux Biolinum O} \newfontfamily\titlefont[Scale=1.75, Ligatures=TeX]{Linux Biolinum O} +%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% +%%%%%% Images +%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% +%% Needed for images; used for cover +% \usepackage{incgraph,tikz} +\usepackage{pdfpages} + %\setmainfont %\renewcommand{\sfdefault}{URW Gothic} %\setmonofont @@ -323,6 +331,23 @@ $endif$ % These pages don't count for document page numbering \frontmatter +%%%%%%%%%%%%%%%%%%%%%%%%%%% +%%%% Create a cover page +%%%%%%%%%%%%%%%%%%%%%%%%%%% +% No headers or footers +\pagestyle{empty} + +% The image +\includepdf{$cover-image$} +% \incgraph[documentpaper] +% [height=\paperheight]{$cover-image$} % Fit to height + +%% Stretch image to fit page +% [width=\paperwidth,height=\paperheight]{$cover-image$} + +% End the page +\clearpage + %%%%%%%%%%%%%%%%%%%%%%%%%%% %%%%%%%%%%%%%%%%%%%%%%%%%%% %% Create a titlepage