Put "et al." in italic
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.
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.
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>
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>
font-style="normal"
as they can give you issues.