Skip to content

Commit

Permalink
Merge pull request #235 from sikouhjw/master
Browse files Browse the repository at this point in the history
修改文档中排序方式的解释
  • Loading branch information
sikouhjw authored Dec 30, 2022
2 parents 5d8a544 + ba69287 commit ea643e3
Showing 1 changed file with 7 additions and 4 deletions.
11 changes: 7 additions & 4 deletions elegantbook-cn.tex
Original file line number Diff line number Diff line change
Expand Up @@ -606,12 +606,15 @@ \subsection{修改文献格式}
\documentclass[citestyle=gb7714-2015, bibstyle=gb7714-2015]{elegantbook}
\end{lstlisting}

如果需要添加排序方式,可以在导言区加入下面命令:
在使用
\begin{lstlisting}
\ExecuteBibliographyOptions{sorting=ynt}
\documentclass[citestyle=gb7714-2015, bibstyle=gb7714-2015]{elegantbook}
\end{lstlisting}

如果使用的是国标,可以将 \lstinline{ynt} 改为 \lstinline{gb7714-2015},使文献按照国标规定进行文献排序。
后,排序方式为按引用先后排序。如果不使用国标 GB7714-2015 并且需要添加排序方式,可以在导言区加入下面命令:
\begin{lstlisting}
\ExecuteBibliographyOptions{sorting=<name>}
\end{lstlisting}
其中 \lstinline{<name>} 可以是 nty, nyt, nyvt, anyt, anyvt, ynt, ydnt, none, count, debug 的其中之一,更多排序相关请参考 biblatex 宏包手册的 3.1.2.1 节。


\section{添加序章}
Expand Down

0 comments on commit ea643e3

Please sign in to comment.