Debian Codegraph @

texmf-dist/doc/latex/munich/example_munich_Bibtex_style.tex

raw
1 \documentclass[12pt,a4paper]{article}
2 \usepackage[latin1]{inputenc}
3 \usepackage[T1]{fontenc}
4 \usepackage[ngerman]{babel}
5 \usepackage{parskip}
6 \usepackage{natbib}%
7 \usepackage{ifthen}
8
9 \bibliographystyle{munich}
10
11 \title{munich.bst -- A Name (Year) Bibtex Style \newline --Examples--}
12 \author{Martin Brixner}
13 \date{10. August 2006}
14
15
16 \begin{document}
17 % Customized commands*****
18 % Additional commands, not needed but they come in handy if you want to include
19 % page numbers and do not want the whole entry to be put between brackets.
20 %*************************
21 \newcommand{\ct}[2][]
22 {%
23 \citet{#2}%
24 \ifthenelse{\equal{}{#1}}{.}{, S.\,#1.}%
25 }
26 %*************************
27 \newcommand{\fct}[2][]
28 {%
29 \footnote{
30 \citet{#2}%
31 \ifthenelse{\equal{}{#1}}{.}{, S.\,#1.}%
32 }}
33 %*************************
34 \newcommand{\fctv}[2][]
35 {%
36 \footnote{Vgl.\ %
37 \citet{#2}%
38 \ifthenelse{\equal{}{#1}}{.}{, S.\,#1.}%
39 }}
40 %*************************
41
42
43
44 \maketitle%
45 \newpage%
46 \section*{Examples}
47 Please put the example\_DB.bib in the same directory as this file.\\[0.4cm]
48
49 \textbf{Native commands} \\[0.2cm]
50 %
51 Book entry I\footnote{\cite{2003_achleitner}.} \\
52 Command: \verb+\footnote{\cite{2003_achleitner}.}+ \\[0.2cm]
53 %
54 Book entry II\footnote{\cite{2002_Bamberg}.} \\
55 Command: \verb+\footnote{\cite{2002_Bamberg}.}+ \\[0.2cm]
56 %
57 Incollection entry\footnote{\cite[42-63]{2004_Sartoris}.}\\
58 Command: \verb+\footnote{\cite[42-63]{2004_Sartoris}.}+ \\[0.2cm]
59 %
60 Article entry\footnote{\cite[74-75]{2005_Heidemann}.} \\
61 Command: \verb+\footnote{\cite[74-75]{2005_Heidemann}.}+ \\[0.2cm]
62 %
63 Internet entry\footnote{\cite{2006_Dt_Boer}.} \\
64 Command: \verb+\footnote{\cite{2006_Dt_Boer}.}+ \\[0.4cm]
65 %
66 \textbf{Customized commands} \\[0.2cm]
67 Article entry II \ct[74-75]{2005_Heidemann} \\
68 Command: \verb+\ct[74-75]{2005_Heidemann} + \\[0.2cm]
69 %
70 Article entry III\fct[74-75]{2005_Heidemann} \\
71 Command: \verb+\fct[74-75]{2005_Heidemann}+ \\[0.2cm]
72 %
73 Article entry IV\fctv[74-75]{2005_Heidemann} \\
74 Command: \verb+\fctv[74-75]{2005_Heidemann}+ \\
75
76 \newpage
77
78 \bibliography{example_DB}
79
80
81 \end{document}