mirror of
https://gitea.blesmrt.net/mikaela/gist.git
synced 2024-11-22 03:09:22 +01:00
latex/hello.tex: the zeroth rule of git+LaTeX is one sentence per line! not paragraph!
This commit is contained in:
parent
80a05ead64
commit
cbc40d1142
@ -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}
|
||||
|
Loading…
Reference in New Issue
Block a user