LaTeX/hello.tex: play around with censor

This commit is contained in:
Aminda Suomalainen 2022-07-23 10:43:23 +03:00
parent e2deb46922
commit bd78622220
Signed by: Mikaela
SSH Key Fingerprint: SHA256:CXLULpqNBdUKB6E6fLA1b/4SzG0HvKD19PbIePU175Q

View File

@ -13,14 +13,35 @@
\usepackage{noto-serif} \usepackage{noto-serif}
% texlive-cmap makes pdflatex copy-pasteable % texlive-cmap makes pdflatex copy-pasteable
\usepackage{cmap} \usepackage{cmap}
% This package is great and I want to be reminded of it whenever I use \LaTeX
\usepackage{censor}
% Uncomment to uncensor in output
%\StopCensoring
% Text begins here % Text begins here
\begin{document} \begin{document}
\section*{Hello World!}
Hello Wörld! This is a simple \LaTeX\ template file or similar where I can 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! cheat how does this work again. Possibly with even comments!
\section*{Samahko suomeksi!}
Hei maailma, heitän hiukan suomenkieltäkin tähän asiakirjaan perustellakseni Hei maailma, heitän hiukan suomenkieltäkin tähän asiakirjaan perustellakseni
ääkkösten käyttöä! ääkkösten käyttöä!
\section*{Playing with censor}
\xblackout{If the source is private, this is a secret!
So don't go talking about it!}
\def \Password{\censor*{8}}
\def \Huippusalainen{\censor*{14}}
Salasana on \Password. Älä unohda salasanan olevan \Password. Tämä tieto on \Huippusalainen.
% And ends here % And ends here
\end{document} \end{document}