Kleinigkeiten

This commit is contained in:
2025-04-30 16:32:18 +02:00
parent a0e319e109
commit 729cebda55
2 changed files with 11 additions and 15 deletions
+2 -2
View File
@@ -24,7 +24,7 @@ nocite: |
# --- Optionales -------------------------------------------
logo: ./assets/logo.jpg
mainfont: "Liberation Sans"
#mainfont: "Liberation Sans"
---
# Die Grundlagen
@@ -43,7 +43,7 @@ Wir gehen davon aus, dass auf deinem Computer noch nichts installiert ist. Wenn
- Lade [Python](https://www.python.org/downloads/) herunter und installiere es.
- Lade [Quarto](https://quarto.org/docs/download/) herunter und installiere es.
- Installiere das Jupyter-Paket mit: `pip install notebook`
- Installiere das Jupyter-Paket mit: `python3 -m pip install jupyter jupyterlab`
- Prüfe die Installation mit: `quarto check jupyter`
- Um PDF-Dateien zu exportieren, installiere TinyTeX mit: `quarto install tinytex`
+9 -13
View File
@@ -23,7 +23,6 @@
\usepackage{lmodern}
\ifPDFTeX\else
% xetex/luatex font selection
\setmainfont[]{Liberation Sans}
\fi
% Use upquote if available, for straight quotes in verbatim environments
\IfFileExists{upquote.sty}{\usepackage{upquote}}{}
@@ -225,10 +224,6 @@
\usepackage[bidi=default]{babel}
\fi
\babelprovide[main,import]{ngerman}
\ifPDFTeX
\else
\babelfont{rm}[]{Liberation Sans}
\fi
% get rid of language-specific shorthands (see #6817):
\let\LanguageShortHands\languageshorthands
\def\languageshorthands#1{}
@@ -321,7 +316,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, titlerule=0mm, toprule=.15mm, toptitle=1mm, leftrule=.75mm, colframe=quarto-callout-note-color-frame, breakable, coltitle=black, bottomtitle=1mm, arc=.35mm, title=\textcolor{quarto-callout-note-color}{\faInfo}\hspace{0.5em}{Hinweis}, rightrule=.15mm, bottomrule=.15mm, colbacktitle=quarto-callout-note-color!10!white, left=2mm, opacitybacktitle=0.6, colback=white, opacityback=0]
\begin{tcolorbox}[enhanced jigsaw, rightrule=.15mm, bottomrule=.15mm, coltitle=black, colback=white, toprule=.15mm, colbacktitle=quarto-callout-note-color!10!white, left=2mm, arc=.35mm, title=\textcolor{quarto-callout-note-color}{\faInfo}\hspace{0.5em}{Hinweis}, opacitybacktitle=0.6, toptitle=1mm, leftrule=.75mm, titlerule=0mm, opacityback=0, breakable, bottomtitle=1mm, colframe=quarto-callout-note-color-frame]
Dies ist \textbf{kein} Leitfaden zum Schreiben einer wissenschaftlichen
Arbeit, sondern eine Anleitung, wie man Quarto verwendet.
@@ -348,7 +343,8 @@ du die entsprechenden Schritte überspringen.
Lade \href{https://quarto.org/docs/download/}{Quarto} herunter und
installiere es.
\item
Installiere das Jupyter-Paket mit: \texttt{pip\ install\ notebook}
Installiere das Jupyter-Paket mit:
\texttt{python3\ -m\ pip\ install\ jupyter\ jupyterlab}
\item
Prüfe die Installation mit: \texttt{quarto\ check\ jupyter}
\item
@@ -384,7 +380,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, titlerule=0mm, toprule=.15mm, toptitle=1mm, leftrule=.75mm, colframe=quarto-callout-note-color-frame, breakable, coltitle=black, bottomtitle=1mm, arc=.35mm, title=\textcolor{quarto-callout-note-color}{\faInfo}\hspace{0.5em}{Hinweis}, rightrule=.15mm, bottomrule=.15mm, colbacktitle=quarto-callout-note-color!10!white, left=2mm, opacitybacktitle=0.6, colback=white, opacityback=0]
\begin{tcolorbox}[enhanced jigsaw, rightrule=.15mm, bottomrule=.15mm, coltitle=black, colback=white, toprule=.15mm, colbacktitle=quarto-callout-note-color!10!white, left=2mm, arc=.35mm, title=\textcolor{quarto-callout-note-color}{\faInfo}\hspace{0.5em}{Hinweis}, opacitybacktitle=0.6, toptitle=1mm, leftrule=.75mm, titlerule=0mm, opacityback=0, breakable, bottomtitle=1mm, colframe=quarto-callout-note-color-frame]
Die Vorschau in VS Code ist \textbf{nicht live}. Speichere die Datei,
damit sie aktualisiert wird. Wenn Fehler auftreten, versuche den
@@ -417,7 +413,7 @@ Falls du lieber mit RStudio arbeitest:
Mehr Infos im
\href{https://quarto.org/docs/tools/rstudio.html}{RStudio-Leitfaden}.
\begin{tcolorbox}[enhanced jigsaw, titlerule=0mm, toprule=.15mm, toptitle=1mm, leftrule=.75mm, colframe=quarto-callout-note-color-frame, breakable, coltitle=black, bottomtitle=1mm, arc=.35mm, title=\textcolor{quarto-callout-note-color}{\faInfo}\hspace{0.5em}{Hinweis}, rightrule=.15mm, bottomrule=.15mm, colbacktitle=quarto-callout-note-color!10!white, left=2mm, opacitybacktitle=0.6, colback=white, opacityback=0]
\begin{tcolorbox}[enhanced jigsaw, rightrule=.15mm, bottomrule=.15mm, coltitle=black, colback=white, toprule=.15mm, colbacktitle=quarto-callout-note-color!10!white, left=2mm, arc=.35mm, title=\textcolor{quarto-callout-note-color}{\faInfo}\hspace{0.5em}{Hinweis}, opacitybacktitle=0.6, toptitle=1mm, leftrule=.75mm, titlerule=0mm, opacityback=0, breakable, bottomtitle=1mm, colframe=quarto-callout-note-color-frame]
Auch hier: Änderungen werden erst nach dem Speichern sichtbar.
@@ -438,7 +434,7 @@ verwenden}\label{quarto-mit-jupyterlab-verwenden}
Weitere Infos:
\href{https://quarto.org/docs/tools/jupyter-lab.html}{JupyterLab-Leitfaden}.
\begin{tcolorbox}[enhanced jigsaw, titlerule=0mm, toprule=.15mm, toptitle=1mm, leftrule=.75mm, colframe=quarto-callout-note-color-frame, breakable, coltitle=black, bottomtitle=1mm, arc=.35mm, title=\textcolor{quarto-callout-note-color}{\faInfo}\hspace{0.5em}{Hinweis}, rightrule=.15mm, bottomrule=.15mm, colbacktitle=quarto-callout-note-color!10!white, left=2mm, opacitybacktitle=0.6, colback=white, opacityback=0]
\begin{tcolorbox}[enhanced jigsaw, rightrule=.15mm, bottomrule=.15mm, coltitle=black, colback=white, toprule=.15mm, colbacktitle=quarto-callout-note-color!10!white, left=2mm, arc=.35mm, title=\textcolor{quarto-callout-note-color}{\faInfo}\hspace{0.5em}{Hinweis}, opacitybacktitle=0.6, toptitle=1mm, leftrule=.75mm, titlerule=0mm, opacityback=0, breakable, bottomtitle=1mm, colframe=quarto-callout-note-color-frame]
Auch hier gilt: Speichern aktualisiert die Vorschau.
@@ -451,14 +447,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, titlerule=0mm, toprule=.15mm, toptitle=1mm, leftrule=.75mm, colframe=quarto-callout-note-color-frame, breakable, coltitle=black, bottomtitle=1mm, arc=.35mm, title=\textcolor{quarto-callout-note-color}{\faInfo}\hspace{0.5em}{Hinweis}, rightrule=.15mm, bottomrule=.15mm, colbacktitle=quarto-callout-note-color!10!white, left=2mm, opacitybacktitle=0.6, colback=white, opacityback=0]
\begin{tcolorbox}[enhanced jigsaw, rightrule=.15mm, bottomrule=.15mm, coltitle=black, colback=white, toprule=.15mm, colbacktitle=quarto-callout-note-color!10!white, left=2mm, arc=.35mm, title=\textcolor{quarto-callout-note-color}{\faInfo}\hspace{0.5em}{Hinweis}, opacitybacktitle=0.6, toptitle=1mm, leftrule=.75mm, titlerule=0mm, opacityback=0, breakable, bottomtitle=1mm, colframe=quarto-callout-note-color-frame]
Die Konvertierung ist \textbf{verlustfrei}. Du kannst frei zwischen den
Formaten wechseln.
\end{tcolorbox}
\begin{tcolorbox}[enhanced jigsaw, titlerule=0mm, toprule=.15mm, toptitle=1mm, leftrule=.75mm, colframe=quarto-callout-important-color-frame, breakable, coltitle=black, bottomtitle=1mm, arc=.35mm, title=\textcolor{quarto-callout-important-color}{\faExclamation}\hspace{0.5em}{Wichtig}, rightrule=.15mm, bottomrule=.15mm, colbacktitle=quarto-callout-important-color!10!white, left=2mm, opacitybacktitle=0.6, colback=white, opacityback=0]
\begin{tcolorbox}[enhanced jigsaw, rightrule=.15mm, bottomrule=.15mm, coltitle=black, colback=white, toprule=.15mm, colbacktitle=quarto-callout-important-color!10!white, left=2mm, arc=.35mm, title=\textcolor{quarto-callout-important-color}{\faExclamation}\hspace{0.5em}{Wichtig}, opacitybacktitle=0.6, toptitle=1mm, leftrule=.75mm, titlerule=0mm, opacityback=0, breakable, bottomtitle=1mm, colframe=quarto-callout-important-color-frame]
Wenn du eine \texttt{.qmd}-Datei als PDF speicherst und eine
\texttt{.ipynb}-Datei mit dem gleichen Namen existiert, wird diese
@@ -789,7 +785,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, titlerule=0mm, toprule=.15mm, toptitle=1mm, leftrule=.75mm, colframe=quarto-callout-tip-color-frame, breakable, coltitle=black, bottomtitle=1mm, arc=.35mm, title=\textcolor{quarto-callout-tip-color}{\faLightbulb}\hspace{0.5em}{Tipp}, rightrule=.15mm, bottomrule=.15mm, colbacktitle=quarto-callout-tip-color!10!white, left=2mm, opacitybacktitle=0.6, colback=white, opacityback=0]
\begin{tcolorbox}[enhanced jigsaw, rightrule=.15mm, bottomrule=.15mm, coltitle=black, colback=white, toprule=.15mm, colbacktitle=quarto-callout-tip-color!10!white, left=2mm, arc=.35mm, title=\textcolor{quarto-callout-tip-color}{\faLightbulb}\hspace{0.5em}{Tipp}, opacitybacktitle=0.6, toptitle=1mm, leftrule=.75mm, titlerule=0mm, opacityback=0, breakable, bottomtitle=1mm, colframe=quarto-callout-tip-color-frame]
In deiner \texttt{.bib}-Datei (\texttt{assets/literatur.bib}) sollte der
Eintrag für eine Webseite so aussehen: