summaryrefslogtreecommitdiff
path: root/templates/documents
diff options
context:
space:
mode:
authorMarius Peter <marius.peter@tutanota.com>2021-06-07 20:00:52 -0700
committerMarius Peter <marius.peter@tutanota.com>2021-06-07 20:00:52 -0700
commit84f74bd4faa0afde8d818807f0a12bbcebf6e3a8 (patch)
tree96bd4ece2d54dcc00a4ba32516fbee0611df046a /templates/documents
parenta43039f11a81c80debd85e2bd4c7547fe2d7b833 (diff)
Default margins beautifully wider.
Diffstat (limited to 'templates/documents')
-rw-r--r--templates/documents/gnu-default.setup33
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.}
Copyright 2019--2024 Marius PETER