From ebaced20146761e81be1f5bed04c9c250d8b9119 Mon Sep 17 00:00:00 2001 From: Blendoit Date: Sat, 21 Nov 2020 11:45:57 -0800 Subject: Templates --- templates/documents/wealthy.org | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) create mode 100644 templates/documents/wealthy.org (limited to 'templates/documents') diff --git a/templates/documents/wealthy.org b/templates/documents/wealthy.org new file mode 100644 index 0000000..79b846f --- /dev/null +++ b/templates/documents/wealthy.org @@ -0,0 +1,20 @@ +# -*- mode: org; eval: (visual-line-mode); -*- + +#+LATEX_HEADER: \usepackage[]{geometry} +#+LATEX_HEADER: \usepackage{fontspec} +#+LATEX_HEADER: \setmainfont{EB Garamond} +#+LATEX_HEADER: \setmonofont{Liberation Mono} + +# Get total page count to insert in footer +#+LATEX_HEADER: \usepackage{lastpage} +#+LATEX_HEADER: \usepackage{titling} + +#+LATEX_HEADER: \usepackage{fancyhdr} +# 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: \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