Ausführbarer Code ...

This commit is contained in:
2025-05-02 19:13:37 +02:00
parent 20784d7701
commit 6fd58a819d
+10 -10
View File
@@ -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, 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, 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 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 +385,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, 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, 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 +418,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, 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. Auch hier: Änderungen werden erst nach dem Speichern sichtbar.
@@ -439,13 +439,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, 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. Auch hier gilt: Speichern aktualisiert die Vorschau.
\end{tcolorbox} \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 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 +466,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, 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 Die Konvertierung ist \textbf{verlustfrei}. Du kannst frei zwischen den
Formaten wechseln. Formaten wechseln.
\end{tcolorbox} \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 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,12 +636,12 @@ Hallo Quarto!
Hallo Quarto! Hallo Quarto!
\end{verbatim} \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 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
brauchst, kannst du den Code-Block einfach löschen, danach kannst du das brauchst, kannst du den Code-Block einfach löschen, danach kannst du das
Dokument rendern. Dokument auch ohne Jupyter-Kernel rendern.
\end{tcolorbox} \end{tcolorbox}
@@ -813,7 +813,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, 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 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: