TexStudio添加BibTex参考文献

This article will guide you adding BibTex reference in your Texstudio within 5 minutes.

First, prepare two files in your source folder (where the .tex file located): plain.bst and ref.bib.

The first bst file describes the format of your reference and the second bib file is the place where you put your reference information in it. If you don't have the bst file, download it from this website: bsb file URL (it seems you can only open the plain.bsb file but can not download it. Then, you can create an empty plain.bsb under the source folder and copy the content into it ). You can choose a different format for your reference, but in this tutorial, we use the plain type as the illustration example. If there is no bib file, you also need to create it (Just click right mouse to create a document and name it ref.bib). 

Second, download the BibTex citation for your reference paper, it looks like:

@inproceedings{stilman2007task,
  title={Task constrained motion planning in robot joint space},
  author={Stilman, Mike},
  booktitle={2007 IEEE/RSJ International Conference on Intelligent Robots and Systems},
  pages={3074--3081},
  year={2007},
  organization={IEEE}
}

Pasting this citation in the ref.bib file. Here, the 'stilman2007task' is the citation name, you will use it in your .tex file.

Third, revise your .tex source file.  Add these two lines before \end{document}:

\bibliographystyle{plain}

\bibliography{ref}

If you change the name of the bsb and bib file, you need to change these 'plain' and 'ref' accordingly. Press F6 to compile your source file (.tex).

Fourth, add your reference paper in your source file. Locating the mouse to the place you want to add a literature, then insert:

\cite{stilman2007task}

Using BibTeX compiler to compile the BibTeX file (press F8),then you can get the related bbl file.

Last step, recompile the .tex file, this step can help you see the reference in the pdf file and the related reference list at the end of the file.

 

你可能感兴趣的:(Latex)