Compare commits

...

2 Commits

Author SHA1 Message Date
Simon Bruder d88ced8f28
Format part on one line 2023-04-02 16:29:54 +02:00
Simon Bruder 8ba531be29
Adjust fshowcited, which is also used for books 2023-04-02 16:01:30 +02:00
1 changed files with 34 additions and 2 deletions

View File

@ -3,12 +3,15 @@
% Sections
% Part: On one line
\renewcommand*{\partformat}{\partname~\thepart:~}
\RedeclareSectionCommand[
runin=false,
afterskip=0pt,
%beforeskip=0pt,
beforeskip=0pt,
font=\normalsize,
prefixfont=\normalsize,
afterindent=false,
style=section,
]{part}
\RedeclareSectionCommand[
runin=false,
@ -142,3 +145,32 @@
% Incollection: No shorttitle in footnote, caveat: Makes footnote no longer clickable
\newbibmacro*{cite:title:incollection}{}
\newbibmacro{fshowcited}{%
\iftoggle{tnbcbx@fshowcited}
{\iffieldundef{shorttitle}
{}
{\setunit{\addspace}%
\printtext[parens]{%
\bibstring{zitiertals}%
\setunit{\space}%
\printnames[labelname]{author}%
\setunit{\addcomma\space}%
\printfield{shorttitle}%
}}}%
{}}%
\renewbibmacro{finentry}{%
\ifentrytype{commentary}{%
\usebibmacro{howcited}\newunit\newblock}%
{}%
\ifentrytype{book}{%
\usebibmacro{fshowcited}\newunit\newblock}%
{}%
\ifentrytype{incollection}{%
\usebibmacro{fshowcited}\newunit\newblock}%
{}%
\ifentrytype{online}{%
\usebibmacro{fshowcited}\newunit\newblock}%
{}%
\finentry}%