Compare commits

...

2 Commits

2 changed files with 16 additions and 15 deletions

View File

@ -1,15 +1,12 @@
% I think this was mandatory, paper size, font size and type % Zeroth rule: when using git and \LaTeX, one paragraph equals one line, forget staying pretty in plaintext editor
% 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
%
% Potentially interesting options: % Potentially interesting options:
% * onecolumn (default) or twocolumn % * onecolumn (default) or twocolumn
% * final (default) or draft % * final (default) or draft
\documentclass[a4paper,12pt]{artikel3} % * font size can be defined here after a4paper e.g. 12pt
% I am unsure on this being mandatory, but explicit is probably better than \documentclass[a4paper]{artikel3}
% implicit?
%\usepackage[T1]{fontenc}
% Definitely reduntant, this library book spoke of latin1. Don't uncomment
% with cmap
%\usepackage[utf8]{inputenc}
% I can specify multiple languages for hyphenation! texlive-babel % I can specify multiple languages for hyphenation! texlive-babel
% The last is main document language % The last is main document language
\usepackage[english,finnish,esperanto]{babel} \usepackage[english,finnish,esperanto]{babel}
@ -36,15 +33,13 @@
\section*{Hello World!} \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!
\selectlanguage{finnish} \selectlanguage{finnish}
\section*{Samahko suomeksi!} \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öä!
\selectlanguage{english} \selectlanguage{english}
@ -66,5 +61,11 @@ 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}

View File

@ -1,6 +1,6 @@
% https://github.com/datakurre/vakioasiakirja % https://github.com/datakurre/vakioasiakirja
% ~/texmf/tex/latex/local (`kpsewhich -var-value=TEXMFHOME`) % ~/texmf/tex/latex/local (`kpsewhich -var-value=TEXMFHOME`)
\documentclass[a4paper,10pt]{vakioasiakirja} \documentclass[a4paper]{vakioasiakirja}
% Last language is the document main language! % Last language is the document main language!
\usepackage[english,finnish]{babel} \usepackage[english,finnish]{babel}
% Noto Serif everywhere % Noto Serif everywhere
@ -9,7 +9,7 @@
\usepackage{cmap} \usepackage{cmap}
\author{Mikaela \underline{Aminda} H. M. Suomalainen} \author{Aminda Suomalainen}
\address{ \address{
Address details\\ Address details\\