Commit d79f334d authored by liziwl's avatar liziwl
Browse files

改进文档中引用格式的示例展示

- 为顺序编码制和著者-出版年制下的引用示例添加了 \small 字体格式
- 在两个制式下均使用了独立的制表符环境,提高了可读性
- 通过添加 \noindent 避免了不必要的段落缩进,使版式更加整洁
parent 99c79c86
Loading
Loading
Loading
Loading
+22 −15
Original line number Diff line number Diff line
@@ -16,6 +16,9 @@

在顺序编码制下,默认的 \cs{cite} 命令同 \cs{citep} 一样,即序号置于方括号中,引文页码会放在括号外。统一处引用的连续序号会自动用短横线连接。如多次引用同一文献,可能需要标注页码,例如:引用第二页\cite[2]{zhangkun1994},引用第五页\cite[5]{zhangkun1994}

{
  \small
  \noindent
    \begin{tabular}{l@{\quad$\Rightarrow$\quad}l}
      \verb|\cite{zhangkun1994}|               & \cite{zhangkun1994}   {\kaishu 不带页码的上标引用}            \\
      \verb|\citet{zhangkun1994}|              & \citet{zhangkun1994}              \\
@@ -23,6 +26,7 @@
      \verb|\cite[42]{zhangkun1994}|           & \cite[42]{zhangkun1994} {\kaishu 手动带页码的上标引用}          \\
      \verb|\cite{zhangkun1994,zhukezhen1973}| & \cite{zhangkun1994,zhukezhen1973}  {\kaishu 一次多篇文献的上标引用}  \\
    \end{tabular}
}

\section{著者-出版年制}

@@ -31,6 +35,9 @@
\thusetup{
  cite-style = author-year,
}
{
  \small
  \noindent
  \begin{tabular}{l@{\quad$\Rightarrow$\quad}l}
    \verb|\cite{zhangkun1994}|                & \cite{zhangkun1994}                \\
    \verb|\citet{zhangkun1994}|               & \citet{zhangkun1994}               \\
@@ -38,7 +45,7 @@
    \verb|\cite[42]{zhangkun1994}|            & \cite[42]{zhangkun1994}            \\
    \verb|\citep{zhangkun1994,zhukezhen1973}| & \citep{zhangkun1994,zhukezhen1973} \\
  \end{tabular}

}
\subsection{其他引用注意事项}

\thusetup{