diff --git a/content/project-structure.tex b/content/project-structure.tex index 58166c0..d531cfa 100644 --- a/content/project-structure.tex +++ b/content/project-structure.tex @@ -1,6 +1,8 @@ \chapter{Project structure} \label{sec:project-structure} +\todo{Wäre zu diesem Kapitel noch ein schematisches Bild sinnvoll?} + In the previous chapters we have only seen very short \LaTeX{} examples. \LaTeX{} can of course also be used to create larger documents and projects, such as a thesis. In order not to lose the overview in the source code and to avoid that source files become too long, a reasonable structuring of a larger \LaTeX{} project is advisable. For this purpose, the source code is divided into different files, which will be discussed in more detail in the following sections. diff --git a/exercises/project-structure/main.raw.tex b/exercises/project-structure/main.raw.tex index 5520040..e6fe69c 100644 --- a/exercises/project-structure/main.raw.tex +++ b/exercises/project-structure/main.raw.tex @@ -1,5 +1,5 @@ \documentclass{article} -\usepackage[ngerman]{babel} +\usepackage[english]{babel} \usepackage[utf8]{inputenc} \usepackage[T1]{fontenc} diff --git a/exercises/project-structure/preamble.done.tex b/exercises/project-structure/preamble.done.tex index c299ab4..a4597bb 100644 --- a/exercises/project-structure/preamble.done.tex +++ b/exercises/project-structure/preamble.done.tex @@ -1,5 +1,5 @@ \documentclass{article} -\usepackage[ngerman]{babel} +\usepackage[english]{babel} \usepackage[utf8]{inputenc} \usepackage[T1]{fontenc} diff --git a/exercises/project-structure/tasks.done.tex b/exercises/project-structure/tasks.done.tex index 770d078..7529ecd 100644 --- a/exercises/project-structure/tasks.done.tex +++ b/exercises/project-structure/tasks.done.tex @@ -18,19 +18,19 @@ \mintinline{latex}{\include} makes every included file appear on a new page. Hence the command \mintinline{latex}{\newpage} becomes superfluous. \item - \textbf{Can the preamble also be excluded? If no, why? If yes, why can + \textbf{Can the preamble also be excluded? If no, why? If yes, when can outsourcing the preamble be useful?} \\ The preamble can also be outsourced, like in task 1. In real-world \LaTeX{} projects we often make use of numerous packages that need to be configured by additional commands within the preamble. Therefore, it is advisable to - outsource the preamble. On top of that, this is useful because the file can + outsource the preamble. On top of that, this is useful because the file with the most-commonly used packages can be moved from one project to another without needing to rewrite the preamble every time. \item \textbf{Add the command \mintinline{latex}{\includeonly{section2}} to the 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 \mintinline{latex}{\includeonly{section2}} doex exactly what + the command do and how can it be helpful in a larger project? } \\ + The command \mintinline{latex}{\includeonly{section2}} does exactly what the name already says. During compilation, only the \mintinline{latex}{\include} statements that contain file names that appear in diff --git a/listings/basic-document-structure/headlines_crop.pdf b/listings/basic-document-structure/headlines_crop.pdf index ad52efb..966f055 100644 Binary files a/listings/basic-document-structure/headlines_crop.pdf and b/listings/basic-document-structure/headlines_crop.pdf differ diff --git a/listings/basic-document-structure/hello-world_crop.pdf b/listings/basic-document-structure/hello-world_crop.pdf index 344dd04..37cf7d7 100644 Binary files a/listings/basic-document-structure/hello-world_crop.pdf and b/listings/basic-document-structure/hello-world_crop.pdf differ diff --git a/listings/basic-document-structure/titles_crop.pdf b/listings/basic-document-structure/titles_crop.pdf index dadd5cf..c643097 100644 Binary files a/listings/basic-document-structure/titles_crop.pdf and b/listings/basic-document-structure/titles_crop.pdf differ diff --git a/listings/lists/description-list_crop.pdf b/listings/lists/description-list_crop.pdf index b3e5cca..1a6eee8 100644 Binary files a/listings/lists/description-list_crop.pdf and b/listings/lists/description-list_crop.pdf differ diff --git a/listings/literature/natdin-example_bib.pdf b/listings/literature/natdin-example_bib.pdf index cdb9368..5ac1cc6 100644 Binary files a/listings/literature/natdin-example_bib.pdf and b/listings/literature/natdin-example_bib.pdf differ diff --git a/listings/maths/align-example_crop.pdf b/listings/maths/align-example_crop.pdf index 095c660..bcfc2aa 100644 Binary files a/listings/maths/align-example_crop.pdf and b/listings/maths/align-example_crop.pdf differ diff --git a/listings/project-structure/main-file_crop.pdf b/listings/project-structure/main-file_crop.pdf index a3bf405..f70d9ef 100644 Binary files a/listings/project-structure/main-file_crop.pdf and b/listings/project-structure/main-file_crop.pdf differ diff --git a/listings/references/ref_crop.pdf b/listings/references/ref_crop.pdf index 9b0baf6..dffcbfe 100644 Binary files a/listings/references/ref_crop.pdf and b/listings/references/ref_crop.pdf differ