biblatex ieee style same authors

Update

In version v1.2 (2016/12/30) of biblatex-ieee, Joseph Wright added full support for the dashed option (https://github.com/josephwright/biblatex-ieee/issues/30). It is now enough to add

dashed=false

to the biblatex options.

\documentclass[british]{article}
\usepackage[T1]{fontenc}
\usepackage{babel}
\usepackage{csquotes}

\usepackage[backend=biber, style=ieee, dashed=false]{biblatex}

\addbibresource{biblatex-examples.bib}

\begin{document}
Lorem \autocite{knuth:ct:a,knuth:ct:b}

\printbibliography
\end{document}

The old version of this answer is retained for historic interest and for those who don't have access to a newer version of biblatex-ieee or users of a similar style that does not have an option to turn off the dashed behaviour.


Old answer

Normally – that is in the standard styles, this is as easy as adding dashed=false to the load options of biblatex. The biblatex styles ieee and ieee-alphabetic, however, do not recognize this option, since – as @Joseph Wright pointed out – it is IEEE style to use the dash.

So you can either manually alter the author macro or disable an internal test needed for the dashed function.

To change the author macro to avoid dashes, just add the following code snippet to your preamble.

\renewbibmacro*{author}{%
  \ifboolexpr{
    test \ifuseauthor
    and
    not test {\ifnameundef{author}}
  }
    {%
      \printnames{author}%
      \iffieldundef{authortype}
        {}
        {%
          \setunit{\addcomma\space}%
          \usebibmacro{authorstrg}%
        }%
    }
    {\global\undef\bbx@lasthash}%
}

Alternatively, you can modify the macro that saves the hash needed for author comparison to do nothing.

\renewbibmacro*{bbx:savehash}{}

MWE

\documentclass[ngerman, a4paper]{article}
\usepackage[latin1]{inputenc}
\usepackage[T1]{fontenc}
\usepackage{babel}
\usepackage{csquotes}
\usepackage[style=ieee-alphabetic, backend=bibtex]{biblatex}
\addbibresource{\jobname.bib}

\renewbibmacro*{bbx:savehash}{}

\begin{filecontents}{\jobname.bib}
@book{UthorA,
  author  = {Arnold Uthor},
  title   = {The Twice Intensely Tiring Lines of Erudition},
  year    = {1983},
}
@article{UthorB,
  author        = {Arnold Uthor},
  title         = {A Very Interesting Article},
  journaltitle  = {Journal of Articles},
  year          = {2000},
}
\end{filecontents}

\begin{document}
  \nocite{*}
  \printbibliography
\end{document}

enter image description here

Tags:

Biblatex