mirror of
https://gitea.blesmrt.net/mikaela/gist.git
synced 2024-11-25 12:49:23 +01:00
LaTeX/hello.tex: play around with censor
This commit is contained in:
parent
e2deb46922
commit
bd78622220
@ -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}
|
||||||
|
Loading…
Reference in New Issue
Block a user