How to make autocites work as supercite with square brackets and grouped Announcing the...

Why doesn't the university give past final exams' answers?

Should man-made satellites feature an intelligent inverted "cow catcher"?

Who can become a wight?

What is the evidence that custom checks in Northern Ireland are going to result in violence?

When speaking, how do you change your mind mid-sentence?

false 'Security alert' from Google - every login generates mails from 'no-reply@accounts.google.com'

How to create a command for the "strange m" symbol in latex?

Assertions In A Mock Callout Test

Why aren't these two solutions equivalent? Combinatorics problem

Can I take recommendation from someone I met at a conference?

How is an IPA symbol that lacks a name (e.g. ɲ) called?

Is Vivien of the Wilds + Wilderness Reclamation a competitive combo?

Is my guitar’s action too high?

Can a Wizard take the Magic Initiate feat and select spells from the Wizard list?

Kepler's 3rd law: ratios don't fit data

What's the difference between using dependency injection with a container and using a service locator?

What is the ongoing value of the Kanban board to the developers as opposed to management

Why did Bronn offer to be Tyrion Lannister's champion in trial by combat?

Who's this lady in the war room?

Is Bran literally the world's memory?

Can gravitational waves pass through a black hole?

Suing a Police Officer Instead of the Police Department

Providing direct feedback to a product salesperson

Does using the Inspiration rules for character defects encourage My Guy Syndrome?



How to make autocites work as supercite with square brackets and grouped



Announcing the arrival of Valued Associate #679: Cesar Manara
Planned maintenance scheduled April 23, 2019 at 23:30 UTC (7:30pm US/Eastern)Biblatex supercite with square brackets and groupedBiblatex supercite with square brackets and groupedVancouver biblatex referencing stylebiblatex messing up citation entry with lots of authorsBibliography in LaTeX with Biblatex and Biber as backendCiting (author, journalabbr., year) neededNo period between article name and journal, {article}-only (authoryear-ibid)Supercite with square bracketsCiting from an Encyclopedia with sub voceHow to have a bibliography style like Google Scholar?Biblatex supercite command with use of square brackets












0















I found how to make supercite with square brackets and grouped at Biblatex supercite with square brackets and grouped



So I add the option autocite=superscript for biblatex package, and get this MWE:



documentclass{article}

usepackage[autocite=superscript,citestyle=numeric-comp]{biblatex}


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

usepackage{filecontents}

begin{filecontents}{test.bib}
@book{A01,
author = {Author, A.},
year = {2001},
title = {Alpha},
}
@book{B02,
author = {Buthor, B.},
year = {2002},
title = {Bravo},
}
@article{C03,
author = {Cuthor, C.},
year = {2003},
title = {Charlie},
}
end{filecontents}

addbibresource{test.bib}

begin{document}

We are citing autocites{A01}{B02}{C03} and autocites{A01}{C03} and autocites*{A01}{B02}.

printbibliography

end{document}


But the number is not grouped. I get [1],[2],[3] instead of [1-3].










