![Superfullcite com estilo = alfabético](https://rvso.com/image/305907/Superfullcite%20com%20estilo%20%3D%20alfab%C3%A9tico.png)
estou usando \superfullcite{}
explicadoaqui. Pelo que entendi (o que não é muito, infelizmente), é basicamente um \footfullcite{}
texto que só aparece uma vez como nota de rodapé, mesmo que citado várias vezes. Gosto muito disso, pois me permite (usar \AtEveryCiteKey{\clearfield{...}}
) colocar citações (pequenas) no rodapé (ou margem para tufte) e ter a citação (completa, longa) no final.
No entanto, ele usa numeric-comp
, e eu prefiro que os links para minhas citações sejam [XYZ99]
assim, (acho que seria alphabetic
). Dessa forma, não existe uma ordem numérica implícita, que fica confusa ao classificar em ordem alfabética. Mas se uma pessoa lê apenas a bibliografia.
Não tenho muita certeza de como fazer isso. O que falta é basicamente apenas uma mudança de rótulos, porém não tenho certeza de como fazer isso.
- Continuar usando
numeric-comp
esorting=true
de alguma forma modificar os rótulos? - Começar a usar
alphabetic
e tentar começar\superfullcite{}
a trabalhar?
Um MWE seria esse
% !TEX TS-program = pdflatex
% !TEX encoding = UTF-8 Unicode
%\documentclass[a4paper, nobib, notoc, symmetric, marginals=raggedouter, justified]{tufte-book} %
%\morefloats
%\morefloats
\documentclass{article}
\usepackage{csquotes}
\usepackage{hyphenat}
\usepackage[american]{babel}
\usepackage[block=nbpar, firstinits=false, backref=true, maxcitenames=1, maxbibnames=99, isbn=false, doi=false, url=false, eprint=false, style=numeric-comp, backend=biber, sorting=none, citetracker=true, defernumbers=true]{biblatex}
\bibliography{biblatex-examples}
%%=====
\makeatletter
\DeclareCiteCommand{\notefullcite}[\mkbibbrackets]
{\usebibmacro{cite:init}%
\usebibmacro{prenote}}
{\usebibmacro{citeindex}%
\usebibmacro{notefullcite}%
\usebibmacro{cite:comp}}
{}
{\usebibmacro{cite:dump}%
\usebibmacro{postnote}}
\newbibmacro*{notefullcite}{%
\ifciteseen
{}
{\footnotetext[\thefield{labelnumber}]{%
\usedriver{}{\thefield{entrytype}}.}}}
% Declare superfullcite and remap it to cite
\DeclareCiteCommand{\superfullcite}[\cbx@superscript]%
{\usebibmacro{cite:init}%
\let\multicitedelim=\supercitedelim
\iffieldundef{prenote}
{}
{\BibliographyWarning{Ignoring prenote argument}}%
\iffieldundef{postnote}
{}
{\BibliographyWarning{Ignoring postnote argument}}}
{\usebibmacro{citeindex}%
\usebibmacro{superfullcite}%
\usebibmacro{cite:comp}}
{}
{\usebibmacro{cite:dump}}
\newbibmacro*{superfullcite}{%
\ifciteseen
{}
{\xappto\cbx@citehook{%
\noexpand\footnotetext[\thefield{labelnumber}]{%
\fullcite{\thefield{entrykey}}.}}}}
\newrobustcmd{\cbx@superscript}[1]{%
\mkbibsuperscript{#1}%
\cbx@citehook
\global\let\cbx@citehook=\empty}
\let\cbx@citehook=\empty
\makeatother
%\renewcommand{\cite}[1]{\superfullcite{#1}} %remap \superfullcite to \cite
\begin{document}
Some filler text \notefullcite{cotton}, then some more text
\notefullcite{hammond}. Perhaps some more text and the same
citation again \notefullcite{hammond}. Yet another one
\notefullcite{knuth:ct:a}. Now all again
\notefullcite{cotton,hammond,knuth:ct:a}.
Some filler text,\superfullcite{augustine} then some more
text.\superfullcite{companion} Perhaps some more text and the
same citation again.\superfullcite{companion} Yet another
one.\superfullcite{kastenholz} Now all
again.\superfullcite{augustine,companion,kastenholz}
\printbibliography
\end{document}
Como você pode ver eu uso sorting=none
mas não consigo alterar o estilo para alfabético, pois as cite:init
macros e similares não funcionam. Alguém poderia explicar o que eles fazem? A pesquisa na documentação do biblatex apresenta 0 resultados.
Responder1
Podemos definir um novo comando \sfcite
que imprima a citação padrão e adicione um \footfullcite
, ou seja, uma nota de rodapé com a entrada bibliográfica completa, na primeira ocorrência de uma citação.
\DeclareCiteCommand{\sfcite}[\mkbibbrackets]
{\usebibmacro{prenote}}
{\usebibmacro{citeindex}%
\usebibmacro{cite}%
\ifciteseen
{}
{\footfullcite{\thefield{entrykey}}}}
{\multicitedelim}
{\usebibmacro{postnote}}
(A definição acima foi projetada para funcionar com alphabetic
, mas se você excluí-la, [\mkbibbrackets]
ela funcionará com muitos outros estilos padrão. A ideia básica é adicionar o \ifciteseen{}{\footfullcite{\thefield{entrykey}}}
bloco depois \usebibmacro{cite}
da definição.)
MWE
\documentclass[british]{article}
\usepackage[T1]{fontenc}
\usepackage[utf8]{inputenc}
\usepackage[style=alphabetic,backend=biber,citetracker=constrict]{biblatex}
\usepackage[colorlinks=true]{hyperref}
\addbibresource{biblatex-examples.bib}
\DeclareCiteCommand{\sfcite}[\mkbibbrackets]
{\usebibmacro{prenote}}
{\usebibmacro{citeindex}%
\usebibmacro{cite}%
\ifciteseen
{}
{\footfullcite{\thefield{entrykey}}}}
{\multicitedelim}
{\usebibmacro{postnote}}
\begin{document}
Lorem \sfcite{wilde} ipsum \sfcite{cicero} dolor \sfcite{wilde} sit
\sfcite{geer} amet \sfcite{knuth:ct:a,knuth:ct:b}.
Cite again \sfcite{geer} and \sfcite{cicero}.
\end{document}