Add Short Title to Citation

edited June 8, 2022
Hi all,

Hope this is not already solved, but I searched for it and couldn't find a straight forward answer.

I needed to adapt my citation style to put in the Short Title of my reports and solved this by going into the citation style editor and adding these lines in the macros section

I would love to have some feedback from the devs if you have a better workflow.

<!-- title-short -->
<macro name="title-short">
<if variable="title-short">
<text variable="title-short" text-case="title" quotes="true"/>
</if>
</macro>

<!-- Citation -->
<citation collapse="citation-number">
<sort>
<key variable="citation-number"/>
</sort>
<layout delimiter=", ">
<group prefix="[" suffix="]" delimiter=", ">

<text macro="title-short"/>
<text variable="citation-number"/>

</group>
</layout>
</citation>


So in my text a citation would pop up as (based on IEEE style)

[„<Short Title>", <Citation Number>]

Sign In or Register to comment.