La s of latex single-row or multi-row Formulas

Source: Internet
Author: User

Http://guoguanfei.blog.163.com/blog/static/5558303720092583854250/

 

1. The single row formula environment for automatic numbering is
/Begin {equation}
...
/End {equation}

Single Row formula environment that does not participate in automatic numbering:
/[
...
/]

You can use the original line formula of Tex to mark a single row of numbers.
$ Public
Formula/eqno number $ place the number on the right
$ Formula/leqno number $ place the number on the left

When referencing, you can directly use $ number $, that is
Yes.

For example, $ A ^ 2 + B ^ 2 = C ^ 2/eqno (**) $
The formula ($ ** $) is used to draw a conclusion.

General
Lower, line formula $... $ Can also be used /[... /] Indicates
However, for this formula, you cannot use/[../] instead of $... $.

2. A single formula is
Long, line feed is required, but only one number can be generated, you can use the split command

/Begin {equation}
/Begin {split}
A
& = B //
C & = d
/End {split}
/End {equation}

Note: Each line
Only one "&" is allowed. After the split command is used, the numbers are displayed in the center.

3. multi-row formula:

/Begin {eqnarray}
Left
& Medium & right //
Left & center & right //
...
/End {eqnarray}
This environment
An automatic number is added to each line of the multi-line formula. If no number is added to a row, you can add the command/nonumber before line feed.

If you want to change the automatic number of the formula, You can reset the counter
Start value:
/Setcounter {equation} {count}
The next number is automatically added with 1.

4. layout of equations:
Multiple formulas, each
Formula IDs.

1) gather environment
Is a special case in the following align environment.
/Begin {gather}
A
& = B //
C & = D //
...
/End {gather}
> 1. If some of them are used
If the same number is used, a split environment needs to be embedded.
> 2. The command/notag does not allow the current row to be numbered.
2) Align Environment
Yes
Make several groups of formulas side by side, that is, display multiple formulas in the same row. The method is the same as before, and use the "&" alignment.
It can replace the gather environment.
3)
The environments of the above equations are full regardless of how small each formula is. When the corresponding/gathered and/aligned environments are used, only the actual width of the formula is occupied.
.
This structure also allows you to add location parameters to determine the vertical alignment with other symbols (B, T ). In addition, this environment does not have the automatic numbering function.

For example:
/Begin {equation}
/Left.
/Begin {aligned} [B]
A & =
B + C //
D & = B + C
/End {aligned}
/Right /}
/Longrightarrow
/Qquad
A = d
/End {equation}

Correct a small error on the p149 page of the reference document. Yes/right} should be changed to/right
/}.

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.