diff --git a/LICENSE b/LICENSE new file mode 100644 index 0000000..203e0da --- /dev/null +++ b/LICENSE @@ -0,0 +1,103 @@ +Creative Commons Attribution-ShareAlike 4.0 International Public License + +By exercising the Licensed Rights (defined below), You accept and agree to be bound by the terms and conditions of this Creative Commons Attribution-ShareAlike 4.0 International Public License ("Public License"). To the extent this Public License may be interpreted as a contract, You are granted the Licensed Rights in consideration of Your acceptance of these terms and conditions, and the Licensor grants You such rights in consideration of benefits the Licensor receives from making the Licensed Material available under these terms and conditions. + +Section 1 – Definitions. + + Adapted Material means material subject to Copyright and Similar Rights that is derived from or based upon the Licensed Material and in which the Licensed Material is translated, altered, arranged, transformed, or otherwise modified in a manner requiring permission under the Copyright and Similar Rights held by the Licensor. For purposes of this Public License, where the Licensed Material is a musical work, performance, or sound recording, Adapted Material is always produced where the Licensed Material is synched in timed relation with a moving image. + Adapter's License means the license You apply to Your Copyright and Similar Rights in Your contributions to Adapted Material in accordance with the terms and conditions of this Public License. + BY-SA Compatible License means a license listed at creativecommons.org/compatiblelicenses, approved by Creative Commons as essentially the equivalent of this Public License. + Copyright and Similar Rights means copyright and/or similar rights closely related to copyright including, without limitation, performance, broadcast, sound recording, and Sui Generis Database Rights, without regard to how the rights are labeled or categorized. For purposes of this Public License, the rights specified in Section 2(b)(1)-(2) are not Copyright and Similar Rights. + Effective Technological Measures means those measures that, in the absence of proper authority, may not be circumvented under laws fulfilling obligations under Article 11 of the WIPO Copyright Treaty adopted on December 20, 1996, and/or similar international agreements. + Exceptions and Limitations means fair use, fair dealing, and/or any other exception or limitation to Copyright and Similar Rights that applies to Your use of the Licensed Material. + License Elements means the license attributes listed in the name of a Creative Commons Public License. The License Elements of this Public License are Attribution and ShareAlike. + Licensed Material means the artistic or literary work, database, or other material to which the Licensor applied this Public License. + Licensed Rights means the rights granted to You subject to the terms and conditions of this Public License, which are limited to all Copyright and Similar Rights that apply to Your use of the Licensed Material and that the Licensor has authority to license. + Licensor means the individual(s) or entity(ies) granting rights under this Public License. + Share means to provide material to the public by any means or process that requires permission under the Licensed Rights, such as reproduction, public display, public performance, distribution, dissemination, communication, or importation, and to make material available to the public including in ways that members of the public may access the material from a place and at a time individually chosen by them. + Sui Generis Database Rights means rights other than copyright resulting from Directive 96/9/EC of the European Parliament and of the Council of 11 March 1996 on the legal protection of databases, as amended and/or succeeded, as well as other essentially equivalent rights anywhere in the world. + You means the individual or entity exercising the Licensed Rights under this Public License. Your has a corresponding meaning. + +Section 2 – Scope. + + License grant. + Subject to the terms and conditions of this Public License, the Licensor hereby grants You a worldwide, royalty-free, non-sublicensable, non-exclusive, irrevocable license to exercise the Licensed Rights in the Licensed Material to: + reproduce and Share the Licensed Material, in whole or in part; and + produce, reproduce, and Share Adapted Material. + Exceptions and Limitations. For the avoidance of doubt, where Exceptions and Limitations apply to Your use, this Public License does not apply, and You do not need to comply with its terms and conditions. + Term. The term of this Public License is specified in Section 6(a). + Media and formats; technical modifications allowed. The Licensor authorizes You to exercise the Licensed Rights in all media and formats whether now known or hereafter created, and to make technical modifications necessary to do so. The Licensor waives and/or agrees not to assert any right or authority to forbid You from making technical modifications necessary to exercise the Licensed Rights, including technical modifications necessary to circumvent Effective Technological Measures. For purposes of this Public License, simply making modifications authorized by this Section 2(a)(4) never produces Adapted Material. + Downstream recipients. + Offer from the Licensor – Licensed Material. Every recipient of the Licensed Material automatically receives an offer from the Licensor to exercise the Licensed Rights under the terms and conditions of this Public License. + Additional offer from the Licensor – Adapted Material. Every recipient of Adapted Material from You automatically receives an offer from the Licensor to exercise the Licensed Rights in the Adapted Material under the conditions of the Adapter’s License You apply. + No downstream restrictions. You may not offer or impose any additional or different terms or conditions on, or apply any Effective Technological Measures to, the Licensed Material if doing so restricts exercise of the Licensed Rights by any recipient of the Licensed Material. + No endorsement. Nothing in this Public License constitutes or may be construed as permission to assert or imply that You are, or that Your use of the Licensed Material is, connected with, or sponsored, endorsed, or granted official status by, the Licensor or others designated to receive attribution as provided in Section 3(a)(1)(A)(i). + + Other rights. + Moral rights, such as the right of integrity, are not licensed under this Public License, nor are publicity, privacy, and/or other similar personality rights; however, to the extent possible, the Licensor waives and/or agrees not to assert any such rights held by the Licensor to the limited extent necessary to allow You to exercise the Licensed Rights, but not otherwise. + Patent and trademark rights are not licensed under this Public License. + To the extent possible, the Licensor waives any right to collect royalties from You for the exercise of the Licensed Rights, whether directly or through a collecting society under any voluntary or waivable statutory or compulsory licensing scheme. In all other cases the Licensor expressly reserves any right to collect such royalties. + +Section 3 – License Conditions. + +Your exercise of the Licensed Rights is expressly made subject to the following conditions. + + Attribution. + + If You Share the Licensed Material (including in modified form), You must: + retain the following if it is supplied by the Licensor with the Licensed Material: + identification of the creator(s) of the Licensed Material and any others designated to receive attribution, in any reasonable manner requested by the Licensor (including by pseudonym if designated); + a copyright notice; + a notice that refers to this Public License; + a notice that refers to the disclaimer of warranties; + a URI or hyperlink to the Licensed Material to the extent reasonably practicable; + indicate if You modified the Licensed Material and retain an indication of any previous modifications; and + indicate the Licensed Material is licensed under this Public License, and include the text of, or the URI or hyperlink to, this Public License. + You may satisfy the conditions in Section 3(a)(1) in any reasonable manner based on the medium, means, and context in which You Share the Licensed Material. For example, it may be reasonable to satisfy the conditions by providing a URI or hyperlink to a resource that includes the required information. + If requested by the Licensor, You must remove any of the information required by Section 3(a)(1)(A) to the extent reasonably practicable. + ShareAlike. + + In addition to the conditions in Section 3(a), if You Share Adapted Material You produce, the following conditions also apply. + The Adapter’s License You apply must be a Creative Commons license with the same License Elements, this version or later, or a BY-SA Compatible License. + You must include the text of, or the URI or hyperlink to, the Adapter's License You apply. You may satisfy this condition in any reasonable manner based on the medium, means, and context in which You Share Adapted Material. + You may not offer or impose any additional or different terms or conditions on, or apply any Effective Technological Measures to, Adapted Material that restrict exercise of the rights granted under the Adapter's License You apply. + +Section 4 – Sui Generis Database Rights. + +Where the Licensed Rights include Sui Generis Database Rights that apply to Your use of the Licensed Material: + + for the avoidance of doubt, Section 2(a)(1) grants You the right to extract, reuse, reproduce, and Share all or a substantial portion of the contents of the database; + if You include all or a substantial portion of the database contents in a database in which You have Sui Generis Database Rights, then the database in which You have Sui Generis Database Rights (but not its individual contents) is Adapted Material, including for purposes of Section 3(b); and + You must comply with the conditions in Section 3(a) if You Share all or a substantial portion of the contents of the database. + +For the avoidance of doubt, this Section 4 supplements and does not replace Your obligations under this Public License where the Licensed Rights include other Copyright and Similar Rights. + +Section 5 – Disclaimer of Warranties and Limitation of Liability. + + Unless otherwise separately undertaken by the Licensor, to the extent possible, the Licensor offers the Licensed Material as-is and as-available, and makes no representations or warranties of any kind concerning the Licensed Material, whether express, implied, statutory, or other. This includes, without limitation, warranties of title, merchantability, fitness for a particular purpose, non-infringement, absence of latent or other defects, accuracy, or the presence or absence of errors, whether or not known or discoverable. Where disclaimers of warranties are not allowed in full or in part, this disclaimer may not apply to You. + To the extent possible, in no event will the Licensor be liable to You on any legal theory (including, without limitation, negligence) or otherwise for any direct, special, indirect, incidental, consequential, punitive, exemplary, or other losses, costs, expenses, or damages arising out of this Public License or use of the Licensed Material, even if the Licensor has been advised of the possibility of such losses, costs, expenses, or damages. Where a limitation of liability is not allowed in full or in part, this limitation may not apply to You. + + The disclaimer of warranties and limitation of liability provided above shall be interpreted in a manner that, to the extent possible, most closely approximates an absolute disclaimer and waiver of all liability. + +Section 6 – Term and Termination. + + This Public License applies for the term of the Copyright and Similar Rights licensed here. However, if You fail to comply with this Public License, then Your rights under this Public License terminate automatically. + + Where Your right to use the Licensed Material has terminated under Section 6(a), it reinstates: + automatically as of the date the violation is cured, provided it is cured within 30 days of Your discovery of the violation; or + upon express reinstatement by the Licensor. + For the avoidance of doubt, this Section 6(b) does not affect any right the Licensor may have to seek remedies for Your violations of this Public License. + For the avoidance of doubt, the Licensor may also offer the Licensed Material under separate terms or conditions or stop distributing the Licensed Material at any time; however, doing so will not terminate this Public License. + Sections 1, 5, 6, 7, and 8 survive termination of this Public License. + +Section 7 – Other Terms and Conditions. + + The Licensor shall not be bound by any additional or different terms or conditions communicated by You unless expressly agreed. + Any arrangements, understandings, or agreements regarding the Licensed Material not stated herein are separate from and independent of the terms and conditions of this Public License. + +Section 8 – Interpretation. + + For the avoidance of doubt, this Public License does not, and shall not be interpreted to, reduce, limit, restrict, or impose conditions on any use of the Licensed Material that could lawfully be made without permission under this Public License. + To the extent possible, if any provision of this Public License is deemed unenforceable, it shall be automatically reformed to the minimum extent necessary to make it enforceable. If the provision cannot be reformed, it shall be severed from this Public License without affecting the enforceability of the remaining terms and conditions. + No term or condition of this Public License will be waived and no failure to comply consented to unless expressly agreed to by the Licensor. + Nothing in this Public License constitutes or may be interpreted as a limitation upon, or waiver of, any privileges and immunities that apply to the Licensor or You, including from the legal processes of any jurisdiction or authority. diff --git a/Makefile b/Makefile new file mode 100644 index 0000000..55e535f --- /dev/null +++ b/Makefile @@ -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 diff --git a/README.md b/README.md index e69de29..9e83037 100644 --- a/README.md +++ b/README.md @@ -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 + + + diff --git a/bin/Dockerfile b/bin/Dockerfile new file mode 100644 index 0000000..f34222d --- /dev/null +++ b/bin/Dockerfile @@ -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 \ No newline at end of file diff --git a/bin/pandoc-3.0.1-1-amd64.deb b/bin/pandoc-3.0.1-1-amd64.deb new file mode 100644 index 0000000..0c57424 Binary files /dev/null and b/bin/pandoc-3.0.1-1-amd64.deb differ diff --git a/docker-compose.yml b/docker-compose.yml new file mode 100644 index 0000000..5c8b012 --- /dev/null +++ b/docker-compose.yml @@ -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" + diff --git a/output/hausarbeit.pdf b/output/hausarbeit.pdf new file mode 100644 index 0000000..eda6b63 Binary files /dev/null and b/output/hausarbeit.pdf differ diff --git a/source/00_titlepage.tex b/source/00_titlepage.tex new file mode 100644 index 0000000..f775584 --- /dev/null +++ b/source/00_titlepage.tex @@ -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. \\ % bei Bachelor-/Master-/Diplomarbeit bitte angeben, ansonsten weglassen + Zweitgutachter: Prof. Dr. % bei Bachelor-/Master-/Diplomarbeit bitte angeben, ansonsten weglassen +\end{titlepage} diff --git a/source/01_verzeichnisse.md b/source/01_verzeichnisse.md new file mode 100644 index 0000000..44451b5 --- /dev/null +++ b/source/01_verzeichnisse.md @@ -0,0 +1,13 @@ +\pagenumbering{Roman} + +\tableofcontents +\pagebreak + +\listoffigures +\pagebreak + +\listoftables + +\pagebreak + +\pagenumbering{arabic} diff --git a/source/02_einleitung.md b/source/02_einleitung.md new file mode 100644 index 0000000..3a3a129 --- /dev/null +++ b/source/02_einleitung.md @@ -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 + + + + +\pagebreak diff --git a/source/03_elemente.md b/source/03_elemente.md new file mode 100644 index 0000000..33f7331 --- /dev/null +++ b/source/03_elemente.md @@ -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 + + + + +``` + +## 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 \ No newline at end of file diff --git a/source/04_tabellen.md b/source/04_tabellen.md new file mode 100644 index 0000000..77d4546 --- /dev/null +++ b/source/04_tabellen.md @@ -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 diff --git a/source/06_bibliography.md b/source/06_bibliography.md new file mode 100644 index 0000000..e36432f --- /dev/null +++ b/source/06_bibliography.md @@ -0,0 +1,3 @@ +\pagebreak + +# Quellenverzeichnis diff --git a/source/98_appendix.tex b/source/98_appendix.tex new file mode 100644 index 0000000..b339254 --- /dev/null +++ b/source/98_appendix.tex @@ -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 diff --git a/source/99_eidesstaatliche.tex b/source/99_eidesstaatliche.tex new file mode 100644 index 0000000..4ecfde3 --- /dev/null +++ b/source/99_eidesstaatliche.tex @@ -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} diff --git a/source/img/graph.png b/source/img/graph.png new file mode 100644 index 0000000..3c6098e Binary files /dev/null and b/source/img/graph.png differ diff --git a/source/img/headerLogos.png b/source/img/headerLogos.png new file mode 100644 index 0000000..11fd346 Binary files /dev/null and b/source/img/headerLogos.png differ diff --git a/source/references.bib b/source/references.bib new file mode 100644 index 0000000..f19e077 --- /dev/null +++ b/source/references.bib @@ -0,0 +1,232 @@ + +@article{muller_editorial:_2016, + title = {Editorial: {Problem}-based {Learning}-{Kompetenzen} fördern, {Zukunft} gestalten}, + shorttitle = {Editorial}, + url = {http://www.zfhe.at/index.php/zfhe/article/download/889/735}, + urldate = {2016-07-18}, + journal = {Zeitschrift für Hochschulentwicklung}, + author = {Müller, Claude and Schäfer, Monika and Thomann, Geri}, + year = {2016}, + note = {bibtex: muller\_editorial:\_2016}, + file = {889-4073-3-PB.pdf:/home/michael/.zotero/zotero/fjbsk2fd.default/zotero/storage/F9AC847M/889-4073-3-PB.pdf:application/pdf} +} + +@book{walker_essential_2015, + address = {West Lafayette, Indiana}, + title = {Essential readings in problem-based learning: exploring and extending the legacy of {Howard} {S}. {Barrows}}, + isbn = {978-1-55753-682-2 978-1-61249-367-1}, + shorttitle = {Essential readings in problem-based learning}, + url = {https://books.google.de/books?id=KhF-BgAAQBAJ&pg=PR2&lpg=PR2&dq=978-1-55753-+682-2&source=bl&ots=avnbtYkwTo&sig=P9mSCuOUKESPyERV2jx-jzHgYNA&hl=de&sa=X&ved=0ahUKEwi5nf7Y-_zNAhVKJsAKHdjIAHsQ6AEIITAA#v=onepage&q&f=true}, + language = {eng}, + publisher = {Purdue University Press}, + editor = {Walker, Andrew and Leary, Heather and Hmelo-Silver, Cindy E. and Ertmer, Peggy A.}, + year = {2015}, + note = {OCLC: 934641035 +bibtex: walker\_essential\_2015}, + keywords = {Barrows, Howard S, Problem-based learning}, + file = {Table of Contents PDF:/home/michael/.zotero/zotero/fjbsk2fd.default/zotero/storage/N7289EW6/Walker et al. - 2015 - Essential readings in problem-based learning expl.pdf:application/pdf} +} + +@article{reusser_problemorientiertes_2005, + title = {Problemorientiertes {Lernen}–{Tiefenstruktur}, {Gestaltungsformen}, {Wirkung}}, + volume = {23}, + url = {http://www.fhnw.ch/sozialearbeit/intranet/studierende/studiengang-soziale-arbeit-olten-und-basel/master/reusser_2005.pdf}, + number = {2}, + urldate = {2016-08-13}, + journal = {Beiträge zur Lehrerbildung}, + author = {Reusser, Kurt}, + year = {2005}, + note = {bibtex: reusser\_problemorientiertes\_2005}, + pages = {159--182}, + file = {BZL_2005_2_159-182.pdf:/home/michael/.zotero/zotero/fjbsk2fd.default/zotero/storage/R53TIZZX/BZL_2005_2_159-182.pdf:application/pdf} +} + +@book{muller_problem-based_2016, + title = {Problem-based {Learning} {Kompetenzen} fördern, {Zukunft} gestalten}, + isbn = {978-3-7392-4378-8}, + url = {https://books.google.de/books?id=CPgwDAAAQBAJ&pg=PT149&lpg=PT149&dq=Implementation+von+Problem+based+learning.+M%C3%BCller&source=bl&ots=1FwLLbQ8iC&sig=ml6nL5MVtzfWhmlzY1odsIvuByU&hl=de&sa=X&ved=0ahUKEwiKzpyQr_jNAhXGuRQKHZerBJ8Q6AEISTAG#v=onepage&q=Implementation%20von%20Problem%20based%20learning.%20M%C3%BCller&f=false}, + language = {German}, + author = {Müller, Claude and Schäfer, Monika and Thomann, Geri and {Books on Demand GmbH}}, + year = {2016}, + note = {OCLC: 950030741 +bibtex: muller\_problem-based\_2016} +} + +@article{euler_situiertes_2012, + title = {Situiertes {Lernen}: {Wie} sieht ein gutes {Problem} aus?}, + url = {http://edudoc.ch/record/103848/files/Folio-12-03.pdf}, + number = {3}, + urldate = {2016-08-14}, + journal = {FO-Publ.}, + author = {Euler, Dieter}, + year = {2012}, + note = {bibtex: euler\_situiertes\_2012}, + file = {1203_claude_müller_definitiv.pdf:/home/michael/.zotero/zotero/fjbsk2fd.default/zotero/storage/ZPT33DCV/1203_claude_müller_definitiv.pdf:application/pdf} +} + +@article{weber_problem-based_????, + title = {Problem-{Based} {Learning}–{Ansatz} zur {Verknüpfung} von {The}-orie und {Praxis}}, + url = {https://www.bzl-online.ch/archivdownload/artikel/BZL_2005_1_94-104.pdf}, + urldate = {2016-08-14}, + author = {Weber, Agnes}, + file = {BZL_2005_1_94-104.pdf:/home/michael/.zotero/zotero/fjbsk2fd.default/zotero/storage/36GG7C3G/BZL_2005_1_94-104.pdf:application/pdf} +} + +@book{tong_geoscience_2014, + address = {Dordrecht}, + series = {Innovations in science education and technology}, + title = {Geoscience research and outreach: schools and public engagement}, + isbn = {978-94-007-6943-4 978-94-007-6942-7}, + shorttitle = {Geoscience research and outreach}, + language = {eng}, + number = {21}, + publisher = {Springer}, + editor = {Tong, Vincent C. H.}, + year = {2014}, + note = {OCLC: 936072619}, + keywords = {Aufsatzsammlung, Earth sciences, Forschung, Geowissenschaften, Study and teaching} +} + +@article{leeb_einfuhrung_2016, + title = {Einführung und {Optimierung} eines praxisorientierten {Problem}-based-{Learning}-{Moduls} im {Life}-{Science}-{Bereich}}, + url = {http://www.zfhe.at/index.php/zfhe/article/view/897}, + urldate = {2016-08-15}, + journal = {Zeitschrift für Hochschulentwicklung}, + author = {Leeb, Christine and Leitner, Rita and Pichler, Verena and Huber-Gries, Carina and Rünzler, Dominik and Jesenberger, Veronika}, + year = {2016}, + file = {897-4015-3-PB.pdf:/home/michael/.zotero/zotero/fjbsk2fd.default/zotero/storage/PDQQM8AE/897-4015-3-PB.pdf:application/pdf} +} + +@article{schroeder_entwicklung_2016, + title = {Entwicklung {Problembasierter} {Curricula}}, + url = {http://www.zfhe.at/index.php/zfhe/article/download/950/719}, + urldate = {2016-08-30}, + journal = {Zeitschrift für Hochschulentwicklung}, + author = {Schroeder, Gabriele}, + year = {2016}, + file = {950-4026-2-PB.pdf:/home/michael/.zotero/zotero/fjbsk2fd.default/zotero/storage/A5MTFUQ3/950-4026-2-PB.pdf:application/pdf} +} + +@book{weber_problem-based_2007, + address = {Bern}, + edition = {2., überarb. Aufl}, + title = {Problem-based learning: ein {Handbuch} für die {Ausbildung} auf der {Sekundarstufe} {II} und der {Tertiärstufe}}, + isbn = {978-3-03905-381-0}, + shorttitle = {Problem-based learning}, + language = {ger}, + publisher = {hep-Verl}, + author = {Weber, Agnes}, + year = {2007}, + note = {OCLC: 180167524}, + keywords = {Problemorientiertes Lernen, Sekundarstufe 2, Tertiärbereich, Unterricht}, + file = {Table of Contents PDF:/home/michael/.zotero/zotero/fjbsk2fd.default/zotero/storage/7RNZ4JMV/Weber - 2007 - Problem-based learning ein Handbuch für die Ausbi.pdf:application/pdf} +} + +@book{lambros_problem-based_2002, + address = {Thousand Oaks, Calif}, + title = {Problem-based learning in {K}-8 classrooms: a teacher's guide to implementation}, + isbn = {978-0-7619-4533-8 978-0-7619-4534-5}, + shorttitle = {Problem-based learning in {K}-8 classrooms}, + publisher = {Corwin Press}, + author = {Lambros, Ann}, + year = {2002}, + keywords = {Problem-based learning, Problem-solving, Study and teaching (Elementary)} +} + +@book{hattie_lernen_2013, + address = {Baltmannsweiler}, + title = {Lernen sichtbar machen}, + isbn = {978-3-8340-1190-9}, + language = {ger}, + publisher = {Schneider-Verl. Hohengehren}, + author = {Hattie, John and Beywl, Wolfgang and Zierer, Klaus}, + year = {2013}, + note = {OCLC: 844027245}, + keywords = {Effective teaching Longitudinal studies, Empirische Pädagogik, Längsschnittuntersuchung, Learning Longitudinal studies, Lehr-Lern-Forschung, Lernerfolg, Lernsituation, Teacher effectiveness Longitudinal studies, Unterrichtsführung}, + file = {Table of Contents PDF:/home/michael/.zotero/zotero/fjbsk2fd.default/zotero/storage/GIVV6G9A/Hattie et al. - 2013 - Lernen sichtbar machen.pdf:application/pdf} +} + +@article{walker_problem_2009, + title = {A {Problem} {Based} {Learning} {Meta} {Analysis}: {Differences} {Across} {Problem} {Types}, {Implementation} {Types}, {Disciplines}, and {Assessment} {Levels}}, + volume = {3}, + issn = {1541-5015}, + shorttitle = {A {Problem} {Based} {Learning} {Meta} {Analysis}}, + url = {http://docs.lib.purdue.edu/ijpbl/vol3/iss1/3}, + doi = {10.7771/1541-5015.1061}, + language = {en}, + number = {1}, + urldate = {2016-09-11}, + journal = {Interdisciplinary Journal of Problem-Based Learning}, + author = {Walker, Andrew and Leary, Heather}, + month = mar, + year = {2009}, + file = {A Problem Based Learning Meta Analysis_ Differences Across Probl.pdf:/home/michael/.zotero/zotero/fjbsk2fd.default/zotero/storage/JCE89HQV/A Problem Based Learning Meta Analysis_ Differences Across Probl.pdf:application/pdf} +} + +@article{strobel_when_2009, + title = {When is {PBL} {More} {Effective}? {A} {Meta}-synthesis of {Meta}-analyses {Comparing} {PBL} to {Conventional} {Classrooms}}, + volume = {3}, + issn = {1541-5015}, + shorttitle = {When is {PBL} {More} {Effective}?}, + url = {http://docs.lib.purdue.edu/ijpbl/vol3/iss1/4}, + doi = {10.7771/1541-5015.1046}, + language = {en}, + number = {1}, + urldate = {2016-09-15}, + journal = {Interdisciplinary Journal of Problem-Based Learning}, + author = {Strobel, Johannes and van Barneveld, Angela}, + month = mar, + year = {2009}, + note = {bibtex: strobel\_when\_2009}, + file = {When is PBL More Effective_ A Meta-synthesis of Meta-analyses Com.pdf:/home/michael/.zotero/zotero/fjbsk2fd.default/zotero/storage/XDVPEP38/When is PBL More Effective_ A Meta-synthesis of Meta-analyses Com.pdf:application/pdf} +} + +@book{barrows_problem-based_1980, + address = {New York}, + series = {Springer series on medical education}, + title = {Problem-based learning: an approach to medical education}, + isbn = {978-0-8261-2840-9 978-0-8261-2841-6}, + shorttitle = {Problem-based learning}, + number = {v. 1}, + publisher = {Springer Pub. Co}, + author = {Barrows, Howard S. and Tamblyn, Robyn M.}, + year = {1980}, + note = {bibtex: barrows\_problem-based\_1980}, + keywords = {Clinical medicine, Education, Medical, Learning, Medical logic, Problem-based learning, Problem solving, Study and teaching} +} + +@book{tobias_constructivist_2009, + address = {New York}, + title = {Constructivist instruction: success or failure?}, + isbn = {978-0-415-99423-1 978-0-415-99424-8 978-0-203-87884-2}, + shorttitle = {Constructivist instruction}, + abstract = {'Constructivist Theory Applied to Instruction' brings together leading thinkers from both sides of the hotly debated controversy over constructivist versus behavioral approaches to instruction.}, + language = {English}, + publisher = {Routledge}, + author = {Tobias, Sigmund and Duffy, Thomas M}, + year = {2009}, + note = {OCLC: 304386210} +} + +@misc{bmk, + title = {Berufliche Schule für Medien und Kommunikation}, + url = {http://www.bmk- +hh.de/mediengestalter-digital-und-print.html}, + urldate = {2016-07-17} +} + +@misc{heise, + title = {CSS-Präprozessoren im Vergleich}, + author = {Roberto Bez}, + url = {http://www.heise.de/developer/artikel/CSS-Praeprozessoren-im-Vergleich-2288284.html}, + year = {2014}, + urldate = {2016-08-14} +} + +@misc{t3n, + title = {Sass vs. Less: So findest du den richtigen Präprozessor für dich}, + author = {Mario Janschitz}, + url = {http://t3n.de/news/sass-vs-less-636820/}, + year = {2015}, + urldate = {2016-07-17} +} diff --git a/style/deutsche-gesellschaft-fur-psychologie.csl b/style/deutsche-gesellschaft-fur-psychologie.csl new file mode 100644 index 0000000..304cccb --- /dev/null +++ b/style/deutsche-gesellschaft-fur-psychologie.csl @@ -0,0 +1,286 @@ + + diff --git a/style/preamble.tex b/style/preamble.tex new file mode 100644 index 0000000..38c22ab --- /dev/null +++ b/style/preamble.tex @@ -0,0 +1,37 @@ +% -------------------------------------------------- % +% Hier werden alle zusätzlichen Latexpackete geladen % +% -------------------------------------------------- % + +% Change the style of any or all of LaTeX's sec­tional head­ers +% Wird womöglich gebraucht damit Latex erkannt wird (im Fall von Fehlermeldungen einkommentieren) +%\usepackage{sectsty} + +% Set margins +\usepackage[top=2.5cm,bottom=2.5cm,left=4cm,right=2.5cm]{geometry} + +% automatische Silbentrennung von Worten mit Umlauten +%\usepackage[T1]{fontenc} + +% Punkt anstelle von Doppelpunkt bei Abbildungen- und Tabellentiteln +\usepackage[labelsep=period]{caption} + +% Anfuehrungszeichen aendern +\usepackage{csquotes} + +% PDF einbindung im Anhang +\usepackage[final]{pdfpages} +\includepdfset{pagecommand={}} + +% Grafiken werden an der Position fixiert +\usepackage{graphicx} +\usepackage{float} +\floatplacement{figure}{H} + +\usepackage{helvet} + +% Help with long Links +\PassOptionsToPackage{hyphens}{url} +\usepackage{hyperref} + +% pagebreak avoid +%\raggedbottom diff --git a/style/template.tex b/style/template.tex new file mode 100644 index 0000000..df6d242 --- /dev/null +++ b/style/template.tex @@ -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} diff --git a/style/updated-deutsche-gesellschaft-fur-psychologie.csl b/style/updated-deutsche-gesellschaft-fur-psychologie.csl new file mode 100644 index 0000000..d0b861d --- /dev/null +++ b/style/updated-deutsche-gesellschaft-fur-psychologie.csl @@ -0,0 +1,306 @@ + + diff --git a/templates/default.tex b/templates/default.tex new file mode 100644 index 0000000..030ab90 --- /dev/null +++ b/templates/default.tex @@ -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}