added section about unnumbered subsections, escaping characters and landscape page

This commit is contained in:
2025-01-16 18:49:42 +01:00
parent 83939a88ad
commit b85447ec53

View File

@@ -48,6 +48,9 @@ automatically styled correctly.
| `\subsubsection{<YOUR_TITLE>}` | This is the second subtitle. It is numbered with three numbers (e.g. 1.1.1 Subsubtitle). |
| `\subsubsubsection{<YOUR_TITLE>}` | This is the third subtitle. It is not numbered at all and is also not showing up in the table of contents. |
If the section should not be numbered, you can use a * before the opening bracket. Should look like this:
`\subsection*{<YOUR_TITLE>}`.
## Formatting text
The following commands are used to format normal paragraphs. However, most commands can be used in other environments (
@@ -60,6 +63,16 @@ e.g. tables) as well.
| `\textit{<TEXT>}` | Formats the text inside the brackets italic. |
| `\underline{<TEXT>}` | Underlines the text inside the brackets. |
## Escaping characters
Some characters are used as a part of a command for latex. Due to that, they need to be escaped when they should be
printed specifically. To escape a character, you use a '\\' before the character or symbol. Typical symbols you need to
escape are:
| Symbol | Escaped |
|--------|---------|
| \\ | \\\ |
## Bulletpoints and Enumerations
### Bulletpoints
@@ -447,4 +460,19 @@ So to import multiple pages of the same document, use the following syntax:
```
The first command imports the first page of your pdf. The second command includes the 2nd to last page into your main
file. You can also change the page-range of the second command, in case you don't want all pages to the last inculded.
file. You can also change the page-range of the second command, in case you don't want all pages to the last inculded.
# Create a landscape page inside a document
To create a landscape page inside a portrait document, you can use `\begin{landscape}`. In the following example this is
explained better:
```latex
This paragraph is still in portrait.
\pagebreak
\begin{landscape}
This paragraph is in landscape.
\end{landscape}
This paragraph is in portrait again.
```