BibTeX How to use

Source: Internet
Author: User

BibTeX is a database-using approach to managing reference procedures for coordinating the reference processing of latex.

The suffix name for the BibTeX file is. Bib. Let's look at an example:

@article {GETTYS90,
Author = {Jim Gettys and Phil Karlton and Scott McGregor},
title = {The {X} Window System, Version 11},
Journal = {Software Practice and Experience},
Volume = {20},
Number = {S2},
Year = {1990},
Abstract = {A Technical Overview of the X11 functionality. This is a update of the X10 TOG paper by Scheifler \& Gettys.}
}

Description

The first line @article tells BibTeX that this is an article type of reference. There are other formats, such as article, book, booklet, Conference, Inbook, Incollection, inproceedings, Manual, Misc, Mastersthesis, phdthesis , Proceedings, Techreport, unpublished and so on.
The next "Gettys90" is the name of the entry you refer to in the body.
The other is the specific content in the reference document.


Using BibTeX in Latex
In order to use the BibTeX database in LaTeX, you must first do the following three things:

1) Set the type of reference (bibliography style). Standard for Plain:

\bibliographystyle{plain}

Other types include unsrt– basically the same as the plain type, except that the reference entries are numbered in the order in which they are quoted, rather than in alphabetical order by the author.
alpha– is similar to the plain type when the reference entry number is based on the author's name and the Order of the year of publication.
abbrv– abbreviated format.
2) tag reference (make citations). When you want to use a reference in a document, insert the latex command

\cite{referencing the article name}

"Reference article name" is the name that precedes the definition @article.

3) Tell LaTeX to generate a list of references. Enter before the end of LaTeX

\bibliography{bibfile}

Here Bibfile is your BibTeX database file bibfile.bib.

Running BibTeX is divided into four steps below

1. Build your. tex file with Latex, which is to generate a. aux file, which tells BibTeX to use those references.
2. Compile the. bib file with BibTeX.
3. Once again build your. tex file with Latex, this time the reference is already included in the document, but the reference number may be incorrect at this point.
4. Finally, build your. tex file with LaTeX, and if everything goes well, it's all in normal.


Example: Save an example of the above BibTeX as a bibfile.bib.

\documentclass{article}
\begin{document}
We cite \cite{name1} and \cite{name2}.
\bibliography{bibfile}
\bibliographystyle{plain}
\end{document}

Save the above content as Bibtex-example.tex.

Latex compiles once, BibTeX compiles once, then uses latex compiles two times to be accomplished!

Get bib File

The Springer document format can be converted to BibTeX using the following URLs:

http://www.it.usyd.edu.au/~niu/cgi-bin/springer.cgi

About document Type: (from Texguru's latex2e user's manual)
@article entry is an article in a journal or magazine.
No less domain author, title, Journal, year.
You can omit the domain volume, number, pages, month, note.

@article {name,
Author = {A and B},
title = {Title},
Journal = {journal name},
Volume = {42},
Number = {1},
Year = {2008},
ISSN = {0110-0101},
Pages = {1--8},
doi = {http://doi.xxx.org},
Publisher = {ACM},
Address = {New York, NY, USA},
};


@book entry for books with definite publishing houses.
No less domain author or editor, title, publisher, year.
can omit domain volume or number, series, address, edition, month, note.


@booklet articles are printed, but there is no name of the publisher or sponsoring agency.
No less domain title.
Can omit domain author, howpublished, address, month, year, note.


The @conference is the same as the @inproceedings below.


@inbook entry is part of a book (chapters, sections or some pages).
No less domain author or editor, title, chapter and/or pages, Publisher,year.
You can omit the domain volume or number, series, type, address, edition, Month,note.


@incollection entry is part of a book that has its own title.
No less domain author, title, BookTitle, publisher, year.
Can omit domain editor, volume or Number,series, type, chapter, pages,address, edition, month, note.


@inproceedings entry is an article focused on the conference papers.
No less domain author, title, BookTitle, year.
Can omit domain editor, volume or number, series, pages, address, month,
Organization, Publisher, note.

@InProceedings {b07name,
Author = {A and B},
title = {Title},
BookTitle = {Proceedings of the Conference},
Address = {Sydney, Australia},
month = Nov,
Year = 2008,
Pages = {1-2},
Affiliation = {uni-name, country},
URL = {http://url/}
};


@manual entry is a scientific document.
No less domain title.
Can omit domain author, organization, address, edition, month, year, note.


@mastersthesis entry for Master's thesis.
No less domain author, title, school, year.
You can omit the field type, address, month, note.


@misc entry is a work that does not belong to any other type.
No fewer domains are not available.
Can omit domain author, title, howpublished, month, year, note.

@misc {name,
Author = "A",
title = "title",
howpublished = "Website",
Year = {2008},
Note = {\url{https://www.mysite.org}}
};


@phdthesis article for doctoral dissertation.
No less domain author, title, school, year.
You can omit the field type, address, month, note.


@proceedings entry is the proceedings of the Conference.
No less domain title, year.
can omit domain Editor,volume or number, series, address, month,
Organization, Publisher, note.


@techreport articles are reports published by schools or other research institutes.
No less domain author, title, institution, year.
You can omit the field type, number, address, month, note.

@techreport {name,
Author = {A and B}
title = {Title},
Institution = {Institution rpt No.}
Year = {2008}
};

@unpublished entries are unpublished works with authors and titles.
No less domain author, title, note.
You can omit the domain month, year.
There can also be omitted domain key and crossref in each entry.

BibTeX How to use

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.