From 09df21cb42af825acdac08723f7c5976c0fb13a0 Mon Sep 17 00:00:00 2001 From: Blendoit Date: Wed, 2 Dec 2020 21:18:59 -0800 Subject: Templates. --- templates/documents/default-title.org | 16 ++++++++++++++++ templates/documents/default.org_title | 16 ---------------- templates/documents/wealthy-title.org | 16 ++++++++++++++++ templates/documents/wealthy.org | 8 ++++---- 4 files changed, 36 insertions(+), 20 deletions(-) create mode 100644 templates/documents/default-title.org delete mode 100644 templates/documents/default.org_title create mode 100644 templates/documents/wealthy-title.org (limited to 'templates/documents') diff --git a/templates/documents/default-title.org b/templates/documents/default-title.org new file mode 100644 index 0000000..c2c3c09 --- /dev/null +++ b/templates/documents/default-title.org @@ -0,0 +1,16 @@ +# -*- mode: org; -*- # + +#+OPTIONS: title:nil toc:nil +# Increase spacing between header rule and main text body +#+LATEX: \rule[-2in]{0pt}{0pt}\\ +#+LATEX: \Huge\textbf{\thetitle}\\[1in] +#+LATEX: \LARGE\texttt{\theauthor}\\ +#+LATEX: \thedate + +#+LATEX: \clearpage + +#+LATEX: \normalsize +#+LATEX: \tableofcontents +#+LATEX: \listoffigures +#+LATEX: \listoftables +#+LATEX: \clearpage diff --git a/templates/documents/default.org_title b/templates/documents/default.org_title deleted file mode 100644 index c2c3c09..0000000 --- a/templates/documents/default.org_title +++ /dev/null @@ -1,16 +0,0 @@ -# -*- mode: org; -*- # - -#+OPTIONS: title:nil toc:nil -# Increase spacing between header rule and main text body -#+LATEX: \rule[-2in]{0pt}{0pt}\\ -#+LATEX: \Huge\textbf{\thetitle}\\[1in] -#+LATEX: \LARGE\texttt{\theauthor}\\ -#+LATEX: \thedate - -#+LATEX: \clearpage - -#+LATEX: \normalsize -#+LATEX: \tableofcontents -#+LATEX: \listoffigures -#+LATEX: \listoftables -#+LATEX: \clearpage diff --git a/templates/documents/wealthy-title.org b/templates/documents/wealthy-title.org new file mode 100644 index 0000000..50afd73 --- /dev/null +++ b/templates/documents/wealthy-title.org @@ -0,0 +1,16 @@ +# -*- mode: org; -*- # + +#+OPTIONS: title:nil toc:nil +# Increase spacing between header rule and main text body +#+LATEX: \rule[-2in]{0pt}{0pt}\\ +#+LATEX: \Huge\textbf{\thetitle}\\[1in] +#+LATEX: \LARGE\texttt{Lord \theauthor}\\ +#+LATEX: \thedate + +#+LATEX: \clearpage + +#+LATEX: \normalsize +#+LATEX: \tableofcontents +#+LATEX: \listoffigures +#+LATEX: \listoftables +#+LATEX: \clearpage diff --git a/templates/documents/wealthy.org b/templates/documents/wealthy.org index 79b846f..af83f52 100644 --- a/templates/documents/wealthy.org +++ b/templates/documents/wealthy.org @@ -3,7 +3,7 @@ #+LATEX_HEADER: \usepackage[]{geometry} #+LATEX_HEADER: \usepackage{fontspec} #+LATEX_HEADER: \setmainfont{EB Garamond} -#+LATEX_HEADER: \setmonofont{Liberation Mono} +#+LATEX_HEADER: \setmonofont{Courier Prime} # Get total page count to insert in footer #+LATEX_HEADER: \usepackage{lastpage} @@ -13,8 +13,8 @@ # Space in the header for a logo or image. #+LATEX_HEADER: \setlength{\headheight}{36pt} #+LATEX_HEADER_EXTRA: \pagestyle{fancy} -#+LATEX_HEADER_EXTRA: \fancyhead[L]{\rule[-12pt]{0pt}{0pt}\texttt{Lord \theauthor}} -#+LATEX_HEADER_EXTRA: \fancyhead[C]{\large\textbf{\thetitle}} -#+LATEX_HEADER_EXTRA: \fancyhead[R]{\thedate} +#+LATEX_HEADER_EXTRA: \fancyhead[L]{\rule[-12pt]{0pt}{0pt}\texttt{\textit{Lord \theauthor}}} +#+LATEX_HEADER_EXTRA: \fancyhead[C]{\Large\textbf{\thetitle}} +#+LATEX_HEADER_EXTRA: \fancyhead[R]{\texttt{\textit{\thedate}}} #+LATEX_HEADER_EXTRA: \renewcommand{\headrulewidth}{1.5pt} #+LATEX_HEADER_EXTRA: \fancyfoot[C]{\hrulefill\\[0.8em] Page \thepage\\[0.8em]\footnotesize Tastefully assembled with \includegraphics[width=1.618ex]{~/.emacs.d/img/icons/EmacsIcon.png}/\includegraphics[width=1.618ex]{~/.emacs.d/img/icons/Org-mode-unicorn.png}/\includegraphics[width=1.618ex]{~/.emacs.d/img/icons/LuaTeX_logo.png}/...\\ Copyright \copyright~2020 Marius Peter. All rights reserved. } -- cgit v1.2.3