summaryrefslogtreecommitdiff
path: root/templates/documents
diff options
context:
space:
mode:
authorBlendoit <blendoit@gmail.com>2020-12-19 10:50:18 -0800
committerBlendoit <blendoit@gmail.com>2020-12-19 10:50:18 -0800
commit54fd7382ad562326c92b960e0affccbc4ba016db (patch)
tree22cef5ed0cd7beba8d2c4433a7d1f7c04d0e5b41 /templates/documents
parent7fa993135c10bbb314cb85aa48a3e1f33ac02a1d (diff)
Separate template for MS Word documents.
Diffstat (limited to 'templates/documents')
-rw-r--r--templates/documents/default.org2
-rw-r--r--templates/documents/ms-word.org31
2 files changed, 32 insertions, 1 deletions
diff --git a/templates/documents/default.org b/templates/documents/default.org
index e94b6df..6b04288 100644
--- a/templates/documents/default.org
+++ b/templates/documents/default.org
@@ -13,7 +13,7 @@
# Beautiful fonts ONLY
#+LATEX_HEADER: \usepackage{fontspec}
-#+LATEX_HEADER: \setmainfont{Carlito}
+#+LATEX_HEADER: \setmainfont{Public Sans}
#+LATEX_HEADER: \setmonofont{Courier Prime}
# Get total page count to insert in footer
diff --git a/templates/documents/ms-word.org b/templates/documents/ms-word.org
new file mode 100644
index 0000000..a19f548
--- /dev/null
+++ b/templates/documents/ms-word.org
@@ -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}}
Copyright 2019--2024 Marius PETER