diff options
author | Karl Berry <karl@freefriends.org> | 2023-01-08 22:56:30 +0000 |
---|---|---|
committer | Karl Berry <karl@freefriends.org> | 2023-01-08 22:56:30 +0000 |
commit | e4d456bebb37720520a4f5fa790b3e629ffdd754 (patch) | |
tree | 72b962f8d2643f803bb4f934b283beeb56f53d32 /Master/texmf-dist/doc/latex/tlc3-examples/example-sources/15-7-76.ltx | |
parent | 2da6a527e2a8190efb953f2276c82c556959879c (diff) |
tlc3-examples (5jan23)
git-svn-id: svn://tug.org/texlive/trunk@65496 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/doc/latex/tlc3-examples/example-sources/15-7-76.ltx')
-rw-r--r-- | Master/texmf-dist/doc/latex/tlc3-examples/example-sources/15-7-76.ltx | 55 |
1 files changed, 55 insertions, 0 deletions
diff --git a/Master/texmf-dist/doc/latex/tlc3-examples/example-sources/15-7-76.ltx b/Master/texmf-dist/doc/latex/tlc3-examples/example-sources/15-7-76.ltx new file mode 100644 index 00000000000..bf0d9d17a4f --- /dev/null +++ b/Master/texmf-dist/doc/latex/tlc3-examples/example-sources/15-7-76.ltx @@ -0,0 +1,55 @@ +%% +%% The LaTeX Companion, 3ed +%% +%% Example 15-7-76 on page II-451 in "\protect \hspace *{-1em}biblatex-archaeology". +%% +%% Copyright (C) 2022 Frank Mittelbach +%% +%% It may be distributed and/or modified under the conditions +%% of the LaTeX Project Public License, either version 1.3c +%% of this license or (at your option) any later version. +%% +%% See https://www.latex-project.org/lppl.txt for details. +%% + +\documentclass{tlc3exa} +\pagestyle{empty} +\setcounter{page}{6} +\setlength\textwidth{328.0pt} + +%% Use biber program +\usepackage{xcolor} +\setlength\parindent{0pt} +\usepackage {csquotes}\usepackage [style=rgzm-numeric]{biblatex}\textheight =10cm\addbibresource {tlc-biblatex-special.bib} +%StartShownPreambleCommands + + +% A patch for archeology styles until they are fixed: + +\AddToHook{package/biblatex-archaeology/after} +{\renewbibmacro*{maintitle+title}{% + \iffieldsequal{maintitle}{title} + {\clearfield{maintitle}% + \clearfield{mainsubtitle}% + \clearfield{maintitleaddon}} + {\iffieldundef{maintitle} + {} + {\usebibmacro{maintitle}% + \iffieldundef{volume} + {\newunit\newblock} + {\printfield{volume}% + \printfield{part}% + \clearfield{volume}% + \clearfield{part}% + \setunit{\addcolon\space}}}}% + \usebibmacro{title}% + \newunit}} + + +%StopShownPreambleCommands + +\begin{document} +\let\normalsize\footnotesize \normalsize +\textcolor{blue}{See \cite{zar2099} and \textcite[4-8]{cole1983} and again \textcite{cole1983,cole1995}} +\printbibliography[heading=none] +\end{document} |