Latex Use tips 1: Add references, PDF pictures __ Documents

Source: Internet
Author: User

Use BibTeX in latex to add reference methods as follows:

1. Set the reference type below the \begin{document} of the Latex document, default to plain.

\bibliographystyle{plain}

If you want to set the author initials, use the ABBRV type.

2. Mark the reference at the point where it is needed. The latex command is:

\cite{reference article name}

Note: You can pass the JABREF, select the reference article, right button, select Copy \cite{bibtex key}, and then latex the document reference place paste.

3. Tell LaTeX to generate a list of references and enter them before the end of LaTeX

\bibliography{bibfile}

Here Bibfile is your BibTeX database file Bibfile.bib, be careful not to add. Bib.

Latex document Save, latex compile once, BibTeX compile once, then compile two times with Latex.


To add a PDF picture to Latex, the following methods are:

1. Save the icon in PDF format

2. Use Adobe Acrobat to open the PDF file, click the Tool tab in the upper right corner to-> the page->, double-click the PDF file, select Delete White border selection in the Settings page box, and then save it.

3. The way to insert a picture is as follows:

First, add \usepackage{graphicx},

Then, add the following command where you inserted the picture

\BEGIN{FIGURE}[HTBP]
\centering
\includegraphics[height=4.5cm, Width=7.5cm]{pdf_file}
\caption{design}
\end{figure}

Where Pdf_file represents the file name of the PDF picture to be inserted, no suffix is required. In addition, in latex, there can be only one picture in a format.

Finally, please use the Pdflatex command when compiling. You can open the generated PDF file directly after compiling, and you cannot use the Dvi2pdf button.

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.