Font for "and" in citation for 2 authors

edited June 9, 2022
Hello
Authors for citation are in "small-Caps", but "and" (in Author1 and Author2) should be in "normal" but it is in "small-Caps" too. it works fine (and font is "normal") for citation with "et-al" and also for bibliography.

How to have the "normal" font for "and" in a citation? I don't see where to set the font for "and".
thank you for helping
best
Franval

Here is my code:
<macro name="author-short"> -- citation
<names variable="author">
<name form="short" and="text" delimiter=", " delimiter-precedes-last="never" initialize-with=". "/>
<et-al font-variant="normal"/>
<substitute>
<names variable="editor"/>
<names variable="translator"/>
</substitute>
</names>
</macro>

<macro name="author"> -- for bibliography
<names variable="author" suffix=".">
<name sort-separator=", " initialize-with=". " and="text" name-as-sort-order="first" delimiter=", " delimiter-precedes-last="after-inverted-name" form="long">
<name-part name="family" text-case="capitalize-first" font-variant="small-caps"/>
</name>
<substitute>
<names variable="editor"/>
<text variable="title"/>
</substitute>
</names>
</macro>
  • Please put the whole style on pastebin.com or a comparable site and link to from here (you can use <code></code> around short code snippets, but use a code sharing site for anything longer the 3-4 lines, please.
  • You're currently setting small caps on the entire author-short macro. Delete font-variant="small-caps" in line 92 of your current style.

    Then set it on the name-part in the author-short macro.
    Find
    <names variable="author">
    <name form="short" and="text" delimiter=", " delimiter-precedes-last="never" initialize-with=". "/>


    Change to

    <names variable="author">
    <name form="short" and="text" delimiter=", " delimiter-precedes-last="never" initialize-with=". ">
    <name-part name="family" text-case="capitalize-first" font-variant="small-caps"/>
    </name>


    This is already done correctly for the bibliography
  • thank you very much adamsmith for help. it works fine.
    I don't know why I did not find the solution
    best
    franval
Sign In or Register to comment.