I have to convert the author names before the "op. cit." string in small caps, as with in the first citation. I'm using \cite as the citation command
So far, I have tried to follow the same approach of this question but without success. I don't know exactly what to inject and whether I should change the verbose-trad1.cbx file
MWE
\documentclass[british]{article}
\usepackage[T1]{fontenc}
\usepackage{babel}
\usepackage{csquotes}
\usepackage[
backend=biber,
style=verbose-trad1,
natbib=true,
sorting=nty,
giveninits=true,
citetracker,
isbn=false,
opcittracker=context,
labeldateparts
]{biblatex}
\addbibresource{biblatex-examples.bib}
% To get small caps in author name and swap given and family
\DeclareNameAlias{author}{given-family}
\DeclareNameFormat{given-family}{%
\ifgiveninits
{\usebibmacro{name:given-family}
{\scshape\namepartfamily}
{\namepartgiveni}
{\namepartprefix}
{\namepartsuffix}}
{\usebibmacro{name:given-family}
{\namepartfamily}
{\namepartgiven}
{\namepartprefix}
{\namepartsuffix}}%
\usebibmacro{name:andothers}}
\begin{document}
\usepackage{csquotes}
\usepackage[
backend=biber,
style=verbose-trad1,
natbib=true,
sorting=nty,
giveninits=true,
citetracker,
isbn=false,
opcittracker=context,
labeldateparts
]{biblatex}
\addbibresource{biblatex-examples.bib}
% To get small caps in author name and swap given and family
\DeclareNameAlias{author}{given-family}
\DeclareNameFormat{given-family}{%
\ifgiveninits
{\usebibmacro{name:given-family}
{\scshape\namepartfamily}
{\namepartgiveni}
{\namepartprefix}
{\namepartsuffix}}
{\usebibmacro{name:given-family}
{\namepartfamily}
{\namepartgiven}
{\namepartprefix}
{\namepartsuffix}}%
\usebibmacro{name:andothers}}
\begin{document}
WHAT I GET:
Lorem \autocite{sigfridsson}
dolor \autocite{knuth:ct:a}
ipsum \autocite{sigfridsson}
amet \autocite{knuth:ct:b}
ipsum \autocite{sigfridsson}
WHAT I WANT TO ACHIEVE:
Lorem \autocite{sigfridsson}
dolor \autocite{knuth:ct:a}
ipsum \footnote{\textsc{Sigfridsson and Ryde}, op.cit.}
amet \autocite{knuth:ct:b}
ipsum \footnote{\textsc{Sigfridsson and Ryde}, op.cit.}
\printbibliography
\end{document}
Footnotes 3 and 5 are wrong. Footnotes 8 and 10 are the desired outcome:



- Every name should be in small caps. I included only those followed by op.cit. because I want them to be changed. If the solution includes changing every name, then it should be fine. So far, I'm interest in cases 1, 8, 10. I can change the MWE accordingly.
- I removed the handling of "and" in the MWE for simplification. In my citation style, there is no "and". Should the solution necessarily include "and", I will handle the conjunction differently.
– lucerna_juris Jun 28 '23 at 16:10