Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Save Sleimanzayoud/7d511b8b6eeddcea357dcdb7978a844d to your computer and use it in GitHub Desktop.
Save Sleimanzayoud/7d511b8b6eeddcea357dcdb7978a844d to your computer and use it in GitHub Desktop.
<?xml version="1.0" encoding="utf-8"?>
<style xmlns="http://purl.org/net/xbiblio/csl" version="1.0">
<info>
<title>Custom APA 7th - Last Name Full, Initials No Dots, Bold Underline Titles, Pages, Ed, City, et al Citation</title>
<id>http://www.zotero.org/styles/apa7-custom-lastName-initialsNoDots-boldUnderline-pages-ed-city-etAl</id>
<link href="http://www.zotero.org/styles/apa7-custom-lastName-initialsNoDots-boldUnderline-pages-ed-city-etAl" rel="self"/>
<author>
<name>Custom Assistant</name>
</author>
<category citation-format="author-date"/>
<updated>2025-05-27T00:00:00+00:00</updated>
</info>
<!-- Author macro: last name full, first/middle initials only (no dots) -->
<macro name="author">
<names variable="author" and="text" delimiter=", ">
<name form="long" name-as-sort-order="all" initialize="true" initialize-with=" " delimiter=" " />
</names>
</macro>
<!-- Editor macro for books -->
<macro name="editor">
<names variable="editor" and="text" delimiter=", ">
<name form="long" name-as-sort-order="all" initialize="true" initialize-with=" " delimiter=" " />
</names>
</macro>
<!-- Title bold and underlined -->
<macro name="title">
<text variable="title" font-weight="bold" text-decoration="underline"/>
</macro>
<!-- Container title italic -->
<macro name="container-title">
<text variable="container-title" font-style="italic"/>
</macro>
<!-- Year with disambiguation -->
<macro name="issued">
<date variable="issued" disambiguate="true">
<date-part name="year"/>
</date>
</macro>
<!-- Page number with pp: -->
<macro name="page">
<text variable="page" prefix="pp: "/>
</macro>
<!-- Citation: (LastName, Year) or (LastName et al, Year) -->
<citation>
<layout prefix="(" suffix=")" delimiter="; ">
<names variable="author" initialize="false" and="text" delimiter="; "
et-al-min="2" et-al-use-first="1" et-al-subsequent-min="2" et-al-subsequent-use-first="1">
<name form="long" name-as-sort-order="all" initialize-with="" />
</names>
<text macro="issued" prefix=", "/>
<text variable="locator" prefix=", "/>
</layout>
</citation>
<!-- Bibliography -->
<bibliography>
<sort>
<key variable="author"/>
<key variable="issued"/>
<key variable="title"/>
</sort>
<layout>
<text macro="author" suffix=". "/>
<text macro="issued" prefix="(" suffix="). "/>
<text macro="title" suffix=". "/>
<group delimiter=". ">
<text variable="edition" prefix="ed. "/>
<text variable="publisher-place" suffix="."/>
<text variable="publisher"/>
</group>
<group delimiter=" ">
<text macro="page"/>
</group>
</layout>
</bibliography>
</style>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment