% Options for packages loaded elsewhere \PassOptionsToPackage{unicode}{hyperref} \PassOptionsToPackage{hyphens}{url} \PassOptionsToPackage{dvipsnames,svgnames,x11names}{xcolor} % \documentclass[ 12pt, a4paper, ]{article} \usepackage{amsmath,amssymb} \usepackage{setspace} \usepackage{iftex} \ifPDFTeX \usepackage[T1]{fontenc} \usepackage[utf8]{inputenc} \usepackage{textcomp} % provide euro and other symbols \else % if luatex or xetex \usepackage{unicode-math} \defaultfontfeatures{Scale=MatchLowercase} \defaultfontfeatures[\rmfamily]{Ligatures=TeX,Scale=1} \fi \usepackage{lmodern} \ifPDFTeX\else % xetex/luatex font selection \fi % Use upquote if available, for straight quotes in verbatim environments \IfFileExists{upquote.sty}{\usepackage{upquote}}{} \IfFileExists{microtype.sty}{% use microtype if available \usepackage[]{microtype} \UseMicrotypeSet[protrusion]{basicmath} % disable protrusion for tt fonts }{} \usepackage{xcolor} \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 \makeatletter \ifx\paragraph\undefined\else \let\oldparagraph\paragraph \renewcommand{\paragraph}{ \@ifstar \xxxParagraphStar \xxxParagraphNoStar } \newcommand{\xxxParagraphStar}[1]{\oldparagraph*{#1}\mbox{}} \newcommand{\xxxParagraphNoStar}[1]{\oldparagraph{#1}\mbox{}} \fi \ifx\subparagraph\undefined\else \let\oldsubparagraph\subparagraph \renewcommand{\subparagraph}{ \@ifstar \xxxSubParagraphStar \xxxSubParagraphNoStar } \newcommand{\xxxSubParagraphStar}[1]{\oldsubparagraph*{#1}\mbox{}} \newcommand{\xxxSubParagraphNoStar}[1]{\oldsubparagraph{#1}\mbox{}} \fi \makeatother \providecommand{\tightlist}{% \setlength{\itemsep}{0pt}\setlength{\parskip}{0pt}}\usepackage{longtable,booktabs,array} \usepackage{calc} % for calculating minipage widths % Correct order of tables after \paragraph or \subparagraph \usepackage{etoolbox} \makeatletter \patchcmd\longtable{\par}{\if@noskipsec\mbox{}\fi\par}{}{} \makeatother % Allow footnotes in longtable head/foot \IfFileExists{footnotehyper.sty}{\usepackage{footnotehyper}}{\usepackage{footnote}} \makesavenoteenv{longtable} \usepackage{graphicx} \makeatletter \newsavebox\pandoc@box \newcommand*\pandocbounded[1]{% scales image to fit in text height/width \sbox\pandoc@box{#1}% \Gscale@div\@tempa{\textheight}{\dimexpr\ht\pandoc@box+\dp\pandoc@box\relax}% \Gscale@div\@tempb{\linewidth}{\wd\pandoc@box}% \ifdim\@tempb\p@<\@tempa\p@\let\@tempa\@tempb\fi% select the smaller of both \ifdim\@tempa\p@<\p@\scalebox{\@tempa}{\usebox\pandoc@box}% \else\usebox{\pandoc@box}% \fi% } % Set default figure placement to htbp \def\fps@figure{htbp} \makeatother % Hier kann zusätzlicher LaTeX-Code eingefügt werden, z. B. zur Anpassung von Überschriften \makeatletter \@ifpackageloaded{tcolorbox}{}{\usepackage[skins,breakable]{tcolorbox}} \@ifpackageloaded{fontawesome5}{}{\usepackage{fontawesome5}} \definecolor{quarto-callout-color}{HTML}{909090} \definecolor{quarto-callout-note-color}{HTML}{0758E5} \definecolor{quarto-callout-important-color}{HTML}{CC1914} \definecolor{quarto-callout-warning-color}{HTML}{EB9113} \definecolor{quarto-callout-tip-color}{HTML}{00A047} \definecolor{quarto-callout-caution-color}{HTML}{FC5300} \definecolor{quarto-callout-color-frame}{HTML}{acacac} \definecolor{quarto-callout-note-color-frame}{HTML}{4582ec} \definecolor{quarto-callout-important-color-frame}{HTML}{d9534f} \definecolor{quarto-callout-warning-color-frame}{HTML}{f0ad4e} \definecolor{quarto-callout-tip-color-frame}{HTML}{02b875} \definecolor{quarto-callout-caution-color-frame}{HTML}{fd7e14} \makeatother \makeatletter \@ifpackageloaded{caption}{}{\usepackage{caption}} \AtBeginDocument{% \ifdefined\contentsname \renewcommand*\contentsname{Inhaltsverzeichnis} \else \newcommand\contentsname{Inhaltsverzeichnis} \fi \ifdefined\listfigurename \renewcommand*\listfigurename{Abbildungsverzeichnis} \else \newcommand\listfigurename{Abbildungsverzeichnis} \fi \ifdefined\listtablename \renewcommand*\listtablename{Tabellenverzeichnis} \else \newcommand\listtablename{Tabellenverzeichnis} \fi \ifdefined\figurename \renewcommand*\figurename{Abbildung} \else \newcommand\figurename{Abbildung} \fi \ifdefined\tablename \renewcommand*\tablename{Tabelle} \else \newcommand\tablename{Tabelle} \fi } \@ifpackageloaded{float}{}{\usepackage{float}} \floatstyle{ruled} \@ifundefined{c@chapter}{\newfloat{codelisting}{h}{lop}}{\newfloat{codelisting}{h}{lop}[chapter]} \floatname{codelisting}{Listing} \newcommand*\listoflistings{\listof{codelisting}{Listingverzeichnis}} \makeatother \makeatletter \makeatother \makeatletter \@ifpackageloaded{caption}{}{\usepackage{caption}} \@ifpackageloaded{subcaption}{}{\usepackage{subcaption}} \makeatother \ifLuaTeX \usepackage[bidi=basic]{babel} \else \usepackage[bidi=default]{babel} \fi \babelprovide[main,import]{ngerman} % get rid of language-specific shorthands (see #6817): \let\LanguageShortHands\languageshorthands \def\languageshorthands#1{} \ifLuaTeX \usepackage[german]{selnolig} % disable illegal ligatures \fi \usepackage{bookmark} \IfFileExists{xurl.sty}{\usepackage{xurl}}{} % add URL line breaks if available \urlstyle{same} % disable monospaced font for URLs \hypersetup{ pdflang={de}, colorlinks=true, linkcolor={blue}, filecolor={Maroon}, citecolor={Blue}, urlcolor={Blue}, pdfcreator={LaTeX via pandoc}} \author{} \date{} \begin{document} \pagenumbering{gobble} \begin{titlepage} \begin{center} \begin{figure} \centering \includegraphics[width=2.0cm]{} \end{figure} \setcounter{figure}{0} Naturwissenschaftlich-technologisches,\\ Sprachliches und\\ Wirtschaftswissenschaftliches Gymnasium\\[2ex] \hrule \vspace{1cm} {\Large\bfseries Seminararbeit 2025/26}\par \vspace{1cm} Rahmenthema des Wissenschaftspropädeutischen Seminars:\\[1ex] {\bfseries \\[3ex]} Leitfach: \\[3ex] %\vspace{1cm} {\bfseries Thema der Arbeit:\\[1ex]} %\vspace{0.5cm} {\large\bfseries \\}\vfill %\vspace{2cm} \end{center} Verfasser/in: {\bfseries } \hfill Kursleiter/in: \\ \vspace{1cm}\\ Abgabetermin: \\[2ex] \renewcommand{\arraystretch}{2} \begin{tabular}{|c|c|} \hline {\bfseries Bewertung} & Punkte \\ \hline schriftliche Arbeit & \\ \hline Abschlusspräsentation & \\ \hline \end{tabular}\\ \vfill \begin{tabular}{cp{2em}c} \hspace{4cm} && \hspace{8cm} \\ \cline{1-1}\cline{3-3} \textit{\small Datum} && \textit{\small Unterschrift des Kursleiters} \end{tabular} \end{titlepage} \newpage \newpage \pagenumbering{arabic} \setstretch{1.5} \section{Die Grundlagen}\label{die-grundlagen} Was ist Quarto? Quarto ist ein Open-Source-System zum Schreiben von Texten -- besonders geeignet für wissenschaftliche Arbeiten. Es basiert auf der Markdown-Sprache und ermöglicht es dir, Texte einfach zu schreiben, direkt zu sehen, wie sie aussehen, und sie professionell als PDF oder HTML zu exportieren. Quarto nutzt LaTeX für den PDF-Export, lässt sich aber viel leichter bedienen als reines LaTeX. \begin{tcolorbox}[enhanced jigsaw, toprule=.15mm, leftrule=.75mm, bottomrule=.15mm, toptitle=1mm, opacitybacktitle=0.6, left=2mm, breakable, title=\textcolor{quarto-callout-note-color}{\faInfo}\hspace{0.5em}{Hinweis}, colframe=quarto-callout-note-color-frame, colback=white, arc=.35mm, opacityback=0, colbacktitle=quarto-callout-note-color!10!white, titlerule=0mm, coltitle=black, rightrule=.15mm, bottomtitle=1mm] Dies ist \textbf{kein} Leitfaden zum Schreiben einer wissenschaftlichen Arbeit, sondern eine Anleitung, wie man Quarto verwendet. \end{tcolorbox} Diese Vorlage zeigt dir, wie du mit Quarto starten kannst -- z.B. mit VS Code, RStudio oder JupyterLab. Wenn du Fragen hast, hilft dir das \href{https://quarto.org/docs/get-started/}{Tutorial} oder der \href{https://quarto.org/docs/guide/}{Leitfaden}. Wir gehen davon aus, dass auf deinem Computer noch nichts installiert ist. Wenn du schon z.\,B. Python oder VS Code installiert hast, kannst du die entsprechenden Schritte überspringen. \subsection{Allgemeine Anforderungen}\label{allgemeine-anforderungen} \begin{itemize} \tightlist \item Lade \href{https://www.python.org/downloads/}{Python} herunter und installiere es. \item Lade \href{https://quarto.org/docs/download/}{Quarto} herunter und installiere es. \item Installiere das Jupyter-Paket mit: \texttt{pip\ install\ notebook} \item Prüfe die Installation mit: \texttt{quarto\ check\ jupyter} \item Um PDF-Dateien zu exportieren, installiere TinyTeX mit: \texttt{quarto\ install\ tinytex} \end{itemize} \subsection{Quarto mit VS Code verwenden}\label{quarto-mit-vs-code-verwenden} \begin{enumerate} \def\labelenumi{\arabic{enumi}.} \tightlist \item Lade \href{https://code.visualstudio.com/download}{VS Code} herunter und installiere es. \item Installiere diese Erweiterungen: \begin{itemize} \tightlist \item Python \item Quarto \item Jupyter \end{itemize} \item Öffne deine \texttt{.qmd}- oder \texttt{.ipynb}-Datei mit VS Code. \end{enumerate} Mehr Infos gibt's im \href{https://quarto.org/docs/tools/vscode.html}{VS Code Kapitel des Leitfadens}. \begin{tcolorbox}[enhanced jigsaw, toprule=.15mm, leftrule=.75mm, bottomrule=.15mm, toptitle=1mm, opacitybacktitle=0.6, left=2mm, breakable, title=\textcolor{quarto-callout-note-color}{\faInfo}\hspace{0.5em}{Hinweis}, colframe=quarto-callout-note-color-frame, colback=white, arc=.35mm, opacityback=0, colbacktitle=quarto-callout-note-color!10!white, titlerule=0mm, coltitle=black, rightrule=.15mm, bottomtitle=1mm] Die Vorschau in VS Code ist \textbf{nicht live}. Speichere die Datei, damit sie aktualisiert wird. Wenn Fehler auftreten, versuche den absoluten Pfad zur Datei zu verwenden. \end{tcolorbox} \subsection{Quarto mit RStudio verwenden (optional)}\label{quarto-mit-rstudio-verwenden-optional} Falls du lieber mit RStudio arbeitest: \begin{enumerate} \def\labelenumi{\arabic{enumi}.} \tightlist \item Installiere \href{https://posit.co/download/rstudio-desktop/}{RStudio} und R. \item Installiere das Quarto-Paket in R: \end{enumerate} \begin{verbatim} install.packages("quarto") \end{verbatim} \begin{enumerate} \def\labelenumi{\arabic{enumi}.} \setcounter{enumi}{2} \tightlist \item Öffne deine \texttt{.qmd}-Datei in RStudio. \item Prüfe die Installation mit: \end{enumerate} \begin{verbatim} quarto check \end{verbatim} \begin{enumerate} \def\labelenumi{\arabic{enumi}.} \setcounter{enumi}{4} \tightlist \item Zum Rendern einfach auf „Rendern`` klicken. \end{enumerate} Mehr Infos im \href{https://quarto.org/docs/tools/rstudio.html}{RStudio-Leitfaden}. \begin{tcolorbox}[enhanced jigsaw, toprule=.15mm, leftrule=.75mm, bottomrule=.15mm, toptitle=1mm, opacitybacktitle=0.6, left=2mm, breakable, title=\textcolor{quarto-callout-note-color}{\faInfo}\hspace{0.5em}{Hinweis}, colframe=quarto-callout-note-color-frame, colback=white, arc=.35mm, opacityback=0, colbacktitle=quarto-callout-note-color!10!white, titlerule=0mm, coltitle=black, rightrule=.15mm, bottomtitle=1mm] Auch hier: Änderungen werden erst nach dem Speichern sichtbar. \end{tcolorbox} \subsection{Quarto mit JupyterLab verwenden}\label{quarto-mit-jupyterlab-verwenden} \begin{itemize} \tightlist \item Starte JupyterLab mit: \end{itemize} \begin{verbatim} jupyter lab \end{verbatim} (oder bei Problemen: \texttt{jupyter-lab}, \texttt{py\ -m\ jupyter\ lab} oder \texttt{python3\ -m\ jupyter\ lab}) \begin{itemize} \tightlist \item Öffne deine \texttt{.ipynb}-Datei. \end{itemize} Weitere Infos: \href{https://quarto.org/docs/tools/jupyter-lab.html}{JupyterLab-Leitfaden}. \begin{tcolorbox}[enhanced jigsaw, toprule=.15mm, leftrule=.75mm, bottomrule=.15mm, toptitle=1mm, opacitybacktitle=0.6, left=2mm, breakable, title=\textcolor{quarto-callout-note-color}{\faInfo}\hspace{0.5em}{Hinweis}, colframe=quarto-callout-note-color-frame, colback=white, arc=.35mm, opacityback=0, colbacktitle=quarto-callout-note-color!10!white, titlerule=0mm, coltitle=black, rightrule=.15mm, bottomtitle=1mm] Auch hier gilt: Speichern aktualisiert die Vorschau. \end{tcolorbox} \subsection{Wechsel zwischen Dateiformaten}\label{wechsel-zwischen-dateiformaten} Du kannst \texttt{.qmd}- und \texttt{.ipynb}-Dateien problemlos ineinander umwandeln: \begin{verbatim} quarto convert deine_datei.qmd \end{verbatim} oder \begin{verbatim} quarto convert deine_datei.ipynb \end{verbatim} \begin{tcolorbox}[enhanced jigsaw, toprule=.15mm, leftrule=.75mm, bottomrule=.15mm, toptitle=1mm, opacitybacktitle=0.6, left=2mm, breakable, title=\textcolor{quarto-callout-note-color}{\faInfo}\hspace{0.5em}{Hinweis}, colframe=quarto-callout-note-color-frame, colback=white, arc=.35mm, opacityback=0, colbacktitle=quarto-callout-note-color!10!white, titlerule=0mm, coltitle=black, rightrule=.15mm, bottomtitle=1mm] Die Konvertierung ist \textbf{verlustfrei}. Du kannst frei zwischen den Formaten wechseln. \end{tcolorbox} \begin{tcolorbox}[enhanced jigsaw, toprule=.15mm, leftrule=.75mm, bottomrule=.15mm, toptitle=1mm, opacitybacktitle=0.6, left=2mm, breakable, title=\textcolor{quarto-callout-important-color}{\faExclamation}\hspace{0.5em}{Wichtig}, colframe=quarto-callout-important-color-frame, colback=white, arc=.35mm, opacityback=0, colbacktitle=quarto-callout-important-color!10!white, titlerule=0mm, coltitle=black, rightrule=.15mm, bottomtitle=1mm] Wenn du eine \texttt{.qmd}-Datei als PDF speicherst und eine \texttt{.ipynb}-Datei mit dem gleichen Namen existiert, wird diese \textbf{gelöscht}. Sei vorsichtig! \end{tcolorbox} \end{document}