Files
emacs/snippets/org-mode/article

105 lines
2.8 KiB
Plaintext

# -*- mode: snippet -*-
# name: Article
# group: Article Templates
# key: ?article
# --
# -*- ispell-local-dictionary: "english" -*-
#+TITLE: ${1:Title}
#+SUBTITLE: ${2:Subtitle}
#+DATE: ${3:13. April 2022}
#+AUTHOR: ${4:My Name}
#+EMAIL: ${5:my.name@example.com}
#+KEYWORDS:
#+DESCRIPTION:
#+LANGUAGE: en
#+OPTIONS: draft:t
* BOP :ignore:
#+LATEX: \pagenumbering{roman}\setcounter{page}{1}\thispagestyle{empty}
* Coverpage :ignore:
# Some beginning notes.
* Abstract :ignore:
:PROPERTIES:
:VISIBILITY: folded
:END:
#+LATEX: \clearpage\thispagestyle{empty}
# macro 'title-name' uses keyword document_type
#+BEGIN_abstract
*{{{author}}}*
*{{{title-name}}}*\\\\
{{{title}}}
*{{{keyword-name}}}*\\\\
{{{keyword(keywords)}}}
*{{{description-name}}}*\\\\
{{{keyword(description)}}}
#+END_abstract
* TOC and other lists :ignore:
:PROPERTIES:
:VISIBILITY: folded
:CLEARPAGE: t
:END:
# Table of Contents
#+LATEX: \clearpage\pdfbookmark[1]{\contentsname}{toc}
#+TOC: headlines
#+LATEX: \thispagestyle{plain}
# List of Figures (# `#+TOC: figures' is not working)
#+LATEX: \listoffigures
#+LATEX: \thispagestyle{plain}
# List of Tables
#+TOC: tables
#+LATEX: \thispagestyle{plain}
# List of Listings
#+TOC: listings
#+LATEX: \thispagestyle{plain}
* Glossary, Acronym and List of Symbols :ignore:
# glossaries (label, name, description)
#+latex_header_extra: \newglossaryentry{tree}{name={tree},description={A description for the glossary entry}}
#+latex_header_extra: \newglossaryentry{shrub}{name={shrub},description={A description for the other glossary entry}}
# acronyms (label, abbreviation, full form)
#+latex_header_extra: \newacronym{bb}{BB}{Two Letter Acronym}
#+latex_header_extra: \newacronym{qos}{QoS}{quality-of-service}
#+LATEX: \printglossary\thispagestyle{plain}
#+LATEX: \printglossary[type=\acronymtype,title=Abkürzungsverzeichnis]\thispagestyle{plain}
#+LATEX: \printglossary[type=symbols,style=mysymbols,title=Symbolverzeichnis]\thispagestyle{plain}
#+LATEX: \glsaddallunused
* EOP :ignore:
#+LATEX: \newpage\pagenumbering{arabic}\setcounter{page}{1}
* 1st Header
$0
* References :ignore:
# #+LATEX_HEADER_EXTRA: \addbibresource{references.bib}
[[printbibliography:]]
* Appendix
:PROPERTIES:
:UNNUMBERED: t
:APPENDIX: t
:END:
# ! UNNUMBERED: t !
# ! APPENDIX: t !
** 1st appendix
:PROPERTIES:
:UNNUMBERED: nil
:END:
# ! UNNUMBERED: nil !
* Index :ignore:
[[printindex:]]