Skip to content

Commit

Permalink
v0.6c
Browse files Browse the repository at this point in the history
  • Loading branch information
tanukihee committed Apr 15, 2021
1 parent 39210cd commit b706a3e
Show file tree
Hide file tree
Showing 4 changed files with 14 additions and 12 deletions.
2 changes: 1 addition & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

本文档格式遵守[如何维护更新记录](https://keepachangelog.com/zh-CN/1.0.0/)

## 未发布
## v0.6c

### 新增

Expand Down
Binary file modified whu-thesis-doc.pdf
Binary file not shown.
20 changes: 10 additions & 10 deletions whu-thesis-doc.tex
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@

\title{\cls{whu-thesis}\bfseries :武汉大学毕业论文模板\thanks{\url{https://github.com/whutug/whu-thesis}}}
\author{WHUTUG\thanks{\url{https://github.com/whutug}}}
\date{2021/03/27 \quad v0.6b}
\date{2021/04/15 \quad v0.6c}

\begin{document}
\maketitle
Expand Down Expand Up @@ -362,7 +362,7 @@ \subsubsection{论文样式}

\begin{function}{style/font}
\begin{fdusyntax}[emph={[1]font}]
font = times|xits|termes
font = (*<times|xits|termes>*)
\end{fdusyntax}
西文字体设置,具体见表 \ref{tab:font}。
\end{function}
Expand Down Expand Up @@ -406,7 +406,7 @@ \subsubsection{论文样式}

\begin{function}{style/cjk-font}
\begin{fdusyntax}[emph={[1]cjk-font}]
cjk-font = windows|mac|fandol|overleaf
cjk-font = (*<windows|mac|fandol|overleaf>*)
\end{fdusyntax}
中文字体设置,具体见表 \ref{tab:cjk-font}。
\end{function}
Expand Down Expand Up @@ -471,35 +471,35 @@ \subsubsection{论文样式}

\begin{function}{style/bib-style}
\begin{fdusyntax}[emph={[1]bib-style}]
bib-style = author-year|numerical
bib-style = (*<numerical|author-year|author-year-numbered|\meta{其他样式}>*)
\end{fdusyntax}
设置参考文献样式。\opt{author-year} 和 \opt{numerical} 分别对应国家标准 GB/T 7714--2005 中的著者—出版年制和顺序编码制。\kvopt{type}{doctor} 或 \opt{master} 时默认为 \opt{author-year},\kvopt{type}{bachelor} 或 \opt{opening} 时默认为 \opt{numerical}。
设置参考文献样式。\opt{author-year} 和 \opt{numerical} 分别对应国家标准 GB/T 7714--2005 中的著者—出版年制和顺序编码制。\opt{author-year-numbered} 则是在 \opt{author-year} 基础上添加了序号,此时年份仍然紧跟在作者后方,而不在最后。选择 \meta{其他样式} 时,需要保证相应的 ".bst"\kvopt{bib-backend}{bibtex})或 ".bbx"\kvopt{bib-backend}{biblatex})文件能够被读取。\kvopt{type}{doctor} 或 \opt{master} 时默认为 \opt{author-year},\kvopt{type}{bachelor} 或 \opt{opening} 时默认为 \opt{numerical}。
\end{function}

\begin{function}{style/cite-style}
\begin{fdusyntax}[emph={[1]bib-style}]
cite-style = (*<(super)|inline>*)
cite-style = (*<numerical-super|numerical-inline|author-year|\meta{其他样式}>*)
\end{fdusyntax}
设置引用样式,仅在 \kvopt{style/bib-style}{numerical} 时有效。分别表示上标形式与文内形式的引用样式
设置引用样式,\opt{numerical-super} 与 \opt{numerical-inline} 分别表示上标形式与文内形式的引用样式,\opt{author-year} 表示著者—出版年的引用样式。\meta{其他样式} 只能在 \kvopt{bib-backend}{biblatex} 使用
\end{function}

\begin{function}{style/list-of-figures}
\begin{fdusyntax}[emph={[1]list-of-figures}]
list-of-figures = (*\TFF*)
list-of-figures = (*<\TFF>*)
\end{fdusyntax}
设置是否显示图片索引。
\end{function}

\begin{function}{style/list-of-tables}
\begin{fdusyntax}[emph={[1]list-of-tables}]
list-of-tables = (*\TFF*)
list-of-tables = (*<\TFF>*)
\end{fdusyntax}
设置是否显示表格索引。
\end{function}

\begin{function}{style/fullwidth-stop}
\begin{fdusyntax}[emph={[1]fullwidth-stop}]
fullwidth-stop = (*\TFF*)
fullwidth-stop = (*<\TFF>*)
\end{fdusyntax}
选择是否把全角实心句点“.”作为默认的句号形状。这种句号一般用于科技类文章,以避免与下标“$_o$”或“$_0$”混淆。
\end{function}
Expand Down
4 changes: 3 additions & 1 deletion whu-thesis.cls
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@

\NeedsTeXFormat{LaTeX2e}
\RequirePackage{expl3 , xparse , l3keys2e}
\ProvidesExplClass{whu-thesis}{2021/03/27}{0.6b}
\ProvidesExplClass{whu-thesis}{2021/04/15}{0.6c}
{Wuhan University Thesis Template}

\msg_new:nnn { whu-thesis } { 引擎不支持 }
Expand Down Expand Up @@ -965,6 +965,8 @@
\g__whu_style_cite_style_tl
{
\tl_if_eq:NnT \g__whu_style_cite_style_tl { numerical-inline }
{ \PassOptionsToPackage { citestyle = numeric-comp } { biblatex } }
\tl_if_eq:NnT \g__whu_style_cite_style_tl { numerical-super }
{ \PassOptionsToPackage { citestyle = gb7714-2015 } { biblatex } }
\tl_if_eq:NnT \g__whu_style_cite_style_tl { author-year }
{ \PassOptionsToPackage { citestyle = gb7714-2015ay } { biblatex } }
Expand Down

0 comments on commit b706a3e

Please sign in to comment.