share|improve this question



























    0















    I found how to make supercite with square brackets and grouped at Biblatex supercite with square brackets and grouped



    So I add the option autocite=superscript for biblatex package, and get this MWE:



    documentclass{article}

    usepackage[autocite=superscript,citestyle=numeric-comp]{biblatex}


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

    usepackage{filecontents}

    begin{filecontents}{test.bib}
    @book{A01,
    author = {Author, A.},
    year = {2001},
    title = {Alpha},
    }
    @book{B02,
    author = {Buthor, B.},
    year = {2002},
    title = {Bravo},
    }
    @article{C03,
    author = {Cuthor, C.},
    year = {2003},
    title = {Charlie},
    }
    end{filecontents}

    addbibresource{test.bib}

    begin{document}

    We are citing autocites{A01}{B02}{C03} and autocites{A01}{C03} and autocites*{A01}{B02}.

    printbibliography

    end{document}


    But the number is not grouped. I get [1],[2],[3] instead of [1-3].










    share|improve this question

























      0












      0








      0








      I found how to make supercite with square brackets and grouped at Biblatex supercite with square brackets and grouped



      So I add the option autocite=superscript for biblatex package, and get this MWE:



      documentclass{article}

      usepackage[autocite=superscript,citestyle=numeric-comp]{biblatex}


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

      usepackage{filecontents}

      begin{filecontents}{test.bib}
      @book{A01,
      author = {Author, A.},
      year = {2001},
      title = {Alpha},
      }
      @book{B02,
      author = {Buthor, B.},
      year = {2002},
      title = {Bravo},
      }
      @article{C03,
      author = {Cuthor, C.},
      year = {2003},
      title = {Charlie},
      }
      end{filecontents}

      addbibresource{test.bib}

      begin{document}

      We are citing autocites{A01}{B02}{C03} and autocites{A01}{C03} and autocites*{A01}{B02}.

      printbibliography

      end{document}


      But the number is not grouped. I get [1],[2],[3] instead of [1-3].










      share|improve this question














      I found how to make supercite with square brackets and grouped at Biblatex supercite with square brackets and grouped



      So I add the option autocite=superscript for biblatex package, and get this MWE:



      documentclass{article}

      usepackage[autocite=superscript,citestyle=numeric-comp]{biblatex}


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

      usepackage{filecontents}

      begin{filecontents}{test.bib}
      @book{A01,
      author = {Author, A.},
      year = {2001},
      title = {Alpha},
      }
      @book{B02,
      author = {Buthor, B.},
      year = {2002},
      title = {Bravo},
      }
      @article{C03,
      author = {Cuthor, C.},
      year = {2003},
      title = {Charlie},
      }
      end{filecontents}

      addbibresource{test.bib}

      begin{document}

      We are citing autocites{A01}{B02}{C03} and autocites{A01}{C03} and autocites*{A01}{B02}.

      printbibliography

      end{document}


      But the number is not grouped. I get [1],[2],[3] instead of [1-3].







      biblatex citing






      share|improve this question













      share|improve this question











      share|improve this question




      share|improve this question










      asked 17 mins ago









      jiewuzajiewuza

      936




      936






















          0






          active

          oldest

          votes












          Your Answer








          StackExchange.ready(function() {
          var channelOptions = {
          tags: "".split(" "),
          id: "85"
          };
          initTagRenderer("".split(" "), "".split(" "), channelOptions);

          StackExchange.using("externalEditor", function() {
          // Have to fire editor after snippets, if snippets enabled
          if (StackExchange.settings.snippets.snippetsEnabled) {
          StackExchange.using("snippets", function() {
          createEditor();
          });
          }
          else {
          createEditor();
          }
          });

          function createEditor() {
          StackExchange.prepareEditor({
          heartbeatType: 'answer',
          autoActivateHeartbeat: false,
          convertImagesToLinks: false,
          noModals: true,
          showLowRepImageUploadWarning: true,
          reputationToPostImages: null,
          bindNavPrevention: true,
          postfix: "",
          imageUploader: {
          brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
          contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
          allowUrls: true
          },
          onDemand: true,
          discardSelector: ".discard-answer"
          ,immediatelyShowMarkdownHelp:true
          });


          }
          });














          draft saved

          draft discarded


















          StackExchange.ready(
          function () {
          StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2ftex.stackexchange.com%2fquestions%2f486153%2fhow-to-make-autocites-work-as-supercite-with-square-brackets-and-grouped%23new-answer', 'question_page');
          }
          );

          Post as a guest















          Required, but never shown

























          0






          active

          oldest

          votes








          0






          active

          oldest

          votes









          active

          oldest

          votes






          active

          oldest

          votes
















          draft saved

          draft discarded




















































          Thanks for contributing an answer to TeX - LaTeX Stack Exchange!


          • Please be sure to answer the question. Provide details and share your research!

          But avoid



          • Asking for help, clarification, or responding to other answers.

          • Making statements based on opinion; back them up with references or personal experience.


          To learn more, see our tips on writing great answers.




          draft saved


          draft discarded














          StackExchange.ready(
          function () {
          StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2ftex.stackexchange.com%2fquestions%2f486153%2fhow-to-make-autocites-work-as-supercite-with-square-brackets-and-grouped%23new-answer', 'question_page');
          }
          );

          Post as a guest















          Required, but never shown





















































          Required, but never shown














          Required, but never shown












          Required, but never shown







          Required, but never shown

































          Required, but never shown














          Required, but never shown












          Required, but never shown







          Required, but never shown







          Popular posts from this blog

          El tren de la libertad Índice Antecedentes "Porque yo decido" Desarrollo de la...

          Castillo d'Acher Características Menú de navegación

          Connecting two nodes from the same mother node horizontallyTikZ: What EXACTLY does the the |- notation for...