]> git.saurik.com Git - wxWidgets.git/blame - utils/tex2rtf/docs/mysober.sty
Move oleacc.lib from the VC++ projects/makefiles to libraries.h
[wxWidgets.git] / utils / tex2rtf / docs / mysober.sty
CommitLineData
9a29912f
JS
1% SOBER.STY van Nico Poppelier
2% Adapted by Julian Smart for his own
3% nefarious purposes
4% --------------------------------------
5% Koppen van secties, subsecties, ...
6% --------------------------------------
7%
8% --------------------------------------
9% fontgrootte en regelafstand
10% (met de notatie X/Y wordt bedoeld
11% 'letter X op regelafstand Y')
12% --------------------------------------
13%
14% 10pt 11pt 12pt
15% \scriptsize 7/ 8 8/ 9.5 8/ 9.5
16% \tiny 5/ 6 6/ 7 6/ 7
17% \small 9/11 10/12 11/13.6
18% \footnotesize 8/ 9.5 9/11 10/12
19% \@normalsize 10/12 11/13.6 12/15
20% \large 12/14 12/14 14/18
21% \Large 14/18 14/18 17/22
22% \LARGE 17/22 17/22 20/25
23% \huge 20/25 20/25 25/30
24% \Huge 25/30 25/30 25/30
25%
26% de syntax van \@startsection is:
27% \@startsection
28% {Name}{Level}{Indent}{Before_skip}{After_Skip}{Type_face}
29% Indent : inspring van kop vanaf linkermarge
30% Before_skip: wit boven kopje
31% (< 0 geeft aan dat eerste alinea niet inspringt)
32% After_skip : wit onder kopje indien >= 0
33% horizontaal wit na kopje,
34% met kopje op de regel indien < 0
35%
36% notatie voor <glue>: <dimen>(<stretch>)(<shrink>)
37%
38% in LaTeX's standaard-stijlen (onafhankelijk van \@ptsize):
39%
40% Indent Before_skip After_skip Type_face
41% section 0 -3.5ex (-1ex)(-0.2ex) 2.3ex(0.2ex) \Large\bf
42% subsection 0 -3.25ex(-1ex)(-0.2ex) 1.5ex(0.2ex) \large\bf
43% subsubsection 0 -3.25ex(-1ex)(-0.2ex) 1.5ex(0.2ex) \normalsize\bf
44% paragraph 0 3.25ex( 1ex)( 0.2ex) -1em()() \normalsize\bf
45% subparagraph \parindent 3.25ex( 1ex)( 0.2ex) -1em()() \normalsize\bf
46%
47%
48% in een soberder uitvoering (onafhankelijk van \@ptsize):
49%
50\def\section{\@startsection{section}{1}
51%{\z@}{-2.5ex plus -0.5ex minus -0.1ex}{0.5ex plus 0.1ex}{\large\bf}}
52{\z@}{-2.5ex plus -0.5ex minus -0.1ex}{0.5ex plus 0.1ex}{\large\bf}}
53\def\subsection{\@startsection{subsection}{2}
54{\z@}{-2.25ex plus -0.3ex minus -0.2ex}{0.05ex plus 0.05ex}{\normalsize\bf}}
55\def\subsubsection{\@startsection{subsubsection}{3}
56{\z@}{-2.25ex plus -0.3ex minus -0.2ex}{0.05ex plus 0.05ex}{\normalsize\sc}}
57\def\paragraph{\@startsection{paragraph}{4}
58{\z@}{2ex plus 0.5ex minus 0.1ex}{-0.7em}{\normalsize\it}}
59\def\subparagraph{\@startsection{subparagraph}{4}
60{\parindent}{2ex plus 0.5ex minus 0.1ex}{-0.7em}{\normalsize\it}}
61%
62% --------------------------------------
63% Hoofdstuk-koppen
64% --------------------------------------
65%
66% LaTeX's book style (standaard documentstijl) definieert
67% de hoofdstuk-koppen onafhankelijk van \@ptsize
68%
69
70\def\@makechapterhead#1{\vspace*{20pt}%
71% Next line repaired by Piet van Oostrum - June 14, 1991.
72%{\parindent 0pt\Large\bf \ifnum\c@secnumdepth>\m@ne\thechapter \fi
73{\parindent 0pt\LARGE\bf \ifnum\c@secnumdepth>\m@ne\thechapter. \hskip 1em \fi%
74{\raggedright\LARGE\bf #1}\\\rule[10pt]{\textwidth}{0.3mm}\par\nobreak \vskip25pt} }
75
76\def\@makeschapterhead#1{
77 \vspace*{20pt} { \parindent 0pt \raggedright
78 \LARGE\bf#1\par\nobreak\vskip25pt } }
79%
80% --------------------------------------
81% List-omgevingen (itemize en enumerate)
82% --------------------------------------
83%
84% De volgende parameters zijn relevant in een list-omgeving:
85%
86% \labelsep : afstand tussen label en item
87% \labelwidth : breedte van label
88% \leftmargin : afstand tussen linkermarge en item
89% \rightmargin : afstand tussen item en rechtermarge
90% \listparindent: indentatie voor vervolg-alinea's in item
91% \parsep : verticaal wit tussen vervolg-alinea's in item
92% \itemsep : verticaal wit tussen opeenvolgende item's
93% \topsep,
94% \partopsep : wit boven item 1 = \topsep + \parskip
95% (geen alinea-overgang boven lijst)
96% wit boven item 1 = \topsep + \parskip + \partopsep
97% (alinea-overgang boven lijst)
98%
99% zie verder LaTeX-boek 5.7.1 en C.5.3
100% --------------------------------------
101%
102% De parameters voor niveau 1 worden gedefinieerd op top-niveau en
103% \@listi definieert uitsluitend \leftmargin
104%
105% size = small (9pt, 10pt, 11pt)
106\def\@listi{\topsep 0.4ex \parsep 0pt \itemsep \parsep}
107% \topsep 4pt(2pt)(2pt) 6pt(2pt)(2pt) 9pt(3pt)(5pt)
108% \parsep 2pt(1pt)(1pt) 3pt(2pt)(1pt) 4.5pt(2pt)(1pt)
109%
110% size = footnotesize (8pt, 9pt, 10pt)
111\def\@listi{\topsep 0.4ex \parsep 0pt \itemsep \parsep}
112% \topsep 3pt(1pt)(1pt) 4pt(2pt)(2pt) 6pt(2pt)(2pt)
113% \parsep 2pt(1pt)(1pt) 2pt(1pt)(1pt) 3pt(2pt)(1pt)
114%
115% size = normalsize (and bigger)
116% \parskip 0pt(1pt) 0pt(1pt) 0pt(1pt)
117% \parindent 15pt 17pt 1.5em
118% \topsep 8pt(2pt)(4pt) 9pt(3pt)(5pt) 10pt(4pt)(6pt)
119% \partopsep 2pt(1pt)(1pt) 3pt(1pt)(2pt) 3pt(2pt)(2pt)
120% \itemsep 4pt(2pt)(1pt) 4.5pt(2pt)(1pt) 5pt(2.5pt)(1pt
121% \parsep 4pt(2pt)(1pt) 4.5pt(2pt)(1pt) 5pt(2.5pt)(1pt)
122\topsep 0.4ex \partopsep 0pt \itemsep 0pt \parsep 0pt
123%
124% \leftmargini 2.5em \leftmarginii 2.2em \leftmarginiii 1.87em
125% \leftmarginiv 1.7em \leftmarginv 1.0em \leftmarginvi 1.0em
126%
127% \leftmargin\leftmargini
128% \labelwidth\leftmargini\advance\labelwidth-\labelsep
129% \labelsep 0.5em
130%
131% \def\@listi{\leftmargin\leftmargini}
132%
133\def\@listii{\leftmargin\leftmarginii
134 \labelwidth\leftmarginii\advance\labelwidth-\labelsep
135% \topsep 4pt(2pt)(1pt) 4.5pt(2pt)(1pt) 5pt(2.5pt)(1pt)
136% \parsep 2pt(1pt)(1pt) 2pt(1pt)(1pt) 2.5pt(1pt)(1pt)
137 \topsep 0pt \parsep 0pt \itemsep \parsep}
138%
139\def\@listiii{\leftmargin\leftmarginiii
140 \labelwidth\leftmarginiii\advance\labelwidth-\labelsep
141% \topsep 2pt(1pt)(1pt) 2pt(1pt)(1pt) 2.5pt(1pt)(1pt)
142% \partopsep 1pt(0pt)(1pt) 1pt(0pt)(1pt) 1pt(0pt)(1pt)
143 \parsep \z@ \topsep 0pt \partopsep 0pt \itemsep \topsep}
144%
145% \def\@listiv{\leftmargin\leftmarginiv
146% \labelwidth\leftmarginiv\advance\labelwidth-\labelsep}
147%
148% \def\@listv{ \leftmargin\leftmarginv
149% \labelwidth\leftmarginv\advance\labelwidth-\labelsep}
150%
151% \def\@listvi{\leftmargin\leftmarginvi
152% \labelwidth\leftmarginvi\advance\labelwidth-\labelsep}
153
154