LaTeX's treatment of references has some advantages: __latex

Source: Internet
Author: User
Tags unique id name database
1. Can maintain a bib file, in your entire research career can only maintain such a file, like a number
According to the library, each reference is a record, described by a unique ID (such as the MartinDSP00 below).
For example, one of the typical documents in my Myreference.bib file is this:

@article {MartinDSP00,
Author = "A. Martin and M. Przybocki",
title = "The {NIST} 1999 Speaker Recognition Evaluation---an overview",

Journal = "Digital Signal processing",
Volume = "10",
pages = "1--18",
Year = "2000",}

Where the curly braces in {NIST} are not displayed, the function is to ensure future generation of the references in the NIST
Four words remain intact and will not be lowercase.

2. When it is necessary to refer to the literature, add in the text:

\BIBLIOGRAPHYSTYLE{IEEETR}
\bibliography{myreference}

You can use \cite{} to refer to the papers in the library, such as \cite{martindsp00}. The first line above is
Control the display format of the document, and then speak later. At this point, the Myreference.bib file in the body of the Tex file
Directory to ensure that LaTeX can find the bib file.

3. After compiling the body, generate the Aux file, then generate the BBL file in the current directory with BibTeX, and then compile the
Text two times, the full DVI is generated. In this way, LaTeX guarantees that all the literature referenced by \cite has been
Listed, and automatically numbered. Also, if the \nocite command is not used, LaTeX also guarantees that all the references listed
The offer is quoted in the text.

4. About BIB Documents
The previous mention of bib file maintenance issues. I generally do not sort the documents in it, if there are more documents, we need
If you find it, you can do it by querying the keyword. The bib file puts everything except the entry defined in @
As a comment. For example, in the example above @article, if I write something outside the curly braces, bibt
Ex is not concerned, just when it does not exist. So I'm going to write down the key words of the document here, in the future by searching the key
Word to find some literature. In fact, you can also get a temporary LaTeX file, use the \nocite{*} command, and then
Compiled to DVI, so you get a list of all references in a bib file, which, of course, can be done according to the author's name
Sorted by word.
In addition, many journal (academic journals) or BookTitle (international conferences) are repetitive, in order to standardize
, you can define abbreviations, such as

@string (ICASSP = "Proc. of the International conference on Acoustics, Speech,
and Signal processing (ICASSP) ")

And then

@conference {QL. ICA98,
Author = "Qi Li and Biing-hwang Juang",
title = "Speaker Verification Using verbal information verification for A
Utomatic enrollment ",
BookTitle = ICASSP,
Year = "1998",}

After the BibTeX is executed, the ICASSP is replaced with its full name.

5. Chinese Literature in Bib
The Chinese literature and the English format are different, and the use of full-width punctuation marks is a bit tricky. My solution is.
such as:

@misc {xie.1995,
Note = "Shei Jinhui, the hidden {Markov} model and its application in speech processing", Huazhong University of Technology
Edition Society, April 1995 ",
Key = "Xie",}

The only drawback is that the reference is finally in English "." Instead of "." "It's over. Fortunately, my Chinese text
The offer is not much, harmless, otherwise the hand revises BBL file.

6. Information on the display format, ranking, and other
The previous reference to the sorting problem, and the reference ordinal number is the LaTeX provided by the ID or a number of problems.
In fact, more than that, the reference display format can also be customized. The references are sorted in the order of reference in the body,
Or the last name of the first author of the document, is controlled by some BST file. And what kind of B is used?
St format, can be controlled by BibliographyStyle command. LaTeX provides several formats by default, such as:
Plain, Alpha, unsrt and so on. See the relevant documents, these BST in Texmf\bibtex\bst\base can
be found.
The format of BST control is very meticulous, in addition to the above mentioned sorting method, as well as: whether the author's name is abbreviated,
The author's name is in the beginning or the end of the literature, the title of the article should not be case-sensitive (that is, "Speaker verificat
Ion Using ... " Or "Speaker verification using"), what is the distinction between title (with no citation
, with no italic, etc., the publication name of the format (if you want all caps, do not bold, want to oblique
Body, to be enclosed), and so on. Open the BST file look at the know, absolutely want what form, on
What form can be obtained. Most crucially, after the article is finalized, you can completely redefine the reference with a few commands
The format of the offer.

Give an example: using the BST format (i.e. Ieeetr.bst) given by IEEE, declare:

\BIBLIOGRAPHYSTYLE{IEEETR}

You can use it. The final format is this (sorted by body reference order):
[4] D. Reynolds, "Comparison of background normalization
Methods for Text-independent speaker verication, "in
Eurospeech, 1997.

7. How to customize the display format of reference documents
In fact, there are many BST files, can always find their own needs. If these are not satisfied, you can create a self
Its own BST file to customize. There are two ways, the first is handwriting (anyway I can't write it), the second is through the work
With. Custom-bib is a custom BST file package, uncompressed after the LaTeX compiled with the main Tex file
, we will have an interactive BST customization process, the specific process I will not say. To place the generated custom BST in the
LaTeX the appropriate directory, refresh the file name database can be used.

---------------------------------------

BibTeX is a format and a program used to coordinate the processing of latex 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

1. The first line of @article tells BibTeX that 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.
2. The next "Name1" is the name of the item that you apply to the body.
3. 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. The other types include

* unsrt– is basically the same as the plain type, except that the reference entries are numbered in the order of reference, not according to the author's alphabetical order.
* alpha– is similar to the plain type, when the reference entries are numbered based on the author 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
is divided into the following four steps

* Compile your. tex file with Latex, which is to generate a. aux file, which tells BibTeX will use those apps.
* Compile. bib files 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 everything is normal.

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

\documentclass{article}
\USEPACKAGE{CJK}
\begin{document}
\begin{cjk*}{gbk}{song}
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 is done!

-----------------------

Let Google scholar Show the "Import into BibTeX" method:

1, open http://scholar.google.com.
2, click on the top right corner of the scholar Preferences.
3, in the "Bibliography Manager" that item, on the hook "Show links to import citations into BibTeX".
4, random search, such as "Laibson."
5, under the first golden Eggs and hyperbolic discounting, there will be "Import into BibTeX", click.
6, out of the pile of things directly thrown into a "xxxx.bib" file, save, and paper documents in the same directory.
7, want to cite or reference is relaxed.

In addition, Google Scholar export of the document entries are very smart, special word characters help deal with it. For example, if the search Bénabou, if his article is published, the name of the E-head has a change of note, the generated literature entries in the author that will become: Author={b{\ ' E}nabou}.

But there is also a bit not clever, such as references to lead nber work papers, the results of Google Scholar exported BibTeX template is "misc", but "misc" in the optional domain of the publication of the default is "Howpublished", but Google Scholar but give "publisher", the result compiles dozens of times did not appear nber. I can't figure out why publisher is.

---------------

@articleThe necessary fields for the papers of journal Journals: author, title, Journal, year. Optional fields: volume, number, pages, month, note.@bookNecessary fields for publicly published books: Author/editor, title, publisher, year. Optional fields: Volume/number, Series, address, edition, month, note.@bookletNo publisher or author of the book Necessary fields: title. Optional fields: Author, howpublished, address, month, year, note.@conferenceEquivalent to inproceedings necessary fields: Author, title, BookTitle, year. Optional fields: Editor, Volume/number, series, pages, address, month, organization, Publisher, note.@inbookA section of the book is required for the fields: Author/editor, Title, chapter and/or pages, publisher, year. Optional fields: Volume/number, Series, type, address, edition, month, note.@incollectionThe necessary fields for chapters with separate headings in books: Author, title, BookTitle, publisher, year. Optional fields: Editor, Volume/number, Series, type, chapter, pages, address, edition, month, note.@inproceedingsA necessary field in the conference paper: author, title, BookTitle, year. Optional fields: Editor, Volume/number, series, pages, address, month, organization, Publisher, note.@manualTechnical Document required domain: title. Optional fields: Author, organization, address, edition, month, year, note.@mastersthesisThe necessary domain of Master's thesis: Author, title, school, year. Optional fields: Type, address, month, note.@miscOther required fields: None Optional: Author, title, howpublished, month, year, note.@phdthesisThe necessary fields of doctoral thesis: Author, title, year, school. Optional fields: Address, month, keywords, note.@proceedingsconference proceedings necessary fields: title, year. Optional fields: Editor, Volume/number, series, address, month, organization, Publisher, note.@techreportEducation, technical reports of commercial establishments required fields: Author, title, institution, year. Optional fields: Type, number, address, month, note.@unpublishedUnpublished papers, books necessary fields: Author, title, note. Optional fields: month, year.

Article Source: http://www.cnblogs.com/longdouhzt/archive/2012/06/21/2557965.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.