Latex Chinese description of natbib

Source: Internet
Author: User

Reprinted from: http://hi.baidu.com/lukespring/blog/item/d982973028495390a8018e57.html

/usepackage[option]{natbib}

Specific options include:

  • Round: (default) use parentheses
  • Square: square brackets
  • CURLY: Use curly brackets
  • Angle: Use angle brackets
  • Colon: (default) multiple references are separated by quotation marks
  • Comma: multiple references are separated by commas (,).
  • Authoryear: (default) use author-year reference form
  • Numbers: Number reference
  • Super: Use the supermark reference like nature
  • Sort: multiple references are sorted by the first letter.
  • Sort & compress: In addition to sorting, multiple references can be merged (for example, 3-6, 15)
  • Longnamesfirst: All authors are listed when the documents of multiple authors are referenced for the first time.
  • Sectionbib: redefinition of/thebibliography use/Section * instead of/chapter *. In this way, when the chapterbib macro package is used, the references are named section-level.
  • Nonamebreak: All author names are printed in one row, which may cause overfull hbox warning but Eliminates cross-row hyperref problems.
Reference command
/Citet {jon90} Jones et al. (1990)
/Citet [chap. 2] {jon90} Jones et al. (1990, chap. 2)
/Citep {jon90} (Dow et al., 1990)
/Citep [chap. 2] {jon90} (Jones et al., 1990, chap. 2)
/Citep [see] [] {jon90} (See Jones et al. 1990)
/Citep [see] [chap. 2] {jon90} (See Jones et al., 1990, chap. 2)
/Citet * {jon90} Jones, Baker, and Williams (1990)
/Citep * {jon90} (Jones, Baker, and Williams, 1990)
/Citealt {jon90} Jones et al. 1990
/Citealt * {jon90} Jones, Baker, and Williams 1990
/Citeclp {jon90} Jones et al., 1990.
/Citealkaline * {jon90} Jones, Baker, and Williams, 1990
/Citeclp {jon90, jam91} Jones et al., 1990; James et al., 1991
/Citeclp [PG. 32] {jon90} Jones et al., 1990, pg. 32
/Citeauthor {jon90} Jones et al.
/Citeauthor * {jon90} Jones, Baker, and Williams
/Citeyear {jon90} 1990
/Citeyearpar {jon90} (1990)
/Citetext {priv. Comm .} (Priv. Comm .)

If the document is referenced as a document number, the author-the annual meeting will be replaced with the document number.

Customization

Punctuation

You can use/bibpunct to customize the punctuation marks used for reference. This command has six variables.

  1. Parentheses. The default value is (
  2. Ending brackets. The default value is)
  3. Separate multiple referenced punctuation points. The default value is;
  4. N: No.; s: Upper mark no.; other letters: Author-year; default value: Author-year
  5. The punctuation between the author's name and year. By default, there is no punctuation.
  6. The punctuation between ages or between numbers when multiple documents of the same author are referenced together. The default value is,

Example

/bibpunct{[}{]}{,}{a}{}{;}

Generate

/Citep {jon90, jon91, jam92} --> [Jones et al. 1990; 1991, James et al. 1992]

Others
  • /Bibsection controls the level of the chapter used by the reference title, which is generally/Section * Or/chapter *
  • /Bibpreamble controls the text between the reference title and the list
  • /Bibfont controls the font of the document list
  • /Citenumfont controls the font of the reference number, which can be declared as/textit or the like
  • /Bibnumfmt controls the document list serial number format. It carries a variable. The default value is [#1].
  • /Bibhang controls the indentation after the first line of each entry in the document list, and uses the/setlength command to change
  • /Bibsep controls the gaps between entries in the document list and uses the/setlength command to change

Tips

Chapterbib macro package

Compatible with natbib, which is used to generate a list of documents in different chapters. This macro package essentially uses the/include command to add a document list for each chapter. The references in each chapter must separately declare/bibliographystyle and/bibliography bib files to be imported.

Chapterbib also has a sectionbib option, but it will conflict with natbib. To make it take effect, you can only use the sectionbib option for natbib.

Force Capital

If the prefix of the author's name is lower-case, such as Della Robbia, the first letter must be capitalized when it is located at the beginning of the sentence. In this case, you can use the above command in the upper-case format:/citet.

/Citet {drob98} Della Robbia (1998)
/Citet {drob98} Della Robbia (1998)
/Citep {drob98} (Della Robbia 1998)
/Citealt {drob98} Della Robbia 1998
/Citeclp {drob98} Della Robbia 1998
/Citeauthor {drob98} Della Robbia

/Citet *,/citep, And/citep * are also capitalized.

Document alias

Sometimes it is easier to define aliases to reference documents. Definition

/defcitealias{jon90}{Paper I}

Then you can use

/Citetalias {jon90} --> Paper I
/Citepalias {jon90} -->

(Paper I)

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.