Debian Codegraph @

texmf-dist/doc/latex/wsemclassic/user-doc.tex

raw
1 \part{User Documentation}
2
3
4 \section{Introduction}
5
6 The \wsemclassic\ document class is designed to either conform with the
7 recommendations of the Bavarian Kultusministerium for typesetting
8 w-seminar papers (\hyperlink{udoc.opt.strict}{|strict|} mode) or to use another
9 style which should look better. It is based on the \report\ class which
10 comes with the standard \hologo{LaTeX} distribution.
11
12 If you have any wishes or find bugs, please send an email to the author or
13 \href{https://github.com/jorsn/wsemclassic/issues}{create an issue at GitHub}.
14
15
16 \section{Usage}
17
18 To use \wsemclassic\ for your W-Seminar paper, simply insert the following into your
19 \hologo{LaTeX} preamble (before |\begin{document}|):
20
21 \begin{verbatim}
22 \documentclass[bibfile=<bibtex database name>]{wsemclassic}
23
24 \author{<Your Name>}
25 \title{<Paper Title>}
26 \date{Abiturjahrgang~<year>}
27 \subject{<Seminar Title/Subject>}
28 \school{<School Name>}
29 \major{major}{<Seminar Major Subject (Leitfach)>}
30 \teacher{<Your Teacher>}
31 \place{<The place where you live/write your paper>}
32 \end{verbatim}
33
34
35 \section{License}
36
37 \wsemclassic\ is distributed under a BSD License
38
39 \hypertarget{sec.options}{\section{Options}}
40
41 Like many other \hologo{LaTeX} document classes, \wsemclassic\ accepts options in
42 the well known |key=value| syntax. In the following, you will find a
43 description of all |keys| and their possible |values|
44 (`|true|' may be omitted; `|nofoo|' may be used instead of `|foo=false|' multiple
45 values, where allowed, must be enclosed in braces).
46
47 \noindent\\ Option descriptions are in the following format:\\
48
49 \describeoption{\meta{option}}{\meta{opt type}}{\meta{default value}}
50 \meta{describing paragraph: This is an option description.
51 This option does this and that and you can
52 change many things by specifying it.} \\
53
54
55 \noindent
56 Since \wsemclassic\ is based on \report\ it accepts all of its options, but
57 \hyperlink{subsubsec.unrecomm}{some of them should not be used}.\\
58
59 \noindent
60 All Options not specified in \wsemclassic\ are passed to \report.
61
62 \hypertarget{subsubsec.unrecomm}{\subsection{Unrecommended \report\ options}}
63
64 \DescribeOption{\meta{foo}paper} Use \hyperlink{udoc.opt.paper}{|paper|=\meta{foo}} instead. \\
65 \DescribeOption{\meta{foo}pt} Use \hyperlink{udoc.opt.fontsize}{|fontsize|=\meta{foo}} instead. \\
66 \DescribeOption{\meta{language}} Use \hyperlink{udoc.opt.lang}{|lang|=\meta{foo}} instead.
67
68
69 \subsection{Strictness}
70
71 \describeoption{strict}{boolean}{false}
72 Use exactly the format recommended by the Bavarian Kultusministerium. \\
73 This option sets \hyperlink{udoc.opt.stricttitle}{|stricttitle|} and
74 \hyperlink{udoc.opt.frenchspacing}{|frenchspacing|} to \textit{true}. \\
75 It also sets the \hyperlink{udoc.opt.fontsize}{|fontsize|} to |12|, the
76 \hyperlink{udoc.opt.paper}{|paper|} to |a4| and the
77 \hyperlink{udoc.opt.lang}{|lang|} to |german|.
78
79 \describeoption{stricttitle}{boolean}{false}
80 Typeset "Seminararbeit" uppercase and not in small capitals as recommended
81 by the Bavarian Kultusministerium.
82
83 \describeoption{frenchspacing}{boolean}{false}
84 Make the spaces after words and sentences equal.
85
86
87
88 \subsection{Format and Language}
89
90 \describeoption{fontsize}{number}{12}
91 Fontsize in pt. \\
92
93 \describeoption{paper}{text}{a4}
94 Paper format as used as \report\ option |\meta{format}paper|. \\
95
96 \describeoption{lang}{text}{german}
97 Language. \\ If |lang|=|german|, the babel language is |ngerman|.
98
99 \describeoption{plxtex}{boolean}{true}
100 Specifies whether one of \hologo{pdfTeX}, \hologo{LuaTeX} or \hologo{XeTeX} is used. \\
101 \emph{Set to false if you don't use one of these engines!}
102
103
104
105 \subsection{Bibliography}
106
107 \describeoption{bib}{boolean}{true}
108 Specifies whether to use a bibliography (requires \hologo{BibTeX}) or not. \\
109
110 \describeoption{bibstyle}{text}{natdin}
111 Specifies the bibliographystlye for \hologo{BibTeX}. \\
112
113 \describeoption{bibfile}{text}{\char92{}jobname}
114 Specifies the filename of the main \hologo{BibTeX} database (|*.bib|). \\
115 \emph{|.bib| can be omitted.} \\
116 All etries are included in the document.
117
118
119
120 \subsection{Options Related to Used Packages}
121
122 \DescribeOption[noindex=true]{\meta{package name}args \rmfamily\itshape option list}
123 For most of the packages used by \wsemclassic, options can be specified in
124 the format \meta{package name}|args|=\marg{option list}.
125
126 These packages are \textsf{fontspec (|*quiet|), hyperref (|*unicode|),
127 microtype (|*babel|), amsmath, titlesec (|*small|), geometry, fancyhdr,
128 tocbibind (|*nottoc|)} and \textsf{natbib (|*round|)}. \\
129
130 \noindent
131 For some packages there are additional or other options available:
132
133 \subsubsection{\textsf{fontspec}}
134
135 \describeoption{defaultfontfeatures}{\\ \texttt{type:} key value}{\\ Ligatures=\{TeX,\\ Common\}, Fractions=On}
136 Specifies the \textsf{fontspec} |\defaultfontfeatures|. \\~\\~\\
137
138 \describeoption{mainfont}{text}{CMU Serif}
139 These options specifie the fonts used as main (normally serif),
140
141 \describeoption{sansfont}{text}{CMU Sans Serif}
142 sans serif
143
144 \describeoption{monofont}{text}{CMU Typewriter Text}
145 and monospaced font. \\ \vskip 0.4em ~\\
146
147
148 \subsubsection{\textsf{hyperref} and \textsf{natbib}}
149
150 \describeoption{hyperref}{boolean}{true}
151 Turn \textsf{hyperref} or
152
153 \describeoption{natbib}{boolean}{true}
154 \textsf{natbib} on/off. \\~ \vskip 0.7em ~\\
155
156 %\iffalse vim: ft=tex
157 %\fi