summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/doc/latex/semproc/example.tex
blob: 925c89ace660f461b1bde5b0ee113f395ae58e26 (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
93
94
95
%%
%% This is file `example.tex',
%% generated with the docstrip utility.
%%
%% The original source files were:
%%
%% semproc.dtx  (with options: `exampletex')
%% ----------------------------------------------------------------
%% semproc --- LaTeX class for seminar proceedings
%% E-mail: tobias.columbus@kit.edu
%% Released under the LaTeX Project Public License v1.3c or later
%% See http://www.latex-project.org/lppl.txt
%% ----------------------------------------------------------------
%% 
\documentclass[a4paper,openright,parskip=half-]{semproc}
\addglobalbib{example.bib}
\usepackage[ngerman,english]{babel}
\begin{document}
\author{Max Mustermann}
\title{Example}
\maketitle
\globaltoc
\chapter{Introduction}
This document serves as an example for the \verb|semproc| class.

The reader should note that this introduction, which is typeset as a
\verb|\chapter| shows up in the table of contents. However, the numbering scheme
of talks and chapters is confusing at best. \verb|semproc| therefore offers a
macro \verb|\nonumchapter| for unnumbered chapters that show up in the table of
contents and may be used e.\,g.\ for introductions as in the following second
introduction.

\nonumchapter{Second Introduction}
This is a second introduction with no number but still showing up in the table
of contents.

\talk[speaker={Donald Knuth}]{Notation}
\begin{summary}
  This could be a manuscript for a talk entitled ``Notation'' given by
  Donald Knuth at Stanford university. A video recording is available at
  \cite{video}.
\end{summary}
\localtoc
\section{Introduction}
An introduction could go here.
\section{Examples of Notation}
\subsection{Notation for integrals}
One could compare Leibniz' and Newton's notation for integrals as Knuth does in
his talk.
\subsection{Frege's Grundgesetze}
Even if Knuth does not talk about the notation in \citeauthor{frege}'s
\cite{frege}, there is even a paper~\cite{onfrege} on it.
\section{Outlook}
A final section with final words.
\localbib

\talk[speaker={Somebody},notes={Somebody else}]{On Something}
\begin{summary}
  Some Summary
\end{summary}
\localtoc
\section{Section A}
\section{Section B}

\selectlanguage{ngerman}
\talk[speaker={Hans}]{\"Uber etwas Wichtiges}
\begin{summary}
  Hier sieht man, dass \verb|semproc| an andere Sprachen, wie zum Beispiel
  \verb|ngerman| angepasst werden kann. Momentan werden aber nur \verb|english|
  und \verb|ngerman| unterstützt.
\end{summary}
\end{document}
%% 
%% Copyright (C) 2015 by Tobias Columbus <tobias.columbus@kit.edu>
%% 
%% This work may be distributed and/or modified under the
%% conditions of the LaTeX Project Public License (LPPL), either
%% version 1.3c of this license or (at your option) any later
%% version.  The latest version of this license is in the file:
%% 
%% http://www.latex-project.org/lppl.txt
%% 
%% This work is "maintained" (as per LPPL maintenance status) by
%% Tobias Columbus.
%% 
%% This work consists of the files semproc.dtx
%% and the derived files           semproc.ins,
%%                                 semproc.pdf,
%%                                 semproc.cls,
%%                                 example.tex,
%%                                 example.bib,
%%                                 example.pdf
%% 
%%
%% End of file `example.tex'.