How to put brackets in a text in bold
Hello,
I would like to know if it is possible to put the brackets of a citation in a text, in bold ?
Example of the text :
From : Sentence ABCD.[1] to : Sentence ABCD. [1 in bold ]
The style I'm using is : https://www.zotero.org/styles?q=id:vancouver-brackets
Its source : https://www.zotero.org/styles/vancouver-brackets?source=1
Thank you in advance !
I would like to know if it is possible to put the brackets of a citation in a text, in bold ?
Example of the text :
From : Sentence ABCD.[1] to : Sentence ABCD. [1 in bold ]
The style I'm using is : https://www.zotero.org/styles?q=id:vancouver-brackets
Its source : https://www.zotero.org/styles/vancouver-brackets?source=1
Thank you in advance !
for vancouver-brackets.csl you'd change the citation part to this:
<citation collapse="citation-number">
<sort>
<key variable="citation-number"/>
</sort>
<layout font-weight="bold" delimiter="," prefix="[" suffix="]">
<text variable="citation-number" font-weight="normal"/>
</layout>
</citation>
If the brackets AND the number then you just remove the font-weight "normal" bit.
instructions how to make these changes: https://www.zotero.org/support/dev/citation_styles/style_editing_step-by-step
Make sure to read the whole thing and follow it. Especially, regarding the style ID.
Thank you very much for your answer !
Could you please tell me if this code is correct, as i tried to remove "normal" in order to have both brackets and numbers in bold.
<citation collapse="citation-number">
<sort>
<key variable="citation-number"/>
</sort>
<layout font-weight="bold" delimiter="," prefix="[" suffix="]">
<text variable="citation-number" font-weight=/>
</layout>
</citation>
Youl also need to remove "font-weight=".
Test your code with: validator.citationstyles.org/
Here is the code if anyone needs it :
<citation collapse="citation-number">
<sort>
<key variable="citation-number"/>
</sort>
<layout font-weight="bold" delimiter="," prefix="[" suffix="]">
<text variable="citation-number"/>
</layout>
</citation>
Would it be possible to have a space before the brackets so they don't stick to the sentence?
Thank you !
Thank you @bwiernik and @damnation !