[Org, LaTeX] Add headers for LaTeX export
Just in case
This commit is contained in:
parent
deb3e03877
commit
c3a81ae45d
@ -10,7 +10,13 @@
|
||||
#+OPTIONS: H:4 broken_links:mark email:t ^:{}
|
||||
#+KEYWORDS: dotfiles, linux, emacs, configuration, phundrak, drakpa
|
||||
|
||||
# ### HTML #####################################################################
|
||||
# ### LaTeX #############################################################
|
||||
|
||||
#+latex_class: article
|
||||
#+latex_class_options: [a4paper]
|
||||
#+latex_header: \input{headers.tex}
|
||||
|
||||
# ### HTML #############################################################
|
||||
|
||||
#+HTML_DOCTYPE: html5
|
||||
#+HTML_HEAD: <meta property="og:image" content="https://cdn.phundrak.com/img/rich_preview.png" />
|
||||
@ -45,5 +51,5 @@
|
||||
#+html_head: </script>
|
||||
#+html_head: <!-- End Matomo Code -->
|
||||
|
||||
# ### MACROS ###################################################################
|
||||
# ### MACROS ############################################################
|
||||
#+MACRO: newline @@latex:\hspace{0pt}\\@@ @@html:<br>@@
|
||||
|
15
org/config/headers.tex
Normal file
15
org/config/headers.tex
Normal file
@ -0,0 +1,15 @@
|
||||
% LaTeX headers
|
||||
\usepackage[total={17cm,24cm}]{geometry}
|
||||
\usepackage{xltxtra}
|
||||
\setmainfont{Charis SIL}
|
||||
\usepackage{indentfirst}
|
||||
\usepackage{enumitem}
|
||||
\usepackage{hyperref}
|
||||
\usepackage{xcolor}
|
||||
\hypersetup{colorlinks=true,linkbordercolor=red,linkcolor=blue,pdfborderstyle={/S/U/W 1}}
|
||||
\usepackage{newunicodechar}
|
||||
\newunicodechar{’}{'}
|
||||
\newunicodechar{…}{\ldots}
|
||||
\newunicodechar{ }{~}
|
||||
\newunicodechar{ }{~}
|
||||
\usepackage{glossaries}
|
Loading…
Reference in New Issue
Block a user