[Tex/LaTex] Superscript citations in numeric-comp style

biblatex

to meet the requirements for our lab reports I need to use a special citation style. It is basically the numeric-comp style from biblatex but the citations shall be superscripts. Everything else is to be the same. As I am using KOMA-Script(documentclass scrartcl), I cannot load the cite-package, because LaTeX tells me they are incompatible.
For now, I used this trick below but that is not a good solution, as I would have to define a new command for every different number of references when multiple citing.

\newcommand{\supcite}[1]{$^{\text{\cite{#1}}}$}

I am using Biber, if that is relevant.
Does anyone have a solution for this problem? Thanks in advance.

Best Answer

Just use the following redefinition of \supercite with just \bibopenbracket and \bibclosebracket sprinkled in.

\DeclareCiteCommand{\supercite}[\mkbibsuperscript]
  {\bibopenbracket
   \usebibmacro{cite:init}%
   \let\multicitedelim=\supercitedelim
   \iffieldundef{prenote}
     {}
     {\BibliographyWarning{Ignoring prenote argument}}%
   \iffieldundef{postnote}
     {}
     {\BibliographyWarning{Ignoring postnote argument}}}
  {\usebibmacro{citeindex}%
   \usebibmacro{cite:comp}}
  {}
  {\usebibmacro{cite:dump}%
   \bibclosebracket}

If you replace the \supercite above by \cite you redefine the standard \cite command.