summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMarius Peter <marius.peter@tutanota.com>2021-08-30 22:18:48 -0700
committerMarius Peter <marius.peter@tutanota.com>2021-08-30 22:18:48 -0700
commit398a171594a5ff51416f5eab06037026c419314a (patch)
tree61bdada05966e6d5e469b4d53d724edfa47544e0
parenteae3bc506b47603bb01aac11adde581a269b2580 (diff)
Snippets :-)
-rw-r--r--snippets/org-mode/default4
-rw-r--r--templates/documents/gnu-default.setup7
-rw-r--r--templates/documents/title-default.org (renamed from templates/documents/default-title.org)0
-rw-r--r--templates/documents/title-short.org4
4 files changed, 7 insertions, 8 deletions
diff --git a/snippets/org-mode/default b/snippets/org-mode/default
index ec34fc2..f667c69 100644
--- a/snippets/org-mode/default
+++ b/snippets/org-mode/default
@@ -8,8 +8,8 @@
#+AUTHOR: ${2:`(if (eq user-full-name "") "Default Author" user-full-name)`}
#+DATE: ${3:`(with-temp-buffer (org-insert-time-stamp (current-time)))`}
-#+SETUPFILE: ~/.emacs.d/templates/documents/${4:`(if (string= system-type "gnu/linux") "gnu-" "ms-:")`}default.org
-#+INCLUDE: ~/.emacs.d/templates/documents/default.org_title
+#+SETUPFILE: ~/.emacs.d/templates/documents/${4:`(if (string= system-type "gnu/linux") "gnu-" "ms-:")`}default.setup
+#+INCLUDE: ~/.emacs.d/templates/documents/title-default.org
$0
diff --git a/templates/documents/gnu-default.setup b/templates/documents/gnu-default.setup
index a06cbd2..6eec9f5 100644
--- a/templates/documents/gnu-default.setup
+++ b/templates/documents/gnu-default.setup
@@ -7,10 +7,10 @@
# Ensure room for header and footer
#+LATEX_HEADER: \usepackage[
-#+LATEX_HEADER: left = 1.75in,
-#+LATEX_HEADER: right = 1.75in,
+#+LATEX_HEADER: left = 1.5in,
+#+LATEX_HEADER: right = 1.5in,
#+LATEX_HEADER: top = 1in ,
-#+LATEX_HEADER: bottom = 1.75in,]{geometry}
+#+LATEX_HEADER: bottom = 1.5in,]{geometry}
# Beautiful fonts ONLY
#+LATEX_HEADER: \usepackage{fontspec}
@@ -19,7 +19,6 @@
# Monospaced font
#+LATEX_HEADER: \setmonofont{Courier Prime}
-
# Get total page count, to later insert in page footer.
#+LATEX_HEADER: \usepackage{lastpage}
# Provide access to \title, \author, and \date.
diff --git a/templates/documents/default-title.org b/templates/documents/title-default.org
index c2c3c09..c2c3c09 100644
--- a/templates/documents/default-title.org
+++ b/templates/documents/title-default.org
diff --git a/templates/documents/title-short.org b/templates/documents/title-short.org
index 3a5932d..5f46ef0 100644
--- a/templates/documents/title-short.org
+++ b/templates/documents/title-short.org
@@ -1,8 +1,8 @@
-# -*- mode: org; -*- #
+# -*- mode: org; -*-
#+OPTIONS: title:nil toc:nil
-#+LATEX: \noindent\jost\huge\textbf{\thetitle}\\[1em]
+#+LATEX: \noindent\huge\textbf{\thetitle}\\[1em]
#+LATEX: \large\texttt{\theauthor}\\
#+LATEX: \thedate\\[1em]
#+LATEX: \normalsize\normalfont
Copyright 2019--2024 Marius PETER