I am using overleaf with biblatex and need a custom cite style to comply with my university's guideline on citation.
Baseline is that every reference needs to be a footnote. Beside, it's a "3 case thing"; meaning:
- if this is the first time this reference is cited, show full reference in footnote (author, title, year, pages)
- if this reference was cited somewhere prior in the document, only print authors last name and title
- if a reference is cited 2 times in a row, show the second footnote as "repeated, see footnote above"
I tried using the biblatex documentation (which I barely understood) and was looking through solutions here. I came up with roughly this:
\DeclareCiteCommand{\myfootercitation}[\mkbibfootnote]
{
\usebibmacro{prenote}
}
{\ifciteibid{REPEATED.}{
\ifciteindex{\indexfield{indextitle}}{}%
\textit{\usebibmacro{author}: }
\printfield[citetitle]{labeltitle},
\usebibmacro{year},
\usebibmacro{pages},
\printfield[cite]{}
\setunit{\adddot\space}
}}
{\multicitedelim}
{\usebibmacro{postnote}}
I also believe I need \ifciteseen
to check if the citation was used before and \ifciteibid
to catch the repeated reference case.
But I just fail to get everything together or discovering good educational material on DeclareCiteCommand.