From 6fd58a819d9366db84e96ae4fbdbd1734be947a6 Mon Sep 17 00:00:00 2001 From: kjurg Date: Fri, 2 May 2025 19:13:37 +0200 Subject: [PATCH] =?UTF-8?q?Ausf=C3=BChrbarer=20Code=20...?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- Template.tex | 20 ++++++++++---------- 1 file changed, 10 insertions(+), 10 deletions(-) diff --git a/Template.tex b/Template.tex index d4b4db5..8e14f74 100644 --- a/Template.tex +++ b/Template.tex @@ -321,7 +321,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, lässt sich aber viel leichter bedienen als reines LaTeX. -\begin{tcolorbox}[enhanced jigsaw, left=2mm, coltitle=black, breakable, colframe=quarto-callout-note-color-frame, leftrule=.75mm, opacitybacktitle=0.6, colback=white, colbacktitle=quarto-callout-note-color!10!white, arc=.35mm, toprule=.15mm, toptitle=1mm, bottomrule=.15mm, bottomtitle=1mm, title=\textcolor{quarto-callout-note-color}{\faInfo}\hspace{0.5em}{Hinweis}, titlerule=0mm, opacityback=0, rightrule=.15mm] +\begin{tcolorbox}[enhanced jigsaw, titlerule=0mm, colback=white, bottomrule=.15mm, leftrule=.75mm, arc=.35mm, coltitle=black, rightrule=.15mm, opacityback=0, breakable, left=2mm, bottomtitle=1mm, title=\textcolor{quarto-callout-note-color}{\faInfo}\hspace{0.5em}{Hinweis}, colframe=quarto-callout-note-color-frame, toptitle=1mm, colbacktitle=quarto-callout-note-color!10!white, toprule=.15mm, opacitybacktitle=0.6] Dies ist \textbf{kein} Leitfaden zum Schreiben einer wissenschaftlichen Arbeit, sondern eine Anleitung, wie man Quarto verwendet. @@ -385,7 +385,7 @@ verwenden}\label{quarto-mit-vs-code-verwenden} Mehr Infos gibt's im \href{https://quarto.org/docs/tools/vscode.html}{VS Code Kapitel des Leitfadens}. -\begin{tcolorbox}[enhanced jigsaw, left=2mm, coltitle=black, breakable, colframe=quarto-callout-note-color-frame, leftrule=.75mm, opacitybacktitle=0.6, colback=white, colbacktitle=quarto-callout-note-color!10!white, arc=.35mm, toprule=.15mm, toptitle=1mm, bottomrule=.15mm, bottomtitle=1mm, title=\textcolor{quarto-callout-note-color}{\faInfo}\hspace{0.5em}{Hinweis}, titlerule=0mm, opacityback=0, rightrule=.15mm] +\begin{tcolorbox}[enhanced jigsaw, titlerule=0mm, colback=white, bottomrule=.15mm, leftrule=.75mm, arc=.35mm, coltitle=black, rightrule=.15mm, opacityback=0, breakable, left=2mm, bottomtitle=1mm, title=\textcolor{quarto-callout-note-color}{\faInfo}\hspace{0.5em}{Hinweis}, colframe=quarto-callout-note-color-frame, toptitle=1mm, colbacktitle=quarto-callout-note-color!10!white, toprule=.15mm, opacitybacktitle=0.6] Die Vorschau in VS Code ist \textbf{nicht live}. Speichere die Datei, damit sie aktualisiert wird. Wenn Fehler auftreten, versuche den @@ -418,7 +418,7 @@ Falls du lieber mit RStudio arbeitest: Mehr Infos im \href{https://quarto.org/docs/tools/rstudio.html}{RStudio-Leitfaden}. -\begin{tcolorbox}[enhanced jigsaw, left=2mm, coltitle=black, breakable, colframe=quarto-callout-note-color-frame, leftrule=.75mm, opacitybacktitle=0.6, colback=white, colbacktitle=quarto-callout-note-color!10!white, arc=.35mm, toprule=.15mm, toptitle=1mm, bottomrule=.15mm, bottomtitle=1mm, title=\textcolor{quarto-callout-note-color}{\faInfo}\hspace{0.5em}{Hinweis}, titlerule=0mm, opacityback=0, rightrule=.15mm] +\begin{tcolorbox}[enhanced jigsaw, titlerule=0mm, colback=white, bottomrule=.15mm, leftrule=.75mm, arc=.35mm, coltitle=black, rightrule=.15mm, opacityback=0, breakable, left=2mm, bottomtitle=1mm, title=\textcolor{quarto-callout-note-color}{\faInfo}\hspace{0.5em}{Hinweis}, colframe=quarto-callout-note-color-frame, toptitle=1mm, colbacktitle=quarto-callout-note-color!10!white, toprule=.15mm, opacitybacktitle=0.6] Auch hier: Änderungen werden erst nach dem Speichern sichtbar. @@ -439,13 +439,13 @@ verwenden}\label{quarto-mit-jupyterlab-verwenden} Weitere Infos: \href{https://quarto.org/docs/tools/jupyter-lab.html}{JupyterLab-Leitfaden}. -\begin{tcolorbox}[enhanced jigsaw, left=2mm, coltitle=black, breakable, colframe=quarto-callout-note-color-frame, leftrule=.75mm, opacitybacktitle=0.6, colback=white, colbacktitle=quarto-callout-note-color!10!white, arc=.35mm, toprule=.15mm, toptitle=1mm, bottomrule=.15mm, bottomtitle=1mm, title=\textcolor{quarto-callout-note-color}{\faInfo}\hspace{0.5em}{Hinweis}, titlerule=0mm, opacityback=0, rightrule=.15mm] +\begin{tcolorbox}[enhanced jigsaw, titlerule=0mm, colback=white, bottomrule=.15mm, leftrule=.75mm, arc=.35mm, coltitle=black, rightrule=.15mm, opacityback=0, breakable, left=2mm, bottomtitle=1mm, title=\textcolor{quarto-callout-note-color}{\faInfo}\hspace{0.5em}{Hinweis}, colframe=quarto-callout-note-color-frame, toptitle=1mm, colbacktitle=quarto-callout-note-color!10!white, toprule=.15mm, opacitybacktitle=0.6] Auch hier gilt: Speichern aktualisiert die Vorschau. \end{tcolorbox} -\begin{tcolorbox}[enhanced jigsaw, left=2mm, coltitle=black, breakable, colframe=quarto-callout-note-color-frame, leftrule=.75mm, opacitybacktitle=0.6, colback=white, colbacktitle=quarto-callout-note-color!10!white, arc=.35mm, toprule=.15mm, toptitle=1mm, bottomrule=.15mm, bottomtitle=1mm, title=\textcolor{quarto-callout-note-color}{\faInfo}\hspace{0.5em}{Hinweis}, titlerule=0mm, opacityback=0, rightrule=.15mm] +\begin{tcolorbox}[enhanced jigsaw, titlerule=0mm, colback=white, bottomrule=.15mm, leftrule=.75mm, arc=.35mm, coltitle=black, rightrule=.15mm, opacityback=0, breakable, left=2mm, bottomtitle=1mm, title=\textcolor{quarto-callout-note-color}{\faInfo}\hspace{0.5em}{Hinweis}, colframe=quarto-callout-note-color-frame, toptitle=1mm, colbacktitle=quarto-callout-note-color!10!white, toprule=.15mm, opacitybacktitle=0.6] JupyterLab ist eine grafische Benutzeroberfläche zum Bearbeiten und Ausführen von \texttt{.ipynb}-Dateien (Notebooks). Du kannst JupyterLab @@ -466,14 +466,14 @@ Du kannst \texttt{.qmd}- und \texttt{.ipynb}-Dateien problemlos ineinander umwandeln: \texttt{quarto\ convert\ deine\_datei.qmd} oder \texttt{quarto\ convert\ deine\_datei.ipynb} -\begin{tcolorbox}[enhanced jigsaw, left=2mm, coltitle=black, breakable, colframe=quarto-callout-note-color-frame, leftrule=.75mm, opacitybacktitle=0.6, colback=white, colbacktitle=quarto-callout-note-color!10!white, arc=.35mm, toprule=.15mm, toptitle=1mm, bottomrule=.15mm, bottomtitle=1mm, title=\textcolor{quarto-callout-note-color}{\faInfo}\hspace{0.5em}{Hinweis}, titlerule=0mm, opacityback=0, rightrule=.15mm] +\begin{tcolorbox}[enhanced jigsaw, titlerule=0mm, colback=white, bottomrule=.15mm, leftrule=.75mm, arc=.35mm, coltitle=black, rightrule=.15mm, opacityback=0, breakable, left=2mm, bottomtitle=1mm, title=\textcolor{quarto-callout-note-color}{\faInfo}\hspace{0.5em}{Hinweis}, colframe=quarto-callout-note-color-frame, toptitle=1mm, colbacktitle=quarto-callout-note-color!10!white, toprule=.15mm, opacitybacktitle=0.6] Die Konvertierung ist \textbf{verlustfrei}. Du kannst frei zwischen den Formaten wechseln. \end{tcolorbox} -\begin{tcolorbox}[enhanced jigsaw, left=2mm, coltitle=black, breakable, colframe=quarto-callout-important-color-frame, leftrule=.75mm, opacitybacktitle=0.6, colback=white, colbacktitle=quarto-callout-important-color!10!white, arc=.35mm, toprule=.15mm, toptitle=1mm, bottomrule=.15mm, bottomtitle=1mm, title=\textcolor{quarto-callout-important-color}{\faExclamation}\hspace{0.5em}{Wichtig}, titlerule=0mm, opacityback=0, rightrule=.15mm] +\begin{tcolorbox}[enhanced jigsaw, titlerule=0mm, colback=white, bottomrule=.15mm, leftrule=.75mm, arc=.35mm, coltitle=black, rightrule=.15mm, opacityback=0, breakable, left=2mm, bottomtitle=1mm, title=\textcolor{quarto-callout-important-color}{\faExclamation}\hspace{0.5em}{Wichtig}, colframe=quarto-callout-important-color-frame, toptitle=1mm, colbacktitle=quarto-callout-important-color!10!white, toprule=.15mm, opacitybacktitle=0.6] Wenn du eine \texttt{.qmd}-Datei als PDF speicherst und eine \texttt{.ipynb}-Datei mit dem gleichen Namen existiert, wird diese @@ -636,12 +636,12 @@ Hallo Quarto! Hallo Quarto! \end{verbatim} -\begin{tcolorbox}[enhanced jigsaw, left=2mm, coltitle=black, breakable, colframe=quarto-callout-important-color-frame, leftrule=.75mm, opacitybacktitle=0.6, colback=white, colbacktitle=quarto-callout-important-color!10!white, arc=.35mm, toprule=.15mm, toptitle=1mm, bottomrule=.15mm, bottomtitle=1mm, title=\textcolor{quarto-callout-important-color}{\faExclamation}\hspace{0.5em}{Wichtig}, titlerule=0mm, opacityback=0, rightrule=.15mm] +\begin{tcolorbox}[enhanced jigsaw, titlerule=0mm, colback=white, bottomrule=.15mm, leftrule=.75mm, arc=.35mm, coltitle=black, rightrule=.15mm, opacityback=0, breakable, left=2mm, bottomtitle=1mm, title=\textcolor{quarto-callout-important-color}{\faExclamation}\hspace{0.5em}{Wichtig}, colframe=quarto-callout-important-color-frame, toptitle=1mm, colbacktitle=quarto-callout-important-color!10!white, toprule=.15mm, opacitybacktitle=0.6] Wenn Du keinen Jupyter-Kernel installiert hast, kannst du das Dokument so nicht rendern. Wenn du keinen ausführbaren Code für deine Arbeit brauchst, kannst du den Code-Block einfach löschen, danach kannst du das -Dokument rendern. +Dokument auch ohne Jupyter-Kernel rendern. \end{tcolorbox} @@ -813,7 +813,7 @@ Weitere Informationen zum Zitieren und zu Referenzen findest du in diesem Abschnitt der \href{https://quarto.org/docs/authoring/footnotes-and-citations.html}{Anleitung}. -\begin{tcolorbox}[enhanced jigsaw, left=2mm, coltitle=black, breakable, colframe=quarto-callout-tip-color-frame, leftrule=.75mm, opacitybacktitle=0.6, colback=white, colbacktitle=quarto-callout-tip-color!10!white, arc=.35mm, toprule=.15mm, toptitle=1mm, bottomrule=.15mm, bottomtitle=1mm, title=\textcolor{quarto-callout-tip-color}{\faLightbulb}\hspace{0.5em}{Tipp}, titlerule=0mm, opacityback=0, rightrule=.15mm] +\begin{tcolorbox}[enhanced jigsaw, titlerule=0mm, colback=white, bottomrule=.15mm, leftrule=.75mm, arc=.35mm, coltitle=black, rightrule=.15mm, opacityback=0, breakable, left=2mm, bottomtitle=1mm, title=\textcolor{quarto-callout-tip-color}{\faLightbulb}\hspace{0.5em}{Tipp}, colframe=quarto-callout-tip-color-frame, toptitle=1mm, colbacktitle=quarto-callout-tip-color!10!white, toprule=.15mm, opacitybacktitle=0.6] In deiner \texttt{.bib}-Datei (\texttt{assets/literatur.bib}) sollte der Eintrag für eine Webseite so aussehen: