Improving a few line breaks, possibly destroying everything language-related in doing so.

This commit is contained in:
Kremitzl 2022-01-20 19:50:00 +01:00
parent 68ff85c26d
commit 0037368ab3
8 changed files with 19 additions and 16 deletions

View File

@ -76,7 +76,7 @@ Alternatively, foreign-language text can be declared by using the following comm
\codeblock{latex}{listings/basic-document-structure/foreign-language.tex}
\section{Document environment}
The actual content of the \acro{PDF} document needs to be put between \code{latex}{\textbackslash begin\{document\}} and \code{latex}{\textbackslash end\{document\}}.
The actual content of the \acro{PDF} document needs to be put inside of an environment starting with \code{latex}{\textbackslash begin\{document\}} and ending with \code{latex}{\textbackslash end\{document\}}.
\subsection{Continuous text}
The easiest content that we can integrate into the document environment is continuous text.

View File

@ -23,7 +23,7 @@ In case you get to choose, it is best to install the full version with all packa
\section*{Editor}
As soon as you have installed the compiler, you can download an editor that you are going to use to write your \LaTeX{} documents.
Any editor will do (notepad++, Atom, VS Code, etc.).
However, for beginners, we recommend using \TeX{}studio.\footnote{You find the latest version on \url{https://www.texstudio.org/}.}, a program that supports you with \LaTeX-specific features.
However, for beginners, we recommend using \TeX{}studio,\footnote{You find the latest version on \url{https://www.texstudio.org/}.} a program that supports you with \LaTeX-specific features.
\section*{Compiling for the first time}
Open up the file \file{main.tex} in \TeX{}studio.

View File

@ -19,13 +19,13 @@ An exemplary item can be seen in \cref{lst:bibfile-sample-entry}.
\label{lst:bibfile-sample-entry}
\end{figure}
The type of the bibliography entry is specified after the opening \mono{@} sign (e.\,g., article, book, proceedings, …).
The type of the bibliography entry is specified after the opening \mono{@} sign (article, book, proceedings, …).
What follows is a list of important attributes like title and author.
Whether they are required or not depends on the type of the entry.
In any case, we will need the first entry after the opening braces: the Bib\TeX{} key.
This is the identifier that we will use to reference the entry in our \LaTeX{} document.
Bib\TeX{} keys can be chosen freely, but have to be unique.
Typically, they will consist of a combination of authors, publication dates, and topics.
Typically, they will consist of a combination of authors, publication dates, and topics.\newpage
\textbf{Bibliography files} can be compiled manually, yet it is more common to use programs like JabRef,\footnote{Cf. \url{https://www.jabref.org/}.} Zotero\footnote{Cf. \url{https://www.zotero.org/}.} or the widely-used software Citavi\footnote{Vgl. \url{https://www.citavi.com/de}.}.
While JabRef operates directly on your bibliography file, Zotero and Citavi projects\footnote{Vgl. \url{https://www1.citavi.com/sub/manual5/de/exporting_to_bibtex.html}.} can be exported to bibliography files to use them in \LaTeX{} documents.

View File

@ -95,7 +95,7 @@ We already have presented a selection of packages. However, there are thousands
that you cannot overlook can be created with \pkg{todonotes}.\footnote{\url{https://www.ctan.org/pkg/todonotes}}
With this package, you can mark what you still \todo{Please do not change. This is an example.} have to change within your document.
\item[Pages of other \acro{PDF} files]
can be integrated into the source code with \texttt{pdfpages}.\footnote{\url{https://www.ctan.org/pkg/pdfpages}}
can be integrated into the source code with the \texttt{pdfpages}\footnote{\url{https://www.ctan.org/pkg/pdfpages}} package.
It comes in very handy whenever one needs the output of external programs in the document, for example, in the appendix.
Just compile the document one more time and the appendix is up to date again, if the external program has changed something.
\item[Nested graphics]
@ -131,7 +131,7 @@ If you are looking for examples dedicated to TikZ, \textbf{\TeX{}ample}\footnote
For concrete questions, the question-answering platform \textbf{Stackexchange} is a good place to go: There even is a \TeX{} community there.\footnote{\url{https://tex.stackexchange.com/}}
Of course, you can always contact us with your questions:
~\newline\noindent Of course, you can always contact us with your questions:
\begin{compactitem}
\item via mail to \href{mailto:fachschaft-wiai.stuve@uni-bamberg.de}{fachschaft-wiai.stuve@uni-bamberg.de},
\item via phone at +49951\,863\,1219,

View File

@ -29,11 +29,11 @@ Out of the box, your editor will probably execute the following command after yo
\shell{pdflatex main.tex}
\noindent The exact command can be found and configured in \TeX{}studio under Options\,\,Configure \TeX{}studio\,\,Commands.
It is stated next to the label Pdf\LaTeX{}.
It is stated next to the Pdf\LaTeX{} label.
The file that is to be compiled will replace the placeholder \sh{\%.tex} upon compilation.
Typically, there are two additional options configured.
You can recognize them by the hyphen before their names (\sh{-synctex=1} and \sh{-interaction=\allowbreak{}nonstopmode}).
These options are called flags and configure the program \sh{pdflatex}.
These options are called flags and they configure the program \sh{pdflatex}.
We will have to add another flag.
Place the string \sh{-shell-escape} before the file placeholder (\sh{\%.tex}):

View File

@ -1,3 +1,7 @@
Java is an object-oriented programming language, that appeared in 1995. The most recent version of the programming language is version 16\footnote{March
2021}. In order to write Java programs, one needs to install the so-called \emph{Java Development Kit (JDK)}.\footnote{\url{https://www.oracle.com/java/technologies/javase-downloads.html}}
Java programs can be written independently from the operating system that one uses.
Java is an object-oriented programming language, that appeared in
1995. The most recent version of the programming language is
version 16\footnote{March 2021}. In order to write Java programs,
one needs to install the so-called \emph{Java Development Kit
(JDK)}.\footnote{\url{https://www.oracle.com/java/technologies/javase-downloads.html}}
Java programs can be written independently from the operating
system that one uses.

View File

@ -1,4 +1,4 @@
In the \file{exercises/graphics} directory you can find an image file named
In the \file{exercises/graphics} directory you can find an image file
\file{latex-logo.png}. Insert the image into the
\file{exercises/graphics/graphics.tex} file. Make sure that the image is placed
exactly where you have specified it. On top of that, the picture shall be

View File

@ -1,12 +1,11 @@
You will find a file called \file{Source.java} in the folder
\file{exercises/source-code-listings}.
In the folder \file{exercises/source-code-listings}, you will find a file called \file{Source.java}.
We will now include it into our document and adjust its display to fit our needs.
If you have questions, consult the \pkg{minted} or \pkg{listings} package documentation.
\section*{Minted tasks}
\begin{enumerate}
\item Include the file into
\item Include the file into \\
\file{exercises/source-code-listings/source-code-listings.tex}.
\item Activate syntax highlighting by stating the programming language Java.
\item Add line breaks and line numbers.
@ -20,7 +19,7 @@ If you have questions, consult the \pkg{minted} or \pkg{listings} package docume
\section*{Listings tasks}
\begin{enumerate}
\item Include the file into
\item Include the file into \\
\file{exercises/source-code-listings/source-code-listings.tex}.
\item Activate syntax highlighting by stating the programming language Java.
\item Set the \mono{basicstyle} to a proper mono-spaced font (\mono{\textbackslash ttfamily \textbackslash small})