LaTeX/hello.tex: censoring unicode needs curly brackets

This commit is contained in:
Aminda Suomalainen 2022-10-20 13:29:37 +03:00
parent f68efecb4e
commit b183de7531
Signed by: Mikaela
SSH Key Fingerprint: SHA256:CXLULpqNBdUKB6E6fLA1b/4SzG0HvKD19PbIePU175Q

View File

@ -66,5 +66,10 @@ Salasana on \Password. Älä unohda salasanan olevan \Password. Tämä tieto on
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}!
% And ends here % And ends here
\end{document} \end{document}