summaryrefslogtreecommitdiff
path: root/language/swedish/slatex/slatex.1
blob: 78994000e0bdb7c9b408977a2e0f95ca47296ab6 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
.TH SLATEX l
.SH NAME
slatex \- Swedish speaking version of latex
.SH SYNOPSIS
.B slatex
[name]
.SH DESCRIPTION
.IR SLaTeX
is a modified version of
.IR LaTeX
for writing Swedish text.
.IR SLaTeX
does, however, not restrict itself to Swedish text. Any character set
supported by
.IR LaTeX
can be used, but
.IR SLaTeX
makes it more convenient to write in a language where the ASCII
national characters have other meanings than in the US-ASCII set.
.LP
To write Swedish text with
.IR SLaTeX
you type the characters as they
appear on the terminal keyboard (on US-ASCII keyboards you will find
the national characters at the "]", "[" and "\e" keys). To accomplish
this some of the
.IR LaTeX
special characters have to be substituted for others to avoid using
the national symbols.
.LP
Thus, in
.IR SLaTeX,
the following character mappings relative to
.IR LaTeX
are done:
.IP 1.
The TeX escape and grouping characters, "\e", "{" and "}" are
substituted for "!", "<" and ">" respectively.
.IP 2.
The
.IR LaTeX
optional argument delimiters, "[" and "]", are substituted for "(" and
")".
.IP 3.
In
.IR LaTeX
picture points (coordinates) are written "(x,y)" but in
.IR SLaTeX
they should be substituted for '"x,y"' (note the double quotes), since
the parenthesis are already taken as option delimiters.
.IP 4.
The vertical rule symbol for the array and tabular environments is
changed from "|" to ":".
.IP 5.
The suffix for the document style option files, ".sty", has been
substituted for ".sst".
.IP 6.
The special commands "\e[", "\e]", "\e(", "\e) and "\e\e" have the
same meaning as in 
.IR LaTeX
but are typed as "![", "!]", "!(", "!)" and "!!"  respectively.  To
produce the characters "[", "]", "\e", "{", "}", "|" ">", "<" and "!"
(not the national variants but the US-ASCII ones) type "!lbrack",
"!rbrack", "!backslash", "!lbrace", "!rbrace", "!vert", "!gt", "!lt"
and "!bang" respectively.  The negative thin-space command, "\e!", is
issued by typing "!nspace".
.SH "SEE ALSO"
.IR tex (l),
.IR texprint (l),
.IR dvi2ps (l),
.IR lpr (1),
the
.IR gmacs (l)
latex-mode, Donald E. Knuth, "The TeXbook" and
Leslie Lamport, "The LaTeX Document Preparation System".
.SH BUGS
Well, one can format the
.IR LaTeX
manual so no obvious ones as yet... However, in strings the national
characters are substituted for the ``\eaccent'' command making it
easier to exhaust the string length used in 
.IR TeX .
For example captions with lots of national characters may use up all
string space.

Be careful when using "!bang" to end a sentence as white space
following a macro call is discarded.  To preserve space after an
exclamation mark use "!bang<>".  Here the extra angle braces will
terminate the macro name and preserve the meaning of the following
white space.
.SH CULPRIT
sven@agaton.se