summaryrefslogtreecommitdiff
path: root/macros/latex/contrib/koma-script-SFS/SFSesim.tex
diff options
context:
space:
mode:
authorNorbert Preining <norbert@preining.info>2019-09-02 13:46:59 +0900
committerNorbert Preining <norbert@preining.info>2019-09-02 13:46:59 +0900
commite0c6872cf40896c7be36b11dcc744620f10adf1d (patch)
tree60335e10d2f4354b0674ec22d7b53f0f8abee672 /macros/latex/contrib/koma-script-SFS/SFSesim.tex
Initial commit
Diffstat (limited to 'macros/latex/contrib/koma-script-SFS/SFSesim.tex')
-rw-r--r--macros/latex/contrib/koma-script-SFS/SFSesim.tex102
1 files changed, 102 insertions, 0 deletions
diff --git a/macros/latex/contrib/koma-script-SFS/SFSesim.tex b/macros/latex/contrib/koma-script-SFS/SFSesim.tex
new file mode 100644
index 0000000000..89985d6bf5
--- /dev/null
+++ b/macros/latex/contrib/koma-script-SFS/SFSesim.tex
@@ -0,0 +1,102 @@
+%%
+%% SFSesim.lco
+%%
+%% Copyright (c) Hannu Väisänen 2005
+%%
+%% This work may be distributed and/or modified under the
+%% conditions of the LaTeX Project Public License, either version 1.3
+%% of this license or (at your option) any later version.
+%% The latest version of this license is in
+%% http://www.latex-project.org/lppl.txt
+%% and version 1.3 or later is part of all distributions of LaTeX
+%% version 2003/12/01 or later.
+%%
+%% This work has the LPPL maintenance status "maintained".
+%% Maintainer is Hannu Väisänen <hvaisane@joyx.joensuu.fi>
+%%
+%% This work consists of the file SFS.lco and SFSesim.tex.
+%%
+\documentclass{scrlttr2}
+\usepackage[latin9]{inputenc}
+\usepackage[T1]{fontenc}
+\usepackage{lmodern}
+\usepackage[finnish]{babel}
+
+
+% Jos haluat kappaleet sisennettyinä, kommentoi seuraavat kaksi riviä.
+\setlength{\parindent}{0pt}
+\setlength{\parskip}{1ex plus 0.5ex minus 0.2ex}
+
+
+\LoadLetterOption{SFS}
+
+
+% Kappale 6.4.1, sivu 154.
+%
+\setkomavar{fromname}{Liisa Lähettäjä}
+\setkomavar{fromaddress}{Asuntokatu 456 \\ 12345 Olematon}
+\setkomavar{fromphone}{123 456 789}
+\setkomavar{fromfax}{987 654 321}
+\setkomavar{fromemail}{Etunimi.Sukunimi@osoite.fi}
+\setkomavar{fromurl}{www.yritys.osoite.fi}
+\KOMAoptions{foldmarks=false}
+%\KOMAoptions{fromphone,fromemail,fromurl}
+
+
+% Lähettäjän tiedot kirjeen alareunaan.
+\firstfoot{%
+ \parbox[t]{\textwidth}{
+ \begin{tabular}[t]{llll}
+ Liisa Lähettäjä & Puhelin & Faksi& Sähköposti \\
+ Asuntokatu 4456 & \usekomavar{fromphone}
+ & \usekomavar{fromfax}
+ & \usekomavar{fromemail} \\
+ 12345 Olematon
+ \end{tabular}%
+ }
+}
+
+
+\begin{document}
+\begin{letter}{Ville Vastaanottaja \\
+Asuntokatu 123 \\
+12345 Olematon}
+
+
+\opening{Aloitusfraasi tulee tähän}
+
+\C{0}
+
+Otsikko alkaa sarakkeesta 0
+
+\C{2}
+
+Leipäteksti alkaa sarakkeesta 2.
+
+Tämä kirje on esimerkki SFS-standardin mukaisesta kirjeestä.
+
+Kirje käyttää \KOMAScript'in scrlttr2-pakettia, johon on
+määritelty konfigurointitiedosto SFS.lco. Enemmän kommentteja
+on sen alussa.
+
+\C{0}
+
+Toinen otsikko
+
+\C{2}
+
+Sarakkeet määritellään komennolla \verb=\C{n}=,
+missä n voi olla 0, 1, 2, 3, 4, 5, 6, 7 tai 8.
+
+\verb=\C{0}= on sama kuin vasen marginaali, ja
+\verb=\C{8}= on sama kuin oikea marginaali.
+
+\C{0}
+
+
+%\cc{Huu Haa Hoo}
+%\encl{Juupa joo.}
+
+\closing{Lopetusfraasi tulee tähän}
+\end{letter}
+\end{document}