Put "et al." in italic

edited July 10, 2023
Hello everyone,

I ask for your help for a style that I have modified (French prehistoric society).

I would like to put "et al." in italic which follows the first author's name for collective works (from three authors) when citing in the text.

I found in another thread that it needs to be added (et-al font-style="italic" prefix=" "/) , but I don't know where exactly in my code I need to insert it.

Could someone tell me how should I modify the code?
it can be seen here: https://github.com/BerrioLaura/Code-Zotero-SPF.git

Thank you in advance for your answers.
  • edited July 11, 2023
    In line 132 you have an error:
    Either add the et-al-min if you want et al. in the bibliography. Otherwise you have to remove both.
    <bibliography et-al-min="4" et-al-use-first="1">


    Regarding the italics:

    You'd want to make the author macro look like this:
    <macro name="author">
    <names variable="author">
    <name initialize-with="." name-as-sort-order="all" sort-separator=" ">
    <name-part name="family" text-case="uppercase"/>
    <name-part name="given" text-case="uppercase"/>
    </name>
    <et-al font-style="italic"/>
    <label form="short" prefix=" " suffix="."/>
    <substitute>
    <names variable="editor"/>
    <text macro="anon"/>
    </substitute>
    </names>
    </macro>

  • Thank you so much for your help !

    I found this other solution and it works :
    </macro>
    <macro name="author-short">
    <names variable="author" font-style="normal">
    <name form="short" font-style="normal" font-weight="normal" and="text" delimiter-precedes-last="never" et-al-min="3" et-al-use-first="1" initialize-with=".">
    <et-al font-variant="normal" font-style="italic"/>
    <name-part name="family" text-case="capitalize-first"/>
    <name-part name="given" text-case="capitalize-first"/>
    </name>
    <label form="short" font-style="normal" prefix=" " suffix="."/>
    <substitute>
    <names variable="editor"/>
    <names variable="translator"/>
    <text macro="anon"/>
    </substitute>
    </names>
    </macro>
  • You should remove all of the font-style="normal" as they can give you issues.
  • Thank you for your advice !
Sign In or Register to comment.