2019-10-08 16:03:40 +02:00
|
|
|
#+TITLE: PhD Thesis
|
|
|
|
:DRAWER:
|
2021-05-19 19:21:46 +02:00
|
|
|
#+SUBTITLE: My subtitle
|
|
|
|
|
2019-10-08 16:03:40 +02:00
|
|
|
#+LANGUAGE: en
|
|
|
|
#+EMAIL: dehaeze.thomas@gmail.com
|
|
|
|
#+AUTHOR: Dehaeze Thomas
|
|
|
|
|
|
|
|
#+STARTUP: overview
|
|
|
|
#+DATE: {{{time(%Y-%m-%d)}}}
|
|
|
|
|
|
|
|
#+LATEX_CLASS: scrreprt
|
2021-05-19 19:05:52 +02:00
|
|
|
#+LATEX_CLASS_OPTIONS: [a4paper, twoside, 11pt, onecolumn, bibliography=totoc, openright]
|
2019-10-08 16:03:40 +02:00
|
|
|
|
2021-05-19 19:21:46 +02:00
|
|
|
#+OPTIONS: num:t toc:nil ':t *:t -:t ::t <:nil author:t date:t tags:nil todo:nil |:t H:2 title:nil
|
|
|
|
|
|
|
|
#+SELECT_TAGS: export
|
|
|
|
#+EXCLUDE_TAGS: noexport
|
|
|
|
|
2021-05-19 17:32:47 +02:00
|
|
|
#+BIND: org-latex-bib-compiler "biber"
|
2019-10-08 16:03:40 +02:00
|
|
|
|
2021-05-19 17:32:47 +02:00
|
|
|
#+LATEX_HEADER: \input{config.tex}
|
|
|
|
#+LATEX_HEADER_EXTRA: \input{config_extra.tex}
|
2019-10-08 16:03:40 +02:00
|
|
|
:END:
|
|
|
|
|
2021-05-19 19:05:52 +02:00
|
|
|
* Build :noexport:
|
2019-10-08 16:03:40 +02:00
|
|
|
#+NAME: startblock
|
|
|
|
#+BEGIN_SRC emacs-lisp :results none
|
2021-05-19 17:32:47 +02:00
|
|
|
(add-to-list 'org-latex-classes
|
|
|
|
'("scrreprt"
|
|
|
|
"\\documentclass{scrreprt}"
|
|
|
|
("\\chapter{%s}" . "\\chapter*{%s}")
|
|
|
|
("\\section{%s}" . "\\section*{%s}")
|
|
|
|
("\\subsection{%s}" . "\\subsection*{%s}")
|
|
|
|
("\\subsubsection{%s}" . "\\subsubsection*{%s}")
|
|
|
|
("\\paragraph{%s}" . "\\paragraph*{%s}")
|
|
|
|
))
|
|
|
|
|
2021-05-19 19:21:46 +02:00
|
|
|
;; Remove all org comments in the output LaTeX file
|
|
|
|
(defun delete-org-comments (backend)
|
|
|
|
(loop for comment in (reverse (org-element-map (org-element-parse-buffer)
|
|
|
|
'comment 'identity))
|
|
|
|
do
|
|
|
|
(setf (buffer-substring (org-element-property :begin comment)
|
|
|
|
(org-element-property :end comment))
|
|
|
|
"")))
|
2021-05-19 17:32:47 +02:00
|
|
|
|
2021-05-19 19:21:46 +02:00
|
|
|
;; Add to export hook
|
|
|
|
(add-hook 'org-export-before-processing-hook 'delete-org-comments)
|
2021-05-19 17:32:47 +02:00
|
|
|
|
2021-05-19 19:21:46 +02:00
|
|
|
;; Use no package by default
|
|
|
|
(setq org-latex-packages-alist nil)
|
|
|
|
(setq org-latex-default-packages-alist nil)
|
|
|
|
|
|
|
|
(setq org-latex-subtitle-separate t)
|
|
|
|
(setq org-latex-subtitle-format "\\subtitle{%s}")
|
2019-10-08 16:03:40 +02:00
|
|
|
#+END_SRC
|
2021-05-19 17:32:47 +02:00
|
|
|
|
|
|
|
* Glossary and Acronyms - Tables :ignore:
|
|
|
|
|
|
|
|
#+name: glossary
|
|
|
|
| label | name | description |
|
|
|
|
|-------+-------------------+-----------------------|
|
|
|
|
| ka | \ensuremath{k_a} | Actuator Stiffness in |
|
|
|
|
| phi | \ensuremath{\phi} | A woody bush |
|
|
|
|
|
|
|
|
#+name: acronyms
|
|
|
|
| Key | Short | Long |
|
|
|
|
|------+-------+----------------------------------|
|
|
|
|
| mimo | MIMO | Multiple-Inputs Multiple-Outputs |
|
|
|
|
| siso | SISO | Single-Input Single-Output |
|
|
|
|
| nass | NASS | Nano Active Stabilization System |
|
|
|
|
| lti | LTI | Linear Time Invariant |
|
|
|
|
|
2021-05-19 19:21:46 +02:00
|
|
|
* Title Page :ignore:
|
|
|
|
|
|
|
|
#+begin_export latex
|
|
|
|
|
|
|
|
\begin{titlepage}
|
|
|
|
\vspace*{5cm}
|
|
|
|
\makeatletter
|
|
|
|
\begin{center}
|
|
|
|
\begin{Huge}
|
|
|
|
\@title
|
|
|
|
\end{Huge}\\[0.1cm]
|
|
|
|
%
|
|
|
|
\begin{Large}
|
|
|
|
\@subtitle
|
|
|
|
\end{Large}\\
|
|
|
|
%
|
|
|
|
\emph{by}\\
|
|
|
|
\@author
|
|
|
|
%
|
|
|
|
\vfill
|
|
|
|
A document submitted in partial fulfillment
|
|
|
|
of the requirements for the degree of\\
|
|
|
|
\emph{Technical Report}\\
|
|
|
|
at\\
|
|
|
|
\textsc{Miskatonic University}
|
|
|
|
\end{center}
|
|
|
|
\makeatother
|
|
|
|
\end{titlepage}
|
|
|
|
|
|
|
|
\newpage
|
|
|
|
\null
|
|
|
|
\thispagestyle{empty}
|
|
|
|
\newpage
|
|
|
|
#+end_export
|
|
|
|
|
2021-05-19 17:32:47 +02:00
|
|
|
* Test
|
|
|
|
** Test
|
|
|
|
- acronyms ac:mimo, ac:siso, and again ac:mimo
|
|
|
|
- glossary terms gls:ka, gls:phi.
|
|
|
|
- Bibliography citations: cite:dehaeze21_activ_dampin_rotat_platf_using,dehaeze18_sampl_stabil_for_tomog_exper
|
|
|
|
|
2021-05-19 19:05:52 +02:00
|
|
|
** blabla
|
|
|
|
*** sdlfk
|
|
|
|
|
|
|
|
*** sldkjf asdf
|
|
|
|
**** lksdfjasd
|
|
|
|
**** lksdfjasd
|
|
|
|
**** lksdfjasd
|
|
|
|
** blabla
|
|
|
|
* Test
|
|
|
|
|
2021-05-19 17:32:47 +02:00
|
|
|
* Bibliography :ignore:
|
|
|
|
#+latex: \printbibliography
|
|
|
|
|
|
|
|
* Glossary :ignore:
|
|
|
|
#+latex: \printglossary[type=\acronymtype]
|
|
|
|
#+latex: \printglossary
|