summaryrefslogtreecommitdiff
path: root/templates/documents
diff options
context:
space:
mode:
authorBlendoit <blendoit@gmail.com>2020-09-12 12:34:41 -0700
committerBlendoit <blendoit@gmail.com>2020-09-12 12:34:41 -0700
commit6df26c02303da93ae592b58c06e18adb646f47db (patch)
tree835836b64f49f50175de2fb3fa4a5b0ed88499c6 /templates/documents
parent233720211252c748e98e350c4eab0284371b9df6 (diff)
Minted---colored source blocks in Org LaTeX exports.
Diffstat (limited to 'templates/documents')
-rw-r--r--templates/documents/general.org10
-rw-r--r--templates/documents/general.org_title4
2 files changed, 9 insertions, 5 deletions
diff --git a/templates/documents/general.org b/templates/documents/general.org
index 43bf396..8b360db 100644
--- a/templates/documents/general.org
+++ b/templates/documents/general.org
@@ -1,4 +1,4 @@
-# -*- mode: org; -*-
+# -*- mode: org; -*- #
# Hide Org mode tags
#+OPTIONS: tags:nil
@@ -7,8 +7,10 @@
# Ensure room for header and footer
#+LATEX_HEADER: \usepackage[left=1in,right=1in,top=1in,bottom=1.75in]{geometry}
-# A beautiful font indeed
-#+LATEX_HEADER: \usepackage{fourier}
+# Beautiful fonts ONLY
+#+LATEX_HEADER: \usepackage{fontspec}
+#+LATEX_HEADER: \setmainfont{liberation serif}
+#+LATEX_HEADER: \setmonofont{hermit}
# Get total page count to insert in footer
#+LATEX_HEADER: \usepackage{lastpage}
@@ -26,7 +28,7 @@
#+LATEX_HEADER: \usepackage{fancyhdr}
#+LATEX_HEADER: \setlength{\headheight}{40pt}
#+LATEX_HEADER_EXTRA: \pagestyle{fancy}
-#+LATEX_HEADER_EXTRA: \fancyhead[L]{\rule[-12pt]{0pt}{0pt}\theauthor}
+#+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.4pt}
diff --git a/templates/documents/general.org_title b/templates/documents/general.org_title
index 3cf4431..c2c3c09 100644
--- a/templates/documents/general.org_title
+++ b/templates/documents/general.org_title
@@ -1,8 +1,10 @@
+# -*- 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\theauthor\\
+#+LATEX: \LARGE\texttt{\theauthor}\\
#+LATEX: \thedate
#+LATEX: \clearpage
Copyright 2019--2024 Marius PETER