From e7ce8239ff538af2d01999b27e12af8b8b476741 Mon Sep 17 00:00:00 2001
From: Jan Wille <jan.wille@stud.hs-hannover.de>
Date: Sun, 28 Apr 2024 17:16:47 +0200
Subject: [PATCH] add empty "starting a new document"

---
 chap/startingAdocument.tex |  1 +
 example.pdf                |  4 ++--
 example.tex                | 19 +++++++++++++++++--
 3 files changed, 20 insertions(+), 4 deletions(-)
 create mode 100644 chap/startingAdocument.tex

diff --git a/chap/startingAdocument.tex b/chap/startingAdocument.tex
new file mode 100644
index 0000000..907b210
--- /dev/null
+++ b/chap/startingAdocument.tex
@@ -0,0 +1 @@
+\chapter{Starting a new document} \label{chap: starting new}
diff --git a/example.pdf b/example.pdf
index b00999b..ccc913a 100644
--- a/example.pdf
+++ b/example.pdf
@@ -1,3 +1,3 @@
 version https://git-lfs.github.com/spec/v1
-oid sha256:4672eef84e4ddc603a56185fa7e97cce96d15c34d53d0229eebef2d960318a71
-size 204508
+oid sha256:1d41115beb30d3666e8c97b4ce07b908d3185513eb3f69cf57e5fcf37f01afef
+size 206630
diff --git a/example.tex b/example.tex
index 2820d4a..39750bf 100644
--- a/example.tex
+++ b/example.tex
@@ -53,6 +53,14 @@
 \keywords{some, informative, keywords}
 
 
+% ----- document seperation -----
+% If you split your document into seperate files using `\include',
+% you can temporarily exclude not required files to save compiletime
+% LATeX will still remember chapter-numbers, page-numbers and alike
+% from the last run (but only if the temp files are still around)
+% comment this in to use it:
+%\includeonly{chap/startingAdocument}
+
 %---------------------- beginning of document -------------------------------------------------------------------------------------------------------%
 % Now that you are all set, let's begin with the actual content of the document.
 % Don't forget the corresponding `\end{document}'!
@@ -94,10 +102,17 @@
     \mainmatter
 
     % now we can begin with the actuall relevant content
-    % you chould just putt all commands and content herer,
-    % but for larger documents it makes sens to split each chapter into a seperate file.
+    % you could just put all commands and content here,
+    % but for larger documents it makes sense to split each chapter into a seperate file.
+    % NOTE: you can use the \includeonly{} in the preamble to temporarily only work on a
+    % small subset of the document.
+    %
     % We include this files here:
     \include{chap/whatsLaTeX}
+	\include{chap/startingAdocument}
+    % ATTENTION: you can NOT nest multiple `\inlcude' commands into each other.
+    % You can use `\input' inside included files though
+
 
     % print list of figures and tables
     \listoffigures
-- 
GitLab