diff options
Diffstat (limited to 'templates/documents')
-rw-r--r-- | templates/documents/gnu-default.setup | 33 |
1 files changed, 12 insertions, 21 deletions
diff --git a/templates/documents/gnu-default.setup b/templates/documents/gnu-default.setup index 9e7c202..3850ebb 100644 --- a/templates/documents/gnu-default.setup +++ b/templates/documents/gnu-default.setup @@ -6,11 +6,11 @@ #+LATEX_CLASS: article # Ensure room for header and footer -#+LATEX_HEADER: \usepackage{geometry}[ -#+LATEX_HEADER: left = 1in , -#+LATEX_HEADER: right = 1in , -#+LATEX_HEADER: top = 1in , -#+LATEX_HEADER: bottom = 1.75in ,] +#+LATEX_HEADER: \usepackage[ +#+LATEX_HEADER: left = 1.75in, +#+LATEX_HEADER: right = 1.75in, +#+LATEX_HEADER: top = 1in , +#+LATEX_HEADER: bottom = 1.75in,]{geometry} # Beautiful fonts ONLY #+LATEX_HEADER: \usepackage{fontspec} @@ -39,19 +39,10 @@ # Make header line gray #+LATEX_HEADER_EXTRA: \renewcommand{\headrule}{\hbox to\headwidth{% #+LATEX_HEADER_EXTRA: \color{gray}\leaders\hrule height \headrulewidth\hfill}} -#+LATEX_HEADER_EXTRA: \fancyfoot[C]{\color{gray}\hrulefill\\[0.8em] Page \thepage/\pageref*{LastPage}\\[0.8em]\footnotesize Compiled 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.} - -#+BEGIN_SRC emacs-lisp :exports none :cache no :results raw - (concat "#+LATEX_HEADER_EXTRA:" - "\\fancyfoot[C]{\\hrulefill\\\\[0.8em] " - "Page \\thepage/\\pageref*{LastPage}\\\\[0.8em] " - "\\footnotesize Compiled 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}/..." - " On \\texttt{" (with-temp-buffer (org-insert-time-stamp (current-time))) - "}\\\\ Copyright \\copyright~2020 Marius Peter. All rights reserved.}") -#+END_SRC - -# #+RESULTS: -# #+LATEX_HEADER_EXTRA:\fancyfoot[C]{\hrulefill\\[0.8em] Page \thepage/\pageref*{LastPage}\\[0.8em] \footnotesize Compiled 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}/... On \texttt{<2020-11-23 Mon>}\\ Copyright \copyright~2020 Marius Peter. All rights reserved.} +#+LATEX_HEADER_EXTRA: \fancyfoot[C]{\color{gray}\hrulefill\\[0.8em] +#+LATEX_HEADER_EXTRA: Page \thepage/\pageref*{LastPage}\\[0.8em] +#+LATEX_HEADER_EXTRA: \footnotesize Compiled with +#+LATEX_HEADER_EXTRA: \includegraphics[width=1.618ex]{~/.emacs.d/img/icons/EmacsIcon.png}/ +#+LATEX_HEADER_EXTRA: \includegraphics[width=1.618ex]{~/.emacs.d/img/icons/Org-mode-unicorn.png}/ +#+LATEX_HEADER_EXTRA: \includegraphics[width=1.618ex]{~/.emacs.d/img/icons/LuaTeX_logo.png}/...\\ +#+LATEX_HEADER_EXTRA: Copyright \copyright~2020 Marius Peter. All rights reserved.} |