TransWikia.com

How can I change 'et al.' nature style in biblatex?

TeX - LaTeX Asked by Pisit Nakjai on January 6, 2021

I would like to change the ‘et al.’ format when I use citet command in biblatex.

This is my sample code.

documentclass[british]{article}
usepackage[T1]{fontenc}
usepackage[utf8]{inputenc}
usepackage{babel}

%usepackage[utf8]{inputenc}
%usepackage[english]{babel}
%usepackage[style=british]{csquotes}
%%%%%%%%%%%%%%%%%%%%%%% ref package %%%%%%%%%%%%%%
usepackage[
backend=biber,
bibencoding=utf8,
style=nature,
isbn=false,
doi=false,
url=false,
sorting=none,
clearlang=true,
natbib=true,
date=year,
uniquelist=false,
maxbibnames=9,
maxcitenames=1
]{biblatex}


addbibresource{CH1_3_m.bib}

%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
begin{document}
    
    cite auther with number citet{Antia2005}
    
    printbibliography[title=REFERENCES]
    

end{document}

It gives output like this.
enter image description here

I would like to change ‘et al’ format to normal text style.
How can I modify my code?
Thank you.

One Answer

This is hard-coded into name:andothers in nature.bbx (ll. 216-231, in v1.3c dated 2018/10/18). You can just remove the undesired mkbibemph around bibstring{andothers}.

documentclass[british]{article}
usepackage[T1]{fontenc}
usepackage[utf8]{inputenc}
usepackage{babel}

usepackage[
  backend=biber,
  style=nature,
  isbn=false,
  doi=false,
  url=false,
  sorting=none,
  clearlang=true,
  natbib=true,
  date=year,
  uniquelist=false,
  maxbibnames=9,
  maxcitenames=1
]{biblatex}

renewbibmacro*{name:andothers}{%
  ifboolexpr
    {
      test {ifnumequal{value{listcount}}{value{liststop}}}
      and
      test ifmorenames
    }
    {
      ifnumgreater{value{liststop}}{1}
        {finalandcomma}
        {}%
      andothersdelim
      bibstring{andothers}%
    }
    {}%
}

addbibresource{biblatex-examples.bib}

begin{document}
  cite auther with number textcite{aksin}
    
  printbibliography[title=REFERENCES]
end{document}

cite auther with number Aksın et al. [1]

Answered by moewe on January 6, 2021

Add your own answers!

Ask a Question

Get help from others!

© 2024 TransWikia.com. All rights reserved. Sites we Love: PCI Database, UKBizDB, Menu Kuliner, Sharing RPP