From 82d2678cfffd780c8fccf25ca3167bfb2d6d2d83 Mon Sep 17 00:00:00 2001 From: Blendoit Date: Mon, 19 Apr 2021 20:46:49 -0700 Subject: Setupfiles and Title Pages. 2 separate document types. --- templates/documents/gnu-default.org | 59 ------------------------------ templates/documents/gnu-default.setup | 65 +++++++++++++++++++++++++++++++++ templates/documents/letter.org | 18 --------- templates/documents/letter.setup | 22 +++++++++++ templates/documents/ms-default.org | 61 ------------------------------- templates/documents/ms-default.setup | 61 +++++++++++++++++++++++++++++++ templates/documents/ms-word.org | 31 ---------------- templates/documents/ms-word.setup | 31 ++++++++++++++++ templates/documents/wealthy-title.org | 16 -------- templates/documents/wealthy-title.setup | 16 ++++++++ templates/documents/wealthy.org | 24 ------------ templates/documents/wealthy.setup | 24 ++++++++++++ 12 files changed, 219 insertions(+), 209 deletions(-) delete mode 100644 templates/documents/gnu-default.org create mode 100644 templates/documents/gnu-default.setup delete mode 100644 templates/documents/letter.org create mode 100644 templates/documents/letter.setup delete mode 100644 templates/documents/ms-default.org create mode 100644 templates/documents/ms-default.setup delete mode 100644 templates/documents/ms-word.org create mode 100644 templates/documents/ms-word.setup delete mode 100644 templates/documents/wealthy-title.org create mode 100644 templates/documents/wealthy-title.setup delete mode 100644 templates/documents/wealthy.org create mode 100644 templates/documents/wealthy.setup (limited to 'templates') diff --git a/templates/documents/gnu-default.org b/templates/documents/gnu-default.org deleted file mode 100644 index 1aba743..0000000 --- a/templates/documents/gnu-default.org +++ /dev/null @@ -1,59 +0,0 @@ -# -*- mode: org; eval: (visual-line-mode); -*- - -# Hide Org mode tags -#+OPTIONS: tags:nil - -#+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 ,] - -# Beautiful fonts ONLY -#+LATEX_HEADER: \usepackage{fontspec} -# Regular font -#+LATEX_HEADER: \setmainfont{Public Sans} -# Monospaced font -#+LATEX_HEADER: \setmonofont{Courier Prime} - -# Get total page count to insert in footer -#+LATEX_HEADER: \usepackage{lastpage} -#+LATEX_HEADER: \usepackage{titling} - -# #+LATEX_HEADER: \usepackage{enumitem} -# #+LATEX_HEADER: \setlist{noitemsep} - -# Required to reset numbering of table rows from table to table. -#+LATEX_HEADER: \usepackage{etoolbox} -#+LATEX_HEADER: \makeatletter -#+LATEX_HEADER: \gpreto\tabular{\renewcommand{\arraystretch}{1.4}\rownum=\z@} -#+LATEX_HEADER: \makeatother - -# Headers and footers. -#+LATEX_HEADER: \usepackage{fancyhdr} -# Space in the header for a logo or image. -#+LATEX_HEADER: \setlength{\headheight}{36pt} -#+LATEX_HEADER_EXTRA: \pagestyle{fancy} -#+LATEX_HEADER_EXTRA: \fancyhead[L]{\rule[-12pt]{0pt}{0pt}\texttt{\theauthor}} -#+LATEX_HEADER_EXTRA: \fancyhead[C]{\large\textbf{\thetitle}} -#+LATEX_HEADER_EXTRA: \fancyhead[R]{\thedate} -#+LATEX_HEADER_EXTRA: \renewcommand{\headrulewidth}{1.5pt} -#+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}/...\\ 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.} diff --git a/templates/documents/gnu-default.setup b/templates/documents/gnu-default.setup new file mode 100644 index 0000000..3a0048c --- /dev/null +++ b/templates/documents/gnu-default.setup @@ -0,0 +1,65 @@ +# -*- mode: org; eval: (visual-line-mode); -*- + +# Hide Org mode tags +#+OPTIONS: tags:nil + +#+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 ,] + +# Beautiful fonts ONLY +#+LATEX_HEADER: \usepackage{fontspec} +# Regular font +#+LATEX_HEADER: \setmainfont[Scale=0.90]{Public Sans} +# Monospaced font +#+LATEX_HEADER: \setmonofont{Inconsolata} +# Heading font +#+LATEX_HEADER: \newfontfamily\jost{Jost} +# Slightly lighter weight, for 2nd level headings +#+LATEX_HEADER: \newfontfamily{\josts}[UprightFont={* Semi}]{Jost} + +# Redefine the appearance of the title and 1st & 2nd level headings. +#+LATEX_HEADER: \usepackage{xcolor} +#+LATEX_HEADER: \usepackage{titlesec} +#+LATEX_HEADER: \titleformat{\section} +#+LATEX_HEADER: {\jost\Large\bfseries}{\thesection}{1em}{} +#+LATEX_HEADER: \titleformat{\subsection} +#+LATEX_HEADER: {\josts\large\bfseries}{\thesubsection}{1em}{} + +# Get total page count, to later insert in page footer. +#+LATEX_HEADER: \usepackage{lastpage} +# Provide access to \title, \author, and \date. +#+LATEX_HEADER: \usepackage{titling} + +# Headers and footers. +#+LATEX_HEADER: \usepackage{fancyhdr} +# Space in the header for a logo or image. +#+LATEX_HEADER: \setlength{\headheight}{36pt} +#+LATEX_HEADER_EXTRA: \pagestyle{fancy} +#+LATEX_HEADER_EXTRA: \fancyhead[L]{\rule[-12pt]{0pt}{0pt}\color{gray}\texttt{\theauthor}} +# #+LATEX_HEADER_EXTRA: \fancyhead[C]{\color{gray}\large\bfseries\thetitle} +#+LATEX_HEADER_EXTRA: \fancyhead[R]{\color{gray}\thedate} +# 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.} diff --git a/templates/documents/letter.org b/templates/documents/letter.org deleted file mode 100644 index 7732153..0000000 --- a/templates/documents/letter.org +++ /dev/null @@ -1,18 +0,0 @@ -# -*- mode: org; eval: (visual-line-mode); -*- -#+OPTIONS: title:nil - -#+LATEX_CLASS: letter - -# 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 = 1in ,] - -# Beautiful fonts ONLY -#+LATEX_HEADER: \usepackage{fontspec} -# Regular font -#+LATEX_HEADER: \setmainfont{Linux Libertine} -# Monospaced font -#+LATEX_HEADER: \setmonofont{Courier Prime} diff --git a/templates/documents/letter.setup b/templates/documents/letter.setup new file mode 100644 index 0000000..2b378f1 --- /dev/null +++ b/templates/documents/letter.setup @@ -0,0 +1,22 @@ +# -*- mode: org; eval: (visual-line-mode); -*- +#+OPTIONS: title:nil + +#+LATEX_CLASS: letter + +# 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 = 1in ,] + +# Beautiful fonts ONLY +#+LATEX_HEADER: \usepackage{fontspec} +# Regular font +#+LATEX_HEADER: \setmainfont{Linux Libertine} +# Monospaced font +#+LATEX_HEADER: \setmonofont{Courier Prime} + +#+LATEX_HEADER: \usepackage{draftwatermark} +#+LATEX_HEADER: \SetWatermarkText{Draft} +#+LATEX_HEADER: \SetWatermarkScale{1} diff --git a/templates/documents/ms-default.org b/templates/documents/ms-default.org deleted file mode 100644 index fcefff2..0000000 --- a/templates/documents/ms-default.org +++ /dev/null @@ -1,61 +0,0 @@ -# -*- mode: org; eval: (visual-line-mode); -*- - -# Hide Org mode tags -#+OPTIONS: tags:nil - -#+LATEX_CLASS: article - -# Ensure room for header and footer -#+LATEX_HEADER: \usepackage{geometry}[ -#+LATEX_HEADER: ansiapaper , -#+LATEX_HEADER: left = 1in , -#+LATEX_HEADER: right = 1in , -#+LATEX_HEADER: top = 1in , -#+LATEX_HEADER: bottom = 1.75in ,] - -# Beautiful fonts ONLY -#+LATEX_HEADER: \usepackage{fontspec} -# Regular font -#+LATEX_HEADER: \setmainfont{Public Sans}[ -#+LATEX_HEADER: Path = C:/Users/blend/AppData/Roaming/.emacs.d/fonts/, -#+LATEX_HEADER: Extension = .ttf , -#+LATEX_HEADER: UprightFont = *-regular , -#+LATEX_HEADER: BoldFont = *-bold , -#+LATEX_HEADER: ItalicFont = *-italic , -#+LATEX_HEADER: BoldItalicFont = *-bolditalic ,] -# Monospaced font -#+LATEX_HEADER: \setmonofont{Courier Prime}[ -#+LATEX_HEADER: Path = C:/Users/blend/AppData/Roaming/.emacs.d/fonts/, -#+LATEX_HEADER: Extension = .ttf , -#+LATEX_HEADER: UprightFont = *-regular , -#+LATEX_HEADER: BoldFont = *-bold , -#+LATEX_HEADER: ItalicFont = *-italic , -#+LATEX_HEADER: BoldItalicFont = *-bolditalic ,] - -# Get total page count to insert in footer -#+LATEX_HEADER: \usepackage{lastpage} -#+LATEX_HEADER: \usepackage{titling} - -# Required to reset numbering of table rows from table to table. -#+LATEX_HEADER: \usepackage{etoolbox} -#+LATEX_HEADER: \makeatletter -#+LATEX_HEADER: \gpreto\tabular{\renewcommand{\arraystretch}{1.4}\rownum=\z@} -#+LATEX_HEADER: \makeatother - -# Headers and footers. -#+LATEX_HEADER: \usepackage{fancyhdr} -# Space in the header for a logo or image. -#+LATEX_HEADER: \setlength{\headheight}{36pt} -#+LATEX_HEADER_EXTRA: \pagestyle{fancy} -#+LATEX_HEADER_EXTRA: \fancyhead[L]{\rule[-12pt]{0pt}{0pt}\texttt{\theauthor}} -#+LATEX_HEADER_EXTRA: \fancyhead[C]{\large\textbf{\thetitle}} -#+LATEX_HEADER_EXTRA: \fancyhead[R]{\thedate} -#+LATEX_HEADER_EXTRA: \renewcommand{\headrulewidth}{1.5pt} -#+LATEX_HEADER_EXTRA: \fancyfoot[C]{ -#+LATEX_HEADER_EXTRA: \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]{C:/Users/blend/AppData/Roaming/.emacs.d/img/icons/EmacsIcon.png}/ -#+LATEX_HEADER_EXTRA: \includegraphics[width = 1.618ex]{C:/Users/blend/AppData/Roaming/.emacs.d/img/icons/Org-mode-unicorn.png}/ -#+LATEX_HEADER_EXTRA: \includegraphics[width = 1.618ex]{C:/Users/blend/AppData/Roaming/.emacs.d/img/icons/LuaTeX_logo.png}/...\\ -#+LATEX_HEADER_EXTRA: Copyright \copyright~2020 Marius Peter. All rights reserved.} diff --git a/templates/documents/ms-default.setup b/templates/documents/ms-default.setup new file mode 100644 index 0000000..fcefff2 --- /dev/null +++ b/templates/documents/ms-default.setup @@ -0,0 +1,61 @@ +# -*- mode: org; eval: (visual-line-mode); -*- + +# Hide Org mode tags +#+OPTIONS: tags:nil + +#+LATEX_CLASS: article + +# Ensure room for header and footer +#+LATEX_HEADER: \usepackage{geometry}[ +#+LATEX_HEADER: ansiapaper , +#+LATEX_HEADER: left = 1in , +#+LATEX_HEADER: right = 1in , +#+LATEX_HEADER: top = 1in , +#+LATEX_HEADER: bottom = 1.75in ,] + +# Beautiful fonts ONLY +#+LATEX_HEADER: \usepackage{fontspec} +# Regular font +#+LATEX_HEADER: \setmainfont{Public Sans}[ +#+LATEX_HEADER: Path = C:/Users/blend/AppData/Roaming/.emacs.d/fonts/, +#+LATEX_HEADER: Extension = .ttf , +#+LATEX_HEADER: UprightFont = *-regular , +#+LATEX_HEADER: BoldFont = *-bold , +#+LATEX_HEADER: ItalicFont = *-italic , +#+LATEX_HEADER: BoldItalicFont = *-bolditalic ,] +# Monospaced font +#+LATEX_HEADER: \setmonofont{Courier Prime}[ +#+LATEX_HEADER: Path = C:/Users/blend/AppData/Roaming/.emacs.d/fonts/, +#+LATEX_HEADER: Extension = .ttf , +#+LATEX_HEADER: UprightFont = *-regular , +#+LATEX_HEADER: BoldFont = *-bold , +#+LATEX_HEADER: ItalicFont = *-italic , +#+LATEX_HEADER: BoldItalicFont = *-bolditalic ,] + +# Get total page count to insert in footer +#+LATEX_HEADER: \usepackage{lastpage} +#+LATEX_HEADER: \usepackage{titling} + +# Required to reset numbering of table rows from table to table. +#+LATEX_HEADER: \usepackage{etoolbox} +#+LATEX_HEADER: \makeatletter +#+LATEX_HEADER: \gpreto\tabular{\renewcommand{\arraystretch}{1.4}\rownum=\z@} +#+LATEX_HEADER: \makeatother + +# Headers and footers. +#+LATEX_HEADER: \usepackage{fancyhdr} +# Space in the header for a logo or image. +#+LATEX_HEADER: \setlength{\headheight}{36pt} +#+LATEX_HEADER_EXTRA: \pagestyle{fancy} +#+LATEX_HEADER_EXTRA: \fancyhead[L]{\rule[-12pt]{0pt}{0pt}\texttt{\theauthor}} +#+LATEX_HEADER_EXTRA: \fancyhead[C]{\large\textbf{\thetitle}} +#+LATEX_HEADER_EXTRA: \fancyhead[R]{\thedate} +#+LATEX_HEADER_EXTRA: \renewcommand{\headrulewidth}{1.5pt} +#+LATEX_HEADER_EXTRA: \fancyfoot[C]{ +#+LATEX_HEADER_EXTRA: \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]{C:/Users/blend/AppData/Roaming/.emacs.d/img/icons/EmacsIcon.png}/ +#+LATEX_HEADER_EXTRA: \includegraphics[width = 1.618ex]{C:/Users/blend/AppData/Roaming/.emacs.d/img/icons/Org-mode-unicorn.png}/ +#+LATEX_HEADER_EXTRA: \includegraphics[width = 1.618ex]{C:/Users/blend/AppData/Roaming/.emacs.d/img/icons/LuaTeX_logo.png}/...\\ +#+LATEX_HEADER_EXTRA: Copyright \copyright~2020 Marius Peter. All rights reserved.} diff --git a/templates/documents/ms-word.org b/templates/documents/ms-word.org deleted file mode 100644 index a19f548..0000000 --- a/templates/documents/ms-word.org +++ /dev/null @@ -1,31 +0,0 @@ -# -*- mode: org; eval: (visual-line-mode); -*- - -# Hide Org mode tags -#+OPTIONS: tags:nil - -#+LATEX_CLASS: article - -# Ensure room for header and footer -#+LATEX_HEADER: \usepackage[left=1in,% -#+LATEX_HEADER: right=1in,% -#+LATEX_HEADER: top=1in,% -#+LATEX_HEADER: bottom=1.75in]{geometry} - -# Beautiful fonts ONLY -#+LATEX_HEADER: \usepackage{fontspec} -#+LATEX_HEADER: \setmainfont{Carlito} -#+LATEX_HEADER: \setmonofont{Liberation Mono} - -# Get total page count to insert in footer -#+LATEX_HEADER: \usepackage{lastpage} -#+LATEX_HEADER: \usepackage{titling} - -# Headers and footers. -#+LATEX_HEADER: \usepackage{fancyhdr} -# Space in the header for a logo or image. -#+LATEX_HEADER: \setlength{\headheight}{36pt} -#+LATEX_HEADER_EXTRA: \pagestyle{fancy} -#+LATEX_HEADER_EXTRA: \fancyhead[L]{\theauthor} -#+LATEX_HEADER_EXTRA: \fancyhead[C]{\large\textbf{\thetitle}} -#+LATEX_HEADER_EXTRA: \fancyhead[R]{\thedate} -#+LATEX_HEADER_EXTRA: \fancyfoot[C]{\hrulefill\\[0.8em] Page \thepage/\pageref*{LastPage}} diff --git a/templates/documents/ms-word.setup b/templates/documents/ms-word.setup new file mode 100644 index 0000000..a19f548 --- /dev/null +++ b/templates/documents/ms-word.setup @@ -0,0 +1,31 @@ +# -*- mode: org; eval: (visual-line-mode); -*- + +# Hide Org mode tags +#+OPTIONS: tags:nil + +#+LATEX_CLASS: article + +# Ensure room for header and footer +#+LATEX_HEADER: \usepackage[left=1in,% +#+LATEX_HEADER: right=1in,% +#+LATEX_HEADER: top=1in,% +#+LATEX_HEADER: bottom=1.75in]{geometry} + +# Beautiful fonts ONLY +#+LATEX_HEADER: \usepackage{fontspec} +#+LATEX_HEADER: \setmainfont{Carlito} +#+LATEX_HEADER: \setmonofont{Liberation Mono} + +# Get total page count to insert in footer +#+LATEX_HEADER: \usepackage{lastpage} +#+LATEX_HEADER: \usepackage{titling} + +# Headers and footers. +#+LATEX_HEADER: \usepackage{fancyhdr} +# Space in the header for a logo or image. +#+LATEX_HEADER: \setlength{\headheight}{36pt} +#+LATEX_HEADER_EXTRA: \pagestyle{fancy} +#+LATEX_HEADER_EXTRA: \fancyhead[L]{\theauthor} +#+LATEX_HEADER_EXTRA: \fancyhead[C]{\large\textbf{\thetitle}} +#+LATEX_HEADER_EXTRA: \fancyhead[R]{\thedate} +#+LATEX_HEADER_EXTRA: \fancyfoot[C]{\hrulefill\\[0.8em] Page \thepage/\pageref*{LastPage}} diff --git a/templates/documents/wealthy-title.org b/templates/documents/wealthy-title.org deleted file mode 100644 index 50afd73..0000000 --- a/templates/documents/wealthy-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{Lord \theauthor}\\ -#+LATEX: \thedate - -#+LATEX: \clearpage - -#+LATEX: \normalsize -#+LATEX: \tableofcontents -#+LATEX: \listoffigures -#+LATEX: \listoftables -#+LATEX: \clearpage diff --git a/templates/documents/wealthy-title.setup b/templates/documents/wealthy-title.setup new file mode 100644 index 0000000..50afd73 --- /dev/null +++ b/templates/documents/wealthy-title.setup @@ -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{Lord \theauthor}\\ +#+LATEX: \thedate + +#+LATEX: \clearpage + +#+LATEX: \normalsize +#+LATEX: \tableofcontents +#+LATEX: \listoffigures +#+LATEX: \listoftables +#+LATEX: \clearpage diff --git a/templates/documents/wealthy.org b/templates/documents/wealthy.org deleted file mode 100644 index eaf3b20..0000000 --- a/templates/documents/wealthy.org +++ /dev/null @@ -1,24 +0,0 @@ -# -*- mode: org; eval: (visual-line-mode); -*- - -#+LATEX_HEADER: \usepackage[left=1.5in,% -#+LATEX_HEADER: right=2.0in,% -#+LATEX_HEADER: top=1.5in,% -#+LATEX_HEADER: bottom=1.5in]{geometry} - -#+LATEX_HEADER: \usepackage{fontspec} -#+LATEX_HEADER: \setmainfont{EB Garamond} -#+LATEX_HEADER: \setmonofont{Courier Prime} - -# Get total page count to insert in footer -#+LATEX_HEADER: \usepackage{lastpage} -#+LATEX_HEADER: \usepackage{titling} - -#+LATEX_HEADER: \usepackage{fancyhdr} -# Space in the header for a logo or image. -#+LATEX_HEADER: \setlength{\headheight}{36pt} -#+LATEX_HEADER_EXTRA: \pagestyle{fancy} -#+LATEX_HEADER_EXTRA: \fancyhead[L]{\rule[-12pt]{0pt}{0pt}\texttt{\textit{Lord \theauthor}}} -#+LATEX_HEADER_EXTRA: \fancyhead[C]{\Large\textbf{\thetitle}} -#+LATEX_HEADER_EXTRA: \fancyhead[R]{\texttt{\textit{\thedate}}} -#+LATEX_HEADER_EXTRA: \renewcommand{\headrulewidth}{1.5pt} -#+LATEX_HEADER_EXTRA: \fancyfoot[C]{\hrulefill\\[0.8em] Page \thepage\\[0.8em]\footnotesize Tastefully assembled 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. } diff --git a/templates/documents/wealthy.setup b/templates/documents/wealthy.setup new file mode 100644 index 0000000..eaf3b20 --- /dev/null +++ b/templates/documents/wealthy.setup @@ -0,0 +1,24 @@ +# -*- mode: org; eval: (visual-line-mode); -*- + +#+LATEX_HEADER: \usepackage[left=1.5in,% +#+LATEX_HEADER: right=2.0in,% +#+LATEX_HEADER: top=1.5in,% +#+LATEX_HEADER: bottom=1.5in]{geometry} + +#+LATEX_HEADER: \usepackage{fontspec} +#+LATEX_HEADER: \setmainfont{EB Garamond} +#+LATEX_HEADER: \setmonofont{Courier Prime} + +# Get total page count to insert in footer +#+LATEX_HEADER: \usepackage{lastpage} +#+LATEX_HEADER: \usepackage{titling} + +#+LATEX_HEADER: \usepackage{fancyhdr} +# Space in the header for a logo or image. +#+LATEX_HEADER: \setlength{\headheight}{36pt} +#+LATEX_HEADER_EXTRA: \pagestyle{fancy} +#+LATEX_HEADER_EXTRA: \fancyhead[L]{\rule[-12pt]{0pt}{0pt}\texttt{\textit{Lord \theauthor}}} +#+LATEX_HEADER_EXTRA: \fancyhead[C]{\Large\textbf{\thetitle}} +#+LATEX_HEADER_EXTRA: \fancyhead[R]{\texttt{\textit{\thedate}}} +#+LATEX_HEADER_EXTRA: \renewcommand{\headrulewidth}{1.5pt} +#+LATEX_HEADER_EXTRA: \fancyfoot[C]{\hrulefill\\[0.8em] Page \thepage\\[0.8em]\footnotesize Tastefully assembled 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. } -- cgit v1.2.3