parent
cc44fdf696
commit
4cc11b5332
@ -0,0 +1,45 @@
|
|||||||
|
BASEDIR=$(CURDIR)
|
||||||
|
INPUTDIR=$(BASEDIR)/source
|
||||||
|
OUTPUTDIR=$(BASEDIR)/output
|
||||||
|
TEMPLATEDIR=$(BASEDIR)/templates
|
||||||
|
STYLEDIR=$(BASEDIR)/style
|
||||||
|
|
||||||
|
BIBFILE=$(INPUTDIR)/references.bib
|
||||||
|
OUTPUTFILE = $(OUTPUTDIR)/hausarbeit.pdf
|
||||||
|
|
||||||
|
help:
|
||||||
|
@echo ' '
|
||||||
|
@echo 'Makefile für Pandoc Markdown Vorlage '
|
||||||
|
@echo 'für Seminar-/Bachelor-/Master-/Diplomarbeiten '
|
||||||
|
@echo ' '
|
||||||
|
@echo 'Autor: Michael Heinemann '
|
||||||
|
@echo ' '
|
||||||
|
@echo 'Usage: '
|
||||||
|
@echo ' make pdf generate a PDF file '
|
||||||
|
@echo ' '
|
||||||
|
@echo ' '
|
||||||
|
|
||||||
|
pdf:
|
||||||
|
pandoc "$(INPUTDIR)"/*.md \
|
||||||
|
-o "$(OUTPUTFILE)" \
|
||||||
|
-H "$(STYLEDIR)/preamble.tex" \
|
||||||
|
--template="$(STYLEDIR)/template.tex" \
|
||||||
|
--include-before="$(INPUTDIR)/00_titlepage.tex" \
|
||||||
|
--include-after="$(INPUTDIR)/98_appendix.tex" \
|
||||||
|
--include-after-body="$(INPUTDIR)/99_eidesstaatliche.tex" \
|
||||||
|
--bibliography="$(BIBFILE)" 2>pandoc.log \
|
||||||
|
--csl="$(STYLEDIR)/updated-deutsche-gesellschaft-fur-psychologie.csl" \
|
||||||
|
--highlight-style=pygments \
|
||||||
|
--listings \
|
||||||
|
--metadata link-citations=true \
|
||||||
|
-V lang=de-DE \
|
||||||
|
-V papersize=A4 \
|
||||||
|
-V fontsize=12pt \
|
||||||
|
-V mainfont=LiberationSerif \
|
||||||
|
-V sansfont=LiberationSans \
|
||||||
|
-V monofont=LiberationMono \
|
||||||
|
-V linestretch=1.5 \
|
||||||
|
-N \
|
||||||
|
--pdf-engine=xelatex
|
||||||
|
|
||||||
|
.PHONY: help pdf
|
@ -0,0 +1,35 @@
|
|||||||
|
# Pandoc Markdown Vorlage für Seminar-/Bachelor-/Master-/Diplomarbeiten
|
||||||
|
Hierbei handelt es sich um eine Vorlage zur Erstellung von Abschlussarbeiten mit Pandoc, die Auszeichnungssprache ist Markdown.
|
||||||
|
Ein Dank geht an die folgenden drei Pandoc- und Latexprojekt die bei der Erstellung als Vorlage gedient haben:
|
||||||
|
|
||||||
|
* [Dan Prince | academic-pandoc](https://github.com/danprince/academic-pandoc.git)
|
||||||
|
* [Tom Pollard | phd_thesis_markdown](https://github.com/tompollard/phd_thesis_markdown)
|
||||||
|
* [Uni Hamburg Latexvorlage](https://www.wiso.uni-hamburg.de/fachbereich-sozoek/professuren/szimayer/lehre/wissenschaftliche-arbeiten/bachelorarbeiten/vorlagen-fuer-abschlussarbeiten-in-latex-format.html)
|
||||||
|
|
||||||
|
## Installation vor der Nutzung
|
||||||
|
**pandoc and pandoc-citeproc binaries**
|
||||||
|
```bash
|
||||||
|
sudo apt install pandoc
|
||||||
|
sudo apt install pandoc-citeproc
|
||||||
|
```
|
||||||
|
|
||||||
|
**Install TeX Live**
|
||||||
|
```bash
|
||||||
|
sudo apt-get install texlive-full
|
||||||
|
```
|
||||||
|
|
||||||
|
**Schriftenpakete**
|
||||||
|
```bash
|
||||||
|
sudo apt-get install lmodern
|
||||||
|
sudo apt-get install msttcorefonts
|
||||||
|
```
|
||||||
|
|
||||||
|
**Zotero**
|
||||||
|
* [Zotero-Website](https://www.zotero.org)
|
||||||
|
* [Better BibTex](https://retorque.re/zotero-better-bibtex/)
|
||||||
|
|
||||||
|
|
||||||
|
## Hilfestellung für die Markdownsyntax
|
||||||
|
<http://daringfireball.net/projects/markdown/syntax#img>
|
||||||
|
<https://github.com/adam-p/markdown-here/wiki/Markdown-Cheatsheet>
|
||||||
|
<http://rmarkdown.rstudio.com/authoring_pandoc_markdown.html#pandoc_markdown>
|
@ -0,0 +1,12 @@
|
|||||||
|
FROM blang/latex:ubuntu
|
||||||
|
COPY pandoc-3.0.1-1-amd64.deb /etc
|
||||||
|
RUN apt-get update && \
|
||||||
|
dpkg -i /etc/pandoc-3.0.1-1-amd64.deb && \
|
||||||
|
apt-get install -f && \
|
||||||
|
apt-get -y install pandoc-citeproc && \
|
||||||
|
apt-get -y install texlive-xetex && \
|
||||||
|
apt-get -y install lmodern && \
|
||||||
|
apt-get -y install fonts-liberation
|
||||||
|
|
||||||
|
# apt-get -y install texlive-lang-german && \
|
||||||
|
# apt-get -y install texlive-latex-extra
|
Binary file not shown.
@ -0,0 +1,35 @@
|
|||||||
|
version: '3'
|
||||||
|
services:
|
||||||
|
latex:
|
||||||
|
build:
|
||||||
|
context: ./bin
|
||||||
|
container_name: "PandocConverter"
|
||||||
|
# restart: "always"
|
||||||
|
volumes:
|
||||||
|
- "./${INPUTDIR}:/data/${INPUTDIR}"
|
||||||
|
- "./${STYLEDIR}:/data/${STYLEDIR}"
|
||||||
|
- "./${OUTPUTDIR}:/data/${OUTPUTDIR}"
|
||||||
|
command: >
|
||||||
|
sh -c "pandoc -s /data/${INPUTDIR}/*.md
|
||||||
|
-H /data/${STYLEDIR}/preamble.tex
|
||||||
|
--template=/data/${STYLEDIR}/template.tex
|
||||||
|
--include-before=/data/${INPUTDIR}/00_titlepage.tex
|
||||||
|
--include-after=/data/${INPUTDIR}/98_appendix.tex
|
||||||
|
--bibliography=/data/${INPUTDIR}/${BIBFILE}
|
||||||
|
--csl=/data/${STYLEDIR}/updated-deutsche-gesellschaft-fur-psychologie.csl
|
||||||
|
--include-after-body=/data/${INPUTDIR}/99_eidesstaatliche.tex
|
||||||
|
--highlight-style=pygments
|
||||||
|
--listings
|
||||||
|
--metadata link-citations=true
|
||||||
|
-V lang=de-DE
|
||||||
|
-V papersize=A4
|
||||||
|
-V fontsize=12pt
|
||||||
|
-V mainfont=LiberationSerif
|
||||||
|
-V sansfont=LiberationSans
|
||||||
|
-V monofont=LiberationMono
|
||||||
|
-V linestretch=1.5
|
||||||
|
-N
|
||||||
|
-o /data/${OUTPUTDIR}/${OUTPUTFILE}
|
||||||
|
--pdf-engine=xelatex"
|
||||||
|
# command: sh -c "pandoc -s /data/input/*.md -o /data/output/output.pdf && tail -f /dev/null"
|
||||||
|
|
Binary file not shown.
@ -0,0 +1,31 @@
|
|||||||
|
\begin{titlepage}
|
||||||
|
\begin{center}
|
||||||
|
\sffamily
|
||||||
|
\vfill
|
||||||
|
\vspace*{-1.5cm}
|
||||||
|
\includegraphics{source/img/headerLogos.png}
|
||||||
|
\vfill
|
||||||
|
\vspace*{1.5cm}
|
||||||
|
{\Large Hauptitel }\\ % erster Teil des Titels
|
||||||
|
\vspace*{-1.2cm}
|
||||||
|
\vfill
|
||||||
|
{\large Untertitel}\\ % zweiter Teil des Titels
|
||||||
|
\vfill
|
||||||
|
{\normalsize Bachelorarbeit / Masterarbeit im Studiengang Lehramt an Beruflichen Schulen
|
||||||
|
Eingereicht am Institut für Technische Bildung und Hochschuldidaktik
|
||||||
|
in der Beruflichen Fachrichtung Medientechnik /
|
||||||
|
Elektrotechnik-Informationstechnik
|
||||||
|
}
|
||||||
|
\vfill
|
||||||
|
\textit{Abgabetermin: TT. Monat JJJJ}
|
||||||
|
\end{center}
|
||||||
|
\vfill
|
||||||
|
vorgelegt von:\\
|
||||||
|
Max Mustermann \\
|
||||||
|
Musterastraße 12 \\
|
||||||
|
1234 Hamburg \\
|
||||||
|
Matrikelnummer: 1234567\\[2mm]
|
||||||
|
\vfill
|
||||||
|
Erstgutachter: Prof. Dr. <Name des Erstgutachters> \\ % bei Bachelor-/Master-/Diplomarbeit bitte angeben, ansonsten weglassen
|
||||||
|
Zweitgutachter: Prof. Dr. <Name des Zweitgutachters> % bei Bachelor-/Master-/Diplomarbeit bitte angeben, ansonsten weglassen
|
||||||
|
\end{titlepage}
|
@ -0,0 +1,13 @@
|
|||||||
|
\pagenumbering{Roman}
|
||||||
|
|
||||||
|
\tableofcontents
|
||||||
|
\pagebreak
|
||||||
|
|
||||||
|
\listoffigures
|
||||||
|
\pagebreak
|
||||||
|
|
||||||
|
\listoftables
|
||||||
|
<!-- \lstlistoflistings -->
|
||||||
|
\pagebreak
|
||||||
|
|
||||||
|
\pagenumbering{arabic}
|
@ -0,0 +1,32 @@
|
|||||||
|
# Einleitung
|
||||||
|
Hierbei handelt es sich um eine Vorlage zur Erstellung von Abschlussarbeiten mit Pandoc, die Auszeichnungssprache ist Markdown.
|
||||||
|
Die folgenden drei drei Pandoc- und Latexprojekt dienten als Vorlage für dieses Projekt:
|
||||||
|
|
||||||
|
* [Dan Prince | academic-pandoc](https://github.com/danprince/academic-pandoc.git)
|
||||||
|
* [Tom Pollard | phd_thesis_markdown](https://github.com/tompollard/phd_thesis_markdown)
|
||||||
|
* [Uni Hamburg Latexvorlage für Abschlussarbeiten](https://www.wiso.uni-hamburg.de/fachbereich-sozoek/professuren/szimayer/lehre/wissenschaftliche-arbeiten/bachelorarbeiten/vorlagen-fuer-abschlussarbeiten-in-latex-format.html)
|
||||||
|
|
||||||
|
## Installation vor der Nutzung
|
||||||
|
**pandoc and pandoc-citeproc binaries**
|
||||||
|
```bash
|
||||||
|
sudo apt install pandoc
|
||||||
|
sudo apt install pandoc-citeproc
|
||||||
|
```
|
||||||
|
|
||||||
|
**Install TeX Live**
|
||||||
|
```bash
|
||||||
|
sudo apt-get install texlive-full
|
||||||
|
```
|
||||||
|
|
||||||
|
**Schriftenpackete**
|
||||||
|
```bash
|
||||||
|
sudo apt-get install lmodern
|
||||||
|
sudo apt-get install msttcorefonts
|
||||||
|
```
|
||||||
|
|
||||||
|
## Hilfestellung für die Markdownsyntax
|
||||||
|
<http://daringfireball.net/projects/markdown/syntax#img>
|
||||||
|
<https://github.com/adam-p/markdown-here/wiki/Markdown-Cheatsheet>
|
||||||
|
<http://rmarkdown.rstudio.com/authoring_pandoc_markdown.html#pandoc_markdown>
|
||||||
|
|
||||||
|
\pagebreak
|
@ -0,0 +1,75 @@
|
|||||||
|
# Verschiedene Elemente
|
||||||
|
|
||||||
|
## Geordnete Listen
|
||||||
|
|
||||||
|
1. Element 1
|
||||||
|
2. Element 2
|
||||||
|
3. Element 3
|
||||||
|
|
||||||
|
## Ungeordnete Liste
|
||||||
|
|
||||||
|
* Element 1
|
||||||
|
* Element 2
|
||||||
|
* Element 3
|
||||||
|
|
||||||
|
## Code
|
||||||
|
|
||||||
|
```html
|
||||||
|
<html>
|
||||||
|
<head>
|
||||||
|
</head>
|
||||||
|
</html>
|
||||||
|
```
|
||||||
|
|
||||||
|
## Zitate
|
||||||
|
Einzel Zitat:
|
||||||
|
[vgl. @leeb_einfuhrung_2016, S. 13]
|
||||||
|
|
||||||
|
Zitatsammlung:
|
||||||
|
(vergleich dazu @heise oder @t3n)
|
||||||
|
[vgl. @hattie_lernen_2013, S. 33-35; außerdem @walker_problem_2009, S. 6 f.]
|
||||||
|
|
||||||
|
Zitat ohne Autor
|
||||||
|
Hattie sagte bla bla [-@hattie_lernen_2013]
|
||||||
|
|
||||||
|
Name des Autors mit Jahr in Klammern
|
||||||
|
@hattie_lernen_2013 sagte einmal bla bla bla
|
||||||
|
|
||||||
|
|
||||||
|
## Fußnote
|
||||||
|
Text mit Fußnote.[^1]
|
||||||
|
Text mit Fußnote.[^2]
|
||||||
|
|
||||||
|
## Blockauszeichnung
|
||||||
|
> Blockquotes are very handy in email to emulate reply text.
|
||||||
|
> This line is part of the same quote.
|
||||||
|
|
||||||
|
Quote break.
|
||||||
|
|
||||||
|
> This is a very long line that will still be quoted properly when it wraps. Oh boy let's keep writing to make sure this is long enough to actually wrap for everyone. Oh, you can *put* **Markdown** into a blockquote.
|
||||||
|
|
||||||
|
## Dokumente einfügen
|
||||||
|
|
||||||
|
![Ein PNG Bild\label{fig:png_bild}](source/img/graph.png)
|
||||||
|
|
||||||
|
\begin{figure}
|
||||||
|
\includegraphics[width=\textwidth,keepaspectratio]{source/img/graph.png}
|
||||||
|
\caption[Ein Beispielbild mit Quellenangabe]{Ein Beispielbild. Eine unbekannte Quelle von Max Mustermann, 2013, \textit{Nicht in einem Buch zu finden}, 3, S. 110.}
|
||||||
|
\label{fig:pp_test}
|
||||||
|
\end{figure}
|
||||||
|
|
||||||
|
|
||||||
|
## Referenzen
|
||||||
|
Ausgehend von dem Lorem ipsum Text in *Tabelle \ref{tab:lorem}* handelt es sich ...
|
||||||
|
|
||||||
|
Ausgehend von den Siebensprung in *Tabelle \ref{tab:ipsum}* handelt es sich ...
|
||||||
|
|
||||||
|
Eine Verlinkung zur *Abbildung \ref{fig:png_bild}*
|
||||||
|
|
||||||
|
Ein weitere Verlinkung zur *Abbildung \ref{fig:pp_test}*
|
||||||
|
|
||||||
|
[^1]: Diese Feststellung basiert auf vielseitigen Beobachtungen und Befragungen im Orientierungspraktikum sowie dem Kernpraktikum.
|
||||||
|
|
||||||
|
[^2]: Dies ist eine zweite Fußnote mit möglichen Ergänzungen.
|
||||||
|
|
||||||
|
\pagebreak
|
@ -0,0 +1,25 @@
|
|||||||
|
# Tabelle
|
||||||
|
|
||||||
|
## Version 1
|
||||||
|
|
||||||
|
Table: Lorem ipsum Text \label{tab:lorem}
|
||||||
|
|
||||||
|
| Tables | Are | Cool |
|
||||||
|
|----------|:-------------:|------:|
|
||||||
|
| col 1 is | left-aligned | $1600 |
|
||||||
|
| col 2 is | centered | $12 |
|
||||||
|
| col 3 is | right-aligned | $13 |
|
||||||
|
|
||||||
|
|
||||||
|
## Version 2
|
||||||
|
|
||||||
|
Table: Lorem ipsum Text v2 \label{tab:ipsum}
|
||||||
|
|
||||||
|
| Tables | Are | Cool |
|
||||||
|
|----------|:-------------:|------:|
|
||||||
|
| col 1 is | left-aligned | $1600 |
|
||||||
|
| col 2 is | centered | $12 |
|
||||||
|
| col 3 is | right-aligned | $1 |
|
||||||
|
|
||||||
|
|
||||||
|
\pagebreak
|
@ -0,0 +1,3 @@
|
|||||||
|
\pagebreak
|
||||||
|
|
||||||
|
# Quellenverzeichnis
|
@ -0,0 +1,19 @@
|
|||||||
|
\pagebreak
|
||||||
|
|
||||||
|
\section*{Anhang A}
|
||||||
|
\label{anhang_a}
|
||||||
|
\addcontentsline{toc}{section}{\nameref{anhang_a}}
|
||||||
|
Generell gehört alles Relevante in den Text. Irrelevantes wird weggelassen. Inhalte, die mit dem Thema in engem Zusammenhang stehen, aber nicht zwingend erforderlich sind, können in einen Anhang ausgelagert werden. üblicherweise gilt dies zum Beispiel für Herleitungen von Formeln oder umfangreiche Beweise, Quelltexte von Computerprogrammen oder umfangreiches (Daten-)Material, welches den Text überfrachten würde.
|
||||||
|
|
||||||
|
Wie Tabellen und Abbildungen müssen auch Anhänge im Text angesprochen werden und dürfen nicht losgelöst von diesem stehen.
|
||||||
|
|
||||||
|
\pagebreak
|
||||||
|
|
||||||
|
|
||||||
|
\section*{Anhang B}
|
||||||
|
\label{anhang_b}
|
||||||
|
\addcontentsline{toc}{section}{\nameref{anhang_b}}
|
||||||
|
|
||||||
|
\includegraphics{source/img/graph.png}
|
||||||
|
|
||||||
|
\pagebreak
|
@ -0,0 +1,13 @@
|
|||||||
|
\pagebreak
|
||||||
|
|
||||||
|
\section*{Eidesstattliche Erklärung}
|
||||||
|
\label{eid}
|
||||||
|
\addcontentsline{toc}{section}{\nameref{eid}}
|
||||||
|
Ich versichere, dass ich die vorstehende Arbeit selbständig und ohne fremde Hilfe angefertigt und mich anderer als der im beigefügten Verzeichnis angegebenen Hilfsmittel nicht bedient habe.
|
||||||
|
Alle Stellen, die wörtlich oder sinngemäß aus Veröffentlichungen übernommen wurden, sind als solche kenntlich gemacht. Alle Internetquellen sind der Arbeit beigefügt.
|
||||||
|
Des Weiteren versichere ich, dass ich die Arbeit vorher nicht in einem anderen Prüfungsverfahren eingereicht habe und dass die eingereichte schriftliche Fassung der auf dem elektronischen Speichermedium entspricht.
|
||||||
|
\\ \\ \\
|
||||||
|
\begin{tabular}{lp{3em}l}
|
||||||
|
\hspace{5cm} && \hspace{4cm} \\\cline{1-1}\cline{3-3}
|
||||||
|
Ort, Datum && Unterschrift
|
||||||
|
\end{tabular}
|
After Width: | Height: | Size: 19 KiB |
After Width: | Height: | Size: 110 KiB |
@ -0,0 +1,286 @@
|
|||||||
|
<?xml version="1.0" encoding="utf-8"?>
|
||||||
|
<style xmlns="http://purl.org/net/xbiblio/csl" class="in-text" version="1.0" demote-non-dropping-particle="sort-only" default-locale="de-DE">
|
||||||
|
<info>
|
||||||
|
<title>Deutsche Gesellschaft für Psychologie (German)</title>
|
||||||
|
<id>http://www.zotero.org/styles/deutsche-gesellschaft-fur-psychologie</id>
|
||||||
|
<link href="http://www.zotero.org/styles/deutsche-gesellschaft-fur-psychologie" rel="self"/>
|
||||||
|
<link href="http://www.psychologie.uni-bonn.de/studium/richtlinien-zur-manuskriptgestaltung" rel="documentation"/>
|
||||||
|
<link href="https://github.com/citation-style-language/styles/pull/432" rel="documentation"/>
|
||||||
|
<link href="http://hub.culturegraph.org/about/BSZ-267173628/html" rel="documentation"/>
|
||||||
|
<author>
|
||||||
|
<name>Daniel Hirsbrunner</name>
|
||||||
|
<email>dhirsbrunner@gmx.ch</email>
|
||||||
|
</author>
|
||||||
|
<contributor>
|
||||||
|
<name>Michael Zaugg</name>
|
||||||
|
</contributor>
|
||||||
|
<category citation-format="author-date"/>
|
||||||
|
<category field="psychology"/>
|
||||||
|
<updated>2015-02-19T19:52:50+00:00</updated>
|
||||||
|
<rights license="http://creativecommons.org/licenses/by-sa/3.0/">This work is licensed under a Creative Commons Attribution-ShareAlike 3.0 License</rights>
|
||||||
|
</info>
|
||||||
|
<locale xml:lang="de">
|
||||||
|
<terms>
|
||||||
|
<term name="et-al">et al.</term>
|
||||||
|
<term name="retrieved">Zugriff am</term>
|
||||||
|
</terms>
|
||||||
|
</locale>
|
||||||
|
<macro name="container-contributors">
|
||||||
|
<choose>
|
||||||
|
<if type="chapter paper-conference" match="any">
|
||||||
|
<text term="in" text-case="capitalize-first" suffix=" "/>
|
||||||
|
<names variable="editor translator" delimiter=", " suffix=", ">
|
||||||
|
<name and="symbol" initialize-with="." delimiter=", " delimiter-precedes-last="never"/>
|
||||||
|
<label form="short" prefix=" (" text-case="capitalize-first" suffix=")"/>
|
||||||
|
</names>
|
||||||
|
</if>
|
||||||
|
</choose>
|
||||||
|
</macro>
|
||||||
|
<macro name="secondary-contributors">
|
||||||
|
<choose>
|
||||||
|
<if type="chapter paper-conference" match="none">
|
||||||
|
<names variable="editor translator" delimiter=", " prefix=" (" suffix=")">
|
||||||
|
<name and="symbol" initialize-with="." delimiter=", " delimiter-precedes-last="never"/>
|
||||||
|
<label form="short" prefix=", " text-case="capitalize-first"/>
|
||||||
|
</names>
|
||||||
|
</if>
|
||||||
|
</choose>
|
||||||
|
</macro>
|
||||||
|
<macro name="author">
|
||||||
|
<names variable="author">
|
||||||
|
<name name-as-sort-order="all" and="symbol" sort-separator=", " initialize-with="." delimiter=", " delimiter-precedes-last="never"/>
|
||||||
|
<label form="short" prefix=" (" suffix=")" text-case="capitalize-first"/>
|
||||||
|
<substitute>
|
||||||
|
<names variable="editor"/>
|
||||||
|
<names variable="translator"/>
|
||||||
|
<text macro="title"/>
|
||||||
|
</substitute>
|
||||||
|
</names>
|
||||||
|
</macro>
|
||||||
|
<macro name="author-short">
|
||||||
|
<names variable="author">
|
||||||
|
<name form="short" and="symbol" delimiter=", " initialize-with=". " delimiter-precedes-last="never"/>
|
||||||
|
<substitute>
|
||||||
|
<names variable="editor"/>
|
||||||
|
<names variable="translator"/>
|
||||||
|
<choose>
|
||||||
|
<if type="bill book graphic legal_case motion_picture report song" match="any">
|
||||||
|
<text variable="title" form="short" font-style="italic"/>
|
||||||
|
</if>
|
||||||
|
<else>
|
||||||
|
<text variable="title" form="short" quotes="true"/>
|
||||||
|
</else>
|
||||||
|
</choose>
|
||||||
|
</substitute>
|
||||||
|
</names>
|
||||||
|
</macro>
|
||||||
|
<macro name="access">
|
||||||
|
<choose>
|
||||||
|
<if type="article-newspaper" match="none">
|
||||||
|
<choose>
|
||||||
|
<if variable="DOI">
|
||||||
|
<text value="doi:"/>
|
||||||
|
<text variable="DOI"/>
|
||||||
|
</if>
|
||||||
|
<else-if variable="URL">
|
||||||
|
<group suffix=". ">
|
||||||
|
<text term="retrieved" suffix=" "/>
|
||||||
|
<date variable="accessed">
|
||||||
|
<date-part name="day" suffix="."/>
|
||||||
|
<date-part name="month" form="numeric" suffix="."/>
|
||||||
|
<date-part name="year"/>
|
||||||
|
</date>
|
||||||
|
</group>
|
||||||
|
<group delimiter=" ">
|
||||||
|
<text term="available at" text-case="capitalize-first" suffix=": "/>
|
||||||
|
<text variable="URL"/>
|
||||||
|
</group>
|
||||||
|
</else-if>
|
||||||
|
</choose>
|
||||||
|
</if>
|
||||||
|
</choose>
|
||||||
|
</macro>
|
||||||
|
<macro name="title">
|
||||||
|
<choose>
|
||||||
|
<if type="report thesis" match="any">
|
||||||
|
<text variable="title" font-style="italic"/>
|
||||||
|
<group prefix=" (" suffix=")">
|
||||||
|
<text variable="genre"/>
|
||||||
|
<text variable="number" prefix=" No. "/>
|
||||||
|
</group>
|
||||||
|
</if>
|
||||||
|
<else-if type="bill book graphic legislation motion_picture report song" match="any">
|
||||||
|
<text variable="title" font-style="italic"/>
|
||||||
|
<text variable="collection-title" prefix=" (" suffix=")"/>
|
||||||
|
</else-if>
|
||||||
|
<else>
|
||||||
|
<text variable="title"/>
|
||||||
|
<text variable="collection-title" prefix=" (" suffix=")"/>
|
||||||
|
</else>
|
||||||
|
</choose>
|
||||||
|
</macro>
|
||||||
|
<macro name="publisher">
|
||||||
|
<choose>
|
||||||
|
<if type="report thesis" match="any">
|
||||||
|
<group delimiter=": ">
|
||||||
|
<text variable="publisher-place"/>
|
||||||
|
<text variable="publisher"/>
|
||||||
|
</group>
|
||||||
|
</if>
|
||||||
|
<else>
|
||||||
|
<choose>
|
||||||
|
<if variable="event" match="none">
|
||||||
|
<text variable="genre" suffix=", "/>
|
||||||
|
</if>
|
||||||
|
</choose>
|
||||||
|
<group delimiter=": ">
|
||||||
|
<text variable="publisher-place"/>
|
||||||
|
<text variable="publisher"/>
|
||||||
|
</group>
|
||||||
|
</else>
|
||||||
|
</choose>
|
||||||
|
</macro>
|
||||||
|
<macro name="event">
|
||||||
|
<choose>
|
||||||
|
<if variable="event">
|
||||||
|
<choose>
|
||||||
|
<if variable="genre" match="none">
|
||||||
|
<text term="presented at" text-case="capitalize-first" suffix=" "/>
|
||||||
|
<text variable="event"/>
|
||||||
|
</if>
|
||||||
|
<else>
|
||||||
|
<group delimiter=" ">
|
||||||
|
<text variable="genre" text-case="capitalize-first"/>
|
||||||
|
<text term="presented at"/>
|
||||||
|
<text variable="event"/>
|
||||||
|
</group>
|
||||||
|
</else>
|
||||||
|
</choose>
|
||||||
|
</if>
|
||||||
|
</choose>
|
||||||
|
</macro>
|
||||||
|
<macro name="issued">
|
||||||
|
<choose>
|
||||||
|
<if variable="issued">
|
||||||
|
<group prefix=" (" suffix=").">
|
||||||
|
<date variable="issued">
|
||||||
|
<date-part name="year"/>
|
||||||
|
</date>
|
||||||
|
<choose>
|
||||||
|
<if type="bill book graphic legal_case motion_picture report song article-journal chapter paper-conference" match="none">
|
||||||
|
<date variable="issued">
|
||||||
|
<date-part prefix=", " name="month"/>
|
||||||
|
<date-part prefix=" " name="day"/>
|
||||||
|
</date>
|
||||||
|
</if>
|
||||||
|
</choose>
|
||||||
|
</group>
|
||||||
|
</if>
|
||||||
|
<else>
|
||||||
|
<text prefix=" (" term="no date" suffix=")." form="short"/>
|
||||||
|
</else>
|
||||||
|
</choose>
|
||||||
|
</macro>
|
||||||
|
<macro name="issued-year">
|
||||||
|
<choose>
|
||||||
|
<if variable="issued">
|
||||||
|
<date variable="issued">
|
||||||
|
<date-part name="year"/>
|
||||||
|
</date>
|
||||||
|
</if>
|
||||||
|
<else>
|
||||||
|
<text term="no date" form="short"/>
|
||||||
|
</else>
|
||||||
|
</choose>
|
||||||
|
</macro>
|
||||||
|
<macro name="edition">
|
||||||
|
<choose>
|
||||||
|
<if is-numeric="edition">
|
||||||
|
<group delimiter=" ">
|
||||||
|
<number variable="edition" form="ordinal"/>
|
||||||
|
<text term="edition" form="long"/>
|
||||||
|
</group>
|
||||||
|
</if>
|
||||||
|
<else>
|
||||||
|
<text variable="edition" suffix="."/>
|
||||||
|
</else>
|
||||||
|
</choose>
|
||||||
|
</macro>
|
||||||
|
<macro name="locators">
|
||||||
|
<choose>
|
||||||
|
<if type="article-journal article-magazine article-newspaper" match="any">
|
||||||
|
<group prefix=", " delimiter=", ">
|
||||||
|
<group>
|
||||||
|
<text variable="volume" font-style="italic"/>
|
||||||
|
<text variable="issue" prefix=" (" suffix=")"/>
|
||||||
|
</group>
|
||||||
|
<text variable="page"/>
|
||||||
|
</group>
|
||||||
|
</if>
|
||||||
|
<else-if type="bill book graphic legal_case motion_picture report song chapter paper-conference" match="any">
|
||||||
|
<group prefix=" (" suffix=")" delimiter=", ">
|
||||||
|
<text macro="edition"/>
|
||||||
|
<group>
|
||||||
|
<text term="volume" form="long" plural="true" text-case="capitalize-first" suffix=" "/>
|
||||||
|
<number variable="number-of-volumes" form="numeric" prefix="1-"/>
|
||||||
|
</group>
|
||||||
|
<group>
|
||||||
|
<text term="volume" form="long" text-case="capitalize-first" suffix=" "/>
|
||||||
|
<number variable="volume" form="numeric"/>
|
||||||
|
</group>
|
||||||
|
<group>
|
||||||
|
<label variable="page" form="short" suffix=" "/>
|
||||||
|
<text variable="page"/>
|
||||||
|
</group>
|
||||||
|
</group>
|
||||||
|
</else-if>
|
||||||
|
</choose>
|
||||||
|
</macro>
|
||||||
|
<macro name="citation-locator">
|
||||||
|
<group>
|
||||||
|
<label variable="locator" form="short"/>
|
||||||
|
<text variable="locator" prefix=" "/>
|
||||||
|
</group>
|
||||||
|
</macro>
|
||||||
|
<citation et-al-min="6" et-al-use-first="1" et-al-subsequent-min="3" et-al-subsequent-use-first="1" disambiguate-add-year-suffix="true" disambiguate-add-names="true" disambiguate-add-givenname="true" collapse="year">
|
||||||
|
<sort>
|
||||||
|
<key macro="author"/>
|
||||||
|
<key macro="issued-year"/>
|
||||||
|
</sort>
|
||||||
|
<layout prefix="(" suffix=")" delimiter="; ">
|
||||||
|
<group delimiter=", ">
|
||||||
|
<text macro="author-short"/>
|
||||||
|
<text macro="issued-year"/>
|
||||||
|
<text macro="citation-locator"/>
|
||||||
|
</group>
|
||||||
|
</layout>
|
||||||
|
</citation>
|
||||||
|
<bibliography delimiter-precedes-et-al="never" et-al-min="7" et-al-use-first="6" entry-spacing="0" hanging-indent="true">
|
||||||
|
<sort>
|
||||||
|
<key macro="author"/>
|
||||||
|
<key macro="issued-year" sort="ascending"/>
|
||||||
|
</sort>
|
||||||
|
<layout>
|
||||||
|
<group suffix=".">
|
||||||
|
<text macro="author" suffix="."/>
|
||||||
|
<text macro="issued" suffix=" "/>
|
||||||
|
<group delimiter=". ">
|
||||||
|
<text macro="title"/>
|
||||||
|
<group>
|
||||||
|
<text macro="container-contributors"/>
|
||||||
|
<text macro="secondary-contributors"/>
|
||||||
|
<group delimiter=", ">
|
||||||
|
<text variable="container-title" font-style="italic"/>
|
||||||
|
</group>
|
||||||
|
</group>
|
||||||
|
</group>
|
||||||
|
<text macro="locators"/>
|
||||||
|
<group delimiter=", " prefix=". ">
|
||||||
|
<text macro="event"/>
|
||||||
|
<text macro="publisher"/>
|
||||||
|
</group>
|
||||||
|
</group>
|
||||||
|
<text macro="access" prefix=" "/>
|
||||||
|
</layout>
|
||||||
|
</bibliography>
|
||||||
|
</style>
|
@ -0,0 +1,256 @@
|
|||||||
|
\documentclass[$if(fontsize)$$fontsize$,$endif$$if(lang)$$babel-lang$,$endif$$if(papersize)$$papersize$paper,$endif$$for(classoption)$$classoption$$sep$,$endfor$]{$documentclass$}
|
||||||
|
$if(fontfamily)$
|
||||||
|
\usepackage[$for(fontfamilyoptions)$$fontfamilyoptions$$sep$,$endfor$]{$fontfamily$}
|
||||||
|
$else$
|
||||||
|
\usepackage{lmodern}
|
||||||
|
$endif$
|
||||||
|
$if(linestretch)$
|
||||||
|
\usepackage{setspace}
|
||||||
|
\setstretch{$linestretch$}
|
||||||
|
$endif$
|
||||||
|
\usepackage{amssymb,amsmath}
|
||||||
|
\usepackage{ifxetex,ifluatex}
|
||||||
|
\usepackage{fixltx2e} % provides \textsubscript
|
||||||
|
\ifnum 0\ifxetex 1\fi\ifluatex 1\fi=0 % if pdftex
|
||||||
|
\usepackage[$if(fontenc)$$fontenc$$else$T1$endif$]{fontenc}
|
||||||
|
\usepackage[utf8]{inputenc}
|
||||||
|
$if(euro)$
|
||||||
|
\usepackage{eurosym}
|
||||||
|
$endif$
|
||||||
|
\else % if luatex or xelatex
|
||||||
|
\ifxetex
|
||||||
|
\usepackage{mathspec}
|
||||||
|
\else
|
||||||
|
\usepackage{fontspec}
|
||||||
|
\fi
|
||||||
|
\defaultfontfeatures{Ligatures=TeX,Scale=MatchLowercase}
|
||||||
|
$if(euro)$
|
||||||
|
\newcommand{\euro}{€}
|
||||||
|
$endif$
|
||||||
|
$if(mainfont)$
|
||||||
|
\setmainfont[$for(mainfontoptions)$$mainfontoptions$$sep$,$endfor$]{$mainfont$}
|
||||||
|
$endif$
|
||||||
|
$if(sansfont)$
|
||||||
|
\setsansfont[$for(sansfontoptions)$$sansfontoptions$$sep$,$endfor$]{$sansfont$}
|
||||||
|
$endif$
|
||||||
|
$if(monofont)$
|
||||||
|
\setmonofont[Mapping=tex-ansi$if(monofontoptions)$,$for(monofontoptions)$$monofontoptions$$sep$,$endfor$$endif$]{$monofont$}
|
||||||
|
$endif$
|
||||||
|
$if(mathfont)$
|
||||||
|
\setmathfont(Digits,Latin,Greek)[$for(mathfontoptions)$$mathfontoptions$$sep$,$endfor$]{$mathfont$}
|
||||||
|
$endif$
|
||||||
|
$if(CJKmainfont)$
|
||||||
|
\usepackage{xeCJK}
|
||||||
|
\setCJKmainfont[$for(CJKoptions)$$CJKoptions$$sep$,$endfor$]{$CJKmainfont$}
|
||||||
|
$endif$
|
||||||
|
\fi
|
||||||
|
% use upquote if available, for straight quotes in verbatim environments
|
||||||
|
\IfFileExists{upquote.sty}{\usepackage{upquote}}{}
|
||||||
|
% use microtype if available
|
||||||
|
\IfFileExists{microtype.sty}{%
|
||||||
|
\usepackage{microtype}
|
||||||
|
\UseMicrotypeSet[protrusion]{basicmath} % disable protrusion for tt fonts
|
||||||
|
}{}
|
||||||
|
$if(geometry)$
|
||||||
|
\usepackage[$for(geometry)$$geometry$$sep$,$endfor$]{geometry}
|
||||||
|
$endif$
|
||||||
|
\usepackage{hyperref}
|
||||||
|
$if(colorlinks)$
|
||||||
|
\PassOptionsToPackage{usenames,dvipsnames}{color} % color is loaded by hyperref
|
||||||
|
$endif$
|
||||||
|
\hypersetup{unicode=true,
|
||||||
|
$if(title-meta)$
|
||||||
|
pdftitle={$title-meta$},
|
||||||
|
$endif$
|
||||||
|
$if(author-meta)$
|
||||||
|
pdfauthor={$author-meta$},
|
||||||
|
$endif$
|
||||||
|
$if(keywords)$
|
||||||
|
pdfkeywords={$for(keywords)$$keywords$$sep$; $endfor$},
|
||||||
|
$endif$
|
||||||
|
$if(colorlinks)$
|
||||||
|
colorlinks=true,
|
||||||
|
linkcolor=$if(linkcolor)$$linkcolor$$else$Maroon$endif$,
|
||||||
|
citecolor=$if(citecolor)$$citecolor$$else$Blue$endif$,
|
||||||
|
urlcolor=$if(urlcolor)$$urlcolor$$else$Blue$endif$,
|
||||||
|
$else$
|
||||||
|
pdfborder={0 0 0},
|
||||||
|
$endif$
|
||||||
|
breaklinks=true}
|
||||||
|
\urlstyle{same} % don't use monospace font for urls
|
||||||
|
$if(lang)$
|
||||||
|
\ifnum 0\ifxetex 1\fi\ifluatex 1\fi=0 % if pdftex
|
||||||
|
\usepackage[shorthands=off,$for(babel-otherlangs)$$babel-otherlangs$,$endfor$main=$babel-lang$]{babel}
|
||||||
|
$if(babel-newcommands)$
|
||||||
|
$babel-newcommands$
|
||||||
|
$endif$
|
||||||
|
\else
|
||||||
|
\usepackage{polyglossia}
|
||||||
|
\setmainlanguage{german}
|
||||||
|
$for(polyglossia-otherlangs)$
|
||||||
|
\setotherlanguage[$polyglossia-otherlangs.options$]{$polyglossia-otherlangs.name$}
|
||||||
|
$endfor$
|
||||||
|
\fi
|
||||||
|
$endif$
|
||||||
|
$if(natbib)$
|
||||||
|
\usepackage{natbib}
|
||||||
|
\bibliographystyle{$if(biblio-style)$$biblio-style$$else$plainnat$endif$}
|
||||||
|
$endif$
|
||||||
|
$if(biblatex)$
|
||||||
|
\usepackage$if(biblio-style)$[style=$biblio-style$]$endif${biblatex}
|
||||||
|
$if(biblatexoptions)$\ExecuteBibliographyOptions{$for(biblatexoptions)$$biblatexoptions$$sep$,$endfor$}$endif$
|
||||||
|
$for(bibliography)$
|
||||||
|
\addbibresource{$bibliography$}
|
||||||
|
$endfor$
|
||||||
|
$endif$
|
||||||
|
$if(listings)$
|
||||||
|
\usepackage{listings}
|
||||||
|
$endif$
|
||||||
|
$if(lhs)$
|
||||||
|
\lstnewenvironment{code}{\lstset{language=Haskell,basicstyle=\small\ttfamily}}{}
|
||||||
|
$endif$
|
||||||
|
$if(highlighting-macros)$
|
||||||
|
$highlighting-macros$
|
||||||
|
$endif$
|
||||||
|
$if(verbatim-in-note)$
|
||||||
|
\usepackage{fancyvrb}
|
||||||
|
\VerbatimFootnotes % allows verbatim text in footnotes
|
||||||
|
$endif$
|
||||||
|
$if(tables)$
|
||||||
|
\usepackage{longtable,booktabs}
|
||||||
|
$endif$
|
||||||
|
$if(graphics)$
|
||||||
|
\usepackage{graphicx,grffile}
|
||||||
|
\makeatletter
|
||||||
|
\def\maxwidth{\ifdim\Gin@nat@width>\linewidth\linewidth\else\Gin@nat@width\fi}
|
||||||
|
\def\maxheight{\ifdim\Gin@nat@height>\textheight\textheight\else\Gin@nat@height\fi}
|
||||||
|
\makeatother
|
||||||
|
% Scale images if necessary, so that they will not overflow the page
|
||||||
|
% margins by default, and it is still possible to overwrite the defaults
|
||||||
|
% using explicit options in \includegraphics[width, height, ...]{}
|
||||||
|
\setkeys{Gin}{width=\maxwidth,height=\maxheight,keepaspectratio}
|
||||||
|
$endif$
|
||||||
|
$if(links-as-notes)$
|
||||||
|
% Make links footnotes instead of hotlinks:
|
||||||
|
\renewcommand{\href}[2]{#2\footnote{\url{#1}}}
|
||||||
|
$endif$
|
||||||
|
$if(strikeout)$
|
||||||
|
\usepackage[normalem]{ulem}
|
||||||
|
% avoid problems with \sout in headers with hyperref:
|
||||||
|
\pdfstringdefDisableCommands{\renewcommand{\sout}{}}
|
||||||
|
$endif$
|
||||||
|
$if(indent)$
|
||||||
|
$else$
|
||||||
|
\IfFileExists{parskip.sty}{%
|
||||||
|
\usepackage{parskip}
|
||||||
|
}{% else
|
||||||
|
\setlength{\parindent}{0pt}
|
||||||
|
\setlength{\parskip}{6pt plus 2pt minus 1pt}
|
||||||
|
}
|
||||||
|
$endif$
|
||||||
|
\setlength{\emergencystretch}{3em} % prevent overfull lines
|
||||||
|
\providecommand{\tightlist}{%
|
||||||
|
\setlength{\itemsep}{0pt}\setlength{\parskip}{0pt}}
|
||||||
|
$if(numbersections)$
|
||||||
|
\setcounter{secnumdepth}{5}
|
||||||
|
$else$
|
||||||
|
\setcounter{secnumdepth}{0}
|
||||||
|
$endif$
|
||||||
|
$if(subparagraph)$
|
||||||
|
$else$
|
||||||
|
% Redefines (sub)paragraphs to behave more like sections
|
||||||
|
\ifx\paragraph\undefined\else
|
||||||
|
\let\oldparagraph\paragraph
|
||||||
|
\renewcommand{\paragraph}[1]{\oldparagraph{#1}\mbox{}}
|
||||||
|
\fi
|
||||||
|
\ifx\subparagraph\undefined\else
|
||||||
|
\let\oldsubparagraph\subparagraph
|
||||||
|
\renewcommand{\subparagraph}[1]{\oldsubparagraph{#1}\mbox{}}
|
||||||
|
\fi
|
||||||
|
$endif$
|
||||||
|
$if(dir)$
|
||||||
|
\ifxetex
|
||||||
|
% load bidi as late as possible as it modifies e.g. graphicx
|
||||||
|
$if(latex-dir-rtl)$
|
||||||
|
\usepackage[RTLdocument]{bidi}
|
||||||
|
$else$
|
||||||
|
\usepackage{bidi}
|
||||||
|
$endif$
|
||||||
|
\fi
|
||||||
|
\ifnum 0\ifxetex 1\fi\ifluatex 1\fi=0 % if pdftex
|
||||||
|
\TeXXeTstate=1
|
||||||
|
\newcommand{\RL}[1]{\beginR #1\endR}
|
||||||
|
\newcommand{\LR}[1]{\beginL #1\endL}
|
||||||
|
\newenvironment{RTL}{\beginR}{\endR}
|
||||||
|
\newenvironment{LTR}{\beginL}{\endL}
|
||||||
|
\fi
|
||||||
|
$endif$
|
||||||
|
$for(header-includes)$
|
||||||
|
$header-includes$
|
||||||
|
$endfor$
|
||||||
|
|
||||||
|
$if(title)$
|
||||||
|
\title{$title$$if(thanks)$\thanks{$thanks$}$endif$}
|
||||||
|
$endif$
|
||||||
|
$if(subtitle)$
|
||||||
|
\providecommand{\subtitle}[1]{}
|
||||||
|
\subtitle{$subtitle$}
|
||||||
|
$endif$
|
||||||
|
$if(author)$
|
||||||
|
\author{$for(author)$$author$$sep$ \and $endfor$}
|
||||||
|
$endif$
|
||||||
|
\date{$date$}
|
||||||
|
|
||||||
|
\begin{document}
|
||||||
|
$if(title)$
|
||||||
|
\maketitle
|
||||||
|
$endif$
|
||||||
|
$if(abstract)$
|
||||||
|
\begin{abstract}
|
||||||
|
$abstract$
|
||||||
|
\end{abstract}
|
||||||
|
$endif$
|
||||||
|
|
||||||
|
$for(include-before)$
|
||||||
|
$include-before$
|
||||||
|
|
||||||
|
$endfor$
|
||||||
|
$if(toc)$
|
||||||
|
{
|
||||||
|
$if(colorlinks)$
|
||||||
|
\hypersetup{linkcolor=$if(toccolor)$$toccolor$$else$black$endif$}
|
||||||
|
$endif$
|
||||||
|
\setcounter{tocdepth}{$toc-depth$}
|
||||||
|
\tableofcontents
|
||||||
|
}
|
||||||
|
$endif$
|
||||||
|
$if(lot)$
|
||||||
|
\listoftables
|
||||||
|
$endif$
|
||||||
|
$if(lof)$
|
||||||
|
\listoffigures
|
||||||
|
$endif$
|
||||||
|
$body$
|
||||||
|
|
||||||
|
$if(natbib)$
|
||||||
|
$if(bibliography)$
|
||||||
|
$if(biblio-title)$
|
||||||
|
$if(book-class)$
|
||||||
|
\renewcommand\bibname{$biblio-title$}
|
||||||
|
$else$
|
||||||
|
\renewcommand\refname{$biblio-title$}
|
||||||
|
$endif$
|
||||||
|
$endif$
|
||||||
|
\bibliography{$for(bibliography)$$bibliography$$sep$,$endfor$}
|
||||||
|
|
||||||
|
$endif$
|
||||||
|
$endif$
|
||||||
|
$if(biblatex)$
|
||||||
|
\printbibliography$if(biblio-title)$[title=$biblio-title$]$endif$
|
||||||
|
|
||||||
|
$endif$
|
||||||
|
$for(include-after)$
|
||||||
|
$include-after$
|
||||||
|
|
||||||
|
$endfor$
|
||||||
|
\end{document}
|
@ -0,0 +1,306 @@
|
|||||||
|
<?xml version="1.0" encoding="utf-8"?>
|
||||||
|
<style xmlns="http://purl.org/net/xbiblio/csl" class="in-text" version="1.0" demote-non-dropping-particle="sort-only" default-locale="de-DE">
|
||||||
|
<!-- This style was edited with the Visual CSL Editor (http://editor.citationstyles.org/visualEditor/) -->
|
||||||
|
<info>
|
||||||
|
<title>Deutsche Gesellschaft für Psychologie (German)</title>
|
||||||
|
<id>http://www.zotero.org/styles/deutsche-gesellschaft-fur-psychologie</id>
|
||||||
|
<link href="http://www.zotero.org/styles/deutsche-gesellschaft-fur-psychologie" rel="self"/>
|
||||||
|
<link href="https://www.psychologie.uni-bonn.de/de/studium/richtlinien-zur-manuskriptgestaltung/view" rel="documentation"/>
|
||||||
|
<link href="https://github.com/citation-style-language/styles/pull/432" rel="documentation"/>
|
||||||
|
<link href="https://www.hogrefe.de/shop/richtlinien-zur-manuskriptgestaltung-75884.html" rel="documentation"/>
|
||||||
|
<author>
|
||||||
|
<name>Daniel Hirsbrunner</name>
|
||||||
|
<email>dhirsbrunner@gmx.ch</email>
|
||||||
|
</author>
|
||||||
|
<contributor>
|
||||||
|
<name>Michael Zaugg</name>
|
||||||
|
</contributor>
|
||||||
|
<contributor>
|
||||||
|
<name>Patrick O'Brien</name>
|
||||||
|
<email>obrienpat86@gmail.com</email>
|
||||||
|
</contributor>
|
||||||
|
<category citation-format="author-date"/>
|
||||||
|
<category field="psychology"/>
|
||||||
|
<summary>Style for the German society for psychology, based on the 4th style manual (Feb-2016).</summary>
|
||||||
|
<updated>2018-01-02T15:09:34+00:00</updated>
|
||||||
|
<rights license="http://creativecommons.org/licenses/by-sa/3.0/">This work is licensed under a Creative Commons Attribution-ShareAlike 3.0 License</rights>
|
||||||
|
</info>
|
||||||
|
<locale xml:lang="de">
|
||||||
|
<terms>
|
||||||
|
<term name="et-al">et al.</term>
|
||||||
|
<term name="retrieved">Zugriff am</term>
|
||||||
|
</terms>
|
||||||
|
</locale>
|
||||||
|
<macro name="container-contributors">
|
||||||
|
<choose>
|
||||||
|
<if type="chapter paper-conference" match="any">
|
||||||
|
<text term="in" text-case="capitalize-first" suffix=" "/>
|
||||||
|
<names variable="editor translator" delimiter=", " suffix=", ">
|
||||||
|
<name and="symbol" initialize-with="." delimiter=", " delimiter-precedes-last="never"/>
|
||||||
|
<label form="short" prefix=" (" text-case="capitalize-first" suffix=")"/>
|
||||||
|
</names>
|
||||||
|
</if>
|
||||||
|
</choose>
|
||||||
|
</macro>
|
||||||
|
<macro name="secondary-contributors">
|
||||||
|
<choose>
|
||||||
|
<if type="chapter paper-conference" match="none">
|
||||||
|
<names variable="editor translator" delimiter=", " prefix=" (" suffix=")">
|
||||||
|
<name and="symbol" initialize-with="." delimiter=", " delimiter-precedes-last="never"/>
|
||||||
|
<label form="short" prefix=", " text-case="capitalize-first"/>
|
||||||
|
</names>
|
||||||
|
</if>
|
||||||
|
</choose>
|
||||||
|
</macro>
|
||||||
|
<macro name="author">
|
||||||
|
<names variable="author" font-weight="bold">
|
||||||
|
<name and="symbol" delimiter-precedes-last="never" initialize-with=". " name-as-sort-order="all"/>
|
||||||
|
<label form="short" prefix=" (" suffix=")" text-case="capitalize-first"/>
|
||||||
|
<substitute>
|
||||||
|
<names variable="editor"/>
|
||||||
|
<names variable="translator"/>
|
||||||
|
<text macro="title"/>
|
||||||
|
</substitute>
|
||||||
|
</names>
|
||||||
|
</macro>
|
||||||
|
<macro name="author-short">
|
||||||
|
<names variable="author">
|
||||||
|
<name form="short" and="symbol" delimiter=", " initialize-with=". " delimiter-precedes-last="never"/>
|
||||||
|
<substitute>
|
||||||
|
<names variable="editor"/>
|
||||||
|
<names variable="translator"/>
|
||||||
|
<choose>
|
||||||
|
<if type="bill book graphic legal_case motion_picture report song" match="any">
|
||||||
|
<text variable="title" form="short" font-style="italic"/>
|
||||||
|
</if>
|
||||||
|
<else>
|
||||||
|
<text variable="title" form="short" quotes="true"/>
|
||||||
|
</else>
|
||||||
|
</choose>
|
||||||
|
</substitute>
|
||||||
|
</names>
|
||||||
|
</macro>
|
||||||
|
<macro name="access">
|
||||||
|
<choose>
|
||||||
|
<if type="article-newspaper" match="none">
|
||||||
|
<choose>
|
||||||
|
<if variable="DOI">
|
||||||
|
<text value="doi:"/>
|
||||||
|
<text variable="DOI"/>
|
||||||
|
</if>
|
||||||
|
<else-if variable="URL">
|
||||||
|
<choose>
|
||||||
|
<if type="article-journal" match="none">
|
||||||
|
<group suffix=". ">
|
||||||
|
<text term="retrieved" suffix=" "/>
|
||||||
|
<date variable="accessed">
|
||||||
|
<date-part name="day" suffix="."/>
|
||||||
|
<date-part name="month" form="numeric" suffix="."/>
|
||||||
|
<date-part name="year"/>
|
||||||
|
</date>
|
||||||
|
</group>
|
||||||
|
<group delimiter=": ">
|
||||||
|
<text term="available at" text-case="capitalize-first"/>
|
||||||
|
<text variable="URL"/>
|
||||||
|
</group>
|
||||||
|
</if>
|
||||||
|
</choose>
|
||||||
|
</else-if>
|
||||||
|
</choose>
|
||||||
|
</if>
|
||||||
|
</choose>
|
||||||
|
</macro>
|
||||||
|
<macro name="title">
|
||||||
|
<choose>
|
||||||
|
<if type="report thesis" match="any">
|
||||||
|
<text variable="title" font-style="italic" suffix="."/>
|
||||||
|
<group prefix=" " suffix=".">
|
||||||
|
<text variable="genre"/>
|
||||||
|
<text variable="number" prefix=" No. "/>
|
||||||
|
</group>
|
||||||
|
</if>
|
||||||
|
<else-if type="bill book graphic legislation motion_picture report song" match="any">
|
||||||
|
<text variable="title" font-style="italic"/>
|
||||||
|
<text variable="collection-title" prefix=" (" suffix=")"/>
|
||||||
|
</else-if>
|
||||||
|
<else>
|
||||||
|
<text variable="title"/>
|
||||||
|
<text variable="collection-title" prefix=" (" suffix=")"/>
|
||||||
|
</else>
|
||||||
|
</choose>
|
||||||
|
</macro>
|
||||||
|
<macro name="publisher">
|
||||||
|
<choose>
|
||||||
|
<if type="article-newspaper" match="none">
|
||||||
|
<choose>
|
||||||
|
<if type="report thesis" match="any">
|
||||||
|
<group delimiter=": ">
|
||||||
|
<text variable="publisher-place"/>
|
||||||
|
<text variable="publisher"/>
|
||||||
|
</group>
|
||||||
|
</if>
|
||||||
|
<else>
|
||||||
|
<choose>
|
||||||
|
<if variable="event" match="none">
|
||||||
|
<text variable="genre"/>
|
||||||
|
</if>
|
||||||
|
</choose>
|
||||||
|
<group delimiter=": ">
|
||||||
|
<text variable="publisher-place"/>
|
||||||
|
<text variable="publisher"/>
|
||||||
|
</group>
|
||||||
|
</else>
|
||||||
|
</choose>
|
||||||
|
</if>
|
||||||
|
</choose>
|
||||||
|
</macro>
|
||||||
|
<macro name="event">
|
||||||
|
<choose>
|
||||||
|
<if variable="event">
|
||||||
|
<choose>
|
||||||
|
<if variable="genre" match="none">
|
||||||
|
<text term="presented at" text-case="capitalize-first" suffix=" "/>
|
||||||
|
<text variable="event"/>
|
||||||
|
</if>
|
||||||
|
<else>
|
||||||
|
<group delimiter=" ">
|
||||||
|
<text variable="genre" text-case="capitalize-first"/>
|
||||||
|
<text term="presented at"/>
|
||||||
|
<text variable="event"/>
|
||||||
|
</group>
|
||||||
|
</else>
|
||||||
|
</choose>
|
||||||
|
</if>
|
||||||
|
</choose>
|
||||||
|
</macro>
|
||||||
|
<macro name="issued">
|
||||||
|
<choose>
|
||||||
|
<if variable="issued">
|
||||||
|
<group prefix=" (" suffix=").">
|
||||||
|
<date variable="issued">
|
||||||
|
<date-part name="year"/>
|
||||||
|
</date>
|
||||||
|
<choose>
|
||||||
|
<if type="bill book graphic legal_case motion_picture report song article-journal chapter paper-conference" match="none">
|
||||||
|
<date variable="issued">
|
||||||
|
<date-part prefix=", " name="month"/>
|
||||||
|
<date-part prefix=" " name="day"/>
|
||||||
|
</date>
|
||||||
|
</if>
|
||||||
|
</choose>
|
||||||
|
</group>
|
||||||
|
</if>
|
||||||
|
<else>
|
||||||
|
<text prefix=" (" term="no date" suffix=")." form="short"/>
|
||||||
|
</else>
|
||||||
|
</choose>
|
||||||
|
</macro>
|
||||||
|
<macro name="issued-year">
|
||||||
|
<choose>
|
||||||
|
<if variable="issued">
|
||||||
|
<date variable="issued">
|
||||||
|
<date-part name="year"/>
|
||||||
|
</date>
|
||||||
|
</if>
|
||||||
|
<else>
|
||||||
|
<text term="no date" form="short"/>
|
||||||
|
</else>
|
||||||
|
</choose>
|
||||||
|
</macro>
|
||||||
|
<macro name="edition">
|
||||||
|
<choose>
|
||||||
|
<if is-numeric="edition">
|
||||||
|
<group delimiter=" ">
|
||||||
|
<number variable="edition" form="ordinal"/>
|
||||||
|
<text term="edition" form="long"/>
|
||||||
|
</group>
|
||||||
|
</if>
|
||||||
|
<else>
|
||||||
|
<text variable="edition" suffix="."/>
|
||||||
|
</else>
|
||||||
|
</choose>
|
||||||
|
</macro>
|
||||||
|
<macro name="locators">
|
||||||
|
<choose>
|
||||||
|
<if type="article-journal article-magazine" match="any">
|
||||||
|
<group prefix=", " delimiter=", ">
|
||||||
|
<group>
|
||||||
|
<text variable="volume" font-style="italic"/>
|
||||||
|
<text variable="issue" prefix=" (" suffix=")"/>
|
||||||
|
</group>
|
||||||
|
<text variable="page"/>
|
||||||
|
</group>
|
||||||
|
</if>
|
||||||
|
<else-if type="bill book graphic legal_case motion_picture report song chapter paper-conference" match="any">
|
||||||
|
<group prefix=" (" suffix=")" delimiter=", ">
|
||||||
|
<text macro="edition"/>
|
||||||
|
<group>
|
||||||
|
<text term="volume" form="long" plural="true" text-case="capitalize-first" suffix=" "/>
|
||||||
|
<number variable="number-of-volumes" form="numeric" prefix="1-"/>
|
||||||
|
</group>
|
||||||
|
<group>
|
||||||
|
<text term="volume" form="long" text-case="capitalize-first" suffix=" "/>
|
||||||
|
<number variable="volume" form="numeric"/>
|
||||||
|
</group>
|
||||||
|
<group>
|
||||||
|
<label variable="page" form="short" suffix=" "/>
|
||||||
|
<text variable="page"/>
|
||||||
|
</group>
|
||||||
|
</group>
|
||||||
|
</else-if>
|
||||||
|
<else-if type="article-newspaper" match="any">
|
||||||
|
<group delimiter=" " prefix=", ">
|
||||||
|
<label text-case="capitalize-first" variable="page" form="short"/>
|
||||||
|
<text variable="page"/>
|
||||||
|
</group>
|
||||||
|
</else-if>
|
||||||
|
</choose>
|
||||||
|
</macro>
|
||||||
|
<macro name="citation-locator">
|
||||||
|
<group>
|
||||||
|
<label variable="locator" form="short"/>
|
||||||
|
<text variable="locator" prefix=" "/>
|
||||||
|
</group>
|
||||||
|
</macro>
|
||||||
|
<citation et-al-min="6" et-al-use-first="1" et-al-subsequent-min="3" et-al-subsequent-use-first="1" disambiguate-add-year-suffix="true" disambiguate-add-names="true" disambiguate-add-givenname="true" collapse="year">
|
||||||
|
<sort>
|
||||||
|
<key macro="author"/>
|
||||||
|
<key macro="issued-year"/>
|
||||||
|
</sort>
|
||||||
|
<layout prefix="(" suffix=")" delimiter="; ">
|
||||||
|
<group delimiter=", ">
|
||||||
|
<text macro="author-short"/>
|
||||||
|
<text macro="issued-year"/>
|
||||||
|
<text macro="citation-locator"/>
|
||||||
|
</group>
|
||||||
|
</layout>
|
||||||
|
</citation>
|
||||||
|
<bibliography delimiter-precedes-et-al="never" et-al-min="7" et-al-use-first="6" entry-spacing="0" line-spacing="2" hanging-indent="true">
|
||||||
|
<sort>
|
||||||
|
<key macro="author"/>
|
||||||
|
<key macro="issued-year" sort="ascending"/>
|
||||||
|
</sort>
|
||||||
|
<layout>
|
||||||
|
<group suffix=".">
|
||||||
|
<text macro="author" suffix="."/>
|
||||||
|
<text macro="issued" suffix=" "/>
|
||||||
|
<group delimiter=". ">
|
||||||
|
<text macro="title"/>
|
||||||
|
<group>
|
||||||
|
<text macro="container-contributors"/>
|
||||||
|
<text macro="secondary-contributors"/>
|
||||||
|
<group delimiter=", ">
|
||||||
|
<text variable="container-title" font-style="italic"/>
|
||||||
|
</group>
|
||||||
|
</group>
|
||||||
|
</group>
|
||||||
|
<text macro="locators"/>
|
||||||
|
<group delimiter=", " prefix=". ">
|
||||||
|
<text macro="event"/>
|
||||||
|
<text macro="publisher"/>
|
||||||
|
</group>
|
||||||
|
</group>
|
||||||
|
<text macro="access" prefix=" "/>
|
||||||
|
</layout>
|
||||||
|
</bibliography>
|
||||||
|
</style>
|
@ -0,0 +1,288 @@
|
|||||||
|
\documentclass[$if(fontsize)$$fontsize$,$endif$$if(lang)$$babel-lang$,$endif$$if(papersize)$$papersize$paper,$endif$$for(classoption)$$classoption$$sep$,$endfor$]{$documentclass$}
|
||||||
|
$if(beamerarticle)$
|
||||||
|
\usepackage{beamerarticle} % needs to be loaded first
|
||||||
|
$endif$
|
||||||
|
$if(fontfamily)$
|
||||||
|
\usepackage[$for(fontfamilyoptions)$$fontfamilyoptions$$sep$,$endfor$]{$fontfamily$}
|
||||||
|
$else$
|
||||||
|
\usepackage{lmodern}
|
||||||
|
$endif$
|
||||||
|
$if(linestretch)$
|
||||||
|
\usepackage{setspace}
|
||||||
|
\setstretch{$linestretch$}
|
||||||
|
$endif$
|
||||||
|
\usepackage{amssymb,amsmath}
|
||||||
|
\usepackage{ifxetex,ifluatex}
|
||||||
|
\usepackage{fixltx2e} % provides \textsubscript
|
||||||
|
\ifnum 0\ifxetex 1\fi\ifluatex 1\fi=0 % if pdftex
|
||||||
|
\usepackage[$if(fontenc)$$fontenc$$else$T1$endif$]{fontenc}
|
||||||
|
\usepackage[utf8]{inputenc}
|
||||||
|
$if(euro)$
|
||||||
|
\usepackage{eurosym}
|
||||||
|
$endif$
|
||||||
|
\else % if luatex or xelatex
|
||||||
|
$if(mathspec)$
|
||||||
|
\ifxetex
|
||||||
|
\usepackage{mathspec}
|
||||||
|
\else
|
||||||
|
\usepackage{unicode-math}
|
||||||
|
\fi
|
||||||
|
$else$
|
||||||
|
\usepackage{unicode-math}
|
||||||
|
$endif$
|
||||||
|
\defaultfontfeatures{Ligatures=TeX,Scale=MatchLowercase}
|
||||||
|
$for(fontfamilies)$
|
||||||
|
\newfontfamily{$fontfamilies.name$}[$fontfamilies.options$]{$fontfamilies.font$}
|
||||||
|
$endfor$
|
||||||
|
$if(euro)$
|
||||||
|
\newcommand{\euro}{€}
|
||||||
|
$endif$
|
||||||
|
$if(mainfont)$
|
||||||
|
\setmainfont[$for(mainfontoptions)$$mainfontoptions$$sep$,$endfor$]{$mainfont$}
|
||||||
|
$endif$
|
||||||
|
$if(sansfont)$
|
||||||
|
\setsansfont[$for(sansfontoptions)$$sansfontoptions$$sep$,$endfor$]{$sansfont$}
|
||||||
|
$endif$
|
||||||
|
$if(monofont)$
|
||||||
|
\setmonofont[Mapping=tex-ansi$if(monofontoptions)$,$for(monofontoptions)$$monofontoptions$$sep$,$endfor$$endif$]{$monofont$}
|
||||||
|
$endif$
|
||||||
|
$if(mathfont)$
|
||||||
|
$if(mathspec)$
|
||||||
|
\ifxetex
|
||||||
|
\setmathfont(Digits,Latin,Greek)[$for(mathfontoptions)$$mathfontoptions$$sep$,$endfor$]{$mathfont$}
|
||||||
|
\else
|
||||||
|
\setmathfont[$for(mathfontoptions)$$mathfontoptions$$sep$,$endfor$]{$mathfont$}
|
||||||
|
\fi
|
||||||
|
$else$
|
||||||
|
\setmathfont[$for(mathfontoptions)$$mathfontoptions$$sep$,$endfor$]{$mathfont$}
|
||||||
|
$endif$
|
||||||
|
$endif$
|
||||||
|
$if(CJKmainfont)$
|
||||||
|
\usepackage{xeCJK}
|
||||||
|
\setCJKmainfont[$for(CJKoptions)$$CJKoptions$$sep$,$endfor$]{$CJKmainfont$}
|
||||||
|
$endif$
|
||||||
|
\fi
|
||||||
|
% use upquote if available, for straight quotes in verbatim environments
|
||||||
|
\IfFileExists{upquote.sty}{\usepackage{upquote}}{}
|
||||||
|
% use microtype if available
|
||||||
|
\IfFileExists{microtype.sty}{%
|
||||||
|
\usepackage[$for(microtypeoptions)$$microtypeoptions$$sep$,$endfor$]{microtype}
|
||||||
|
\UseMicrotypeSet[protrusion]{basicmath} % disable protrusion for tt fonts
|
||||||
|
}{}
|
||||||
|
\PassOptionsToPackage{hyphens}{url} % url is loaded by hyperref
|
||||||
|
$if(verbatim-in-note)$
|
||||||
|
\usepackage{fancyvrb}
|
||||||
|
$endif$
|
||||||
|
\usepackage[unicode=true]{hyperref}
|
||||||
|
$if(colorlinks)$
|
||||||
|
\PassOptionsToPackage{usenames,dvipsnames}{color} % color is loaded by hyperref
|
||||||
|
$endif$
|
||||||
|
\hypersetup{
|
||||||
|
$if(title-meta)$
|
||||||
|
pdftitle={$title-meta$},
|
||||||
|
$endif$
|
||||||
|
$if(author-meta)$
|
||||||
|
pdfauthor={$author-meta$},
|
||||||
|
$endif$
|
||||||
|
$if(keywords)$
|
||||||
|
pdfkeywords={$for(keywords)$$keywords$$sep$, $endfor$},
|
||||||
|
$endif$
|
||||||
|
$if(colorlinks)$
|
||||||
|
colorlinks=true,
|
||||||
|
linkcolor=$if(linkcolor)$$linkcolor$$else$Maroon$endif$,
|
||||||
|
citecolor=$if(citecolor)$$citecolor$$else$Blue$endif$,
|
||||||
|
urlcolor=$if(urlcolor)$$urlcolor$$else$Blue$endif$,
|
||||||
|
$else$
|
||||||
|
pdfborder={0 0 0},
|
||||||
|
$endif$
|
||||||
|
breaklinks=true}
|
||||||
|
\urlstyle{same} % don't use monospace font for urls
|
||||||
|
$if(verbatim-in-note)$
|
||||||
|
\VerbatimFootnotes % allows verbatim text in footnotes
|
||||||
|
$endif$
|
||||||
|
$if(geometry)$
|
||||||
|
\usepackage[$for(geometry)$$geometry$$sep$,$endfor$]{geometry}
|
||||||
|
$endif$
|
||||||
|
$if(lang)$
|
||||||
|
\ifnum 0\ifxetex 1\fi\ifluatex 1\fi=0 % if pdftex
|
||||||
|
\usepackage[shorthands=off,$for(babel-otherlangs)$$babel-otherlangs$,$endfor$main=$babel-lang$]{babel}
|
||||||
|
$if(babel-newcommands)$
|
||||||
|
$babel-newcommands$
|
||||||
|
$endif$
|
||||||
|
\else
|
||||||
|
\usepackage{polyglossia}
|
||||||
|
\setmainlanguage[$polyglossia-lang.options$]{$polyglossia-lang.name$}
|
||||||
|
$for(polyglossia-otherlangs)$
|
||||||
|
\setotherlanguage[$polyglossia-otherlangs.options$]{$polyglossia-otherlangs.name$}
|
||||||
|
$endfor$
|
||||||
|
\fi
|
||||||
|
$endif$
|
||||||
|
$if(natbib)$
|
||||||
|
\usepackage{natbib}
|
||||||
|
\bibliographystyle{$if(biblio-style)$$biblio-style$$else$plainnat$endif$}
|
||||||
|
$endif$
|
||||||
|
$if(biblatex)$
|
||||||
|
\usepackage[$if(biblio-style)$style=$biblio-style$,$endif$$for(biblatexoptions)$$biblatexoptions$$sep$,$endfor$]{biblatex}
|
||||||
|
$for(bibliography)$
|
||||||
|
\addbibresource{$bibliography$}
|
||||||
|
$endfor$
|
||||||
|
$endif$
|
||||||
|
$if(listings)$
|
||||||
|
\usepackage{listings}
|
||||||
|
$endif$
|
||||||
|
$if(lhs)$
|
||||||
|
\lstnewenvironment{code}{\lstset{language=Haskell,basicstyle=\small\ttfamily}}{}
|
||||||
|
$endif$
|
||||||
|
$if(highlighting-macros)$
|
||||||
|
$highlighting-macros$
|
||||||
|
$endif$
|
||||||
|
$if(tables)$
|
||||||
|
\usepackage{longtable,booktabs}
|
||||||
|
% Fix footnotes in tables (requires footnote package)
|
||||||
|
\IfFileExists{footnote.sty}{\usepackage{footnote}\makesavenoteenv{long table}}{}
|
||||||
|
$endif$
|
||||||
|
$if(graphics)$
|
||||||
|
\usepackage{graphicx,grffile}
|
||||||
|
\makeatletter
|
||||||
|
\def\maxwidth{\ifdim\Gin@nat@width>\linewidth\linewidth\else\Gin@nat@width\fi}
|
||||||
|
\def\maxheight{\ifdim\Gin@nat@height>\textheight\textheight\else\Gin@nat@height\fi}
|
||||||
|
\makeatother
|
||||||
|
% Scale images if necessary, so that they will not overflow the page
|
||||||
|
% margins by default, and it is still possible to overwrite the defaults
|
||||||
|
% using explicit options in \includegraphics[width, height, ...]{}
|
||||||
|
\setkeys{Gin}{width=\maxwidth,height=\maxheight,keepaspectratio}
|
||||||
|
$endif$
|
||||||
|
$if(links-as-notes)$
|
||||||
|
% Make links footnotes instead of hotlinks:
|
||||||
|
\renewcommand{\href}[2]{#2\footnote{\url{#1}}}
|
||||||
|
$endif$
|
||||||
|
$if(strikeout)$
|
||||||
|
\usepackage[normalem]{ulem}
|
||||||
|
% avoid problems with \sout in headers with hyperref:
|
||||||
|
\pdfstringdefDisableCommands{\renewcommand{\sout}{}}
|
||||||
|
$endif$
|
||||||
|
$if(indent)$
|
||||||
|
$else$
|
||||||
|
\IfFileExists{parskip.sty}{%
|
||||||
|
\usepackage{parskip}
|
||||||
|
}{% else
|
||||||
|
\setlength{\parindent}{0pt}
|
||||||
|
\setlength{\parskip}{6pt plus 2pt minus 1pt}
|
||||||
|
}
|
||||||
|
$endif$
|
||||||
|
\setlength{\emergencystretch}{3em} % prevent overfull lines
|
||||||
|
\providecommand{\tightlist}{%
|
||||||
|
\setlength{\itemsep}{0pt}\setlength{\parskip}{0pt}}
|
||||||
|
$if(numbersections)$
|
||||||
|
\setcounter{secnumdepth}{$if(secnumdepth)$$secnumdepth$$else$5$endif$}
|
||||||
|
$else$
|
||||||
|
\setcounter{secnumdepth}{0}
|
||||||
|
$endif$
|
||||||
|
$if(subparagraph)$
|
||||||
|
$else$
|
||||||
|
% Redefines (sub)paragraphs to behave more like sections
|
||||||
|
\ifx\paragraph\undefined\else
|
||||||
|
\let\oldparagraph\paragraph
|
||||||
|
\renewcommand{\paragraph}[1]{\oldparagraph{#1}\mbox{}}
|
||||||
|
\fi
|
||||||
|
\ifx\subparagraph\undefined\else
|
||||||
|
\let\oldsubparagraph\subparagraph
|
||||||
|
\renewcommand{\subparagraph}[1]{\oldsubparagraph{#1}\mbox{}}
|
||||||
|
\fi
|
||||||
|
$endif$
|
||||||
|
$if(dir)$
|
||||||
|
\ifxetex
|
||||||
|
% load bidi as late as possible as it modifies e.g. graphicx
|
||||||
|
$if(latex-dir-rtl)$
|
||||||
|
\usepackage[RTLdocument]{bidi}
|
||||||
|
$else$
|
||||||
|
\usepackage{bidi}
|
||||||
|
$endif$
|
||||||
|
\fi
|
||||||
|
\ifnum 0\ifxetex 1\fi\ifluatex 1\fi=0 % if pdftex
|
||||||
|
\TeXXeTstate=1
|
||||||
|
\newcommand{\RL}[1]{\beginR #1\endR}
|
||||||
|
\newcommand{\LR}[1]{\beginL #1\endL}
|
||||||
|
\newenvironment{RTL}{\beginR}{\endR}
|
||||||
|
\newenvironment{LTR}{\beginL}{\endL}
|
||||||
|
\fi
|
||||||
|
$endif$
|
||||||
|
|
||||||
|
% set default figure placement to htbp
|
||||||
|
\makeatletter
|
||||||
|
\def\fps@figure{htbp}
|
||||||
|
\makeatother
|
||||||
|
|
||||||
|
$for(header-includes)$
|
||||||
|
$header-includes$
|
||||||
|
$endfor$
|
||||||
|
|
||||||
|
$if(title)$
|
||||||
|
\title{$title$$if(thanks)$\thanks{$thanks$}$endif$}
|
||||||
|
$endif$
|
||||||
|
$if(subtitle)$
|
||||||
|
\providecommand{\subtitle}[1]{}
|
||||||
|
\subtitle{$subtitle$}
|
||||||
|
$endif$
|
||||||
|
$if(author)$
|
||||||
|
\author{$for(author)$$author$$sep$ \and $endfor$}
|
||||||
|
$endif$
|
||||||
|
$if(institute)$
|
||||||
|
\providecommand{\institute}[1]{}
|
||||||
|
\institute{$for(institute)$$institute$$sep$ \and $endfor$}
|
||||||
|
$endif$
|
||||||
|
\date{$date$}
|
||||||
|
|
||||||
|
\begin{document}
|
||||||
|
$if(title)$
|
||||||
|
\maketitle
|
||||||
|
$endif$
|
||||||
|
$if(abstract)$
|
||||||
|
\begin{abstract}
|
||||||
|
$abstract$
|
||||||
|
\end{abstract}
|
||||||
|
$endif$
|
||||||
|
|
||||||
|
$for(include-before)$
|
||||||
|
$include-before$
|
||||||
|
|
||||||
|
$endfor$
|
||||||
|
$if(toc)$
|
||||||
|
{
|
||||||
|
$if(colorlinks)$
|
||||||
|
\hypersetup{linkcolor=$if(toccolor)$$toccolor$$else$black$endif$}
|
||||||
|
$endif$
|
||||||
|
\setcounter{tocdepth}{$toc-depth$}
|
||||||
|
\tableofcontents
|
||||||
|
}
|
||||||
|
$endif$
|
||||||
|
$if(lot)$
|
||||||
|
\listoftables
|
||||||
|
$endif$
|
||||||
|
$if(lof)$
|
||||||
|
\listoffigures
|
||||||
|
$endif$
|
||||||
|
$body$
|
||||||
|
|
||||||
|
$if(natbib)$
|
||||||
|
$if(bibliography)$
|
||||||
|
$if(biblio-title)$
|
||||||
|
$if(book-class)$
|
||||||
|
\renewcommand\bibname{$biblio-title$}
|
||||||
|
$else$
|
||||||
|
\renewcommand\refname{$biblio-title$}
|
||||||
|
$endif$
|
||||||
|
$endif$
|
||||||
|
\bibliography{$for(bibliography)$$bibliography$$sep$,$endfor$}
|
||||||
|
|
||||||
|
$endif$
|
||||||
|
$endif$
|
||||||
|
$if(biblatex)$
|
||||||
|
\printbibliography$if(biblio-title)$[title=$biblio-title$]$endif$
|
||||||
|
|
||||||
|
$endif$
|
||||||
|
$for(include-after)$
|
||||||
|
$include-after$
|
||||||
|
|
||||||
|
$endfor$
|
||||||
|
\end{document}
|
Loading…
Reference in new issue