Because the reference format required by IEEE is different from what I usually use, I have studied how to get it for a while, record it, and I am afraid of forgetting.
-
First of the nextIEEE’s thesis template, after entering the official website, click to download
ieeeconf.zip
, the one inside is the template of Latex.Click here to download。 -
After the template, the reference reference for adding IEEE needs to be used.
BibTex
‘s reference format, in Baidu’s academic or Google academic, after searching articles, click to reference, there will beThe reference format of
BibTex
, as shown below:
Click the lower left corner
BibTex
, the following description will be displayed:
@article{Wolfram2010Vox,
title={Vox Populi: The Public Searching of the Web},
author={Wolfram, Dietmar and Spink, Amanda and Jansen, Bernard J and Saracevic, Tefko},
journal={Journal of the Association for Information Science & Technology},
volume={52},
number={12},
pages={1073-1074},
year={2010},
}
- and then create a name called
mylib.bib
file, copy the above description inAfter
- , open our downloaded template, pull to the bottom, and change the original code to the following form:
%\begin{thebibliography}{99}
\bibliographystyle{IEEEtran}
\bibliography{IEEEabrv,mylib}
%\end{thebibliography}
is the original\begin{thebibliography}{99}
and\end{thebibliography}
Note, plus
\bibliographystyle{IEEEtran}
\bibliography{IEEEabrv,mylib}
These two sentences, in the second sentencemylib
is just what we just createdmylib.bib
file name name, then we can call inside
The reference ofBitTeX
format, the specific reference method is as follows:
Add to where you need to quote:
\cite{Wolfram2010Vox}
== Explain: == in\cite{}
In parentheses, we are inmylib.bib
The first line of references added in the file, such as:@article{Wolfram2010Vox,
As long as the content of the Copy in parentheses can be referenced by the corresponding literature.
Use an example to explain:
This is a test operation, cite a article\cite{Wolfram2010Vox}
%\begin{thebibliography}{99}
\bibliographystyle{IEEEtran}
\bibliography{IEEEabrv,mylib}
%\end{thebibliography}
- The above preparations are done well, and there is also a very critical operation, which is the method of compilation, otherwise it is still unsuccessful:
-
Compilation: pdflatex -> bibtex -> pdflateX -> PDFlateX
Compile your .tex files with pdflateX, which generates a. AUX file, which tells Bibtex to use those applications;
Compiled .bib files with bibtex;
Compile your.tex files with pdflateX again. At this time, the reference is included in the document, but the number cited at this time may be incorrect;
Finally compile your.tex files with pdflateX. If everything goes well, this is normal.
After the above operation, you can see the desired reference effect. The reference part is automatically generated. It only needs to be added to the reference. It is particularly convenient. I also needed to add references by myself.
Last effect is shown in the figure: