latex/hello.tex: the zeroth rule of git+LaTeX is one sentence per line! not paragraph!

This commit is contained in:
Aminda Suomalainen 2022-10-24 12:12:29 +03:00
parent 80a05ead64
commit cbc40d1142
Signed by: Mikaela
SSH Key Fingerprint: SHA256:CXLULpqNBdUKB6E6fLA1b/4SzG0HvKD19PbIePU175Q

View File

@ -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 % 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!} \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} \selectlanguage{finnish}
@ -53,19 +55,24 @@ So don't go talking about it!}
\selectlanguage{finnish} \selectlanguage{finnish}
\def \Huippusalainen{\censor*{14}} \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} \selectlanguage{english}
\section*{Remember!} \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. If you were to censor things using \textbackslash xblackout containing unicode, the unicode chars would need to be within curly brackets.
\selectlanguage{finnish} \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 % And ends here
\end{document} \end{document}