diff --git a/content/basic-document-structure.tex b/content/basic-document-structure.tex index bbab739..c632bfe 100644 --- a/content/basic-document-structure.tex +++ b/content/basic-document-structure.tex @@ -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. diff --git a/content/first-steps-with-latex.tex b/content/first-steps-with-latex.tex index 659d056..5601694 100644 --- a/content/first-steps-with-latex.tex +++ b/content/first-steps-with-latex.tex @@ -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. diff --git a/content/literature.tex b/content/literature.tex index f322800..01fbbdf 100644 --- a/content/literature.tex +++ b/content/literature.tex @@ -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. diff --git a/content/prospects.tex b/content/prospects.tex index 382e208..9457444 100644 --- a/content/prospects.tex +++ b/content/prospects.tex @@ -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, diff --git a/content/source-code-listings-minted.tex b/content/source-code-listings-minted.tex index 8be5e49..9f8d6d0 100644 --- a/content/source-code-listings-minted.tex +++ b/content/source-code-listings-minted.tex @@ -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}): diff --git a/exercises/footnotes/footnotes.code.tex b/exercises/footnotes/footnotes.code.tex index c401e07..36a1f65 100644 --- a/exercises/footnotes/footnotes.code.tex +++ b/exercises/footnotes/footnotes.code.tex @@ -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. \ No newline at end of file +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. diff --git a/exercises/graphics/task.tex b/exercises/graphics/task.tex index 46f3ad8..7cdd179 100644 --- a/exercises/graphics/task.tex +++ b/exercises/graphics/task.tex @@ -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 diff --git a/exercises/source-code-listings/task.tex b/exercises/source-code-listings/task.tex index 4325eab..6ee9b8c 100644 --- a/exercises/source-code-listings/task.tex +++ b/exercises/source-code-listings/task.tex @@ -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})