From b85447ec539e1149ee51cd0a81b9d1bd2d2be071 Mon Sep 17 00:00:00 2001 From: Tobias Hilfiker Date: Thu, 16 Jan 2025 18:49:42 +0100 Subject: [PATCH] added section about unnumbered subsections, escaping characters and landscape page --- README.md | 30 +++++++++++++++++++++++++++++- 1 file changed, 29 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index d8b609b..c751f0d 100644 --- a/README.md +++ b/README.md @@ -48,6 +48,9 @@ automatically styled correctly. | `\subsubsection{}` | This is the second subtitle. It is numbered with three numbers (e.g. 1.1.1 Subsubtitle). | | `\subsubsubsection{}` | 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*{}`. + ## 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{}` | Formats the text inside the brackets italic. | | `\underline{}` | 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. \ No newline at end of file +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. +``` \ No newline at end of file