I am using multibib
with two bib-files. For the first one I use a numeric citation style. But for the second one I want to have [A1, A2, …]. This works for my reference list but in my citation I still have [1, 2, …]. How can I change this to [A1, A2,…]?
Here is my minimal document (you have to use 2 bibfiles: litA and litB)
\documentclass[a4paper,10pt,twoside,titlepage,parskip=half-]{scrartcl}
\usepackage[latin1]{inputenc}
\usepackage[T1]{fontenc}
\usepackage[ngerman, english]{babel}
\usepackage{eso-pic}
\usepackage{textcomp} %\textmu einfügen z.B.
\usepackage[normalem]{ulem} %text unterstreichen, durchstreichen usw.
\usepackage[resetlabels]{multibib}
\newcites{lita}{References1}
\newcites{ownb}{References2}
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
\begin{document}
\makeatletter\renewcommand{\@biblabel}[1]{[#1]}\makeatother
\bibliographystylelita{plain}
\bibliographylita{./literature/litA}
\citelitd{label1}
\makeatletter\renewcommand{\@biblabel}[1]{[A\,#1]}\makeatother
\bibliographystylelitb{plain}
\bibliographylitb{./literature/litB}
\end{document}
Best Answer
multibib
doesn't remove the ordinary citing mechanisms, merely adds additional commands to them. Thus for the bibliography items that should not have label prefixes you can use an ordinary\cite
command, combined with usual\bibliographystyle
and\bibliography
, and simultaneously you can usemultibib
with the[labeled]
option to set up another cite style\citeA
with prefixA
and with\bibliographystyleA
and\bibliographyA
. Note the prefix is constrained to be the same as the extension to the name of these commands. Here is a cut-down example:with
lit.bib
containing