File tree 2 files changed +10
-5
lines changed
2 files changed +10
-5
lines changed Original file line number Diff line number Diff line change @@ -1820,7 +1820,7 @@ \subsection{后置部分}
1820
1820
用于添加个人成果,添加过的成果可以通过 |printbibliography| 打印。
1821
1821
\end {function }
1822
1822
1823
- \begin {function }[added=2022-10-23]{\pubsection }
1823
+ \begin {function }[added=2022-10-23, updated=2025-01-02 ]{\pubsection }
1824
1824
\begin {bitsyntax }[emph={[1]publications,pubsection,printbibliography}]
1825
1825
\begin {publications }
1826
1826
\addpubs {\meta {引用内容的key},\meta {引用内容的key2}}
@@ -1835,6 +1835,8 @@ \subsection{后置部分}
1835
1835
1836
1836
\textit {在「攻读学位期间发表论文与研究成果清单」环境中使用。 }
1837
1837
用于添加分类的目录。
1838
+
1839
+ |\pubsection | 会编号;若不想编号,请改用 |\pubsection *|。
1838
1840
\end {function }
1839
1841
1840
1842
\begin {function }[added=2022-10-23]{\Author ,\AuthorEn }
Original file line number Diff line number Diff line change 3133
3133
% \begin{macro}{\pubsection}
3134
3134
% 设置小标题。
3135
3135
% \begin{macrocode}
3136
- \NewDocumentCommand \pubsection {m} {
3136
+ \NewDocumentCommand \pubsection {s m} {
3137
3137
{
3138
- % 自增计数器
3139
- \par\stepcounter {pub}
3138
+ \par
3139
+ \IfBooleanF {#1} {
3140
+ % 自增计数器
3141
+ \stepcounter {pub}
3142
+ }
3140
3143
% 设置小标题,暂时没有考虑英文模式
3141
3144
\noindent
3142
3145
\textbf {
3143
3146
\heiti {
3144
- \zhnumber {\thepub }、#1
3147
+ \IfBooleanF {#1} { \ zhnumber {\thepub }、}#2
3145
3148
}
3146
3149
}\par
3147
3150
}
You can’t perform that action at this time.
0 commit comments