Skip to content

Instantly share code, notes, and snippets.

@0ut0fcontrol
Last active March 15, 2022 04:32
Show Gist options
  • Save 0ut0fcontrol/aafe4fb7ccb6c54c947d9bc055562bb2 to your computer and use it in GitHub Desktop.
Save 0ut0fcontrol/aafe4fb7ccb6c54c947d9bc055562bb2 to your computer and use it in GitHub Desktop.
Minimal style for inserting citations into slides by Zotero [Quick Copy](https://www.zotero.org/support/creating_bibliographies). Example: Huang et al. J. Med. Chem. (2006)
<?xml version="1.0" encoding="utf-8"?>
<style xmlns="http://purl.org/net/xbiblio/csl" class="in-text" version="1.0" demote-non-dropping-particle="sort-only" default-locale="en-GB">
<!-- This style was edited with the Visual CSL Editor (https://editor.citationstyles.org/visualEditor/) -->
<info>
<title>Minimal style for slides</title>
<id>http://www.zotero.org/styles/minimal-style-for-slides</id>
<link href="http://www.zotero.org/styles/minimal-style-for-slides" rel="self"/>
<author>
<email>gold.yang@qq.com</email>
<name>Jincai Yang</name>
<uri>https://github.com/0ut0fcontrol</uri>
</author>
<contributor>
<name>Jincai Yang</name>
<email>gold.yang@qq.com</email>
<uri>https://github.com/0ut0fcontrol</uri>
</contributor>
<category citation-format="numeric"/>
<category field="science"/>
<category field="generic-base"/>
<updated>2019-11-01T02:41:35+00:00</updated>
<rights license="http://creativecommons.org/licenses/by-sa/3.0/">This work is licensed under a Creative Commons Attribution-ShareAlike 3.0 License</rights>
</info>
<macro name="author">
<names variable="author">
<name form="short" and="symbol" delimiter-precedes-last="never" initialize-with=". " name-as-sort-order="all"/>
<label form="short" prefix=", "/>
<et-al font-style="italic"/>
</names>
</macro>
<macro name="issuance">
<choose>
<if type="bill book graphic legal_case legislation motion_picture report song thesis chapter paper-conference" match="any">
<group delimiter=", " prefix="(" suffix=")">
<text variable="publisher" form="short"/>
</group>
</if>
</choose>
</macro>
<macro name="container-title">
<choose>
<if type="article-journal">
<text variable="container-title" font-style="italic" form="short"/>
</if>
<else>
<text variable="container-title" form="short" font-style="italic"/>
</else>
</choose>
</macro>
<macro name="editor">
<choose>
<if type="chapter paper-conference" match="any">
<names variable="editor" prefix="(" suffix=")">
<label form="short" suffix=" "/>
<name and="symbol" delimiter-precedes-last="never" initialize-with=". " name-as-sort-order="all"/>
</names>
</if>
</choose>
</macro>
<citation collapse="citation-number">
<sort>
<key variable="citation-number"/>
</sort>
<layout vertical-align="sup" delimiter=",">
<text variable="citation-number"/>
</layout>
</citation>
<bibliography et-al-min="2" et-al-use-first="1" entry-spacing="0">
<layout>
<group delimiter=" ">
<text macro="author" suffix="."/>
<choose>
<if type="chapter paper-conference" match="any">
<text term="in" form="long" plural="false"/>
</if>
</choose>
<text macro="container-title"/>
<date date-parts="year" form="text" variable="issued" prefix="(" suffix=")"/>
</group>
</layout>
</bibliography>
</style>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment