You are on page 1of 4

VieTeX & LaTeX v NG DNG

S 13, 2 - 2 - 2012

Te
e
i
X
V

Nguyn Hu in
Hanoi University of Science
Center for High-Performance Computing
334 Nguyen Trai, Thanh Xuan, Hanoi
Office (84-4) 557 2869

http://nhdien.wordpress.com, Email:huudien@vnu.edu.vn, Mobile: 0989 061 951

Cc loi du chm chm


Mc lc
I

Du chm v du ba chm

II Du ba chm trong gi lnh amsmath.sty

III Ba chm ng cho ph

IV nh ngha s chm ty

V Du chm suyn qua cc ct

VI Mt s lnh khc

VIIMt s lnh du chm trong MnSymbol.sty

Du chm v du ba chm
Trong LaTeX c nh ngha sn mt s du ba chm
Lnh
\cdot
\cdots
\dots
\ldots
\ddots
\vdots

Kt qu

...
...

V d
A B
A B
A...B
A...B

VieTeX & LaTeX v ng dng


S 13, 2 - 2 - 2012

II

Du ba chm trong gi lnh amsmath.sty


Gi lnh amsmath nh ngha mt s lnh ba chm cho cng thc v mi trng c th.
\dotsc A1 , A2 , . . . , An
\dotsb A1  A2    An
\dotsm A1 A2  An
\dotsi R A1 R A2  R An
\dotso n 1, 2, . . .

\dotsc
\dotsb
\dotsm
\dotsi
\dotso

III

12 . . . n
12n
12n
12n
12 . . . n

n
n
n
n
n

V d
1, 2, . . . , n
1, 2,  , n
1, 2,  , n
1, 2,, n
1, 2, . . . , n

A1 , A2 , . . . , A n
A1 , A2 ,  , A n
A1 , A2 ,  , A n
A 1 , A 2 , , A n
A1 , A2 , . . . , A n

Ba chm ng cho ph

Cn 3 chm ngc vi  ta phi xy dng


\makeatletter
\def\iddots{\mathinner{\mkern1mu\raise\p@
\hbox{.}\mkern2mu\raise4\p@\hbox{.}\mkern2mu
\raise7\p@\vbox{\kern7\p@\hbox{.}}\mkern1mu}}
\makeatother
Vi $\iddots \ddots$ cho . .

Trong gi lnh yhmath.sty cng dng lnh \adots nh $\adots \ddots$ cho . .

IV

nh ngha s chm ty

Ta c th nh ngha 4 chm
\def\4ldots{\mathinner{\ldotp\ldotp\ldotp\ldotp}}
$\text{A}\4ldots\text{B}$ cho kt qu A . . . . B

Du chm suyn qua cc ct


Lnh trong bng hoc ma trn \hdotsfor[<Khong cch chm>]{<s ct>}

Nguyn Hu in

2/4

http://nhdien.wordpress.com

VieTeX & LaTeX v ng dng


S 13, 2 - 2 - 2012

$$
\begin{array}{ccccc}
1&2&3&4&5
\\
\hdotsfor{3}
\\
&\hdotsfor{3}
\\
\hdotsfor[2]{5} \\
\hdotsfor[.5]{5} \\
\end{array}
$$

1 2 3 4 5
....
....
.....
.........

01 02 03 04 05 06 07 08 09 10 11 12 13 14

01 02 03
...............
11 12 13 14

01 02 03 04 05 06 07 08 09 10 11 12 13 14

02 02 03 04 05 06 07 08 09 10 11 12 13 14

03 . . . 03 04 05 06 07 08 09 10 11 12 13 14

04
...
04 05 06 07 08 09 10 11 12 13 14

05
......
05 06 07 08 09 10 11 12 13 14

06
........
06 07 08 09 10 11 12 13 14

07
..........
07 08 09 10 11 12 13 14

08
.
.
.
.
.
.
.
.
.
.
.
.
.
08
09
10
11
12
13
14

09
...............
09 10 11 12 13 14

10
.................
10 11 12 13 14

11
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
11
12
13
14

12
......................
12 13 14

........................
13 14
13

14
...........................
14

VI

Mt s lnh khc

1. Lnh in du chm c dng \dotfill


........................................................................................
2. C th ch ng to ra mt on chm chm
\makebox[3.5cm]{\dotfill} cho kt qu . . . . . . . . . . . . . . . . . .

Nguyn Hu in

3/4

http://nhdien.wordpress.com

VieTeX & LaTeX v ng dng


S 13, 2 - 2 - 2012

VII

Mt s lnh du chm trong MnSymbol.sty

\cdot
\hdotdot
\udots
\ddotdot
\hdots
\uptherefore
\ddots
\lefttherefore
\vdotdot
\diamonddots
\righttherefore
\vdots
\downtherefore
\squaredots
\fivedots
\udotdot

Nguyn Hu in

















4/4

http://nhdien.wordpress.com

You might also like