I have a problem with my three subbibliographies. I am using two styles numeric and alphabetic. In one of the subbibliographies I would like to use a prefixnumber. Unfortunately this affects also the other two in the way, that the margin is being shifted by the length of the prefixnumber. Here is a MWE of my problem.
\documentclass[a4paper,oneside]{article}
\usepackage{filecontents}
\begin{filecontents*}{bib.bib}
@Article{aksin,
author = {Aks{\i}n, {\"O}zge and T{\"u}rkmen, Hayati and Artok, Levent
and {\k{C}}etinkaya, Bekir and Ni, Chaoying and
B{\"u}y{\"u}kg{\"u}ng{\"o}r, Orhan and {\"O}zkal, Erhan},
title = {Effect of immobilization on catalytic characteristics of
saturated Pd-N-heterocyclic carbenes in Mizoroki-Heck
reactions},
journaltitle = jomch,
date = 2006,
volume = 691,
number = 13,
pages = {3027-3036},
indextitle = {Effect of immobilization on catalytic characteristics},
}
@Article{angenendt,
author = {Angenendt, Arnold},
title = {In Honore Salvatoris~-- Vom Sinn und Unsinn der
Patrozinienkunde},
journaltitle = {Revue d'Histoire Eccl{\'e}siastique},
date = 2002,
volume = 97,
pages = {431--456, 791--823},
hyphenation = {ngerman},
indextitle = {In Honore Salvatoris},
shorttitle = {In Honore Salvatoris},
annotation = {A German article in a French journal. Apart from that, a
typical \texttt{article} entry. Note the \texttt{indextitle}
field},
}
@Article{baez/article,
author = {Baez, John C. and Lauda, Aaron D.},
title = {Higher-Dimensional Algebra V: 2-Groups},
journaltitle = {Theory and Applications of Categories},
date = 2004,
volume = 12,
pages = {423-491},
version = 3,
eprint = {math/0307200v3},
eprinttype = {arxiv},
hyphenation = {english},
annotation = {An \texttt{article} with \texttt{eprint} and
\texttt{eprinttype} fields. Note that the arXiv reference is
transformed into a clickable link if \texttt{hyperref} support
has been enabled. Compare \texttt{baez\slash online}, which
is the same item given as an \texttt{online} entry},
}
\end{filecontents*}
\usepackage[T1]{fontenc}
\usepackage[polish,ngerman,english]{babel}
\usepackage[babel,german=quotes]{csquotes}
\usepackage[style=numeric,sorting=none,defernumbers,labelalpha,babel=other,backend=biber]{biblatex}
\addbibresource{bib.bib}
\DeclareBibliographyCategory{student_works}
\DeclareBibliographyCategory{own_pubs}
\addtocategory{student_works}{angenendt}
\addtocategory{own_pubs}{baez/article}
\DeclareCiteCommand{\cite}[\mkbibbrackets]
{\usebibmacro{prenote}}
{\ifcategory{student_works}
{{\usebibmacro{citeindex}%
\printtext[bibhyperref]{%
\printfield{prefixnumber}%
\printfield{labelalpha}}}}
{{\usebibmacro{citeindex}%
\printtext[bibhyperref]{%
\printfield{prefixnumber}%
\printfield{labelnumber}}}}}%
{\multicitedelim}%
{\usebibmacro{postnote}}%
\defbibenvironment{student_works_env}
{\list
{\printtext[labelalphawidth]{%
\printfield{prefixnumber}%
\printfield{labelalpha}}}
{\setlength{\labelwidth}{\labelalphawidth}%
\setlength{\leftmargin}{\labelwidth}%
\setlength{\labelsep}{\biblabelsep}%
\addtolength{\leftmargin}{\labelsep}%
\setlength{\itemsep}{\bibitemsep}%
\setlength{\parsep}{\bibparsep}}%
\renewcommand*{\makelabel}[1]{\hss##1}}
{\endlist}
{\item}
\DeclareFieldFormat{labelalphawidth}{\mkbibbrackets{#1}}
\begin{document}
\cite{aksin}
\cite{angenendt}
\cite{baez/article}
\printbibliography[notcategory=student_works,notcategory=own_pubs,heading=bibintoc]
\printbibliography[title=Second Bib,category=student_works,heading=bibintoc,sorting=ynt,env=student_works_env]
\printbibliography[title=Third Bib,category=own_pubs,heading=bibintoc,sorting=ynt,prefixnumbers={VERYLONGPREFIX--}]
\end{document}
The result looks like this

I would appreciate any help!


\labelwidthto something other than\labelnumberwidthor\labelalphawidth. – Audrey Sep 05 '13 at 20:57