Skip to content

Commit

Permalink
改进文档中引用格式的示例展示
Browse files Browse the repository at this point in the history
- 为顺序编码制和著者-出版年制下的引用示例添加了 \small 字体格式
- 在两个制式下均使用了独立的制表符环境,提高了可读性
- 通过添加 \noindent 避免了不必要的段落缩进,使版式更加整洁
  • Loading branch information
liziwl committed Oct 6, 2024
1 parent 99c79c8 commit d79f334
Showing 1 changed file with 22 additions and 15 deletions.
37 changes: 22 additions & 15 deletions data/chap04.tex
Original file line number Diff line number Diff line change
Expand Up @@ -16,13 +16,17 @@ \section{顺序编码制}

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

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

\section{著者-出版年制}

Expand All @@ -31,14 +35,17 @@ \section{著者-出版年制}
\thusetup{
cite-style = author-year,
}
\begin{tabular}{l@{\quad$\Rightarrow$\quad}l}
\verb|\cite{zhangkun1994}| & \cite{zhangkun1994} \\
\verb|\citet{zhangkun1994}| & \citet{zhangkun1994} \\
\verb|\citep{zhangkun1994}| & \citep{zhangkun1994} \\
\verb|\cite[42]{zhangkun1994}| & \cite[42]{zhangkun1994} \\
\verb|\citep{zhangkun1994,zhukezhen1973}| & \citep{zhangkun1994,zhukezhen1973} \\
\end{tabular}

{
\small
\noindent
\begin{tabular}{l@{\quad$\Rightarrow$\quad}l}
\verb|\cite{zhangkun1994}| & \cite{zhangkun1994} \\
\verb|\citet{zhangkun1994}| & \citet{zhangkun1994} \\
\verb|\citep{zhangkun1994}| & \citep{zhangkun1994} \\
\verb|\cite[42]{zhangkun1994}| & \cite[42]{zhangkun1994} \\
\verb|\citep{zhangkun1994,zhukezhen1973}| & \citep{zhangkun1994,zhukezhen1973} \\
\end{tabular}
}
\subsection{其他引用注意事项}

\thusetup{
Expand Down

0 comments on commit d79f334

Please sign in to comment.