Current location - Health Preservation Learning Network - Slimming men and women - Commonly used LaTex syntax
Commonly used LaTex syntax
LaTeX is a file preparation system for high-quality typesetting. It is most commonly used in large and medium-sized technical or scientific documents, but it can also be used in almost any form of publication.

LaTeX is not a word processor! On the contrary, LaTeX encourages authors not to worry too much about the appearance of their files, but to concentrate on getting the correct content.

\documentstyle{article}

\ begin {document}

This is the first example of a simple input file.

\end{document}

Change \documentstyle{article} to \ documentstyle {article}.

(1) Spaces: Spaces in Latex have no effect.

(2) Line feed: Use the control command "\" or "\newline".

(3) Subparagraph: Use the control command "\par" or leave a blank line.

(4) Page change: use the control command "\newpage" or "\clearpage".

(5) Special control character: #, which means \ ".

Rm roman font \it italian font.

Blackbody inclined body

\sf contour \sc small capital letters

\tt Typewriter Font \mit Mathematical Italic

Chinese font size control command corresponding to dot (pt)

25 First \ Huge

No.202 \ Hugh

17 No.3 \ Large size

14 No.4 \ Large size

12 Xiao No.4 \ large size

105 \ Normalization

9 Xiao Wu is good \ small.

8 No.6 \ Footnote size

7 small six \scriptsize

5 No.7 \ Xiao

smallskip\medskip \bigskip

\ textwidth =14.5cm.

\ textheight = 21.5cm.

System default: font size 10pt = 5; Western fonts are Roman fonts; Text width = 12.2 cm, text height = 18.6 cm, which is equivalent to the size of American standard stationery.

Simple formula 1:

Simple formula 2:

Simple formula 1:

Simple formula 2:

The mathematical formula in this paper is \ sum \ limits _ {I = 1} {n}

X _ {I} = \ int _ {0} {1} f (x), {\ rm d} x \ oint $

Ellipsis in mathematical formula;

Limitations of the command:

Fractional typesetting command:

Root typesetting command:

Modular command:

Matrix typesetting command:

Modification of mathematical symbols;

(1) underline command

(2) Underline command

(3) the horizontal curly brace command

(4) diagonal brace command

(5) hat command

(6) Stacking command