From 398a171594a5ff51416f5eab06037026c419314a Mon Sep 17 00:00:00 2001 From: Marius Peter Date: Mon, 30 Aug 2021 22:18:48 -0700 Subject: Snippets :-) --- templates/documents/default-title.org | 16 ---------------- templates/documents/gnu-default.setup | 7 +++---- templates/documents/title-default.org | 16 ++++++++++++++++ templates/documents/title-short.org | 4 ++-- 4 files changed, 21 insertions(+), 22 deletions(-) delete mode 100644 templates/documents/default-title.org create mode 100644 templates/documents/title-default.org (limited to 'templates') diff --git a/templates/documents/default-title.org b/templates/documents/default-title.org deleted file mode 100644 index c2c3c09..0000000 --- a/templates/documents/default-title.org +++ /dev/null @@ -1,16 +0,0 @@ -# -*- mode: org; -*- # - -#+OPTIONS: title:nil toc:nil -# Increase spacing between header rule and main text body -#+LATEX: \rule[-2in]{0pt}{0pt}\\ -#+LATEX: \Huge\textbf{\thetitle}\\[1in] -#+LATEX: \LARGE\texttt{\theauthor}\\ -#+LATEX: \thedate - -#+LATEX: \clearpage - -#+LATEX: \normalsize -#+LATEX: \tableofcontents -#+LATEX: \listoffigures -#+LATEX: \listoftables -#+LATEX: \clearpage 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/title-default.org b/templates/documents/title-default.org new file mode 100644 index 0000000..c2c3c09 --- /dev/null +++ b/templates/documents/title-default.org @@ -0,0 +1,16 @@ +# -*- mode: org; -*- # + +#+OPTIONS: title:nil toc:nil +# Increase spacing between header rule and main text body +#+LATEX: \rule[-2in]{0pt}{0pt}\\ +#+LATEX: \Huge\textbf{\thetitle}\\[1in] +#+LATEX: \LARGE\texttt{\theauthor}\\ +#+LATEX: \thedate + +#+LATEX: \clearpage + +#+LATEX: \normalsize +#+LATEX: \tableofcontents +#+LATEX: \listoffigures +#+LATEX: \listoftables +#+LATEX: \clearpage 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 -- cgit v1.2.3