Snippets :-)

Commit
398a171594a5ff51416f5eab06037026c419314a
Author
Marius Peter <marius.peter@tutanota.com>
Author date
Committer
Marius Peter <marius.peter@tutanota.com>
Committer date
Changed files
snippets/org-mode/default
index ec34fc2d..f667c692 100644..100644
@@ -8,8 +8,8 @@
8 8 #+AUTHOR: ${2:`(if (eq user-full-name "") "Default Author" user-full-name)`}
9 9 #+DATE: ${3:`(with-temp-buffer (org-insert-time-stamp (current-time)))`}
10 10
11 Removed: #+SETUPFILE: ~/.emacs.d/templates/documents/${4:`(if (string= system-type "gnu/linux") "gnu-" "ms-:")`}default.org
12 Removed: #+INCLUDE: ~/.emacs.d/templates/documents/default.org_title
11 Added: #+SETUPFILE: ~/.emacs.d/templates/documents/${4:`(if (string= system-type "gnu/linux") "gnu-" "ms-:")`}default.setup
12 Added: #+INCLUDE: ~/.emacs.d/templates/documents/title-default.org
13 13
14 14 $0
15 15
templates/documents/default-title.org
index c2c3c093..00000000 100644..000000
@@ -1,16 +0,0 @@
1 Removed: # -*- mode: org; -*- #
2 Removed:
3 Removed: #+OPTIONS: title:nil toc:nil
4 Removed: # Increase spacing between header rule and main text body
5 Removed: #+LATEX: \rule[-2in]{0pt}{0pt}\\
6 Removed: #+LATEX: \Huge\textbf{\thetitle}\\[1in]
7 Removed: #+LATEX: \LARGE\texttt{\theauthor}\\
8 Removed: #+LATEX: \thedate
9 Removed:
10 Removed: #+LATEX: \clearpage
11 Removed:
12 Removed: #+LATEX: \normalsize
13 Removed: #+LATEX: \tableofcontents
14 Removed: #+LATEX: \listoffigures
15 Removed: #+LATEX: \listoftables
16 Removed: #+LATEX: \clearpage
templates/documents/gnu-default.setup
index a06cbd24..6eec9f51 100644..100644
@@ -7,10 +7,10 @@
7 7
8 8 # Ensure room for header and footer
9 9 #+LATEX_HEADER: \usepackage[
10 Removed: #+LATEX_HEADER: left = 1.75in,
11 Removed: #+LATEX_HEADER: right = 1.75in,
10 Added: #+LATEX_HEADER: left = 1.5in,
11 Added: #+LATEX_HEADER: right = 1.5in,
12 12 #+LATEX_HEADER: top = 1in ,
13 Removed: #+LATEX_HEADER: bottom = 1.75in,]{geometry}
13 Added: #+LATEX_HEADER: bottom = 1.5in,]{geometry}
14 14
15 15 # Beautiful fonts ONLY
16 16 #+LATEX_HEADER: \usepackage{fontspec}
@@ -18,7 +18,6 @@
18 18 #+LATEX_HEADER: \setmainfont[Scale=0.872]{Public Sans}
19 19 # Monospaced font
20 20 #+LATEX_HEADER: \setmonofont{Courier Prime}
21 Removed:
22 21
23 22 # Get total page count, to later insert in page footer.
24 23 #+LATEX_HEADER: \usepackage{lastpage}
templates/documents/title-default.org
index 00000000..c2c3c093 000000..100644
@@ -0,0 +1,16 @@
1 Added: # -*- mode: org; -*- #
2 Added:
3 Added: #+OPTIONS: title:nil toc:nil
4 Added: # Increase spacing between header rule and main text body
5 Added: #+LATEX: \rule[-2in]{0pt}{0pt}\\
6 Added: #+LATEX: \Huge\textbf{\thetitle}\\[1in]
7 Added: #+LATEX: \LARGE\texttt{\theauthor}\\
8 Added: #+LATEX: \thedate
9 Added:
10 Added: #+LATEX: \clearpage
11 Added:
12 Added: #+LATEX: \normalsize
13 Added: #+LATEX: \tableofcontents
14 Added: #+LATEX: \listoffigures
15 Added: #+LATEX: \listoftables
16 Added: #+LATEX: \clearpage
templates/documents/title-short.org
index 3a5932da..5f46ef0b 100644..100644
@@ -1,8 +1,8 @@
1 Removed: # -*- mode: org; -*- #
1 Added: # -*- mode: org; -*-
2 2
3 3 #+OPTIONS: title:nil toc:nil
4 4
5 Removed: #+LATEX: \noindent\jost\huge\textbf{\thetitle}\\[1em]
5 Added: #+LATEX: \noindent\huge\textbf{\thetitle}\\[1em]
6 6 #+LATEX: \large\texttt{\theauthor}\\
7 7 #+LATEX: \thedate\\[1em]
8 8 #+LATEX: \normalsize\normalfont