TODOs ergänzt

This commit is contained in:
2025-05-27 11:13:54 +02:00
parent 54762d40d8
commit 9a5a6cd4d3
2 changed files with 56 additions and 42 deletions
+6 -1
View File
@@ -1,2 +1,7 @@
# QuartWSemTemplate # QuartWSemTemplate
Quarto Template für W-Seminararbeit Quarto Template für eine W-Seminararbeit
- [ ] Template für ein Exposé
- [ ] Name der Schule, anpassbare Deckseite, sodass nichts im 'before-body.tex' geändert werden muss
- [ ] Template für eine Präsentation
- [ ] _matadata.yaml für "shared metadata"
+47 -38
View File
@@ -1,22 +1,25 @@
% Options for packages loaded elsewhere % Options for packages loaded elsewhere
% Options for packages loaded elsewhere
\PassOptionsToPackage{unicode}{hyperref} \PassOptionsToPackage{unicode}{hyperref}
\PassOptionsToPackage{hyphens}{url} \PassOptionsToPackage{hyphens}{url}
\PassOptionsToPackage{dvipsnames,svgnames,x11names}{xcolor} \PassOptionsToPackage{dvipsnames,svgnames,x11names}{xcolor}
% %
\documentclass[ \documentclass[
ngerman,
12pt, 12pt,
a4paper, a4paper,
]{article} ]{article}
\usepackage{xcolor}
\usepackage[lmargin=2.5cm,rmargin=2.5cm,tmargin=2.5cm,bmargin=2.5cm]{geometry}
\usepackage{amsmath,amssymb} \usepackage{amsmath,amssymb}
\usepackage{setspace} \setcounter{secnumdepth}{5}
\usepackage{iftex} \usepackage{iftex}
\ifPDFTeX \ifPDFTeX
\usepackage[T1]{fontenc} \usepackage[T1]{fontenc}
\usepackage[utf8]{inputenc} \usepackage[utf8]{inputenc}
\usepackage{textcomp} % provide euro and other symbols \usepackage{textcomp} % provide euro and other symbols
\else % if luatex or xetex \else % if luatex or xetex
\usepackage{unicode-math} \usepackage{unicode-math} % this also loads fontspec
\defaultfontfeatures{Scale=MatchLowercase} \defaultfontfeatures{Scale=MatchLowercase}
\defaultfontfeatures[\rmfamily]{Ligatures=TeX,Scale=1} \defaultfontfeatures[\rmfamily]{Ligatures=TeX,Scale=1}
\fi \fi
@@ -31,10 +34,7 @@
\usepackage[]{microtype} \usepackage[]{microtype}
\UseMicrotypeSet[protrusion]{basicmath} % disable protrusion for tt fonts \UseMicrotypeSet[protrusion]{basicmath} % disable protrusion for tt fonts
}{} }{}
\usepackage{xcolor} \usepackage{setspace}
\usepackage[lmargin=2.5cm,rmargin=2.5cm,tmargin=2.5cm,bmargin=2.5cm]{geometry}
\setlength{\emergencystretch}{3em} % prevent overfull lines
\setcounter{secnumdepth}{5}
% Make \paragraph and \subparagraph free-standing % Make \paragraph and \subparagraph free-standing
\makeatletter \makeatletter
\ifx\paragraph\undefined\else \ifx\paragraph\undefined\else
@@ -100,8 +100,7 @@
\newcommand{\VerbatimStringTok}[1]{\textcolor[rgb]{0.13,0.47,0.30}{#1}} \newcommand{\VerbatimStringTok}[1]{\textcolor[rgb]{0.13,0.47,0.30}{#1}}
\newcommand{\WarningTok}[1]{\textcolor[rgb]{0.37,0.37,0.37}{\textit{#1}}} \newcommand{\WarningTok}[1]{\textcolor[rgb]{0.37,0.37,0.37}{\textit{#1}}}
\providecommand{\tightlist}{% \usepackage{longtable,booktabs,array}
\setlength{\itemsep}{0pt}\setlength{\parskip}{0pt}}\usepackage{longtable,booktabs,array}
\usepackage{calc} % for calculating minipage widths \usepackage{calc} % for calculating minipage widths
% Correct order of tables after \paragraph or \subparagraph % Correct order of tables after \paragraph or \subparagraph
\usepackage{etoolbox} \usepackage{etoolbox}
@@ -126,6 +125,8 @@
% Set default figure placement to htbp % Set default figure placement to htbp
\def\fps@figure{htbp} \def\fps@figure{htbp}
\makeatother \makeatother
% definitions for citeproc citations % definitions for citeproc citations
\NewDocumentCommand\citeproctext{}{} \NewDocumentCommand\citeproctext{}{}
\NewDocumentCommand\citeproc{mm}{% \NewDocumentCommand\citeproc{mm}{%
@@ -160,6 +161,33 @@
\newcommand{\CSLRightInline}[1]{\parbox[t]{\linewidth - \csllabelwidth}{\strut#1\strut}} \newcommand{\CSLRightInline}[1]{\parbox[t]{\linewidth - \csllabelwidth}{\strut#1\strut}}
\newcommand{\CSLIndent}[1]{\hspace{\cslhangindent}#1} \newcommand{\CSLIndent}[1]{\hspace{\cslhangindent}#1}
\ifLuaTeX
\usepackage[bidi=basic]{babel}
\else
\usepackage[bidi=default]{babel}
\fi
\ifPDFTeX
\else
\babelfont{rm}[]{Liberation Serif}
\fi
% get rid of language-specific shorthands (see #6817):
\let\LanguageShortHands\languageshorthands
\def\languageshorthands#1{}
\ifLuaTeX
\usepackage[german]{selnolig} % disable illegal ligatures
\fi
\setlength{\emergencystretch}{3em} % prevent overfull lines
\providecommand{\tightlist}{%
\setlength{\itemsep}{0pt}\setlength{\parskip}{0pt}}
% Hier kann zusätzlicher LaTeX-Code eingefügt werden, z. B. zur Anpassung von Überschriften % Hier kann zusätzlicher LaTeX-Code eingefügt werden, z. B. zur Anpassung von Überschriften
\makeatletter \makeatletter
\@ifpackageloaded{tcolorbox}{}{\usepackage[skins,breakable]{tcolorbox}} \@ifpackageloaded{tcolorbox}{}{\usepackage[skins,breakable]{tcolorbox}}
@@ -218,27 +246,9 @@
\@ifpackageloaded{caption}{}{\usepackage{caption}} \@ifpackageloaded{caption}{}{\usepackage{caption}}
\@ifpackageloaded{subcaption}{}{\usepackage{subcaption}} \@ifpackageloaded{subcaption}{}{\usepackage{subcaption}}
\makeatother \makeatother
\ifLuaTeX
\usepackage[bidi=basic]{babel}
\else
\usepackage[bidi=default]{babel}
\fi
\babelprovide[main,import]{ngerman}
\ifPDFTeX
\else
\babelfont{rm}[]{Liberation Serif}
\fi
% get rid of language-specific shorthands (see #6817):
\let\LanguageShortHands\languageshorthands
\def\languageshorthands#1{}
\ifLuaTeX
\usepackage[german]{selnolig} % disable illegal ligatures
\fi
\usepackage{bookmark} \usepackage{bookmark}
\IfFileExists{xurl.sty}{\usepackage{xurl}}{} % add URL line breaks if available \IfFileExists{xurl.sty}{\usepackage{xurl}}{} % add URL line breaks if available
\urlstyle{same} % disable monospaced font for URLs \urlstyle{same}
\hypersetup{ \hypersetup{
pdftitle={Der Titel der Arbeit}, pdftitle={Der Titel der Arbeit},
pdfauthor={Firstname Lastname}, pdfauthor={Firstname Lastname},
@@ -254,7 +264,6 @@
\title{Der Titel der Arbeit} \title{Der Titel der Arbeit}
\author{Firstname Lastname} \author{Firstname Lastname}
\date{11. November 2025} \date{11. November 2025}
\begin{document} \begin{document}
\pagenumbering{gobble} \pagenumbering{gobble}
%\maketitle %\maketitle
@@ -321,7 +330,7 @@ schreiben, direkt zu sehen, wie sie aussehen, und sie professionell als
PDF oder HTML zu exportieren. Quarto nutzt LaTeX für den PDF-Export, PDF oder HTML zu exportieren. Quarto nutzt LaTeX für den PDF-Export,
lässt sich aber viel leichter bedienen als reines LaTeX. lässt sich aber viel leichter bedienen als reines LaTeX.
\begin{tcolorbox}[enhanced jigsaw, colback=white, breakable, left=2mm, toptitle=1mm, arc=.35mm, toprule=.15mm, opacityback=0, opacitybacktitle=0.6, bottomrule=.15mm, coltitle=black, colbacktitle=quarto-callout-note-color!10!white, title=\textcolor{quarto-callout-note-color}{\faInfo}\hspace{0.5em}{Hinweis}, rightrule=.15mm, leftrule=.75mm, colframe=quarto-callout-note-color-frame, bottomtitle=1mm, titlerule=0mm] \begin{tcolorbox}[enhanced jigsaw, coltitle=black, leftrule=.75mm, colback=white, left=2mm, opacityback=0, rightrule=.15mm, colframe=quarto-callout-note-color-frame, colbacktitle=quarto-callout-note-color!10!white, bottomtitle=1mm, toprule=.15mm, opacitybacktitle=0.6, bottomrule=.15mm, toptitle=1mm, breakable, titlerule=0mm, title=\textcolor{quarto-callout-note-color}{\faInfo}\hspace{0.5em}{Hinweis}, arc=.35mm]
Dies ist \textbf{kein} Leitfaden zum Schreiben einer wissenschaftlichen Dies ist \textbf{kein} Leitfaden zum Schreiben einer wissenschaftlichen
Arbeit, sondern eine Anleitung, wie man Quarto verwendet. Arbeit, sondern eine Anleitung, wie man Quarto verwendet.
@@ -385,7 +394,7 @@ verwenden}\label{quarto-mit-vs-code-verwenden}
Mehr Infos gibt's im \href{https://quarto.org/docs/tools/vscode.html}{VS Mehr Infos gibt's im \href{https://quarto.org/docs/tools/vscode.html}{VS
Code Kapitel des Leitfadens}. Code Kapitel des Leitfadens}.
\begin{tcolorbox}[enhanced jigsaw, colback=white, breakable, left=2mm, toptitle=1mm, arc=.35mm, toprule=.15mm, opacityback=0, opacitybacktitle=0.6, bottomrule=.15mm, coltitle=black, colbacktitle=quarto-callout-note-color!10!white, title=\textcolor{quarto-callout-note-color}{\faInfo}\hspace{0.5em}{Hinweis}, rightrule=.15mm, leftrule=.75mm, colframe=quarto-callout-note-color-frame, bottomtitle=1mm, titlerule=0mm] \begin{tcolorbox}[enhanced jigsaw, coltitle=black, leftrule=.75mm, colback=white, left=2mm, opacityback=0, rightrule=.15mm, colframe=quarto-callout-note-color-frame, colbacktitle=quarto-callout-note-color!10!white, bottomtitle=1mm, toprule=.15mm, opacitybacktitle=0.6, bottomrule=.15mm, toptitle=1mm, breakable, titlerule=0mm, title=\textcolor{quarto-callout-note-color}{\faInfo}\hspace{0.5em}{Hinweis}, arc=.35mm]
Die Vorschau in VS Code ist \textbf{nicht live}. Speichere die Datei, Die Vorschau in VS Code ist \textbf{nicht live}. Speichere die Datei,
damit sie aktualisiert wird. Wenn Fehler auftreten, versuche den damit sie aktualisiert wird. Wenn Fehler auftreten, versuche den
@@ -418,7 +427,7 @@ Falls du lieber mit RStudio arbeitest:
Mehr Infos im Mehr Infos im
\href{https://quarto.org/docs/tools/rstudio.html}{RStudio-Leitfaden}. \href{https://quarto.org/docs/tools/rstudio.html}{RStudio-Leitfaden}.
\begin{tcolorbox}[enhanced jigsaw, colback=white, breakable, left=2mm, toptitle=1mm, arc=.35mm, toprule=.15mm, opacityback=0, opacitybacktitle=0.6, bottomrule=.15mm, coltitle=black, colbacktitle=quarto-callout-note-color!10!white, title=\textcolor{quarto-callout-note-color}{\faInfo}\hspace{0.5em}{Hinweis}, rightrule=.15mm, leftrule=.75mm, colframe=quarto-callout-note-color-frame, bottomtitle=1mm, titlerule=0mm] \begin{tcolorbox}[enhanced jigsaw, coltitle=black, leftrule=.75mm, colback=white, left=2mm, opacityback=0, rightrule=.15mm, colframe=quarto-callout-note-color-frame, colbacktitle=quarto-callout-note-color!10!white, bottomtitle=1mm, toprule=.15mm, opacitybacktitle=0.6, bottomrule=.15mm, toptitle=1mm, breakable, titlerule=0mm, title=\textcolor{quarto-callout-note-color}{\faInfo}\hspace{0.5em}{Hinweis}, arc=.35mm]
Auch hier: Änderungen werden erst nach dem Speichern sichtbar. Auch hier: Änderungen werden erst nach dem Speichern sichtbar.
@@ -439,13 +448,13 @@ verwenden}\label{quarto-mit-jupyterlab-verwenden}
Weitere Infos: Weitere Infos:
\href{https://quarto.org/docs/tools/jupyter-lab.html}{JupyterLab-Leitfaden}. \href{https://quarto.org/docs/tools/jupyter-lab.html}{JupyterLab-Leitfaden}.
\begin{tcolorbox}[enhanced jigsaw, colback=white, breakable, left=2mm, toptitle=1mm, arc=.35mm, toprule=.15mm, opacityback=0, opacitybacktitle=0.6, bottomrule=.15mm, coltitle=black, colbacktitle=quarto-callout-note-color!10!white, title=\textcolor{quarto-callout-note-color}{\faInfo}\hspace{0.5em}{Hinweis}, rightrule=.15mm, leftrule=.75mm, colframe=quarto-callout-note-color-frame, bottomtitle=1mm, titlerule=0mm] \begin{tcolorbox}[enhanced jigsaw, coltitle=black, leftrule=.75mm, colback=white, left=2mm, opacityback=0, rightrule=.15mm, colframe=quarto-callout-note-color-frame, colbacktitle=quarto-callout-note-color!10!white, bottomtitle=1mm, toprule=.15mm, opacitybacktitle=0.6, bottomrule=.15mm, toptitle=1mm, breakable, titlerule=0mm, title=\textcolor{quarto-callout-note-color}{\faInfo}\hspace{0.5em}{Hinweis}, arc=.35mm]
Auch hier gilt: Speichern aktualisiert die Vorschau. Auch hier gilt: Speichern aktualisiert die Vorschau.
\end{tcolorbox} \end{tcolorbox}
\begin{tcolorbox}[enhanced jigsaw, colback=white, breakable, left=2mm, toptitle=1mm, arc=.35mm, toprule=.15mm, opacityback=0, opacitybacktitle=0.6, bottomrule=.15mm, coltitle=black, colbacktitle=quarto-callout-note-color!10!white, title=\textcolor{quarto-callout-note-color}{\faInfo}\hspace{0.5em}{Hinweis}, rightrule=.15mm, leftrule=.75mm, colframe=quarto-callout-note-color-frame, bottomtitle=1mm, titlerule=0mm] \begin{tcolorbox}[enhanced jigsaw, coltitle=black, leftrule=.75mm, colback=white, left=2mm, opacityback=0, rightrule=.15mm, colframe=quarto-callout-note-color-frame, colbacktitle=quarto-callout-note-color!10!white, bottomtitle=1mm, toprule=.15mm, opacitybacktitle=0.6, bottomrule=.15mm, toptitle=1mm, breakable, titlerule=0mm, title=\textcolor{quarto-callout-note-color}{\faInfo}\hspace{0.5em}{Hinweis}, arc=.35mm]
JupyterLab ist eine grafische Benutzeroberfläche zum Bearbeiten und JupyterLab ist eine grafische Benutzeroberfläche zum Bearbeiten und
Ausführen von \texttt{.ipynb}-Dateien (Notebooks). Du kannst JupyterLab Ausführen von \texttt{.ipynb}-Dateien (Notebooks). Du kannst JupyterLab
@@ -466,14 +475,14 @@ Du kannst \texttt{.qmd}- und \texttt{.ipynb}-Dateien problemlos
ineinander umwandeln: \texttt{quarto\ convert\ deine\_datei.qmd} oder ineinander umwandeln: \texttt{quarto\ convert\ deine\_datei.qmd} oder
\texttt{quarto\ convert\ deine\_datei.ipynb} \texttt{quarto\ convert\ deine\_datei.ipynb}
\begin{tcolorbox}[enhanced jigsaw, colback=white, breakable, left=2mm, toptitle=1mm, arc=.35mm, toprule=.15mm, opacityback=0, opacitybacktitle=0.6, bottomrule=.15mm, coltitle=black, colbacktitle=quarto-callout-note-color!10!white, title=\textcolor{quarto-callout-note-color}{\faInfo}\hspace{0.5em}{Hinweis}, rightrule=.15mm, leftrule=.75mm, colframe=quarto-callout-note-color-frame, bottomtitle=1mm, titlerule=0mm] \begin{tcolorbox}[enhanced jigsaw, coltitle=black, leftrule=.75mm, colback=white, left=2mm, opacityback=0, rightrule=.15mm, colframe=quarto-callout-note-color-frame, colbacktitle=quarto-callout-note-color!10!white, bottomtitle=1mm, toprule=.15mm, opacitybacktitle=0.6, bottomrule=.15mm, toptitle=1mm, breakable, titlerule=0mm, title=\textcolor{quarto-callout-note-color}{\faInfo}\hspace{0.5em}{Hinweis}, arc=.35mm]
Die Konvertierung ist \textbf{verlustfrei}. Du kannst frei zwischen den Die Konvertierung ist \textbf{verlustfrei}. Du kannst frei zwischen den
Formaten wechseln. Formaten wechseln.
\end{tcolorbox} \end{tcolorbox}
\begin{tcolorbox}[enhanced jigsaw, colback=white, breakable, left=2mm, toptitle=1mm, arc=.35mm, toprule=.15mm, opacityback=0, opacitybacktitle=0.6, bottomrule=.15mm, coltitle=black, colbacktitle=quarto-callout-important-color!10!white, title=\textcolor{quarto-callout-important-color}{\faExclamation}\hspace{0.5em}{Wichtig}, rightrule=.15mm, leftrule=.75mm, colframe=quarto-callout-important-color-frame, bottomtitle=1mm, titlerule=0mm] \begin{tcolorbox}[enhanced jigsaw, coltitle=black, leftrule=.75mm, colback=white, left=2mm, opacityback=0, rightrule=.15mm, colframe=quarto-callout-important-color-frame, colbacktitle=quarto-callout-important-color!10!white, bottomtitle=1mm, toprule=.15mm, opacitybacktitle=0.6, bottomrule=.15mm, toptitle=1mm, breakable, titlerule=0mm, title=\textcolor{quarto-callout-important-color}{\faExclamation}\hspace{0.5em}{Wichtig}, arc=.35mm]
Wenn du eine \texttt{.qmd}-Datei als PDF speicherst und eine Wenn du eine \texttt{.qmd}-Datei als PDF speicherst und eine
\texttt{.ipynb}-Datei mit dem gleichen Namen existiert, wird diese \texttt{.ipynb}-Datei mit dem gleichen Namen existiert, wird diese
@@ -636,7 +645,7 @@ Hallo Quarto!
Hallo Quarto! Hallo Quarto!
\end{verbatim} \end{verbatim}
\begin{tcolorbox}[enhanced jigsaw, colback=white, breakable, left=2mm, toptitle=1mm, arc=.35mm, toprule=.15mm, opacityback=0, opacitybacktitle=0.6, bottomrule=.15mm, coltitle=black, colbacktitle=quarto-callout-important-color!10!white, title=\textcolor{quarto-callout-important-color}{\faExclamation}\hspace{0.5em}{Wichtig}, rightrule=.15mm, leftrule=.75mm, colframe=quarto-callout-important-color-frame, bottomtitle=1mm, titlerule=0mm] \begin{tcolorbox}[enhanced jigsaw, coltitle=black, leftrule=.75mm, colback=white, left=2mm, opacityback=0, rightrule=.15mm, colframe=quarto-callout-important-color-frame, colbacktitle=quarto-callout-important-color!10!white, bottomtitle=1mm, toprule=.15mm, opacitybacktitle=0.6, bottomrule=.15mm, toptitle=1mm, breakable, titlerule=0mm, title=\textcolor{quarto-callout-important-color}{\faExclamation}\hspace{0.5em}{Wichtig}, arc=.35mm]
Wenn Du keinen Jupyter-Kernel installiert hast, kannst du das Dokument Wenn Du keinen Jupyter-Kernel installiert hast, kannst du das Dokument
so nicht rendern. Wenn du keinen ausführbaren Code für deine Arbeit so nicht rendern. Wenn du keinen ausführbaren Code für deine Arbeit
@@ -813,7 +822,7 @@ Weitere Informationen zum Zitieren und zu Referenzen findest du in
diesem Abschnitt der diesem Abschnitt der
\href{https://quarto.org/docs/authoring/footnotes-and-citations.html}{Anleitung}. \href{https://quarto.org/docs/authoring/footnotes-and-citations.html}{Anleitung}.
\begin{tcolorbox}[enhanced jigsaw, colback=white, breakable, left=2mm, toptitle=1mm, arc=.35mm, toprule=.15mm, opacityback=0, opacitybacktitle=0.6, bottomrule=.15mm, coltitle=black, colbacktitle=quarto-callout-tip-color!10!white, title=\textcolor{quarto-callout-tip-color}{\faLightbulb}\hspace{0.5em}{Tipp}, rightrule=.15mm, leftrule=.75mm, colframe=quarto-callout-tip-color-frame, bottomtitle=1mm, titlerule=0mm] \begin{tcolorbox}[enhanced jigsaw, coltitle=black, leftrule=.75mm, colback=white, left=2mm, opacityback=0, rightrule=.15mm, colframe=quarto-callout-tip-color-frame, colbacktitle=quarto-callout-tip-color!10!white, bottomtitle=1mm, toprule=.15mm, opacitybacktitle=0.6, bottomrule=.15mm, toptitle=1mm, breakable, titlerule=0mm, title=\textcolor{quarto-callout-tip-color}{\faLightbulb}\hspace{0.5em}{Tipp}, arc=.35mm]
In deiner \texttt{.bib}-Datei (\texttt{assets/literatur.bib}) sollte der In deiner \texttt{.bib}-Datei (\texttt{assets/literatur.bib}) sollte der
Eintrag für eine Webseite so aussehen: Eintrag für eine Webseite so aussehen: