Latex Bib Document Production (reference production) _latex

Source: Internet
Author: User

The organization of the paper reference is a very troublesome thing, just began to write a paper when they do not know a lot of things, references in their own organizations, fill in their own items, really trouble ah, the web search on the search, but really found some good methods, Google is its own commonly used, I do not know what other methods can be shared ah.

First, the use of Google to do latex bib files

1. Open scholar.google.com

2. Custom scholar Preferences->bibliography Manager->show links to import citations int
o BibTeX (check this)

3. Search something like "multicast" in the scholar.google.com,
In the result list, kick ' Import into BibTeX ' Copy the text to BibTeX database directly,

4 directly to compile, without any modification two,

Latex Skill 23:bibtex Making reference

23BibTeX is a format and a program used to coordinate latex processing of reference documents.

BibTeX the use of a database to manage references. The BibTeX file has a suffix named. Bib. Let's take a look at an example

@article {name1,
Author = {Author, multiple authors with and join}
title = {Header},
Journal = {Periodical Name},
Volume = {Volume 20},
Number = {Page numbers},
Year = {years},
Abstract = {Abstract, this is mainly referred to the time of their own reference, this line is not necessary}
}

@book {name2,
Author = "Author",
Year= "Year 2008",
Title= "title",
Publisher = "Publisher Name"
}

Description: The first line @article tells BibTeX this is an article type 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 "Name1" is the name of the item that you apply to the body. The other is the specific contents of the reference document.

Using BibTeX in Latex
To use the BibTeX database in Latex, you must first do the following three things:

1 set the type of reference (bibliography style). The standard is plain:

\bibliographystyle{plain}

Place the above command behind the \begin{document in the LaTeX document. Other types include unsrt– basically the same as the plain type, except that the reference entries are numbered in the order of reference, rather than according to the author's alphabetical order. alpha– is similar to the plain type, when the reference entries are numbered based on the author's name and the Order of the published year. abbrv– abbreviated format.

2) tag reference (make citations). Insert the LaTeX command when you want to use a reference in the document

\cite{reference article name}

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

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

\bibliography{bibfile}

Here Bibfile is your BibTeX database file bibfile.bib.

Run BibTeX
There are four steps to compile your. tex file with Latex, which is to generate a. aux file, which tells BibTeX will use those apps. Compile the. bib file with BibTeX. Compile your. tex file again with Latex, which already contains references in the document, but the reference number may not be correct at this time. Finally compile your. tex file with LaTeX, and if all goes well, it's all normal.

Example: Save the example of the above BibTeX as Bibtex-example.bib.

\documentclass{article}
\USEPACKAGE{CJK}
\begin{document}
\begin{cjk}{utf8}{gkai}
% i use Latex under Linux, window user will change the previous line to \begin{cjk}{gbk}{kai}
Text\cite{name1}\cite{name2}
Chinese
Write the Reference in Latex into Chinese "references"
% if the document class is article or something, use \renewcommand\refname{reference}
% if the document class is book or something, use the \renewcommand\bibname{reference}
\renewcommand\refname{Reference}
\bibliographystyle{plain}
\bibliography{Bibtex-example.bib}
\END{CJK}
\end{document}

Save the above contents as Bibtex-example.tex.

Latex compile once, BibTeX compile once, and then compile with latex two times it's done.


From:http://www.zhizhihu.com/html/y2009/956.html

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.