Remove remaining \mintinline calls

This commit is contained in:
Knoch 2022-01-08 14:15:29 +01:00
parent ff281eea38
commit fa4f63aedb
3 changed files with 6 additions and 8 deletions

View File

@ -13,10 +13,9 @@ Let's take a closer look at the preamble.
A minimal preamble should contain the following specifications: A minimal preamble should contain the following specifications:
\subsection{Document class}\label{sec:document-class} \subsection{Document class}\label{sec:document-class}
We can define a document class by using the command \mintinline[breaklines,breakafter=-,breakaftersymbolpre={}]{latex}|\documentclass[<para-meter>]{<document class>}|. We can define a document class by using the command \code{latex}{\textbackslash documentclass[<para- meter>]\{<document class>\}}.
\todo{Wie sollen wir das abbilden?}
The most commonly used document classes that are supported by default are \pkg{article} for short documents, and \pkg{report} for longer ones. The most commonly used document classes that are supported by default are \pkg{article} for short documents, and \pkg{report} for longer ones.
Furthermore, you can use \pkg{book} for books, \pkg{beamer}\footnote{We do not cover making presentations in \LaTeX{} in this tutorial. However, if you are interested in the topic, we recommend this introduction on Overleaf: \url{https://www.overleaf.com/learn/latex/Beamer}} for presentations, and \mintinline{latex}{letter}\footnote{We also do not cover letters in this script. An introduction can be found on WikiBooks: \url{https://en.wikibooks.org/wiki/LaTeX/Letters}} for letters. Furthermore, you can use \pkg{book} for books, \pkg{beamer}\footnote{We do not cover making presentations in \LaTeX{} in this tutorial. However, if you are interested in the topic, we recommend this introduction on Overleaf: \url{https://www.overleaf.com/learn/latex/Beamer}} for presentations, and \pkg{letter}\footnote{We also do not cover letters in this script. An introduction can be found on WikiBooks: \url{https://en.wikibooks.org/wiki/LaTeX/Letters}} for letters.
In addition to the standard document classes, the \acro{KOMA} script classes have been developed. In addition to the standard document classes, the \acro{KOMA} script classes have been developed.
They provide alternatives to the document classes mentioned above: They provide alternatives to the document classes mentioned above:

View File

@ -16,8 +16,7 @@ In documents written in English, \LaTeX{} uses traditional English Spacing by de
We can prevent this by using the command \code{tex}{\textbackslash frenchspacing} above the first paragraph. We can prevent this by using the command \code{tex}{\textbackslash frenchspacing} above the first paragraph.
With \code{latex}{\textbackslash nonfrenchspacing}, we can reset the behavior. With \code{latex}{\textbackslash nonfrenchspacing}, we can reset the behavior.
When using English Spacing, \LaTeX{} tries to recognize abbreviations and to use normal spaces after those. When using English Spacing, \LaTeX{} tries to recognize abbreviations and to use normal spaces after those.
We should still check this and\,---\,where necessary\,---\,enforce word spaces (\mintinline[showspaces]{tex}{.\ }) or sentence spaces (\mintinline[showspaces]{tex}{\@. }). We should still check this and\,---\,where necessary\,---\,enforce word spaces (\mono{.\textbackslash}) or sentence spaces (\mono{\textbackslash @.␣}).
\todo{Wie setzen wir showspaces um?}
\section{Hyphens and dashes} \section{Hyphens and dashes}
There are different kinds of horizontal lines being used as punctuation, There are different kinds of horizontal lines being used as punctuation,

View File

@ -1,12 +1,12 @@
\begin{enumerate} \begin{enumerate}
\item \textbf{Put the sections of the file into separate files, named \item \textbf{Put the sections of the file into separate files, named
\texttt{section1.tex}, \texttt{section2.tex}, and \texttt{section3.tex}. \texttt{section1.tex}, \texttt{section2.tex}, and \texttt{section3.tex}.
Include them using the \mintinline{latex}{\include} command.} Include them using the \code{\textbackslash include} command.}
\item \textbf{Which command becomes superfluous when you use \item \textbf{Which command becomes superfluous when you use
\mintinline{latex}{\include}} \code{\textbackslash include}}
\item \textbf{Can the preamble also be excluded? If no, why? If yes, why can \item \textbf{Can the preamble also be excluded? If no, why? If yes, why can
outsourcing the preamble be useful?} outsourcing the preamble be useful?}
\item \textbf{Add the command \mintinline{latex}{\includeonly{section2}} to \item \textbf{Add the command \code{\textbackslash includeonly\{section2\}} to
the the
preamble. Compile the document again, and check what has changed. What does preamble. Compile the document again, and check what has changed. What does
the command do and why can it be helpful in a larger project? } the command do and why can it be helpful in a larger project? }