This repository has been archived by the owner on Jun 17, 2018. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 0
/
user-doc.tex
165 lines (108 loc) · 5.3 KB
/
user-doc.tex
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
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
\part{User Documentation}
\section{Introduction}
The \wsemclassic\ document class is designed to either conform with the
recommendations of the Bavarian Kultusministerium for typesetting
w-seminar papers (\hyperlink{udoc.opt.strict}{|strict|} mode) or to use another
style which should look better. It is based on the \report\ class which
comes with the standard \hologo{LaTeX} distribution.
If you have any wishes or find bugs, please send an email to the author or
\href{https://github.com/jorsn/wsemclassic/issues}{create an issue at GitHub}.
\section{Usage}
To use \wsemclassic\ for your W-Seminar paper, simply begin your \hologo{LaTeX}
document like that:
\begin{verbatim}
\documentclass[bibfile=<bibtex database name>]{wsemclassic}
\author{<Your Name>}
\title{<Paper Title>}
\date{Abiturjahrgang~<year>}
\subject{<Seminar Title/Subject>}
\school{<School Name>}
\major{<Seminar Major Subject (Leitfach)>}
\teacher{<Your Teacher>}
\place{<The place where you live/write your paper>}
\begin{document}
\maketitle
\tableofcontents
\end{verbatim}
\section{License}
\wsemclassic\ is distributed under a BSD License
\hypertarget{sec.options}{\section{Options}}
Like many other \hologo{LaTeX} document classes, \wsemclassic\ accepts options in
the well known |key=value| syntax. In the following, you will find a
description of all |keys| and their possible |values|
(`|true|' may be omitted; `|nofoo|' may be used instead of `|foo=false|' multiple
values, where allowed, must be enclosed in braces).
\noindent\\ Option descriptions are in the following format:\\
\describeoption{\meta{option}}{\meta{opt type}}{\meta{default value}}
\meta{describing paragraph: This is an option description.
This option does this and that and you can
change many things by specifying it.} \\
\noindent
Since \wsemclassic\ is based on \report\ it accepts all of its options, but
\hyperlink{subsubsec.unrecomm}{some of them should not be used}.\\
\noindent
All Options not specified in \wsemclassic\ are passed to \report.
\hypertarget{subsubsec.unrecomm}{\subsection{Unrecommended \report\ options}}
\DescribeOption{\meta{foo}paper} Use \hyperlink{udoc.opt.paper}{|paper|=\meta{foo}} instead. \\
\DescribeOption{\meta{foo}pt} Use \hyperlink{udoc.opt.fontsize}{|fontsize|=\meta{foo}} instead. \\
\DescribeOption{\meta{language}} Use \hyperlink{udoc.opt.lang}{|lang|=\meta{foo}} instead.
\subsection{Strictness}
\describeoption{strict}{boolean}{false}
Use exactly the format recommended by the Bavarian Kultusministerium. \\
This option sets \hyperlink{udoc.opt.stricttitle}{|stricttitle|} and
\hyperlink{udoc.opt.frenchspacing}{|frenchspacing|} to \textit{true}. \\
It also sets the \hyperlink{udoc.opt.fontsize}{|fontsize|} to |12|, the
\hyperlink{udoc.opt.paper}{|paper|} to |a4| and the
\hyperlink{udoc.opt.lang}{|lang|} to |german|.
\describeoption{stricttitle}{boolean}{false}
Typeset "Seminararbeit" uppercase and not in small capitals as recommended
by the Bavarian Kultusministerium.
\describeoption{frenchspacing}{boolean}{false}
Make the spaces after words and sentences equal.
\subsection{Format and Language}
\describeoption{fontsize}{number}{12}
Fontsize in pt. \\
\describeoption{paper}{text}{a4}
Paper format as used as \report\ option |\meta{format}paper|. \\
\describeoption{lang}{text}{german}
Language. \\ If |lang|=|german|, the babel language is |ngerman|.
\describeoption{plxtex}{boolean}{true}
Specifies whether one of \hologo{pdfTeX}, \hologo{LuaTeX} or \hologo{XeTeX} is used. \\
\emph{Set to false if you don't use one of these engines!}
\subsection{Bibliography}
\describeoption{bib}{boolean}{true}
Specifies whether to use a bibliography (requires \hologo{BibTeX}) or not. \\
\describeoption{bibstyle}{text}{natdin}
Specifies the bibliographystlye for \hologo{BibTeX}. \\
\describeoption{bibfile}{text}{\char92{}jobname}
Specifies the filename of the main \hologo{BibTeX} database (|*.bib|). \\
\emph{|.bib| can be omitted.}
\describeoption{manbib}{boolean}{true}
Specifies that the bibliography is not automatically included at the end
of the document. You now have to include it yourself via the macro
`\makebib`.
\subsection{Options Related to Used Packages}
\DescribeOption[noindex=true]{\meta{package name}args \rmfamily\itshape option list}
For most of the packages used by \wsemclassic, options can be specified in
the format \meta{package name}|args|=\marg{option list}.
These packages are \textsf{fontspec (|*quiet|), hyperref (|*unicode|),
microtype (|*babel|), amsmath, titlesec (|*small|), geometry, fancyhdr,
tocbibind (|*nottoc|)} and \textsf{natbib (|*round|)}. \\
\noindent
For some packages there are additional or other options available:
\subsubsection{\textsf{fontspec}}
\describeoption{defaultfontfeatures}{\\ \texttt{type:} key value}{\\ Ligatures=\{TeX,\\ Common\}, Fractions=On}
Specifies the \textsf{fontspec} |\defaultfontfeatures|. \\~\\~\\
\describeoption{mainfont}{text}{CMU Serif}
These options specifie the fonts used as main (normally serif),
\describeoption{sansfont}{text}{CMU Sans Serif}
sans serif
\describeoption{monofont}{text}{CMU Typewriter Text}
and monospaced font. \\ \vskip 0.4em ~\\
\subsubsection{\textsf{hyperref} and \textsf{natbib}}
\describeoption{hyperref}{boolean}{true}
Turn \textsf{hyperref} or
\describeoption{natbib}{boolean}{true}
\textsf{natbib} on/off. \\~ \vskip 0.7em ~\\
%\iffalse vim: ft=tex
%\fi