diff options
Diffstat (limited to 'templates')
-rw-r--r-- | templates/documents/default.org (renamed from templates/documents/general.org) | 14 | ||||
-rw-r--r-- | templates/documents/default.org_title (renamed from templates/documents/general.org_title) | 0 |
2 files changed, 8 insertions, 6 deletions
diff --git a/templates/documents/general.org b/templates/documents/default.org index 4a3cc56..cc99dc6 100644 --- a/templates/documents/general.org +++ b/templates/documents/default.org @@ -1,4 +1,4 @@ -# -*- mode: org; -*- # +# -*- mode: org; eval: (visual-line-mode); -*- # # Hide Org mode tags #+OPTIONS: tags:nil @@ -9,8 +9,8 @@ #+LATEX_HEADER: \usepackage[left=1in,right=1in,top=1in,bottom=1.75in]{geometry} # Beautiful fonts ONLY #+LATEX_HEADER: \usepackage{fontspec} -#+LATEX_HEADER: \setmainfont{linux libertine} -#+LATEX_HEADER: \setmonofont{hermit} +#+LATEX_HEADER: \setmainfont{public sans} +#+LATEX_HEADER: \setmonofont{hack} # Get total page count to insert in footer #+LATEX_HEADER: \usepackage{lastpage} @@ -25,11 +25,13 @@ #+LATEX_HEADER: \gpreto\tabular{\renewcommand{\arraystretch}{1.4}\rownum=\z@} #+LATEX_HEADER: \makeatother +# Headers and footers. #+LATEX_HEADER: \usepackage{fancyhdr} -#+LATEX_HEADER: \setlength{\headheight}{40pt} +# 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.4pt} -#+LATEX_HEADER_EXTRA: \fancyfoot[C]{Page \thepage/\pageref*{LastPage}\\ \hrulefill \\ \footnotesize Copyright \copyright~2020 Marius Peter. All rights reserved.} +#+LATEX_HEADER_EXTRA: \renewcommand{\headrulewidth}{1.5pt} +#+LATEX_HEADER_EXTRA: \fancyfoot[C]{\hrulefill\\[10pt] Page \thepage/\pageref*{LastPage}\\[8pt] \footnotesize Compiled with \includegraphics[height=1.8ex]{./img/EmacsIcon.png}\\ Copyright \copyright~2020 Marius Peter. All rights reserved. } diff --git a/templates/documents/general.org_title b/templates/documents/default.org_title index c2c3c09..c2c3c09 100644 --- a/templates/documents/general.org_title +++ b/templates/documents/default.org_title |