From cbc40d114253411a776fd61ff2af3f9b6b203b8f Mon Sep 17 00:00:00 2001 From: Aminda Suomalainen Date: Mon, 24 Oct 2022 12:12:29 +0300 Subject: [PATCH] latex/hello.tex: the zeroth rule of git+LaTeX is one sentence per line! not paragraph! --- LaTeX/hello.tex | 17 ++++++++++++----- 1 file changed, 12 insertions(+), 5 deletions(-) diff --git a/LaTeX/hello.tex b/LaTeX/hello.tex index e1cd4fc..9ad6c8a 100644 --- a/LaTeX/hello.tex +++ b/LaTeX/hello.tex @@ -1,4 +1,5 @@ -% Zeroth rule: when using git and \LaTeX, one paragraph equals one line, forget staying pretty in plaintext editor +% Zeroth rule: when using git and \LaTeX, one sentence equals one line, forget staying pretty in plaintext editor! +% To have paragraphs, you will leave an empty line in the middle anyway. % % I think this was mandatory, paper size, font size and type artikel3 is NL, but more pleasant to European than article % @@ -33,7 +34,8 @@ \section*{Hello World!} -Hello Wörld! This is a simple \LaTeX\ template file or similar where I can cheat how does this work again. Possibly with even comments! +Hello Wörld! This is a simple \LaTeX\ template file or similar where I can cheat how does this work again. +Possibly with even comments! \selectlanguage{finnish} @@ -53,19 +55,24 @@ So don't go talking about it!} \selectlanguage{finnish} \def \Huippusalainen{\censor*{14}} -Salasana on \Password. Älä unohda salasanan olevan \Password. Tämä tieto on \Huippusalainen. +Salasana on \Password. +Älä unohda salasanan olevan \Password. +Tämä tieto on \Huippusalainen. \selectlanguage{english} \section*{Remember!} -To have a non-breaking space use \textasciitilde\ (a tilde). A backslash would be \textbackslash. A forced linechange is \textbackslash\textbackslash. +To have a non-breaking space use \textasciitilde\ (a tilde). +A backslash would be \textbackslash. +A forced linechange is \textbackslash\textbackslash. If you were to censor things using \textbackslash xblackout containing unicode, the unicode chars would need to be within curly brackets. \selectlanguage{finnish} -\xblackout{T{ä}h{ä}n tapaan!} Kiva suomenkielinen sana on \xblackout{h{ää}y{ö}aie}! +\xblackout{T{ä}h{ä}n tapaan!} +Kiva suomenkielinen sana on \xblackout{h{ää}y{ö}aie}! % And ends here \end{document}