Reference standards for latex reference documents

Source: Internet
Author: User
Tags compact

The content and form of the paper are very important, depending on the thought of the person, and the form is largely dependent on the tools chosen. Compared to people familiar with the word,latex applicable to the relatively small. Since the selection of latex, presumably the merits of it is known. This paper discusses some references in writing. If you write an English article, the Publisher will usually provide the corresponding template, references to reference format problems generally do not worry about. And the Chinese paper is a bit troublesome, Chinese periodicals rarely provide latex templates, as for the reference format of the document, the requirement to follow the GB7714 standard, the early standard is gb7714-2005, the new standard is gb7714-2015. In the writing process, references should not only conform to the norm (standard), but also hope that the management of the reference documents is convenient and scientific. The literature referenced by Latex is a specification-based description, which can be placed in a text file (. bib), while most academic search engines and literature libraries can be directly exported to the specification of the description. How to download the description, Baidu Academic is a good choice.

1. Baidu Academic

After entering the Baidu academic, enter the keyword, for the literature you want to export, you can click "Batch Export" in front of that folder, that is, put into the folder

After you click the Blue folder icon, it appears

You can export multiple formats, for latex, select BibTeX, and after clicking, save in the. bib file.

The next step is to insert a reference in the Latex file, using a variety of commands similar to \cite to complete the reference and labeling of the document. In general, we would like to be: 1) the label of the document should be numbered according to the order of the first citation, 2) the label is placed in brackets, that is, the shape of "[3]" such; 3) if it is a continuous reference to multiple documents, it should be a compact numbering method, that is, if the reference 1 to document 4 1,2,3,4], more should not be [1][2][3][4];4] label in the form of superscript, such as "the definition of fuzzy function [5]", but sometimes the use of inline marking, usually "literature [1-4, 5,7] on the issue ...". These formatting requirements can be controlled by commands. There are some small problems, such as the author more than four times, the English need to use "et al", and the Chinese need to use "etc.".

In general, the new standard will be compatible with the old standard, but the new standard often means that the supporting tools may not be able to keep up, but the old standard if there is no defect, will not push the new standard, so while pushing the new standards, there are a group of people trying to constantly improve the old standards. This is tested by comparing the "new" gb7714-2005 with the new standard gb7714-2015. The former is Hu Haising modified, the latter is completed by Hu Zhenzhen modification.

Hu Haising: Https://github.com/Haixing-Hu/GBT7714-2005-BibTeX-Style

Hu Zhenzhen: http://bbs.ctex.org/forum.php?mod=viewthread&tid=152755

2. Reference standards for GB7714-2005 documents

The test code provided by Hu Haising cannot be compiled by Win7 Texlive2016+texstduio, but is tested with the following code (but still using the Test.bib file provided by Hu Haising):

\documentclass[12pt,a4paper]{ctexart}
%\requirepackage[sort&compress,numbers]{natbib}
%\setcitestyle{super,square}

\begin{document}
\section{Reference Test}
3 Consecutive citations \cite{cicero,clr,hoare1985}

2 consecutive References \cite{tr-zh1,zh-book-8}, a document \CITE{ZH-BOOK-4}

\BIBLIOGRAPHYSTYLE{GBT7714-2005}
%\nocite{*}
\bibliography{test}


\end{document}

Test result 1:

Description: 1. The \cite command is not in the superscript form by default, and the label is not used in compact form in the continuous literature reference; 2. More than four were realized, the first three were listed, and then the "et" was used; 3. There are links to URLs.

In the actual situation, we may want to be able to implement both superscript and inline labeling, continuous marking in compressed format, no need for URL links (need to use another. BST, can be downloaded from here). Modify the code as follows:

\documentclass[12pt,a4paper]{ctexart}
\requirepackage[sort&compress,numbers]{natbib}% using compression marking method
\newcommand{\citeup}[1]{\textsuperscript{\cite{#1}}}% defines a new command to implement superscript references

\begin{document}
\section{Reference Test}
3 consecutive references \cite{cicero,clr,hoare1985}, superscript reference \citeup{dizhipinlun1936}

2 consecutive citations \cite{tr-zh1,zh-book-8}, an article \cite{constable1986}

\bibliographystyle{gbt7714-2005}%. BST files that do not display URL links

%\nocite{*}
\bibliography{test}


\end{document}

Test Result 2:

If the direct use of Baidu academic guidance of the. bib file test, what will the results be?

Incorrect reference \cite{Wu Dazheng 2005 signal and Linear System analysis}

result is

View. bib file, Baidu guided out of the description format for

@book {Wu Dazheng 2005 signal and linear system analysis,
title={signal and linear System Analysis-4th edition},
author={Wu Dazheng and second author and third author and fourth author},
publisher={Higher Education Press},
YEAR={2005},
}

If you add another line of language after year, change to the following form:

@book {Wu Dazheng 2005 signal and linear system analysis,
title={signal and linear System Analysis-4th edition},
author={Wu Dazheng and second author and third author and fourth author},
publisher={Higher Education Press},
YEAR={2005},
Language={zh},
}

The result of the output is

Therefore, for Baidu Academic guide out of the description, if the Chinese author more than three, then add language to distinguish, of course, this situation is not many see.

3. Reference standards for GB7714-2015 documents

For some instructions and basic usage of the new standard, you can refer to the Hu Zhenzhen http://bbs.ctex.org/forum.php?mod=viewthread&tid=152755 documentation. According to the test results and documentation provided by the author, the new standard backstage uses biber, the document type is Biblatex, and the BibTeX type which is derived from the Baidu academic and the mainstream academic database is slightly different, This makes it a bit cumbersome to match the new standards with other document management tools (there may be a good solution?). )。 With the test code provided by the author (the text is slightly modified), the following test results are obtained:

Description: 1. The new standard only provides superscript labeling method, continuous literature number automatic compression; 2. There is no space between the document type identifier, such as [M] and the title; 3. Author more than 3, followed by and so on. These are more standard than the old standards, but one thing is debatable, sometimes it seems that it is not necessary to label more reasonable, such as "literature [3] on the issue of a more in-depth analysis". To implement inline labeling, you can modify the. cbx file parameter to do this: delete or comment on the parameters in the red box, and then use the command \parencite to implement the inline reference callout.

Test statement: \parencite{Zhang Bowei 2002--, 2009-155-155, Hu Chengzheng 2010-112-112}

Test results:

Open the. bib file provided by the author:

This format is somewhat different from the BibTeX types of documents exported by Baidu academic and other mainstream literature databases, so how to get this specification of the. bib file becomes a problem. At least Jabref3.8 has not been able to directly export this format of data.

Reference standards for latex reference documents

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.