1. 公式引用
\begin{equation}\label{(1)}
x=y+z
\end{equation}
\label{} 花括号中写编号或者引用格式
在需要引用的地方使用:\ref{(1)}即可
2. 参考文献
(1)创建ref.txt,将文章的bib格式复制到txt中,将文件名改为ref.bib,将文件移动到WinEdt下的子目录中。
@article{Polyak1964,
author = {Polyak, Boris},
year = {1964},
month = {12},
pages = {1-17},
title = {Some methods of speeding up the convergence of iteration methods},
volume = {4},
journal = {Ussr Computational Mathematics and Mathematical Physics},
doi = {10.1016/0041-5553(64)90137-5}
}
其中第一行{Polyak1964}可以自命名,便于最后一步的引用。
(2)在Latex中引入宏包 \usepackage{cite}
(3)在文末参考文献处写出下列命令:
\bibliographystyle{alpha}
\addcontentsline{toc}{section}{Reference}
\bibliography{ref}
其中alpha表示参考文献格式为:作者名年份
中间命令行表示在目录中加上参考文献章节
ref为自己定义的bib文件名
(4)文中引用
\cite{},花括号中填写bib文件中需要引用的,例如\cite{Polyak1964}
(5)效果
[Pol64]Boris Polyak. Some methods of speeding up the convergence of iteration methods.Ussr Computational Mathematics and Mathematical Physics, 4:1–17, 12 1964.