TeX - LaTeX Asked on August 3, 2021
Trying to get backref to work with biblatex with KOMA, I came up with the following code:
documentclass{scrbook}
usepackage[natbib=true,backref=true,style=ieee]{biblatex}
usepackage{hyperref} addbibresource{sample.bib}
DefineBibliographyStrings{english}{ backrefpage={See p.},
backrefpages={See pp.} }
begin{document}
chapter{Chap 1} Some textcite{greenwade93}.
printbibliography
end{document}
where DefineBibliography
allows me to modify how the citation reads. Going from
. D. Greenwade, “The Comprehensive Tex Archive Network (CTAN),”TUGBoat,vol. 14, no. 3, pp. 342–351, 1993 (Cit. on p. 1).
to
. D. Greenwade, “The Comprehensive Tex Archive Network (CTAN),”TUGBoat,vol. 14, no. 3, pp. 342–351, 1993 (see p. 1).
But how do I remove the parentheses in between (see p. 1)
? Or how do I modify the formatting further so that the numbers become superscripts with nothing else for example? I cannot find it in the manual.
The following solution was inspired by biblatex: Change formatting of back references.
documentclass{scrbook}
usepackage[natbib=true,backref=true,style=ieee]{biblatex}
usepackage{hyperref}
addbibresource{sample.bib}
DefineBibliographyStrings{english}{
% backrefpage={see p.},
backrefpage={},
% backrefpages={see pp.}
backrefpages={}
}
renewcommand*{finentrypunct}{}
usepackage{xpatch}
%DeclareFieldFormat{backrefparens}{mkbibparens{#1addperiod}}
DeclareFieldFormat{backrefparens}{raisebox{4pt}{scriptsize{#1}}}
xpatchbibmacro{pageref}{parens}{backrefparens}{}{}
begin{document}
chapter{Chap 1}
Some textcite{greenwade93}.
newpage
Some textcite{greenwade93}.
printbibliography
end{document}
Correct answer by modnar on August 3, 2021
Get help from others!
Recent Answers
Recent Questions
© 2024 TransWikia.com. All rights reserved. Sites we Love: PCI Database, UKBizDB, Menu Kuliner, Sharing RPP