Which parts of the style code to edit to create a new space-efficient Vancouver style

edited March 11, 2021
Hi,

I want to create a custom Vancouver style that will be very space-efficient to be used in grants.

Specifically, I want in the citations:

* To have the citations as superscript without brackets or parentheses

In the bibliography:

* no space between references such as in Elsevier Vancouver (https://www.zotero.org/styles/elsevier-vancouver?source=1) but NOT as in the normal Vancouver (https://www.zotero.org/styles/vancouver?source=1) style which has a gap between references in the bibliography

* Turn long lists of author names to 'et al.'

* Remove DOIs

I think the closest style is this Vancouver (https://www.zotero.org/styles/vancouver-superscript-only-year?source=1) style but can you help me remove the gap between the lines?

Can you please point me to the correct parts of the code to edit those and create this new style?
  • Hi,

    basing this of elsevier-vancouver:

    1. no space between references: usually set via line-spacing on the line that starts with bibliography. Also check what Word does. Word has it's own style for the bibliography.
    2. et-al settings:
    you would put et-al-min="7" et-al-use-first="6" into the line that starts with "bibliography" to give 6 names + et al. for citations with more than 6 authors.
    3. You would modify the access macro. In this case, remove the if statement and change the else-if state (for webpages) to the if statement by deleting the "else-" parts.

    Check style with https://validator.citationstyles.org/

    If you run into problems, just share your custom style via pastebin or hastebin and add the link here.
  • edited March 11, 2021
    Thank you for the reply, can you please help me remove the tab after the number in the bibliography and the brackets of this style https://www.zotero.org/styles/elsevier-vancouver?source=1?

    https://imgur.com/a/m38dJyg

    I see there is a tab character after each [number]. Moreover, I would like to remove the brackets and replace them with a "." only after the number, similar to the style 'Springer - Vancouver (brackets)' (https://www.zotero.org/styles/springer-vancouver-brackets?source=1)
  • 1. line 91, remove second-field-align="flush"
    2. Look at line 93 and change accordingly.
  • All your instructions were accurate, thank you very much @damnation
Sign In or Register to comment.