Paper artifact Latex30 minute Quick Start Tutorial-just 9 steps to the spirit of God

Source: Internet
Author: User

Small E said: 工欲善其事, its prerequisite. Determined to be a quiet aesthetic bully you, learn latex, will be able to make your thesis writing more with less.

Installation and use of 1.LaTeX software
Method A (self-help): Download the free MiKTeX compilation package and install it on MiKTeX's website. Download WinEdt (charge) or texmaker (free) and other editing interface software and install it.
Method B (Package): Download Ctex kit (including MiKTeX and WinEdt) in ctex.org
Haha this part of course is not included in the title of the 30 minutes.

2. First document
Open WinEdt, create a new document, copy the following into the document, save, save type to UTF-8.

\documentclass{article}
\begin{document}
Hello, world
\end{document}

Then find the Compile button (in the middle of the trash and letter B) in the WinEdt toolbar, select XeTeX in the drop-down menu, and click Compile.

If it goes well, we can create the first PDF file, and click the magnifying glass button in the toolbar to quickly open the resulting PDF file.

3. Title, author and comment
Create a new document, copy the following into the document, save, save type Select as UTF-8, compile and observe the phenomenon.

\documentclass{article}
\author{my Name}
\title{the Title}
\begin{document}
\maketitle
Hello, world the is comment
\end{document}

4. Chapters and paragraphs
Create a new document, copy the following into the document, save, save type Select as UTF-8, compile and observe the phenomenon.

\documentclass{article}
\title{hello World}
\begin{document}
\maketitle
\section{hello China}, in East Asia.
\subsection{hello Beijing} Beijing is the capital of the PRC.
\subsubsection{hello Dongcheng District}
\paragraph{tian ' Anmen Square}is in the center of Beijing
\subparagraph{chairman Mao} is in the center of Tian ' Anmen Square
\subsection{hello Guangzhou}
\paragraph{sun Yat-sen University} is the best University in Guangzhou.
\end{document}

The backspace is just a personal preference and looks clear and beautiful. This is not necessarily the case in practice, and the space before each line does not affect the result of compiling the resulting PDF.

5. Join the Catalogue
Create a new document, copy the following into the document, save, save type Select as UTF-8, compile and observe the phenomenon.

\documentclass{article}
\begin{document}
\tableofcontents
\section{hello China}, in East Asia.
\subsection{hello Beijing} Beijing is the capital of the PRC.
\subsubsection{hello Dongcheng District}
\paragraph{hello Tian ' anmen square}is in the center of Beijing
\subparagraph{hello Chairman Mao} is in the center of Tian ' Anmen Square
\end{document}

6. Line break
Create a new document, copy the following into the document, save, save type Select as UTF-8, compile and observe the phenomenon.
\documentclass{article}
\begin{document}
Beijing is
The capital
of China.

New York is

The capital

of America.

Amsterdam is \ \ The capital \ \
of Netherlands.
\end{document}


7. Mathematical formulas
Create a new document, copy the following into the document, save, save type Select as UTF-8, compile and observe the phenomenon.

\documentclass{article}
\usepackage{amsmath}
\USEPACKAGE{AMSSYMB}
\begin{document}
The Newton ' s second is f=ma.

The Newton ' s second is $F =ma$.

The Newton ' s second is
$ $F =ma$$

The Newton ' s second is
\[f=ma\]

Greek Letters $\eta$ and $\mu$

Fraction $\frac{a}{b}$

Power $a ^b$

Subscript $a _b$

Derivate $\frac{\partial y}{\partial T} $

Vector $\vec{n}$

Bold $\mathbf{n}$

To TIME differential $\dot{f}$

Matrix (LCR here means left, center or right for each column)
\[
\left[
\BEGIN{ARRAY}{LCR}
A1 & B22 & c333 \ \
d444 & e555555 & F6
\end{array}
\right]
\]

Equations (here \& are the symbol for aligning different rows)
\begin{align}
a+b&=c\\
D&=e+f+g
\end{align}

\[
\left\{
\begin{aligned}
&a+b=c\\
&d=e+f+g
\end{aligned}
\right.
\]

\end{document}

Specific details can be self-searching latex mathematical symbol table or others give examples.

8. Insert Picture
First search for a picture into an EPS file software, it is easy to find, and then save the picture as a name such as Figure1.eps.
Create a new document, copy the following into the document, save, save type to UTF-8, put in the same folder as the picture file, compile and observe the phenomenon.

\documentclass{article}
\USEPACKAGE{GRAPHICX}
\begin{document}
\includegraphics[width=4.00in,height=3.00in]{figure1.eps}
\end{document}

9. Simple Form
Create a new document, copy the following into the document, save, save type Select as UTF-8, compile and observe the phenomenon.

\documentclass{article}
\begin{document}
\begin{tabular}{|c|c|}
A & B \ \
C & d\\
\end{tabular}

\begin{tabular}{|c|c|}
\hline
A & B \ \
\hline
C & d\\
\hline
\end{tabular}

\begin{center}
\begin{tabular}{|c|c|}
\hline
A & B \ \ \hline
C & d\\
\hline
\end{tabular}
\end{center}
\end{document}

10. End
So far, you can use Latex's article template to write a basic paper frame, at least you can use Latex.

In the paper from the framework to the complete process, there must be a lot of detail problems, such as font size, compared to pieces, such as complex tables and so on.

Those questions, please consult Google. Generally speaking, as a beginner will ask the question, already have many ancestors in the network has mentioned the same problem, look at other people's answer can be.

Latex in the domestic penetration is not high, so many times if you search English keywords, will get better results.

Compilation from pop-up vine

from:https://www.douban.com/group/topic/61119340/

Paper artifact Latex30 minute Quick Start Tutorial-just 9 steps to the spirit of God

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.