Skip to content

Instantly share code, notes, and snippets.

@GrayXu
Last active January 22, 2026 10:51
Show Gist options
  • Select an option

  • Save GrayXu/8460ec91fbecf81b1dfab55c36a6c501 to your computer and use it in GitHub Desktop.

Select an option

Save GrayXu/8460ec91fbecf81b1dfab55c36a6c501 to your computer and use it in GitHub Desktop.
HUST Phd Thesis Zotero csl (overfit 计算机的)
<?xml version="1.0" encoding="utf-8"?>
<style xmlns="http://purl.org/net/xbiblio/csl" class="in-text" version="1.0" sort-separator=" "
demote-non-dropping-particle="never" initialize-with=". " initialize-with-hyphen="false"
page-range-format="expanded" default-locale="zh-CN">
<info>
<title>华中科技大学(理工科)v1.1</title>
<id>https://zotero-chinese.com/styles/华中科技大学(理工科)v1.1</id>
<link href="https://zotero-chinese.com/styles/华中科技大学(理工科)v1.1" rel="self" />
<link href="https://zotero-chinese.com/styles/GB-T-7714—2015(顺序编码,双语)" rel="template" />
<link href="http://gs.hust.edu.cn/info/1041/5462.htm" rel="documentation" />
<author>
<name>韩小土</name>
<email>redleafnew@163.com</email>
</author>
<contributor>
<name>Zeping Lee</name>
<email>zepinglee@gmail.com</email>
</contributor>
<contributor>
<name>Gray Xu</name>
<email>mail@grayxu.cn</email>
</contributor>
<category citation-format="numeric" />
<category field="generic-base" />
<summary>理工科-博士-华中科技大学学位论文参考模板(2023-02-10 发布)</summary>
<updated>2025-04-19T15:29:07+08: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>
<locale xml:lang="en">
<date form="text">
<date-part name="month" form="long" suffix=" " range-delimiter="-" />
<date-part name="day" suffix=", " range-delimiter="-" />
<date-part name="year" range-delimiter="-" />
</date>
<terms>
<term name="month-06" form="short">June</term>
<term name="month-07" form="short">July</term>
</terms>
</locale>
<locale xml:lang="zh">
<date form="text">
<date-part name="year" suffix="年" range-delimiter="&#8212;" />
<date-part name="month" form="numeric" suffix="月" range-delimiter="&#8212;" />
<date-part name="day" suffix="日" range-delimiter="&#8212;" />
</date>
<terms>
<term name="edition" form="short">版</term>
<term name="open-quote">“</term>
<term name="close-quote">”</term>
<term name="open-inner-quote">‘</term>
<term name="close-inner-quote">’</term>
<term name="in">见</term>
</terms>
</locale>
<locale>
<date form="numeric">
<date-part name="year" range-delimiter="/" />
<date-part name="month" form="numeric-leading-zeros" prefix="-" range-delimiter="/" />
<date-part name="day" form="numeric-leading-zeros" prefix="-" range-delimiter="/" />
</date>
<terms>
<term name="citation-range-delimiter">-</term>
<term name="page-range-delimiter">-</term>
</terms>
</locale> <!-- 主要责任者 -->
<macro name="author">
<names variable="author">
<name />
<substitute>
<names variable="composer" />
<names variable="illustrator" />
<names variable="director" />
<choose>
<if variable="container-title" match="none">
<names variable="editor" />
</if>
</choose>
</substitute>
</names>
</macro> <!--
题名 -->
<macro name="title-en">
<group delimiter=" ">
<group delimiter=": ">
<text variable="title" />
<group delimiter="&#8195;">
<choose>
<if variable="container-title"
type="chapter entry-dictionary entry-encyclopedia paper-conference"
match="none">
<text macro="volume" />
<text variable="volume-title" />
</if>
</choose>
<choose>
<if type="article article-journal patent" match="none"> <!--
预印本和期刊文章的编号用于其他位置 -->
<text variable="number" />
</if>
</choose>
<choose>
<if type="collection manuscript personal_communication" match="any"> <!--
档案的卷宗号 -->
<text variable="archive_location" />
</if>
</choose>
</group>
</group>
<choose>
<if variable="container-title" type="chapter paper-conference" match="none"> <!--
版本号,样式为图书名称(第x版) -->
<text macro="edition-en" prefix="(" suffix=")" />
</if>
</choose>
<choose>
<if type="thesis">
<text macro="thesis-type" prefix="[" suffix="]" />
</if>
</choose>
</group>
</macro>
<macro name="title-zh">
<group delimiter=": ">
<text variable="title" />
<group delimiter="&#8195;">
<choose>
<if variable="container-title" type="chapter paper-conference" match="none">
<text macro="volume" />
</if>
</choose>
<choose>
<if type="bill legal_case legislation regulation report standard" match="any">
<text variable="number" />
</if>
</choose>
</group>
</group>
<choose>
<if variable="container-title" type="chapter paper-conference" match="none"> <!--
版本号,样式为图书名称(第x版) -->
<text macro="edition-zh" prefix="(" suffix=")" />
</if>
</choose>
<choose>
<if type="thesis">
<text macro="thesis-type" prefix="[" suffix="]" />
</if>
</choose>
</macro> <!--
书籍的卷号(“第 x 卷”或“第 x 册”) -->
<macro name="volume">
<choose>
<if type="article article-journal article-magazine article-newspaper periodical"
match="none">
<text variable="volume" />
</if>
</choose>
</macro> <!--
学位论文类型 -->
<macro name="thesis-type">
<choose>
<if variable="genre">
<text variable="genre" />
</if>
<else>
<text value="博士学位论文" />
</else>
</choose>
</macro> <!-- 其他责任者 -->
<macro name="secondary-contributors">
<names variable="translator">
<name />
<label form="short" prefix=", " />
</names>
</macro> <!-- 专著题名 -->
<macro name="container-booklike">
<group delimiter=": ">
<text term="in" text-case="capitalize-first" />
<choose>
<if type="paper-conference" variable="event-title" match="all"> <!-- 会议名称(或论文集) -->
<text variable="event-title" />
</if>
<else>
<group delimiter=": ">
<text variable="container-title" />
<choose>
<if type="paper-conference" match="any" />
<else>
<text macro="volume" />
</else>
</choose>
</group>
</else>
</choose>
</group>
</macro> <!--
连续出版物中的出处项 -->
<macro name="container-periodical">
<choose>
<if type="article-newspaper"> <!-- 报纸的出处项:“刊名, 出版日期(版次): 页码[引用日期]” -->
<group delimiter=", ">
<text variable="container-title" />
<text macro="issued-date" />
</group>
<text variable="page" prefix="(" suffix=")" />
</if>
<else> <!-- 期刊、杂志的出处项:“刊名, 年, 卷(期): 页码[引用日期]” -->
<group delimiter=": ">
<group>
<group delimiter=", ">
<text variable="container-title" />
<text macro="issued-year" />
<text variable="volume" />
</group>
<text variable="issue" prefix="(" suffix=")" />
</group>
<choose>
<if variable="page">
<text variable="page" />
</if>
<else>
<text variable="number" />
</else>
</choose>
</group>
</else>
</choose>
</macro>
<macro name="edition-en">
<choose>
<if is-numeric="edition">
<number variable="edition" form="long-ordinal" />
<label variable="edition" prefix=" " />
</if>
<else>
<text variable="edition" />
</else>
</choose>
</macro> <!-- 版本项 -->
<macro name="edition-zh">
<choose>
<if is-numeric="edition">
<text value="第" />
<number variable="edition" form="long-ordinal" />
<label variable="edition" form="short" />
</if>
<else>
<text variable="edition" />
</else>
</choose>
</macro> <!--
连续出版物的年卷期 -->
<macro name="year-volume-issue">
<group delimiter=", ">
<text macro="issued-year" />
<text variable="volume" />
</group>
<text variable="issue" prefix="(" suffix=")" />
</macro> <!-- 出版项 -->
<macro name="publisher">
<choose>
<if type="patent"> <!-- 专利的出版项格式“专利国别, 专利文献种类, 专利号, 出版年” -->
<group delimiter=", ">
<text macro="patent-country" />
<text variable="genre" />
<text variable="number" />
<text macro="issued-year" />
</group>
</if>
<else-if type="paper-conference"> <!-- 会议论文集:“会议城市, 国家, 会议时间, 出版者, 出版年: 起页-止页” -->
<group delimiter=": ">
<group delimiter=", ">
<text variable="event-place" />
<choose>
<if variable="event-date">
<date variable="event-date" form="text" />
</if>
<else>
<date variable="issued" form="text" />
</else>
</choose>
<text variable="publisher" />
<text macro="issued-year" />
</group>
<text variable="page" />
</group>
</else-if>
<else> <!-- 非纯电子资源的格式“出版地: 出版者, 出版年: 页码[引用日期]” -->
<group delimiter=": ">
<group delimiter=", ">
<group delimiter=": ">
<choose>
<if variable="publisher publisher-place" match="any">
<text variable="publisher-place" />
<text variable="publisher" />
</if>
<else> <!-- 档案的馆藏地以及收藏机构或单位 -->
<text variable="archive-place" />
<text variable="archive" />
</else>
</choose>
</group>
<text macro="issued-year" />
</group>
<text variable="page" />
</group>
</else>
</choose>
</macro> <!--
专利国别 -->
<macro name="patent-country">
<choose> <!-- 专利的国别应使用 `jurisdiction`,但 Zotero 的 `Country` 字段没有映射到 CSL,所以使用 `publisher-place`
作为备选 -->
<if variable="jurisdiction">
<text variable="jurisdiction" />
</if>
<else-if variable="publisher-place">
<text variable="publisher-place" />
</else-if>
<else>
<text value="中国" />
</else>
</choose>
</macro> <!-- 出版年 -->
<macro name="issued-year">
<choose>
<if variable="issued">
<choose>
<if is-uncertain-date="issued"> <!-- 出版年无法确定时, 估计的出版年应置于方括号内。 -->
<date variable="issued" form="numeric" date-parts="year" prefix="["
suffix="]" />
</if>
<else>
<date variable="issued" form="numeric" date-parts="year" />
</else>
</choose>
</if>
<else> <!-- 选取引用日期的年份作为估计的出版年 -->
<date variable="accessed" form="numeric" date-parts="year" prefix="[" suffix="]" />
</else>
</choose>
</macro> <!--
出版日期,用于报纸文献、专利的“公告日期或公开日期”、电子资源的“更新或修改日期” -->
<macro name="issued-date">
<date variable="issued" form="numeric" />
</macro> <!-- 获取和访问路径、数字对象唯一标识符 -->
<macro name="access">
<choose>
<if type="dataset post post-weblog software webpage" match="any"> <!-- 仅纯电子资源显示 URL -->
<text variable="URL" />
</if>
</choose>
</macro> <!-- 参考文献表格式 -->
<macro name="entry-layout-en">
<group delimiter=". ">
<text macro="author" />
<choose>
<if type="periodical"> <!-- 4.3 连续出版物 -->
<text macro="title-en" />
<text macro="year-volume-issue" />
<text macro="publisher" />
</if>
<else-if type="article-journal article-magazine article-newspaper" match="any"> <!--
4.4 连续出版物中的析出文献 -->
<text macro="title-en" />
<text macro="container-periodical" />
</else-if>
<else-if type="patent"> <!-- 4.5 专利文献 -->
<text macro="title-en" />
<text macro="publisher" />
</else-if>
<else-if type="dataset post post-weblog software webpage" match="any"> <!-- 4.6 电子资源 -->
<text macro="title-en" />
<text macro="publisher" />
</else-if>
<else-if type="chapter entry-dictionary entry-encyclopedia paper-conference"
variable="container-title" match="any"> <!-- 4.2 专著中的析出文献 -->
<group delimiter=", ">
<text macro="title-en" /> <!-- 格式要求“会议名称(或论文集). 会议城市, 国家”中的是句点, 但是示例“(APSIPA
ASC), Honolulu, HI, USA”中是逗号 -->
<text macro="container-booklike" />
<text macro="publisher" />
</group>
</else-if>
<else> <!-- 4.1 专著 -->
<text macro="title-en" />
<text macro="secondary-contributors" />
<text macro="publisher" />
</else>
</choose>
<text macro="access" />
</group>
</macro>
<macro name="entry-layout-zh">
<group delimiter=". ">
<text macro="author" />
<choose>
<if type="periodical"> <!-- 4.3 连续出版物 -->
<text macro="title-zh" />
<text macro="year-volume-issue" />
<text macro="publisher" />
</if>
<else-if type="article-journal article-magazine article-newspaper" match="any"> <!--
4.4 连续出版物中的析出文献 -->
<text macro="title-zh" />
<text macro="container-periodical" />
</else-if>
<else-if type="patent"> <!-- 4.5 专利文献 -->
<text macro="title-zh" />
<text macro="publisher" />
</else-if>
<else-if type="dataset post post-weblog software webpage" match="any"> <!-- 4.6 电子资源 -->
<text macro="title-zh" />
<text macro="publisher" />
</else-if>
<else-if type="chapter entry-dictionary entry-encyclopedia paper-conference"
variable="container-title" match="any"> <!-- 4.2 专著中的析出文献 -->
<group delimiter=", ">
<text macro="title-zh" /> <!-- 格式要求“会议名称(或论文集). 会议城市, 国家”中的是句点, 但是示例“(APSIPA
ASC), Honolulu, HI, USA”中是逗号 -->
<text macro="container-booklike" />
<text macro="publisher" />
</group>
</else-if>
<else> <!-- 4.1 专著 -->
<text macro="title-zh" />
<text macro="secondary-contributors" />
<text macro="publisher" />
</else>
</choose>
<text macro="access" />
</group>
</macro>
<citation>
<sort>
<key variable="citation-number" />
</sort>
<layout vertical-align="sup" delimiter="">
<text variable="citation-number" prefix="[" suffix="]" />
</layout>
</citation>
<bibliography entry-spacing="0" et-al-min="7" et-al-use-first="6" second-field-align="flush"
hanging-indent="true">
<layout locale="en" delimiter="&#9;">
<text variable="citation-number" prefix="[" suffix="]" />
<text macro="entry-layout-en" />
</layout>
<layout delimiter="&#9;">
<text variable="citation-number" prefix="[" suffix="]" />
<text macro="entry-layout-zh" />
</layout>
</bibliography>
</style>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment