Latex Tips 22:latex documentation in the literature beginner

Source: Internet
Author: User

Using latex to process documents, often to write references, this article is about how to use the reference in Latex, note here is the latex default thebibliography environment, if you want to know more advanced reference management tool BibTeX Latex, please See Tip 23.

Bibliography format:
\begin{thebibliography}{Number of samples}
\bibitem[token]{Reference flag} Bibliography 1
\bibitem[token]{Reference flag} Bibliography 2
......
\end{thebibliography}

Among the literature entries are: Author, title, publisher, age, version, page number, etc.
Reference time to be able to use: \cite{reference flag 1, Reference flag 2, ...}

Let's look at a concrete example

\documentclass{article}
\USEPACKAGE{CJK}
\begin{document}
\begin{cjk}{utf8}{gkai}
% i was using latex under Linux, window users changed the previous line to \begin{cjk}{gbk}{kai}
Cite an article \cite{article1} \ \
Quote a book \cite{book1}\\
Wait a minute
\renewcommand\refname{References}
\BEGIN{THEBIBLIOGRAPHY}{99}
\bibitem{article1} Article title Author Journal Age page
\BIBITEM{BOOK1} Book Title author publishing house age
\end{thebibliography}
\END{CJK}
\end{document}

Note that you need to compile two times with latex to produce a normal reference label!
Where \begin{thebibliography}{99}, this number 99 refers to the reference items are numbered according to numbers, and a maximum of 99, if you have more projects, make this number larger. How do you want to use the reference item for other types of numbering, you can replace the thebibliography environment in the example above with

\begin{thebibliography}{abcdefghijk}
\bibitem[authour1]{article1} Article title Author Journal Age page
\BIBITEM[AUTHOUR2]{BOOK1} Book Title author publishing house age
\end{thebibliography}

The reference mark at this time will become the content of the \bibitem back parenthesis [].

Another common trick is to write the Reference in the document as a "reference" in Chinese.
If the document class is article or something, use the \renewcommand\refname{reference}
If the document class is book or something, use the \renewcommand\bibname{reference}

From:http://blog.sina.com.cn/s/blog_5e16f1770100fw65.html

Latex Tips 22:latex documentation in the literature beginner

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.