"Latex" e Meow latex Beginner Tutorial (5) References, documentation organization

Source: Internet
Author: User

This is not the last one, and it starts modeling tomorrow, so it will continue to update from number 6th. Previously review "Latex" e meow new Latex Starter Tutorial (1) Prepare for the article
"Latex" e meow new Latex starter Tutorial (2) Basic layout
"Latex" e Meow latex Novice Beginner Tutorial (3) Mathematical formula
"Latex" e Meow latex Novice Beginner Tutorial (4) Chart references the world article a big copy, copy to copy to have improved. --Bai Yansong standing tool:jabref>> stamp I download <<jabref is a management reference software, quite useful. After you have installed the options, change the options to look like the following. *nix users can try to use the Kbibtex this from KDE software, automatic search what is really cool. The reference database used by Jabref is the. bib format, which is exactly the document used by the Latex reference program BibTeX, which is decidedly perfect. For some strange reasons, Chinese is a small box in the name and attribute of the document entered in Jabref. →_→ Everyone touch the Black dozen. Use Jabref to create a reference database open Jabref, select "File" → "New Database" to complete 0w0 now let's add the literature to be referenced. Click on the "+" sign on the toolbar: then select the record type, which is the type of article you want to refer to, whether it's a paper or something else. Here we choose a article as an example. Then there will be an edit box, fill in the fill in the place is ready. And we randomly fill in one. Among them, Bibtexkey is what we need to reference the document in the documentation, can not remember to check it. Then save it in the same directory as your. Tex source file. Inserting references after we have the. bib file, you can insert references in the Latex document. To refer to the inserted reference somewhere in the body, use \cite{bibtexkey} to refer to it. One of the Bibtexkey is the bibtexkey that we filled out in the jabref. At the same time, we also need to create a reference list at the end of the document. The method of establishing a reference list is extremely simple: first specify the format of the reference list, and add a format parameter to the \bibliographystyle. There are several types of latex built-in formats:

    • Plain, in alphabetical order, comparing the author, the year, and the title.
    • UNSRT, style with plain, just according to the Order of reference.
    • Alpha, which is numbered alphabetically by the first and second digits of the author's initials + years.
    • ABBRV, like plain, changes the month's spelling to abbreviated, more compact.
    • IEEETR, International Association of Electrical and Electronics Engineers journal style.
    • ACM, journal Style of the American Computer Society.
    • Siam, Journal of the American Society of Industrial and Applied mathematics.
    • Apalike, journal style of American Psychological Society.

In addition to the built-in format above, you can also write your own. BST file to describe the reference format, at which point the \bibliographystyle parameter writes your BST file with the file name without the extension. Of course, the syntax of this file is very pit dad, so the general situation with someone else to write good ... After specifying the format, add a \bibliography{reference database file name without the extension, even if you are done. If you say so much, let's practice a little bit and we'll use the reference database we just took. (Don't tangle with Chinese, this is just an example, you can play English →_→) since ancient times, the level of civilization of the cat is ahead of human thousands of years.
Therefore, learning the advanced civilization of the Mew people has great benefit to the human development.

The advanced civilization of the Mew people includes two aspects of science and technology and Culture \cite{mxr2013}.

\bibliographystyle{plain}
\bibliography{reference} The process of compiling documents with references is rather strange, and everyone follows me:

    1. Xelatex Compile it again
    2. BibTeX Compile it again
    3. Xelatex Compile it again
    4. Xelatex Compile it again

All of the above are compiled by your. Tex file. BibTeX's Compile button is available on everyone's toolbar. Once you've compiled it, you can look at the effect. Insert the reference into the catalog at this point, if we use \tableofcontents to generate a directory, we cannot see the bibliography entries. To join it, you have to join it manually. Add a sentence after \bibliography. \addcontentsline{toc}{Level {directory Item name} level you can fill in the level of the document structure, such as section, chapter, and so on. One more headline! This thing should have been said in the second issue, it was forgotten. \title{Title}
\author{author}
\date{Date}
\maketitle the first three lines can be written in the introductory area. Handsome document of final finished product! Again: The Chinese is here because the meow in the introduction area of the other things, but in the actual compilation will not see Chinese, this sample code for entertainment only. \title{learn from the meow.
\author{e.~meow}
\date{\today}
\maketitle
\tableofcontents
\section{Introduction}
Since ancient times, the level of civilization of the meow is ahead of human thousands of years.
Therefore, learning the advanced civilization of the Mew people has great benefit to the human development.

The advanced civilization of the Mew people includes two aspects of science and technology and Culture \cite{mxr2013}.

\bibliographystyle{plain}
\bibliography{reference}
\addcontentsline{toc}{section}{references} large article organization latex when compiling a document, the internal application of memory resources is limited, for too long documents can sometimes compile failed, so the parts of the article separately, Compiler worry, look also feel neat. For large documents, such a split is common:

    • A main document, including all of your introductory area content, the body uses \include to contain the parts of the document, and finally add the reference to the three sentences.
    • A number of document sections, without writing the introductory area and not writing \begin{document} and \end{document}, write only the document body.

Or take a sample of the molding document just now. % this is Main.tex
\documentclass{article}
% ===== Chinese Support Section, please disregard =====
\USEPACKAGE{XECJK}
\setcjkmainfont[boldfont={blackbody}]{Arial}
% ===== End =====
\title{learn from the meow.
\author{e.~meow}
\date{\today}
\begin{document}
\maketitle
\tableofcontents

\include{intro}

\bibliographystyle{plain}
\bibliography{reference}
\addcontentsline{toc}{section}{references}
\end{document}-% this is Intro.tex
\section{Introduction}
Since ancient times, the level of civilization of the meow is ahead of human thousands of years.
Therefore, learning the advanced civilization of the Mew people has great benefit to the human development.

The advanced civilization of the Mew people includes two aspects of science and technology and Culture \cite{mxr2013}. Compile the time only compile Main.tex, the compilation effect see the previous diagram, the same. Next Issue preview Chinese!

from:http://blog.renren.com/share/550811127/17994025002

"Latex" e Meow latex Beginner Tutorial (5) References, documentation organization

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.