feat: add list support for XThesis
This commit is contained in:
@@ -73,6 +73,12 @@
|
||||
<span>所定义。</span>
|
||||
</paragraph>
|
||||
|
||||
<ol>
|
||||
<li><span>输入图像经过预处理模块进行归一化。</span></li>
|
||||
<li><span>特征提取网络(如</span><cref>fig:arch</cref><span>所示)提取多尺度特征。</span></li>
|
||||
<li><span>分类头根据</span><cref>eq:loss</cref><span>计算损失并输出预测结果。</span></li>
|
||||
</ol>
|
||||
|
||||
<figure label="fig:arch" caption="网络架构示意图">figures/architecture.png</figure>
|
||||
|
||||
<section2 caption="损失函数">
|
||||
@@ -112,15 +118,11 @@
|
||||
</paragraph>
|
||||
|
||||
<section2 caption="数据集">
|
||||
<paragraph>
|
||||
<span>实验采用以下数据集:</span>
|
||||
<b>CIFAR-10</b>
|
||||
<span>、</span>
|
||||
<b>CIFAR-100</b>
|
||||
<span>和</span>
|
||||
<b>ImageNet</b>
|
||||
<span>。</span>
|
||||
</paragraph>
|
||||
<ul>
|
||||
<li><b>CIFAR-10</b><span>:10 个类别,共 60,000 张 32×32 彩色图像。</span></li>
|
||||
<li><b>CIFAR-100</b><span>:100 个类别,共 60,000 张 32×32 彩色图像。</span></li>
|
||||
<li><b>ImageNet</b><span>:1,000 个类别,共约 120 万张训练图像。</span></li>
|
||||
</ul>
|
||||
</section2>
|
||||
|
||||
<section2 caption="结果分析">
|
||||
|
||||
@@ -28,6 +28,8 @@
|
||||
<xs:element ref="equation"/>
|
||||
<xs:element ref="figure"/>
|
||||
<xs:element ref="table"/>
|
||||
<xs:element ref="ol"/>
|
||||
<xs:element ref="ul"/>
|
||||
<xs:element ref="pagebreaker"/>
|
||||
</xs:choice>
|
||||
</xs:group>
|
||||
@@ -97,8 +99,7 @@
|
||||
</xs:annotation>
|
||||
<xs:complexType>
|
||||
<xs:choice minOccurs="0" maxOccurs="unbounded">
|
||||
<xs:element ref="paragraph"/>
|
||||
<xs:element ref="pagebreaker"/>
|
||||
<xs:group ref="sectionBodyContent"/>
|
||||
</xs:choice>
|
||||
<xs:attribute name="caption" type="xs:string" use="required">
|
||||
<xs:annotation>
|
||||
@@ -419,6 +420,41 @@
|
||||
</xs:annotation>
|
||||
</xs:element>
|
||||
|
||||
<!-- ===== List Elements ===== -->
|
||||
|
||||
<xs:element name="ol">
|
||||
<xs:annotation>
|
||||
<xs:documentation>表示有序列表。内部包含多个 li 列表项。</xs:documentation>
|
||||
</xs:annotation>
|
||||
<xs:complexType>
|
||||
<xs:sequence>
|
||||
<xs:element ref="li" maxOccurs="unbounded"/>
|
||||
</xs:sequence>
|
||||
</xs:complexType>
|
||||
</xs:element>
|
||||
|
||||
<xs:element name="ul">
|
||||
<xs:annotation>
|
||||
<xs:documentation>表示无序列表。内部包含多个 li 列表项。</xs:documentation>
|
||||
</xs:annotation>
|
||||
<xs:complexType>
|
||||
<xs:sequence>
|
||||
<xs:element ref="li" maxOccurs="unbounded"/>
|
||||
</xs:sequence>
|
||||
</xs:complexType>
|
||||
</xs:element>
|
||||
|
||||
<xs:element name="li">
|
||||
<xs:annotation>
|
||||
<xs:documentation>列表项,仅可为 ol 或 ul 的子元素。其内容由 span、inlineeq、b、i、ref、cref、cite 等内联元素组成。</xs:documentation>
|
||||
</xs:annotation>
|
||||
<xs:complexType>
|
||||
<xs:choice minOccurs="0" maxOccurs="unbounded">
|
||||
<xs:group ref="paraInlineContent"/>
|
||||
</xs:choice>
|
||||
</xs:complexType>
|
||||
</xs:element>
|
||||
|
||||
<!-- ===== Misc ===== -->
|
||||
|
||||
<xs:element name="pagebreaker">
|
||||
|
||||
Reference in New Issue
Block a user