Read ~ LATEX

Punctuation and stressed

Some punctuation finishing with summary
| <> + = general mathematical environment, the need to add before or after the text $
If you enter a number directly greater than the number is less than, but not in mathematics environment, they will not be printed directly. Instead, use the\textgreater,\textless

The following are a few common symbols:

quotation marks:

Because the quotes are not from the '' composed, left single quotation mark is `accents, while the right is the '. English, the opening quotation mark is two consecutive ``.
Quotes inlaid in the English need to use \ thinspace command separator, such as:

    ``\thinspace`MAX' is here.''

As for the Chinese single quotes, double quotes can be entered directly

Fracture, short horizontal given omitted No.

There are three English dash, hyphen - Digital start-stop characters - dashes ---
Chinese dash direct input, but note that the English use of the ellipsis \ idots this out to the command instead of three periods.

Stressed: coarse and fine

\emph{text}Command dedicated to emphasize text.
For the English version, the emphasis on general is in italics.


Underline and strikethrough

Please use the ulem Uline command macros, it also supports text wrap.
Here are some practical command ulem provided:
. 1 \ Uline {underlined} \
2 \ uuline {double underlined} \
. 3 \ dashuline {dashed underline} \
. 4 \ dotuline {dot underlined} \
. 5 \ uWave, and so {tilde} \
6 \ sout {strikethrough} \
7 \ XOUT} {oblique strikeout
Note that, ulem packages redefined \emphcommand, so that the original emphasis on Diagonal become underlined, the original two become stressed canceled twice stressed on double underlined . normalem option can be canceled by the macro package it [\ usepackage [normalem] {ulem}].

other

Angle symbol or symbols required temperature by means of mathematical models $ ... $ Input:
$30\,^{circ}$三角形\\ ——>30度三角形
$37,^{\circ}\mathrm{C}$

Format control

LATEX unit of length

pt Point, pounds,
PC Pica. 1pc = 12pt, the size of the fourth word
in Bigpoint, inches. = = 72.27pt1bg. 1 in. 1 / 72in
BG Bigpoint, large dots. 1bp = 1 / 72in

cm centimeter, PCT ⽶. . 1 = 1cm / in 2.54
mm Millimeter, ⽶ mM. = 1/10 cm & lt 1mm
SP Scaled Point. The basic unit of ⻓ TEX, 1sp = 1 / 65536pt
the current em size, width M is zoomed ⺟ writing.
Under ex current size, and altitudes ⺟ small letter x.
Is a frequently-used then to get accustomed ⻓ degree of macro, the macro more ⻓ of Use will be mentioned in the table, columns and other sections.

1.\textwidth % 页面上文字的总宽度,即页宽减去两侧边距。
2 \linewidth % 当前行允许的行宽。

Sometimes you can use the variable ⻓ degree, ⽐ as "5pt plus 3pt minus 2pt", table displayed
⼀ can shrink to a 3pt can stretch ⻓ to ⻓ degree of 8pt. Using direct multiples are allowed, for example:
1.5 \parindentand the like.
We normally use \hspace{len}and \ vspace {len} these two spaces special control command,
the specific reference to how to use it calm water resistant ⼀ from this vertical section.

Blank

In LATEX, multiple spaces and multiple line breaks will be treated as a single space.
To prevent the latex in a row at the exchange space, can be replaced - in a space, such as Fig. ~ 8.
Wrap typically is relatively simple: LATEX will wrap, and then at the end of each segment, only two carriage returns, to complete the segment. If you need a blank paragraph (essentially a blank flight, first enter two carriage returns, then enter \ mbox {} , then enter two carriage returns. You can also type \ par to create a new segment with an indentation .

Force a line to use \, but the disadvantage is that the first line of the next line segment will shrink disappear. This command is typically not used in the body wrap; two carriage generally used.
The distance between the paragraphs of a \parskipcontrol, default Opt plus 1pt.

\setlength{\parskip}{0pt}

宏包lenttrine可以产生首字符下沉的效果
1 \lettrine{T}{his} is an example.Hope you like this package,and enjoy your \LaTeX trip!
This is an example. Hope youlike this package, and enjoyyour LATEX trip!

Paging

With \ NewPage , open a command start a new line
with \ clearpage command skies floating body queue and start a new page Note: The above command is based on \ vfill of. If you want to open two consecutive ⻚, in the middle with an empty container ⼀ submenus (\ mbox {}), such as \ newpage \ mbox {} \ newpage .

Indenting, line spacing, and alignment

Do not indent the first paragraph in English, but for the Chinese, the first paragraph indents need the help indentfirst packages to complete. You may also use the \ setlength \ parindent this command to set {2em} shrink
into the distance. If forced to cancel the sentence therefore especially indented, you can use the \ noindent command therefore especially in the segment.
LATEX ⻬ default layout to make both ends Use shutter mode. You also can use the flushleft, flushright,
Center these three environments to construct Habitat left, center, right of abode three effects. Special \ centering command
so often using it in internal environment (internal or ⼀ to spend braces), to achieve a centering effect. But please try to
Use this ⽼ center environment instead of the old order. There are similar commands \ raggedleft to achieve the right home,
\ raggedright to achieve his left. More space control Please refer to this ⼀ section.
Insert tab stop hanging indent, complicated adjustment ⾏ from this section and other references

Guess you like

Origin www.cnblogs.com/ydyk/p/11129306.html