Changing inline citations

Hello,

My inline citations are currently (last name year). I was wondering can I edit this in CSL editor to show as numerical values (i.e. superscript [1,5] or [1-5].

Thanks!
  • Are you actually trying to create a custom citation style, or do you just want numeric citations? If the latter, you can just choose a numeric style, like IEEE.
  • @dstillman I'm creating a custom citation style. I already created a custom style using Springer as my base, this is for a specific type of document. I want to use the same bibliography style that I used for this and format another style where the inline citations are numerical values now. I'll be using this for a seperate type of document.

    Essentially I want two styles. One where the inline citations are numbers and one where they are the authors name and year but they share the same bibliography format.
  • Have a look at how numeric styles are made. Basically you'd clean out anything within the "citation" part and then add the citation-number variable.
    You'll also need to set the style as "numeric" in the info section where it currently will day author-date.
  • @damnation I'm having a hard time discerning which parts I need to clear out
  • The styles have several distinct sections, always in the same order:
    info, (locale), macros, citation, bibliography.

    If you can't figure out where, then put your code on PasteBin and share the link here. Otherwise we're just guessing.
  • @damnation
    https://pastebin.com/DyfgyJE2

    Here you go! Thank you! I did take a look at IEEE and tried to follow the same inline citation code for mine but it didn't make changes. I really appreciate your help.

  • 84-95 is what you need to edit.
    You can copy the equivalent from IEEE and insert it into yours completely replacing the mentioned lines. (you'll also need to copy over the citation-locator macro, if you need that and if you don't want to have an error).
  • @damnation

    Great! It worked. My only issue is that its not numbering the bibliography
  • Nevermind! Figured it out thank you
Sign In or Register to comment.