diff options
Diffstat (limited to 'Master/texmf-dist/doc/latex/latex-referenz/09-03-16.ltx2')
-rw-r--r-- | Master/texmf-dist/doc/latex/latex-referenz/09-03-16.ltx2 | 67 |
1 files changed, 67 insertions, 0 deletions
diff --git a/Master/texmf-dist/doc/latex/latex-referenz/09-03-16.ltx2 b/Master/texmf-dist/doc/latex/latex-referenz/09-03-16.ltx2 new file mode 100644 index 00000000000..4f562183596 --- /dev/null +++ b/Master/texmf-dist/doc/latex/latex-referenz/09-03-16.ltx2 @@ -0,0 +1,67 @@ +%% +%% Ein Beispiel der DANTE-Edition +%% +%% +%% Copyright (C) 2010 Herbert Voss +%% +%% It may be distributed and/or modified under the conditions +%% of the LaTeX Project Public License, either version 1.3 +%% of this license or (at your option) any later version. +%% +%% See http://www.latex-project.org/lppl.txt for details. +%% +%% +%%Run also: >> bibtex << +% Show page(s) 1 +%% +\documentclass[a5paper,ngerman]{article} +\pagestyle{empty} +\setlength\textwidth{352.81416pt} +\usepackage[utf8]{inputenc} +\usepackage[T1]{fontenc} +\usepackage[margin=15mm]{geometry} +\usepackage{babel} +\pagestyle{empty} +\usepackage{marginnote} + +\usepackage[style=authoryear,backref=false,hyperref=auto, + abbreviate=true,sorting=nyt,bibencoding=inputenc,block=ragged, + backend=bibtex]{biblatex} +\setlength\bibitemsep{0.5\baselineskip plus 0.3\baselineskip minus 0.1\baselineskip} +\renewcommand*{\bibsetup}{% + \interlinepenalty=5000\relax \widowpenalty=10000\relax + \clubpenalty=5000\relax % 10000 + \raggedbottom\frenchspacing\sloppy\emergencystretch=4em} +\makeatletter +\usepackage{marginnote} +\newcommand*\formatItemCnt[1]{} +\newcommand*\@formatItemCnt[1]{\edef\@tempa{\ifnum#1<100\relax 0\fi + \ifnum#1<10\relax 0\fi#1}{\fboxsep=2pt\fbox{\footnotesize\sffamily\@tempa}}} +\newcommand*\enableBibItemCount{\let\formatItemCnt=\@formatItemCnt} +\AtEveryBibitem{\raggedright\ifx\formatItemCnt=\@formatItemCnt\@tempswatrue\fi + \if@tempswa\marginnote[\formatItemCnt{\the\value{instcount}}]% + {\formatItemCnt{\the\value{instcount}}}\fi} +\makeatother +\bibliography{klassiker} + +\begin{document} +\nocite{*} + +\enableBibItemCount +\defbibheading{Goe}{\section*{Literatur von Johann Wolfgang Goethe}} +\defbibheading{AGoe}{\section*{Literatur über Johann Wolfgang Goethe}} +\defbibnote{AGoe}{Dieser Abschnitt zeigt nur einen Teil der Literatur über + Johann Wolfgang Goethe.} +\defbibheading{Sch}{\section*{Literatur von Friedrich Schiller}} +\defbibheading{ASch}{\section*{Literatur über Friedrich Schiller}} +\defbibnote{ASch}{Dieser Abschnitt zeigt nur einen Teil der Literatur über + Friedrich Schiller.} +\defbibfilter{Sch}{\keyword{Friedrich Schiller}} +\defbibfilter{ASch}{\keyword{About Friedrich Schiller}} +\defbibfilter{Goe}{\keyword{Johann Wolfgang Goethe}} +\defbibfilter{AGoe}{\keyword{About Johann Wolfgang Goethe}} +\printbibliography[heading=Goe,filter=Goe] +\printbibliography[heading=AGoe,prenote=AGoe,filter=AGoe] +\printbibliography[heading=Sch,filter=Sch] +\printbibliography[heading=ASch,prenote=ASch,filter=ASch] +\end{document} |