Bạn đang xem bản rút gọn của tài liệu. Xem và tải ngay bản đầy đủ của tài liệu tại đây (392.28 KB, 39 trang )
<span class='text_page_counter'>(1)</span><div class='page_container' data-page=1>
TeX l`a ch ’u ’ong tr`ınh soa.n th ’ao c´ac t`ai liˆe.u khoa ho.c v`a to´an ho.c v´’oi ch ´ˆat l ’u ’o.ng cao.
TeX ¯<sub>d ’u ’o.c vi ´</sub>ˆet b ’’oi Donald E. Knuth v`ao n˘am 1977. Trong s´ach <i>TeX book</i>, Knuth gı´’oi
thiˆe.u: ”TeX <i>l`a mˆo.t hˆe. th ´ˆong x ´ˆep ch˜’u m´’oi ¯d ’<sub>ˆe ta.o ra nh˜’ung cu ´</sub>ˆon s´ach ¯<sub>de.p v`a ¯d˘a.c biˆe.t l`a</sub></i>
<i>nh˜’ung cu ´ˆon s´ach c´o nhi `<sub>ˆeu k´ı hiˆe.u to´an ho.c</sub></i>”.
N˘am 1980, Leslie Lamport ta.o ra hˆe. th ´ˆong soa.n th ’ao v˘an b ’an LaTeX. D ’u.a trˆen ¯di.nh
da.ng c’ua TeX, Lamport vi ´ˆet thˆem c´ac lˆe.nh m´’oi d`ung cho c ´ˆau tr´uc v˘an b ’an gi´up ng ’u`’oi
s ’’u du.ng d ˜ˆe d`ang soa.n th ’ao t`ai liˆe.u.
1. C`ai MikTeX 2.7 (download t`’u ma.ng).
2. Ch´ep c´ac th ’u mu.c doc, dvips, fonts, tex trong g´oi vntex v`ao th ’u mu.c C :<i>></i>
Program Files<i>\</i>MikTeX2.7 (ch´ep ch `<sub>ˆong lˆen c´ac th ’u mu.c ¯d˜a c´o).</sub>
3. Ch´ep ch `<sub>ˆong 2 th ’u mu.c dvips, pdftex trong th ’u mu.c For-Document-Settings lˆen</sub>
th ’u mu.c C:<i>\</i>Documents and Settings<i>\</i>All Users<i>\</i>Application Data<i>\</i>MiKTeX<i>\</i>2.7.
4. V`ao: Start <i>→</i> All programs <i>→</i> Miktex 2.7 <i>→</i> Settings <i>→</i> general <i>→</i> Refresh
FNDB.
5. C`ai Ghostview: file gsv46w32.exe
6. C`ai Acrobat Reader.
7. C`ai ch ’u ’ong tr`ınh soa.n th ’ao v˘an b ’an WinEdit 5.5 ho˘a.c Texmarker. Ch ’u ’ong tr`ınh
WinEdit khˆong th ’ˆe nh`ın th ´ˆay ti ´<sub>ˆeng Viˆe.t trˆen m`an h`ınh, c`on ch ’u ’ong tr`ınh TeXmarker</sub>
c´o th ’ˆe th ´ˆay ti ´<sub>ˆeng Viˆe.t trˆen m`an h`ınh (nh ’ung file c´o kh ’a n˘ang nhi ˜</sub>ˆem virus).
N ´ˆeu d`ung Texmarker th`ı c `<sub>ˆan ch ’inh mˆo.t s ´</sub>ˆo ch ˜ˆo sau:
M ’’o Texmaker <i>→</i> Options<i>→</i> Confirgure Texmaker ch ’inh
i) Commmand (C´ac reader t ’u ’ong ´’ung)
2 Ch ’u ’ong 1. C ´ˆau tr´uc v˘an b ’an
#Div viewer: ”C:<i>\</i>Program Files<i>\</i>MiKTeX 2.7<i>\</i>miktex<i>\</i>bin<i>\</i>yap.exe” %.dvi
#Ps viewer: ”C:<i>\</i>Program Files<i>\</i>Ghostgum<i>\</i>gsview<i>\</i>gsview32.exe” %.ps
#Pdf viewer: ”C:<i>\</i>Program Files<i>\</i>Adobe<i>\</i>Acrobat 7.0<i>\</i>Reader<i>\</i>AcroRd32.exe” %.pdf
ii) Quick Build Cho.n c´ach di.ch nhanh ho˘a.c theo t`’ung b ’u´’oc.
iii) Editor: Chon Font Unicode: Times New romance, Arial, Courier...
Cho.n c ’’o ch˜’u: Encoding UTF8.
C´ac h`ang ¯d `ˆau trong file tex ¯<sub>d ’ua v`ao c´a d`ong lˆe.nh:</sub>
\usepackage[utf8]{vietnam}
\usepackage[utf8]{inputenc}
<i>•</i> B ’u´’oc 1 <i><sub>Soa.n th ’ao</sub></i><sub>: D`ung WinEdit ho˘a.c Texmarker ta.o mˆo.t file tex v´’oi tˆen</sub>filename.tex,
v´ı du. chuong1.tex.
<i>•</i> B ’u´’oc 2 <i><sub>Di.ch</sub></i>: Nh ´ˆan bi ’<sub>ˆeu t ’u ’o.ng LaTeX trˆen giao diˆe.n c’ua WinEdit ho˘a.c Texmarker</sub>
d ’<sub>ˆe di.ch file.</sub>
<i>•</i> B ’u´’oc 3 <i>Xem v`a In</i>: Nh ´ˆan bi ’<sub>ˆeu t ’u ’o.ng DVI ¯d ’ˆe xem v`a in v˘an b ’an. N ´</sub>ˆeu mu ´ˆon xem v`a
in v˘an b ’an b`<sub>˘ang GhostView ho˘a.c PDF th`ı ph ’ai di.ch t`’u DVI sang GS ho˘a.c PDF.</sub>
D
¯ ’ˆe l`am viˆe.c n`ay ta nh ´ˆan bi ’ˆeu t ’u ’o.ng ”DVI<i>→</i> PS” ho˘a.c ”DVI <i>→</i> PDF” trˆen giao
diˆe.n c’ua WinEdit.
M ˜ˆoi file ngu `ˆon c ’ua LaTeX c´o c ´ˆau tr´uc c ’o b ’an nh ’u sau:
<i>\</i>documentstyle[<i>option</i>]<i>{style}</i> <sub>ho˘a.c</sub> <i>\</i>documentclass[<i>option</i>]<i>{style}</i>
<i>Ph `ˆan ¯d `<sub>ˆau t`ai liˆe.u</sub></i>
<i>\</i>begin<i>{</i>document<i>}</i>
<i>Nˆo.i dung t`ai liˆe.u</i>
<i>\</i>end<i>{</i>document<i>}</i>
trong ¯d´o <i>style</i> <sub>l`a mˆo.t trong c´ac ki ’ˆeu t`ai liˆe.u sau</sub> article, report, book hay latter
2. Ki ’ˆeu t`<sub>ai li.ˆeu</sub> 3
C´o r ´ˆat nhi `<sub>ˆeu g´oi lˆe.nh vi ´</sub>ˆet thˆem cho LaTeX. D<sub>¯ ’</sub><sub>ˆe s ’’u du.ng c´ac g´oi n`ay ta d`ung lˆe.nh</sub>
\unpackage<sub>. V´ı du. ¯d ’ˆe m ’’o c´ac g´oi</sub> vntex <sub>ta d`ung lˆe.nh</sub>
<i>\</i>usepackage[utf8]<i>{</i>vietnam<i>}</i>
Trong qu´a tr`ınh x ’’u, LaTeX luˆon ’’o mˆo.t trong ba mode:
1. Mode paragraph.
2. Mode to´an.
3. Mode LR (tr´ai<i>−</i>ph ’ai).
Lˆe.nh ¯d `ˆau tiˆen trong ph `ˆan ¯d `ˆau c ’ua file LaTeX l`a ki ’ˆeu x ’’u l´y cho to`an v˘an b ’an. C´u ph´ap
cho lˆe.nh n`ay l`a:
<i>\</i>documentstyle[<i>option</i>]<i>{style}</i>
ho˘a.c
<i>\</i>documentclass[<i>option</i>]<i>{style}</i>
* C´ac da.ng c’ua <i>style</i> l`a: book, report, article, letter.
* C´ac da.ng c’ua<i>option</i>l`a: 11pt, 12pt, twoside, twocolumn, titlepage, leqno,
fleqn.
11 Font size tiˆeu chu ’ˆan cho v˘an b ’an l`a 11pt thay v`ı 10pt.
12 Font size tiˆeu chu ’ˆan cho v˘an b ’an l`a 12pt thay v`ı 10pt.
twoside Output ¯<sub>d ’u ’o.c ¯di.nh da.ng ¯d ’ˆe in hai m˘a.t (m˘a.c nhiˆen cho</sub> book style).
twocolumn Output xu ´<sub>ˆat hiˆe.n hai cˆo.t trong m ˜</sub>ˆoi trang.
... ...
N ´<sub>ˆeu cho.n nhi `</sub>ˆeu <i>option</i> <sub>th`ı c´ac l ’u.c cho.n ¯d ’u ’o.c ng˘an c´ach b’’o d ´ˆau ph ’ˆay. Th´’u tu. c’ua</sub>
c´ac t`uy cho.n khˆong quan tro.ng. V´ı du.:
<i>\</i>documentstyle[11pt,twoside]{article}
<i>•</i> Ch´u ´y
4 Ch ’u ’ong 1. C ´ˆau tr´uc v˘an b ’an
M ˜ˆoi trang bao g `ˆom ph `ˆan ¯d `ˆau (head), thˆan (body) v`a chˆan (foot). D<sub>¯ ’</sub>ˆe ¯<sub>di.nh da.ng</sub>
trang ta d`ung c´ac lˆe.nh sau:
<i>\</i>oddsidemargin: l `ˆe tr´ai cho trang l ’e.
<i>\</i>evensidemargin: l `ˆe tr´ai cho trang ch ˜˘an.
<i>\</i>topmargin: l `ˆe trˆen t´’oi ¯d ’inh c ’ua ph `ˆan<i>head</i>.
<i>\</i>haedheight: chi `ˆeu cao c ’ua <i>head</i>.
<i>\</i>headsep: kho ’ang c´ach t`’u ¯d´ay c ’ua<i>head</i> t´’oi ¯d ’inh c ’ua <i>body</i>.
<i>\</i>topskip: kho ’ang c´ach t`’u ¯d ’inh c ’ua <i>body</i>t´’oi ¯d ’u`’ong c ’o s ’’o c’ua h`ang ¯d `ˆau tiˆen
c ’ua text.
<i>\</i>textheight: chi `ˆeu cao c ’ua <i>body</i>.
<i>\</i>textwidth: chi `<sub>ˆeu rˆo.ng c’ua text trong m ˜</sub>ˆoi h`ang.
<i>\</i>footheight: chi `ˆeu cao c ’ua <i>foot</i>.
<i>\</i>footskip: kho ’ang c´ach t`’u ¯d´ay c ’ua <i>body</i>t´’oi ¯d´ay c ’ua<i>foot</i>.
<i>•</i> <sub>V´ı du.:</sub>
4. Section 5
6 Ch ’u ’ong 1. C ´ˆau tr´uc v˘an b ’an
<i>\</i>seccommand*<i>{title}</i> (s ´ˆo c ’ua section khˆong ¯<sub>d ’u ’o.c in ra)</sub>
Lˆe.nh cho section g `ˆom:
<i>\</i>part <i>\</i>chapter <i>\</i> section <i>\</i>subsection <i>\</i>subsubsection
<i>\</i>paragraph <i>\</i>subparagraph
Mˆo.t lˆe.nh c’ua LaTeX c´o c ´ˆau tr´uc c ’o b ’an nh ’u sau:
<i>\</i>commandname[<i>option</i>]<i>{mandatory argument}</i>,
trong ¯d´o commandname <sub>l`a tˆen lˆe.nh,</sub> <i>option</i> <sub>l`a t`uy cho.n v`a</sub> <i>mandatory argument</i> l`a bi ´ˆen
b ´<sub>˘at buˆo.c.</sub>
<i>•</i> <sub>T`uy cho.n ph ’ai ¯d˘a.t trong c˘a.p d ´</sub>ˆau [ ], bi ´ˆen b ´<sub>˘at buˆo.c ph ’ai ¯d˘a.t trong c˘a.p</sub> <i>{ }</i>.
<i>•</i> <sub>Lˆe.nh b´˘at ¯d `</sub>ˆau b`˘ang d ´ˆau <i>\</i> v`a k ´<sub>ˆet th´uc b ’’oi k´ı t ’u. tr ´</sub><sub>ˆong. V´ı du. lˆe.nh ”</sub><i>\</i>triangle x”
cho ta <i>4x</i>
C´u ph´ap cho mˆoi tr ’u`’ong c´o da.ng
<i>\</i>begin<i>{environment}</i>
Ph `ˆan thˆan c ’ua mˆoi tr ’u`’ong
<i>\</i>end<i>{environment}</i>,
<i>environment</i><sub>l`a mˆoi tr ’u`’ong. LaTeX c´o c´ac mˆoi tr ’u`’ong To´an ho.c nh ’u: theorem, corollary,</sub>
lemma, proposition, definition, notation, proof,axiom...
C´ac mˆoi tr ’u`’ong ¯d˜a ¯<sub>d ’u ’o.c Viˆe.t ho´a:</sub>
6. C´ac ph `ˆan c ’ua v˘an b ’an 7
C´ac k´ı t ’u. # , $ , ˆ , , % , & , <i>{</i>, <i>}</i><sub>d ’u ’o.c xem nh ’u lˆe.nh. N ´</sub>¯ ˆeu mu ´ˆon in c´ac k´ı
t ’u. n`ay ta ¯d˘a.t d ´ˆau <i>\</i> tr ’u´’oc n´o.
V´ı du.: \# = # , \$= $ , \^ = ˆ , \_ = , \& = &, \{ =<i>{</i> , \} =<i>}</i>, \S =<i>§</i>.
Ta c´o c´ac k´ı hiˆe.u ¯d˘a.c biˆe.t sau:
\S = <i>§</i>, \copyright}= c<i>°</i>, \pounds= £.
Khai b´ao l`a mˆo.t lˆe.nh l`am thay ¯d ’ˆoi gi´a tri. ho˘a.c ´u ngh˜ia c’ua c’ua mˆo.t lˆe.nh kh´ac. ’Anh
h ’u ’’ong c’ua khai b´ao x ’ay ra t´’uc th`ı v`a k ´<sub>ˆet th´uc khi mˆo.t khai b´ao kh´ac c`ung tˆen xu ´</sub>ˆat
hiˆe.n sau ¯d´o. Tuy nhiˆen, n ´ˆeu khai b´ao x ’ay ra trong mˆo.t mˆoi tr ’u`’ong ho˘a.c trong c˘a.p m´oc
k´ep {...}<sub>th`ı khai b´oo ch ’i c´o t´ac du.ng trong mˆoi tr ’u`’ong ho˘a.c trong ph `</sub>ˆan gi˜’<sub>ua c˘a.p m´oc</sub>
k´ep {...}.
<i>•</i> C´<sub>ac v´ı du.</sub>
<i>¦ { \</i>bf This text appears in boldface<i>}</i> : khai b´ao<i>\</i>bfchuy ’ˆen ch˜’<sub>u sang da.ng</sub>
¯
dˆa.m This text appears in boldface.
<i>¦ \</i>setlenght<i>{\</i>parindent<i>}{</i>0.5cm<i>}</i>: canh l `ˆe c ’ua h`ang ¯d `<sub>ˆau tiˆen c ’ua mˆo.t ¯doa.n l`a</sub>
0.5cm.
Mu ´<sub>ˆon ch`en mˆo.t nˆo.i dung t`’u mˆo.t file kh´ac v`a o file tex ta d`ung lˆe.nh</sub> <i>\</i>input.
<i>¦ \</i>input vietnam.sty<sub>: go.i style</sub> vietnam.
<i>¦ \</i>input khaibao.tex<sub>: go.i file</sub> khai bao ch´’<sub>ua c´ac lˆe.nh ¯d˜a ¯d ’u ’o.c Viˆe.t h´oa.</sub>
Ph `ˆan n`ay ch ’i d`ung cho v˘an b ’an ki ’ˆeu <i>article</i>.
Mˆo.t ¯d `ˆau ¯d `ˆe c ’ua trang c´o th ’ˆe ¯<sub>d ’u ’o.c ta.o ra v´’oi mˆoi tr ’u`’ong</sub>
<i>\</i>begin<i>{</i>titlepage<i>}</i> <i>Text cho ¯d `ˆau ¯d `ˆe</i> <i>\</i>end<i>{</i>titlepage<i>}</i>
ho˘a.c v´’oi c´ac lˆe.nh
8 Ch ’u ’ong 1. C ´ˆau tr´uc v˘an b ’an
<i>\</i>author<i>{Tˆen t´ac gi ’a v`a ¯<sub>di.a ch ’i</sub>}</i>
<i>\</i>date<i>{Ng`ay}</i>
<i>•</i><sub>Lˆe.nh</sub> <i>\</i>label<i>{marker}</i>: ¯<sub>d ’u ’o.c d`ung ¯d ’ˆe l`am d ´ˆau ta.i vi. tr´ı n´o xu ´ˆat hiˆe.n trong text,</sub>
trong ¯d´o <i>marker</i> l`a tˆen c ’ua nh˜an.
<i>•</i> <sub>Lˆe.nh</sub> <i>\</i>pageref<i>{marker}</i>: in s ´ˆo trang n ’oi nh˜an <i>marker</i> <sub>d ’u ’o.c l`am d ´ˆau.</sub>¯
<i>•</i> <sub>Lˆe.nh tham kh ’ao:</sub> <i>\</i>ref<i>{marker}</i>, trong ¯d´o<i>marker</i> l`a tˆen c ’ua nh˜an ¯<sub>d ’u ’o.c tham</sub>
kh ’ao.
N ´<sub>ˆeu lˆe.nh</sub> <i>\</i>label <sub>d ’u ’o.c cho sau mˆo.t lˆe.nh section, ho˘a.c lˆe.nh</sub>¯ equation, eqnarray,
mˆoi tr ’u`’ong enumerate<sub>... th`ı lˆe.nh</sub> <i>\</i>ref in s ´ˆo c ’ua section, equation, eqnarray ... n ’oi
<i>marker</i> <sub>d ’u ’o.c ¯di.nh ngh˜ia.</sub>¯
Ng`ay hiˆe.n h`anh ¯d ’u ’o.c ch`en v`ao v˘anb ’ang b`˘ang c´ach d`ung lˆe.nh \today.
Th ’u mıu.c ¯d ’u ’o.c ta.o ra v`a in b’’oi lˆe.nh:
L `ˆan ti ´<sub>ˆep theo khi LaTeX di.ch v˘an b ’ang n`ay, lˆe.nh</sub> <i>\</i>tableofcontents <sub>do.c file</sub>¯ <i></i>
<i>docu-ment name.toc</i> <sub>v`a th ’u mu.c ¯d ’u ’o.c in ra.</sub>
T`ai liˆe.u tham kh ’ao ¯d ’u ’o.c ta.o ra b’’oi mˆoi tr ’u`’ong:
<i>\</i>begin<i>{</i>thebibliography<i>}{sample label}</i>
<i>entries</i><sub>: c´ac mu.c ¯d ’ua v`ao</sub>
<i>\</i>end<i>{</i>thebibliography<i>}</i>
M ˜ˆoi<i>entries</i> trong bibliography b ´ˆat ¯d `ˆau v´’<sub>oi lˆe.nh</sub>
10. T`<sub>ai li.ˆeu tham kh ’ao</sub> 9
N ´ˆeu khˆong c´o bi ´<sub>ˆen t`uy cho.n</sub><i>label</i>,<i>\</i>bibitems˜<sub>e ta.o ra mˆo.t s ´</sub>ˆo (s ´<sub>ˆo n`ay cha.y t˘ang d `</sub>ˆan)
trong d ´ˆau m´oc vuˆong nh ’u l`a nh˜an cho tham kh ’ao trong text. V´’oi<i>label</i>, n´o cho th ´ˆay c´ai
ta ¯<sub>d˘a.t ra nh ’u tˆen vi ´</sub>ˆet t ´<sub>˘at c’ua t´ac gi ’a ho˘a.c s ´</sub>ˆo tham kh ’ao b ´ˆat k`y. Bi ´ˆen <i>key</i> l`a t`’u kh´oa
tham kh ’ao, n´o khˆong xu ´<sub>ˆat hiˆe.n trong bibliography nh ’ung n´o ¯d ’u ’o.c thay th ´</sub>ˆe trong text
b ’’oi <i>label</i>.
Text ¯<sub>d ’u ’o.c nhˆa.n da.ng sau h`ang ¯d `</sub>ˆau tiˆen v´’oi ¯<sub>dˆo. d`ai b`˘ang v´’oi ¯dˆo. d`ai c’ua</sub><i>sample label</i>.
Trong th ’u.c t ´ˆe, <i>sample label</i><sub>nˆen l`a mˆo.t s ´</sub>ˆo v´’oi nh˜an l´’on nh ´<sub>ˆat. V´ı du. 99 n ´</sub>ˆeu c´o nhi `ˆeu h´’on
10nh ’ung ´ıt h ’on 100 entries.
Font chu ’ˆan trong LaTeX l`a font Roman v`a size chu ’ˆan l`a 10pt.
<i>•</i> <sub>V´ı du. 1</sub>
D
¯ ˆay l`a font Roman size 10pt
D`ung lˆe.nh:<i>\</i>em <sub>ho˘a.c</sub> <i>\</i>it
V´ı du.: <i><sub>¯ ˆay l`a font ch˜’</sub>D</i> <i>u nghiˆeng</i>.
<i>\</i>rm Roman <i>\</i>it <i>Italic</i> <i>\</i>sc Small Caps
<i>\</i>bf Bold case <i>\</i>sl <i>Slanted</i> <i>\</i>sf Sans Serif
<i>\</i>tt Typewriter
<i>•</i> Chuy ’<sub>ˆen font trong mˆo.t ¯doa.n c’ua text sang font kh´ac ta ¯d˘a.t ¯doa.n ¯d´o trong d ´</sub>ˆau
m´oc k´ep v`a d`ung lˆe.nh c’ua font. V´ı du. ta mu ´ˆon chuy ’ˆen c´ac ch˜’u ”Group and Field” t`’u
font Roman sang font Small Caps ta vi ´ˆet nh ’u sau: Ã\scÃGroupÃandÃFieldÃ. Khi ¯d´o
output s˜<sub>e c´o da.ng</sub> Group and Field.
<i>•</i><sub>¯ ´</sub>Dˆoi v´’oi ¯<sub>doa.n v˘an b ’an d`ai ta c´o d`ung mˆoi tr ’u`’ong:</sub>
<i>\</i>begin<i>{font style</i> <i>}</i> <sub>... text ’’o da.ng font m´’oi ...</sub> <i>\</i>end<i>{font style}</i>
D
¯ ˆo. l´’on c ’ua font trong LaTeX:
12 Ch ’u ’ong 2. Tr`ınh b`ay Text
<i>\</i>tiny smallest
<i>\</i>scriptsize very small
<i>\</i>footnotesize smaller
<i>\</i>small small
<i>\</i>normalsize normal
<i>\</i>large
<i>\</i>Large
<i>\</i>LARGE
<i>\</i>huge
<i>\</i>Huge
V´ı du.: <i>{\</i>Large Roman Font<i>}</i> cho ta
<i>•</i><sub>¯</sub>Dˆe canh gi˜’’ <sub>ua mˆo.t ¯doa.n ta d`ung mˆoi tr ’u`’ong</sub>center<sub>. V´ı du.:</sub>
\begin{center}
line 1 \\
line 2 \\
... \\
line n
\end{center}
trong ¯<sub>d´o lˆe.nh</sub> <i>\\</i> <sub>cho ta mˆo.t h`ang m´’oi.</sub>
V´ı du.:
To´an ho.c
l`a khoa ho.c c’ua
mo.i khoa ho.c
¯
d ’u ’o.c ta.o b’’oi
\begin{center}
To\as n h\oj c\\
l\af\ khoa h\oj c c\ur a\\
m\oj i khoa h\oj c
\end{center}
<i>•</i><sub>¯</sub>Dˆe canh gi˜’’ <sub>ua mˆo.t h`ang ¯d ’on ta d`ung lˆe.nh</sub> <i>\</i>centerline<i>{text}</i>.
V´ı du. lˆe.nh \centerline{Mathematics-Physis} cho ta
Mathematics-Physis
3. Li .ˆet kˆe 13
Mˆo.t ¯doa.n text c´o th ’ˆe tr`ınh b`ay theo c´ach thu.t v`ao hai ph´ıa ¯d `ˆeu nh ’u nhau b ’’oi mˆoi
tr ’u`’ong quote, quotation.
<i>\</i>begin<i>{</i>quote<i>}</i> <i>text</i> <i>\</i>end<i>{</i>quote<i>}</i>
<i>\</i>begin<i>{</i>quotation<i>}</i> <i>text</i> <i>\</i>end<i>{</i>quotation<i>}</i>.
<i>¯</i> Ch´u ´y <sub>S ’u. kh´ac nhau gi˜’ua mˆoi tr ’u`’ong</sub> quote v`a quotation l`a trong mˆoi tr ’u`’ong
quotation m ˜ˆoi ¯<sub>doa.n text ¯d ’u ’o.c ¯d´anh d ´ˆau b`˘ang c´ach thu.t ¯d `</sub>ˆau h`ang c ’ua h`ang ¯d `ˆau tiˆen.
<i>¦</i> <sub>V´ı du. mˆoi tr ’u`’ong</sub> quote:
The last twenty years have seen an explosion of interest in the study of
non-linear dynamical system. Scientists in all disciplines have come to realize
Morden dynamical systems theory has a realively short history. It begin with
Poincare, who revolutionized the study of nonlinear differential equations by
introducing the qualitative techniques of geometry and topology.
<i>¦</i> <sub>V´ı du. mˆoi tr ’u`’ong</sub> quotation:
To Poincare, a global understanding of the gross behavior of all solutions
of the system was more important than the local behavior of particular,
analytically<i>−</i>pricise solutions.
Birkhoff realized the importance of the study of mapping and emphasized
discrete dynamics as a means of understanding the more difficult dynamics
arising from differential equations .
C´o 3 mˆoi tr ’u`’ong liˆe.t kˆe l`a: itemize, enumerate, description.
<i>\</i>begin<i>{</i>itemize<i>}</i>
<i>\</i>item <i><sub>Nˆo.i dung 1</sub></i>
<i>\</i>item <i><sub>Nˆo.i dung 2</sub></i>
14 Ch ’u ’ong 2. Tr`ınh b`ay Text
* M ˜ˆoi h`ang b ´˘at ¯d `<sub>ˆau b ’’oi mˆo.t ”ch ´</sub>ˆam ¯den l´’on” <i>•</i>.
* M ˜<sub>ˆoi nˆo.i dung c´ach nhau b ’’oi mˆo.t mˆo.t khˆong gian ¯d´’ung (xu ´</sub>ˆong h`ang v`a c´o kho ’ang
c´ach gi˜’<sub>ua hai nˆo.i dung).</sub>
<i>2</i> <sub>V´ı du.:</sub>
\begin{itemize}
\item Ph\aa n c\ow\ s\owr\ h\oj c Tri\ees t h\oj c v\af\ Tin h\oj c.
\item Ph\aaf n chuy\ee n ng\af nh h\oj c c\as c m\ooj n:
Gi\ar i t\is ch h\af m, Gi\ar i t\is ch th\uwj c, ...
\end{itemize}
cho ta
<i>•</i> <sub>Phˆan c ’o s ’’o ho.c Tri ´</sub><sub>ˆet ho.c v`a Tin ho.c.</sub>
<i>•</i> Ph `<sub>ˆan chuyˆen ng`anh ho.c c´ac mˆo.n: Gi ’ai t´ıch h`am, Gi ’ai t´ıch th ’u.c, ...</sub>
Mˆoi tr ’u`’ong enumerate c´o c´u ph´ap gi ´ˆong nh ’u mˆoi tr ’u`’ong itemize <sub>nh ’ung c´ac mu.c</sub>
¯
d ’u ’o.c ¯d´anh s ´ˆo (t˘ang d `ˆan) ch´’u khˆong ph ’ai l`a d ´ˆau ch ´ˆam l´’on<i>•</i> nh ’u trong itemize.
C´ac mu.c d ’u´’oi ¯dˆay
1. Functional Analysis
2. Ordinary Differential Equations
3. Topology
¯
d ’u ’o.c cho b’’oi
\begin{enumerate}
\item Functional Analysis
\item Ordinary Differential Equations
\item Topology
\end{enumerate}
4. H .ˆop 15
<i>\</i>end<i>{</i>description<i>}</i>
Trong lˆe.nh <i>\</i>item<i>{option}</i>th`ı<i>option</i> s˜e xu ´<sub>ˆat hiˆe.n d ’u´’oi da.ng nh˜an v´’oi ch˜’u ¯dˆa.m.</sub>
X´et v´ı du. ¯doa.n sau
B ’u´’oc 1 <sub>Soa.n th ’ao file LaTex</sub>
B ’u´’oc 3 In ra
¯
d ’u ’o.c ta.o ra b’’oi
\begin{description}
\item[B\uw\ows c 1] So\aj n th\ar o file LaTex
\item[B\uw\ows c 2] D\ij ch
\item[B\uw\ows c 3] In ra
\end{description}
Ta ta.o ra hˆo.p ch´’ua text trong mode LR (left to right) b ’’oi c´ac lˆe.nh:
<i>• \</i>mbox<i>{text}</i> <sub>: ta.o ra mˆo.t hˆo.p ch´’ua ch˜’u</sub><i>test</i><sub>bˆen trong, ta d`ung lˆe.nh n`ay khi mu ´</sub>ˆon
vi ´ˆet text trong mˆoi tr ’u`’ong to´an.
V´ı du.: <i>A∩B</i> =<i>{x∈x</i>:<i>x∈A</i>v`a<i>x∈B}</i> <sub>d ’u ’o.c ta.o b’’oi</sub>¯
Ã$A\capÃB=\{x\inÃx:Ãx\inÃẪ\;Ã\mbox{v\af}Ã\;Ãx\inÃB\}$Ã.
<i>• \</i>fbox<i>{text}</i><sub>: ta.o mˆo.t hˆo.t ch´’ua</sub> <i>text</i> c´o khung bao ngo`ai.
V´ı du.: R<i>b</i>
<i>a</i> <i>f</i>(x)dx =<i>F</i>(b)<i>−F</i>(a)
<i>• \</i>makebox[<i>width</i>][<i>pos</i>]<i>{text}</i> v`a <i>\</i>framebox[<i>width</i>][<i>pos</i>]<i>{text}</i>
<i>width</i> <sub>d ’u ’o.c x´ac ¯di.nh tr ’u´’oc b’’oi bi ´</sub>¯ ˆen <i>width</i>.
Bi ´<sub>ˆen t`uy cho.n</sub><i>pos</i> x´ac ¯<sub>di.nh vi. tr´ı c’ua text trong hˆo.p.</sub> <i>pos</i>c´o th ’<sub>ˆe cho.n l`a</sub>l (canh tr´ai
¯
d ´ˆoi v´’<sub>oi text) ho˘a.c l`a</sub>r (canh ph ’ai ¯d ´ˆoi v´’oi text). N ´<sub>ˆeu khˆong cho.n bi ´</sub>ˆen cho th`ı text <sub>d u o.c</sub>
da.t o giua.
<i>ã</i> <sub>V du. 2</sub>
<i>Ư</i> \makebox[3.5cm]{centeredtext} <sub>ta.o ra</sub> centered text .
16 Ch ’u ’ong 2. Tr`ınh b`ay Text
C´u ph´ap: <i>\</i>raisebox<i>{lift}</i>[<i>height</i>][depth]<i>{text}</i>
ta.o ra mˆo.t <i>\</i>mbox v´’oi nˆo.i dung <i>text</i><sub>d ’ua lˆen d`ong c ’o s ’’o hiˆe.n h`anh mˆo.t s ´</sub>¯ ˆo <i>lift</i>. C´ac bi ´ˆen
t`uy cho.n <i>height</i> v`a <i>depth</i> <sub>b´ao cho LaTeX m ’’o rˆo.ng hˆo.p v `</sub><sub>ˆe ph´ıa trˆen h`ang c ’o s ’’o mˆo.t ¯dˆo.</sub>
cao <i>height</i> v`a v `ˆe ph´ıa d ’u´’<sub>oi d`ong c ’o s ’’o mˆo.t ¯do. sˆau</sub> <i>depth</i>.
V´ı du.:
Baseline <i>\</i>raisebox<i>{</i>0.1in<i>}{</i>high<i>}</i> and <i>\</i>raisebox<i>{</i>-0.in<i>}{</i>low<i>}</i> and back again
cho ta: Baseline high and
lowand back again.
To`an bˆo. ¯doa.n text ¯d ’u ’o.c ¯d˘a.t v`ao c´ac hˆo.p th ’˘ang ¯d´’ung r`’oi nhau v´’oi lˆe.nh:
<i>\</i>parbox[<i>pos</i>]<i>{width}{text}</i>
ho˘a.c v´’oi mˆoi tr ’u`’ong
<i>\</i>begin<i>{</i>minipage<i>}</i>[<i>pos</i>]<i>{width}</i> <i>text</i> <i>\</i>end<i>{</i>minipage<i>}</i>
C ’a hai ta.o ra mˆo.t hˆo.p th ’˘ang ¯d´’ung v´’oi b `ˆe ngang <i>width</i>.
Bi ´<sub>ˆen t`uy cho.n vi. tr´ı</sub><i>pos</i> c´o th ’ˆe l ´<sub>ˆay c´ac gi´a tri.:</sub>
b s ´˘ap th`anh h`ang ¯d ´ˆoi v´’oi m´ep ¯<sub>d´ay c ’ua hˆo.p so v´’oi h`ang c ’o s’’o hiˆe.n h`anh.</sub>
t s ´˘ap th`anh h`ang ¯d ´ˆoi v´’oi m´ep ¯<sub>d ’inh c ’ua hˆo.p so v´’oi h`ang c o so hie.n h`anh.</sub>
<i>ã</i>C<sub>ac v du.:</sub>
<i>Ư</i> <sub>V du. cho lˆe.nh</sub> parbox:
\parbox{3.5cm} {This is a 3.5cm wide parbox. It is vertically centered on}
\hfill THE CURRENT LINE \hfill
\parbox{5.5cm}{Narrow pages hard to format.
They usually produce many warning messages on the therminal. }
cho ta
This is a 3.5cm
wide parbox. It is
vertically centered
on
THE CURRENT LINE
Narrow pages hard to format.
They usually produce many
warning messages on the
ther-minal.
<i>¦</i> <sub>V´ı du. cho mˆoi tr ’u`’ong</sub> minipage:
\begin{minipage}[b]{4.5cm}
5. B ’ang 17
\end{minipage}
\hfill
\parbox{3.0cm}{middle of this narrow parbox, which in turn is
aligned with}
\hfill
\begin{minipage}[t]{4cm}
the top line of the right hand minipage. It is recommended that
the user experiment with the positioning arguments to get used
to their effects.
\end{minipage}
cho ta
The minipage
environ-ment produces a
verti-cal box like the parbox
command. The bottom
line of this minipage is
aligned with the
middle of this
narrow parbox,
which in turn is
aligned with
the top line of the right
hand minipage. It is
recommended that the
user experiment with the
positioning arguments to
get used to their effects.
Hˆo.p va.ch l`a mˆo.t h`ınh ch˜’u nhˆa.t ¯d ’u ’o.c bˆoi ¯den. C´u ph´ap:
<i>\</i>rele[<i>lift</i>]<i>{</i>width<i>}{height}</i>
ta.o ra mˆo.t h`ınh ch˜’u nhˆa.t ¯d ’u ’o.c bˆoi ¯den v´’oi b `ˆe ngang <i>width</i>, chi `ˆeu cao <i>height</i> v`a ’’o trˆen
d`ong c ’o s ’’o hiˆe.n h`anh mˆo.t s ´ˆo <i>lift</i>.
V´ı du.: \rule{8mm}{3mm} cho ta .
C´ac mˆoi tr ’u`’ongtabular, tabular* v`aarray <sub>l`a c´ac cˆong cu. cho b ’ang v`a ma trˆa.n.</sub>
C´u ph´ap:
<i>\</i>begin<i>{</i>array<i>}</i>[<i>pos</i>]<i>{cols}</i> <i>rows</i> <i>\</i>end<i>{</i>array<i>}</i>
<i>\</i>begin<i>{</i>tabular<i>}</i>[<i>pos</i>]<i>{cols}</i> <i>rows</i> <i>\</i>end<i>{</i>tabular<i>}</i>
18 Ch ’u ’ong 2. Tr`ınh b`ay Text
Mˆoi tr ’u`’ong array<sub>ch ’i s ’’u du.ng trong mode to´an ho.c. C´ac mˆoi tr ’u`’ong n`ay ta.o ra mˆo.t</sub>
minipage. ´Y ngh˜ia c ’ua c´ac bi ´ˆen nh ’u sau:
<i>pos</i> bi ´<sub>ˆen vi. tr´ı th ’˘ang ¯d´’ung, n´o c´o th ’ˆe l ´</sub><sub>ˆay c´ac gi´a tri.:</sub>
t h`ang ¯d `ˆau c ’ua b ’ang ¯<sub>d ’u ’o.c s´˘ap c`ung h`ang v´’oi h`ang c ’o s’’o c’ua h`ang</sub>
ngo`ai hiˆe.n h`anh c’ua text.
b h`ang cu ´ˆoi c`ung c ’ua b ’ang ¯<sub>d ’u ’o.c s´˘ap c`ung h`ang v´’oi h`ang c ’o s’’o ’’o ngo`ai.</sub>
N ´ˆeu khˆong c´o bi ´<sub>ˆen vi. tr´ı th`ı b ’ang ¯d ’u ’o.c ¯d˘a.t gi˜’ua h`ang c ’o s’’o ngo`ai.</sub>
<i>width</i> Bi ´<sub>ˆen n`ay ch ’i ´ap du.ng cho mˆoi tr ’u`’ong</sub>tabular*v`a x´ac ¯<sub>di.nh ¯dˆo. d`ai to`an</sub>
bˆo. c’ua n´o.
<i>cols</i> Bi ´ˆen ¯<sub>di.nh da.ng cˆo.t. C´ac k´ı hiˆe.u ¯di.nh da.ng cˆo.t:</sub>
l <sub>nˆo.i dung trong cˆo.t ¯d ’u ’o.c canh l `</sub>ˆe tr´ai
r <sub>nˆo.i dung trong cˆo.t ¯d ’u ’o.c canh l `</sub>ˆe ph ’ai
r <sub>nˆo.i dung trong cˆo.t ¯d ’u ’o.c ¯d˘a.t ’’o gi˜’ua</sub>
<i>rows</i> Ch´’ua c´ac mu.c trong b ’ang, m ˜ˆoi h`ang ngang ¯<sub>d ’u ’o.c k ´</sub>ˆet th´uc b ’’oi <i>\\</i>. C´ac
h`ang ch´’<sub>ua c´ac cˆo.t ¯d ’u ’o.c ng˘an c´ach b’’oi d ´ˆau &. Nh ’u vˆa.y m ˜ˆoi h`ang trong</sub>
b ’ang ch´’ua c`ung s ´<sub>ˆo cˆo.t nh ’u trong ¯di.nh ngh˜ia</sub> <i>cols</i>.
C´ac k´ı hiˆe.u ¯di.nh da.ng cho bˆen tr´ai v`a ph ’ai c’ua cˆo.t l`a:
<i>|</i> v˜<sub>e mˆo.t ¯d ’u`’ong th ’˘ang ¯d´’ung</sub>
<i>k</i> v˜<sub>e mˆo.t ¯d ’u`’ong th ’˘ang ¯d´’ung.</sub>
<i>\</i>hline <sub>Lˆe.nh n`ay xu ´</sub><sub>ˆat hiˆe.n tr ’u´’oc h`ang ¯d `</sub><sub>ˆau tiˆen ho˘a.c xu ´</sub><sub>ˆat hiˆe.n t´’uc th`ı sau lˆe.nh</sub>
k ´ˆet th´uc h`ang<i>\\</i>. N´o v˜<sub>e mˆo.t l`˘an ngang theo b `</sub>ˆe ngang c ’ua b ’ang ’’o d ’u´’oi
h`ang v`’ua k ´<sub>ˆet th´uc ho˘a.c ta.i ¯d `</sub>ˆau b ’ang n ´ˆeu n´o xu ´<sub>ˆat hiˆe.n tr ’u´’oc ¯d `</sub>ˆau tiˆen.
Hai lˆe.nh <i>\</i>hline liˆen ti ´<sub>ˆep ta.o ra hai l`˘an ngang v´’oi mˆo.t khˆong gian nh ’o</sub>
gi˜’ua ch´ung.
<i>\</i>multicolumn<i>{num}{col}{</i>text<i>}</i>
Lˆe.nh n`ay k ´ˆet h ’o.n <i>num</i> <sub>cˆo.t th`anh mˆo.t cˆo.t ¯d ’on v´’oi t ’ˆong ¯dˆo. d`ai c’ua ch´ung bao</sub>
g `<sub>ˆom c´ac khˆong gian cˆo.t bˆen trong.</sub>
Bi ´ˆen <i>col</i> <sub>l`a mˆo.t trong c´ac k´ı hiˆe.u vi. tr´ı:</sub> l, r, c v´’oi bi ’ˆeu th´’uc @ v`a ¯d ’u`’ong
th ’˘ang ¯d´’ung <i>|</i>.
<i>\</i>vline <sub>Lˆe.nh n`ay v˜e mˆo.t ¯d ’u`’ong th ’˘ang ¯d´’ung v´’oi chi `</sub><sub>ˆeu cao c ’ua cˆo.t ta.i vi. tr´ı n´o</sub>
xu ´<sub>ˆat hiˆe.n.</sub>
B ’ang th ’u`’ong ¯<sub>d ’u ’o.c ¯d˘a.t trong mˆoi tr ’u`’ong</sub>center:
<i>\</i>begincenter <i>table</i> <i>\</i>endcenter
5. B ’ang 19
Position Clubs Games W T L Goals
1 Amesville Rockets 33 19 13 1 66:31
2 Clarkson Chargers 33 17 7 9 70:44
3 Daysdon Bombers 33 14 10 9 66:50
4 Edgartown Devils 33 16 6 11 63:53
5 Freeburg Fighters 33 15 7 11 64:47
\begin{center}
\begin{tabular}{rlcrrrc}
Position & Clubs & Games & W & T & L & Goals \\ \hline
1 & Amesville Rockets & 33 & 19 & 13 & 1 & 66:31 \\
2 & Clarkson Chargers & 33 & 17 & 7 & 9 & 70:44 \\
3 & Daysdon Bombers & 33 & 14 & 10 & 9 & 66:50 \\
4 & Edgartown Devils & 33 & 16 & 6 & 11 & 63:53 \\
5 & Freeburg Fighters & 33 & 15 & 7 & 11 & 64:47 \\ \hline
\end{tabular}
\end{center}
<i>¦</i> <sub>V´ı du.:</sub>
Regional Soccer League — Final Results 1992/93
<i>Club</i> <i>W</i> <i>T</i> <i>L Goals Points</i> <i>Remarks</i>
1 Amesville Rockets 19 13 1 66:31 51:15 League Chammps
2 Clarkson Chargers 17 7 9 70:44 41:25
3 Daysdon Bombers 14 10 9 66:50 38:28
4 Edgartown Devils 16 6 11 63:53 38:28
5 Freeburg Fighters 15 7 11 64:47 37:29
Candidates
B ’ang trˆen ¯<sub>d ’u ’o.c cho cho b’’oi</sub>
\begin{center}
\begin{tabular}{|r|l||rrr|r@{:}l|r@{:}l||c|}\hline
\multicolumn{10}{|c|}{\bf Regional Soccer League
---Final Results 1992/93}\\ \hline
&\it Club & \it W &\it T & \it L & \multicolumn{2}{c|}{\it Goals}
& \multicolumn{2}{c||}{\it Points} & \it Remarks \\ \hline \hline
1 & Amesville Rockets & 19 & 13 & 1 & 66 & 31 & 51 & 15 & League Chammps
\\ \hline
2 & Clarkson Chargers & 17 & 7 & 9 & 70 & 44 & 41 & 25 & \\ \cline{1-9}
3 & Daysdon Bombers & 14 & 10 & 9 & 66 & 50 & 38 & 28 & \\ \cline{1-9}
4 & Edgartown Devils & 16 & 6 & 11 & 63 & 53 & 38 & 28 & \\ \cline{1-9}
5 & Freeburg Fighters & 15 & 7 & 11 & 64 & 47 & 37 & 29 &
\raisebox{0.3in}[0pt]{Candidates}\\ \hline
\end{tabular}
20 Ch ’u ’ong 2. Tr`ınh b`ay Text
Footnote ¯<sub>d ’u ’o.c ta.o ra v´’oi lˆe.nh</sub>
<i>\</i>footnote<i>{footnote text}</i>.
N´o ¯d´’ung sau ch˜’u ¯<sub>d`oi h ’oi mˆo.t s ’u. gi ’ai th´ıch trong footnote.</sub> <i>footnote text</i> xu ´<sub>ˆat hiˆe.n ’’o</sub>
footnote da.ng ch˜’u nh ’o ta.i ¯d´ay c’ua trang.
Ch´u th´ıch ’’o l `ˆe trang ¯<sub>d ’u ’o.c ta.o ra v´’oi lˆe.nh:</sub>
<i>bsh</i>marginpar<i>{note text}</i>
<i>note text</i><sub>d ’u ’o.c ¯d˘a.t l `</sub>¯ <sub>ˆe ph ’ai ta.i h`ang m`a lˆe.nh ¯d ’u ’o.c cho.</sub>
<i>¦</i> <sub>Mˆo.t khˆong gian v´’oi ¯dˆo. d`ai ¯di.nh tr ’u´’oc ¯d ’u ’o.c ch`en v`ao text v´’oi c´ac lˆe.nh:</sub>
<i>\</i>hspace<i>{space}</i>
<i>\</i>hspace*<i>{space}</i>
trong ¯d´o <i>space</i> l`a ¯<sub>dˆo. d`ai c’ua khˆong gian ¯d ’u ’o.c ch`en (v´ı du.</sub>0.2in, 2cm).
<i>¦</i> <sub>Lˆe.nh</sub> \hfill <sub>ch`en khˆong gian l`am cho text hai bˆen bi. ¯d ’ˆay v `</sub>ˆe ph´ıa tr´ai v`a phar i.
V´ı du. lˆe.nh ÃLeft\hfillÃRightà cho ta
Left Right
<i>¦</i> <sub>C´ac lˆe.nh</sub>\quad v`a\qquad ch`en khˆong gian ngang b`˘ang v´’<sub>oi loa.i size hiˆen h`anh, v´ı</sub>
D`ung c´ac lˆe.nh:
\dotfill} \tab {\verb* Thay v`ı ch`en khˆong gian tr ´<sub>ˆong, c´ac lˆe.nh n`ay l`am ¯d `</sub>ˆay
khˆong gian v ’oi c´ac ch ´<sub>ˆam v`a va.ch.</sub>
<i>¦</i> <sub>V´ı du. lˆe.nh</sub> ÃStart\dotfillÃFinishÃcho ta
7. D<sub>¯ i `</sub>ˆeu ch ’inh text 21
Left Right
D
¯ ’ˆe b ’e g˜ay h`ang ta d`ung c´ac lˆe.nh:
<i>\\</i>
<i>\\</i>[<i>space</i>]
<i>\\</i>*[<i>space</i>]
Bi ´<sub>ˆen t`uy cho.n</sub> <i>space</i>l`a ¯<sub>dˆo. d`ai ¯d˘a.c biˆe.t h´oa khˆong gian h`ang thˆem v`ao ¯d ’u ’o.c ¯d˘a.t gi˜’ua</sub>
c´ac h`ang. N ´ˆeu c `ˆan ph ’ai b ´˘at ¯d `<sub>ˆau mˆo.t trang m´’oi th`ı khˆong gian h`ang thˆem v`ao khˆong c`on</sub>
t´ac du.ng v`a mˆo.t trang m´’oi b´˘at ¯d `ˆau v´’oi h`ang k ´ˆe ti ´<sub>ˆep c ’ua text. Lˆe.nh</sub> <i>\\</i>*[<i>space</i>] ph`ong
ch ´<sub>ˆong mˆo.t trang m´’oi x ’ay ra gi˜’ua hai h`ang.</sub>
V´ı du. ¯d ´ˆoi v´’<sub>oi lˆe.nh</sub> Ã\\*[10cm]Ã <sub>th`ı h`ang hiˆe.n h`anh ¯d ’u ’o.c k ´</sub><sub>ˆet th´uc v`a mˆo.t khˆong</sub>
gian ¯d´’ung 10cm ¯<sub>d ’u ’o.c ch`en v`ao tr ’u´’oc h`ang k ´</sub>ˆe ti ´ˆep.
Lˆe.nh \newline d `¯ˆong nh ´ˆat v´’<sub>oi lˆe.nh</sub> <i>\\</i><sub>. Mˆo.t h`ang m´’oi ¯d ’u ’o.c b´˘at ¯d `</sub>ˆau m`a khˆong c´o
khˆong gian thˆem v`ao v`a b ’e g˜ay trang c´o th ’<sub>ˆe x ’ay ra ta.i ¯di ’ˆem ¯d´o.</sub>
Khˆong gian chu ’ˆan gi˜’ua c´ac ¯<sub>doa.n ¯di.nh b ’’oi ¯dˆo. d`ai c’ua</sub> \parskip}.N´o c´o th ’ˆe ¯<sub>d ’u ’o.c</sub>
thay ¯d ’<sub>ˆoi t`’u gi´a tri. m˘a.c ¯di.nh v´’oi lˆe.nh</sub> \setlenght
\setlenght{parskip}<i>{space}</i>
Ta c´o th ’ˆe ch`en khˆong gian ¯d´’ung v´’oi chi `ˆeu cao <i>space</i> gi˜’ua hai ¯<sub>doa.n b`˘ang c´ach d`ung</sub>
c´ac lˆe.nh:
<i>\</i>vspace<i>{space}</i>
<i>\</i>vspace*<i>{space}</i>
Lˆe.nh <i>\</i>vspace*<i>{space}</i> <sub>thˆem v`ao mˆo.t khˆong gian ¯d´’ung thˆa.m ch´ı khi mˆo.t trang m´’oi</sub>
xu ´<sub>ˆat hiˆe.n ho˘a.c khi lˆe.nh xu ´</sub><sub>ˆat hiˆe.n ’’o ¯d `</sub>ˆau trang m´’<sub>oi. Da.ng chu ’ˆan</sub> <i>\</i>vspace<i>{space}</i> ng˘an
ch˘a.n khˆong gian ¯d´’ung thˆem v`ao trong t`ınh hu ´ˆong n`ay.
Ngo`ai ra, ta c`on c´o c´ac lˆe.nh l`am t˘ang khˆong gi˜’ua c´ac ¯doa.n l`a:
\vskip, \smallskip, \medskip, \bigskip
22 Ch ’u ’ong 2. Tr`ınh b`ay Text
D
C´ac cˆong th´’uc to´an ¯<sub>d ’u ’o.c vi ´</sub>ˆet trong mode to´an. C´ac cˆong th´’uc ph ’ai ¯<sub>d ’u ’o.c ¯d˘a.t gi˜’ua</sub>
d ´<sub>ˆau $ v`a $ khi ’’o trong h`ang ho˘a.c gi˜’ua $$ v`a $$ n ´</sub>ˆeu ’’o mˆoi tr ’u`’ong to´an (xu ´ˆong h`ang v`a
¯
d˘a.t ’’o gi˜’ua). V´ı du.:
<i>•</i> $\lim_{n\to\infty}\frac{1}{n}=0$ cho ta lim<i>n→∞</i> <i><sub>n</sub></i>1 = 0
<i>ã</i> $$\lim_{n\to\infty}\frac{1}{n}=0$$ cho ta
lim
<i>n</i>
1
<i>n</i> = 0
.
<i>Ư</i> Trong mode toan, ta c´o th ’ˆe d`ung \( v`a \) <sub>thay cho $ v`a $; ho˘a.c d`ung</sub> \[ v`a \]
thay cho $$ v`a $$.
<i>¦</i> Trong cˆong th´’uc to´an, c´ac s ´ˆo v`a tˆen h`am ¯<sub>d ’u ’o.c d`ung font Roman ¯d´’ung, c`on c´ac</sub>
bi ´ˆen th`ı in nghiˆeng.
<i>¦</i>Cˆong th´’uc to´an trong h`ang mu ´ˆon ¯<sub>d ’u ’o.c in da.ng size l´’on ta d`ung lˆe.nh</sub>\displaystyle.
a) Ch˜’u th ’u`’ong
<i>α</i> <i>\</i>alpha <i>θ</i> <i>\</i>theta <i>o</i> <i>\</i>o <i>τ</i> <i>\</i>tau
<i>β</i> <i>\</i>beta <i>ϑ</i> <i>\</i>vartheta <i>π</i> <i>\</i>pi <i>υ</i> <i>\</i>upsilon
<i>γ</i> <i>\</i>gamma <i>ι</i> <i>\</i>iota <i>$</i> <i>\</i>varpi <i>φ</i> <i>\</i>phi
<i>δ</i> <i>\</i>delta <i>κ</i> <i>\</i>kappa <i>ρ</i> <i>\</i>rho <i>ϕ</i> <i>\</i>varphi
<i>²</i> <i>\</i>epsilon <i>λ</i> <i>\</i>lambda <i>%</i> <i>\</i>varrho <i>χ</i> <i>\</i>chi
<i>ε</i> <i>\</i>varepsilon <i>µ</i> <i>\</i>mu <i>σ</i> <i>\</i>sigma <i>ψ</i> <i>\</i>psi
<i>ζ</i> <i>\</i>zeta <i>ν</i> <i>\</i>nu <i>ς</i> <i>\</i>varsigma <i>ω</i> <i>\</i>omega
<i>η</i> <i>\</i>eta <i>ξ</i> <i>\</i>xi
24 Ch ’u ’ong 3. Cˆong th ´’uc to´an
b) Ch˜’u in
Γ <i>\</i>Gamma Λ <i>\</i>Lambda Σ <i>\</i>Sigma Ψ <i>\</i>Psi
∆ <i>\</i>Delta Ξ <i>\</i>Xi Υ <i>\</i>Upsilon Ω <i>\</i>Omega
Θ <i>\</i>Theta Π <i>\</i>Pi Φ <i>\</i>Phi
LaTeX c`on c´o mˆo.t s ´ˆo k´ı hiˆe.u c´o mˆo.t ´y ngh˜ia n`ao ¯d´o trong v˘an b ’an to´an ho.c.
<i>ℵ</i> \aleph <i>0</i> \prime <i>∀</i> \forall <i>\</i> \backslash
¯
<i>h</i> \hbar <i>∅</i> \emptyset <i>∃</i> \exixts <i>∞</i> \infty
<i>ı</i> \imath <i>∇</i> \nabla <i>¬</i> \neg <i>4</i> \triangle
<i></i> \jmath <i>√</i> \surd <i>[</i> \flat <i>♣</i> \clubsuit
<i>`</i> \ell <i>∂</i> \partial <i>\</i> \natural <i>♦</i> \diamondsuit
<i>℘</i> \wp <i>></i> \top <i>]</i> \sharp <i>♥</i> \heartsuit
<i><</i> \Re <i>⊥</i> \bot <i>k</i> \| <i>♠</i> \spadesuit
<i>=</i> \Im <i>6</i> \angle <i>0</i> \mho
V´ı du. <i>n→ ∞</i> <sub>ta.o nˆen b ’’oi</sub> n\to\infty.
<i>A,B,C,D,E,F,G,H,I,J,K,L,M,N,O,P,Q,R,S,T,U,V,X,Y,Z</i>
D
¯ ’ˆe vi ´ˆet c´ac ch˜’u font Calligraphic ta d`ung lˆe.nh Ã$\calÃ{word}$Ã , trong ¯d´o word
l`a ch˜u c `ˆan vi ´ˆet.
V´ı du. <i>A</i>: Ã{\calÃA}
Ta c´o th ’ˆe thi ´ˆet k ´<sub>ˆe k´ı hiˆe.u cho tˆa.p s ´</sub><sub>ˆo t ’u. nhiˆen, s ´</sub>ˆo nguyˆen, s ´ˆo h˜’uu t ’y, vˆo t ’y, s ´<sub>ˆo th ’u.c</sub>
v´a tˆa.p s ´ˆo ph´’uc nh ’u sau:
\newfont{\bb}{msbm10 scaled\magstep1}
\newcommand{\bN}{\mbox{\bb N}}
\newcommand{\bZ}{\mbox{\bb Z}}
\newcommand{\bQ}{\mbox{\bb Q}}
\newcommand{\bI}{\mbox{\bb I}}
\newcommand{\bR}{\mbox{\bb R}}
<i>•</i><sub>V´ı du.:</sub>
2. C´<sub>ac k´ı hi.ˆeu To´an ho.c</sub> 25
Hai ¯<sub>da.i l ’u ’o.ng to´an ho.c ¯d ’u ’o.c k ´</sub><sub>ˆet h ’o.p v´’oi mˆo.t ph´ep to´an ¯d ’u ’o.c go.i l`a ¯d ’u ’o.c n ´</sub><sub>ˆoi b ’’oi mˆo.t</sub>
ph´ep to´an nhi. phˆan. C´ac k´ı hiˆe.u c´o th ’ˆe cho c´ac ph´ep to´an nhi. phˆan l`a:
<i>±</i> \pm <i>∩</i> \cap <i>◦</i> \circ <i>°</i> \bigcirc
<i>∓</i> \mp <i>∪</i> \cup <i>•</i> \bullet <i>2</i> \Box
<i>ì</i> \times <i>]</i> \uplus <i>Ư</i> \diamond <i>3</i> \Diamond
<i>ữ</i> \div <i>u</i> \sqcap <i>Â</i> \lhd <i>4</i> \bigtriangleup
<i>Ã</i> \cdot <i>t</i> \sqcup <i>Ô</i> \rhd <i>5</i> \bigtriangledown
<i>∗</i> \ast <i>∨</i> \vee <i>£</i> \unlhd <i>/</i> \triangleleft
<i>?</i> \star <i></i> \wedge <i>Ơ</i> \unrhd <i>.</i> \triangleright
<i></i> \dagger <i>\</i> \setminus <i>đ</i> \oslash <i>⊕</i> \oplus
<i>‡</i> \ddagger <i>o</i> \wr <i>¯</i> \odot <i>ª</i> \ominus
<i>q</i> \amalg
Khi hai ¯<sub>da.i l ’u ’o.ng to´an ho.c ¯d ’u ’o.c so s´anh, ch´ung ¯d ’u ’o.c n ´</sub>ˆoi v´’oi nhau b ’’oi mˆo.t quan hˆe..
C´ac loa.i kh´ac nhau c’ua c´ac k´ı hiˆe.u quan hˆe. cho b ’’oi
<i>≤</i> \le \leq <i>≥</i> \ge \geq <i>6</i>= \neq <i>∼</i> \sim
<i>¿</i> \ll <i>À</i> \gg =<i>.</i> \doteq <i>'</i> \simeq
<i>⊂</i> \subset <i>⊃</i> \supset <i>≈</i> \approx <i>³</i> \asymp
<i>⊆</i> \subseteq <i>⊇</i> \supseteq <i>∼</i>= \cong <i>^</i> \smile
<i><</i> \sqsubset <i>=</i> \sqsupset <i>≡</i> \equiv <i>_</i> \frown
<i>v</i> \sqsubseteq <i>w</i> \sqsupseteq <i>∝</i> \propto <i>./</i> \bowtie
<i>∈</i> \in <i>3</i> \ni <i>≺</i> \prec <i>Â</i> \succ
<i>`</i> \vdash <i>a</i> \dashv <i>¹</i> \preceq <i>º</i> \succeq
<i>|</i>= \models <i>⊥</i> \perp <i>k</i> \parallel \| <i>|</i> \mid |
<i>←</i> \leftarrow \gets <i>←−</i> \longleftarrow <i>↑</i> \uparrow
<i>⇐</i> \Leftarrow <i>⇐</i>= \Longleftarrow <i>⇑</i> \Uparrow
<i>→</i> \rightarrow <i>−→</i> \longrightarrow <i>↓</i> \downarrow
<i>⇒</i> \Rightarrow =<i>⇒</i> \Longrightarrow <i>⇓</i> \Downarrow
<i>↔</i> \leftrightarrow <i>←→</i> \longleftrightarrow <i>l</i> \updownarrow
<i>⇔</i> \Leftrightarrow <i>⇐⇒</i> \Longleftrightarrow <i>m</i> \Updownarrow
<i>7→</i> \mapsto <i>7−→</i> \longmapsto <i>%</i> \nearrow
<i>←-</i> \hookleftarrow <i>,→</i> \hookrightarrow <i>&</i> \searrow
<i>(</i> \leftharpoonup <i>*</i> \rightharpoonup <i>.</i> \swarrow
<i>)</i> \leftharpoondown <i>+</i> \rightharpoondown <i>-</i> \nwarrow
<i>*</i>
26 Ch ’u ’ong 3. Cˆong th ´’uc to´an
C´ac lˆe.nh liˆen quan ¯d´ˆen d ´ˆau ch ´ˆam trong mˆoi tr ’u`’ong to´an.
<i>\</i>ldots <i>. . .</i> <i>c´ac d ´ˆau ch ´ˆam th ´ˆap</i>.
<i>\</i>cdots <i>· · ·</i> <i>c´ac d ´ˆau ch ´ˆam gi˜’ua h`ang</i>.
<i>\</i>vdots ... <i>c´ac d ´ˆau ch ´ˆam th ’˘ang ¯d´’ung</i>.
<i>\</i>ddots . .. <i>c´ac d ´ˆau ch ´ˆam ¯d u`ong cheo</i>.
<i>ã</i><sub>V du.</sub>
<i>Ư</i> <i>x</i>1+<i>x</i>2+<i>. . .</i>+<i>xn</i> sinh b oi le.nh $x_1+x_2+\dots+x_n$.
ˆ
<i>a</i> \hat{a} ˘<i>a</i> \breve{a} <i>a</i>` \grave{a} ¯<i>a</i> \bar{a}
˙
<i>a</i> \dot{a} ˇ<i>a</i> \check{a} <i>a</i>´ \acute{a} <i>a</i> \tilde{a}
<i>~a</i> \vec{a} ă<i>a</i> \ddot{a}
Cac h`am trong LaTeX cho b ’’oi c´ac lˆe.nh:
\arccos \cos \csc \exp \ker \limsup \min \sinh
\arcsin \cosh \deg \gcd \lg \ln \Pr \sup
\arctan \cot \det \hom \lim \log \sec \tan
\arg \coth \dim \inf \liminf \max \sin \tanh
<i>x</i>2 <sub>:</sub> <sub>x^2</sub> <i><sub>x</sub></i>2<i>n</i><sub>:</sub> <sub>x^{2n}</sub> <i><sub>a</sub>xy</i>
: a^{x^y}
<i>ai</i> : a_i <i>xmn</i> : x_{mn} <i>xij</i> : x_{i_j}
<i>Cm</i>
<i>n</i>: C^m_n
Ta c´o c´ac lˆe.nh cho m˜u: <i>\</i>hat, <i>\</i>widehat, <i>\</i>tilde, <i>\</i>widetilde.
<i>¦</i><sub>V´ı du.:</sub>
<i>\</i>hat<i>{</i>A<i>}</i> cho ta ˆ<i>A.</i>
4. C´ac ph `ˆan t ’’u ch´ınh c ’ua mode to´an 27
<i>\</i>widetilde<i>{</i>xyz<i>}</i> cho ta <i>xyz.</i>g
C´u ph´ap: <i>\</i>vec<i>{obj}</i> , trong ¯d´o<i>obj</i> l`a ¯<sub>dˆo.i t ’u ’o.ng c’ua vector.</sub>
<i>¦</i> <sub>V´ı du.:</sub>
<i>\</i>veci cho ta <i>~i.</i>
<i>\</i>vec<i>{</i>AB<i>}</i> cho ta <i>AB~</i> .
D`ung lˆe.nh \frac{tu}{mau}, trong ¯d´otu l`a t ’’u s ´ˆo v`a mau l`a m ˜ˆau s ´ˆo.
<i>a</i>+<i>b</i>
<i>c</i>+<i>d</i>: \frac{a+b}{c+d}
1+<i>x</i>2 + <sub>1+</sub>1<i><sub>y</sub></i>2
1 + <i>x−y</i>
<i>x</i>+<i>y</i>
: \frac{\frac{1}{1+x^2}+\frac{1}{1+y^2}}{1+\frac{x-y}{x+y}}
<i>a</i>0+
1
<i>a</i>1+ <i><sub>a</sub></i><sub>2</sub><sub>+</sub>1 1
<i>a</i>3+<i>a</i>14
:
\displaystyle a_0+\frac{1}{a_1+\frac{1}{a_2+
\frac{1}{a_3+\frac{1}{a_4}}}}
D`ung lˆe.nh \sqrt[n]{arg}, trong ¯d´o n l`a ch ’i s ´ˆo c˘an v`a argl`a bi ’ˆeu th´’uc d ’u´’oi d ´ˆau
c˘an. Ch´u ´y khi vi ´<sub>ˆet c˘an bˆa.c hai ta d`ung lˆe.nh</sub> \sqrt{arg}.
r
2 +
q
2 +<i>. . .</i>+<i>√</i>2: Ã\sqrt{2+\sqrt{2+\dots+\sqrt{2}}}Ã
3
q
<i>xn</i>
1+<i>y</i>2<i>n</i>: Ã\sqrt[3]{\frac{x^n}{1+y^{2n}}}Ã
lim<i>x→</i>0sin<i>x</i> : Ã\lim_{x\toÃ0}Ã\sinÃxÃ
lim
<i>x→</i>0
<i>y→</i>0
<i>xy</i>
1 +<i>x</i>2<sub>+</sub><i><sub>y</sub></i>2 : Ã\lim_{x\toÃ0\atopÃy\toÃ0}\frac{xy}{1+x^2+y^2}Ã
<i>∩n</i>
<i>i</i>=1<i>Ai</i> : Ã\cap_{i=1}^nÃA_i$Ã
<i>n</i>
\
<i>i</i>=1
<i>Ai</i> : Ã\bigcap_{i=1}^nÃA_iÃ
<i>∪n</i>
<i>i</i>=1<i>Xi</i> : Ã\cup_{i=1}^nÃX_i$Ã
<i>n</i>
[
<i>i</i>=1
28 Ch ’u ’ong 3. Cˆong th ´’uc to´an
Q<i><sub>n</sub></i>
<i>i</i>=1<i>Yi</i>: Ã\prod_{i=1}^nÃY_iÃ
<i>n</i>
Y
<i>i</i>=1
<i>Yi</i>: Ã\displaystyleÃ\prod_{i=1}^nÃY_iÃ
D`ung lˆe.nh \sum_{i=1}^n <i>bieuthuc</i>.
P<i><sub>n</sub></i>
<i>i</i>=1<i>x</i>2<i>i</i>: Ã\sum_{i=1}^nx_i^2$Ã
<i>n</i>
X
<i>i</i>=1
<i>x</i>2<i><sub>i</sub></i>: Ã\displaystyleÃ\sum_{i=1}^nx_i^2$Ã
D`ung lˆe.nh \int cho t´ıch phˆan b ´ˆat ¯<sub>di.nh,</sub> \int_a^b cho t´ıch phˆan x´ac ¯<sub>di.nh trˆen</sub>
[a, b] v`a \oint}cho t´ıch phˆan ¯d ’u`’ong.
R <sub>sin</sub><i><sub>x</sub></i>
1+cos<i>xdx:</i> Ã\frac{\sinÃx}{1+\cosÃx}dxÃ
Z <i><sub>π</sub></i>
0
sin<i>x</i>
1 + cos2<i><sub>x</sub>dx:</i> Ã\int_0^{\pi}\frac{\sinÃx}{1+\cos^2x}dxÃ
I <i><sub>∞</sub></i>
0 (t
2<sub>+ 1)dt:</sub> <sub>\oint_0^{\infty}(t^2+1)dt</sub><sub>.</sub>
LaTeX khˆong c´o lˆe.nh cho t´ıch phˆan bˆo.i. Ta c´o th ’ˆe thi ´ˆet k ´<sub>ˆe lˆe.nh cho t´ıch phˆan hai</sub>
l´’op v`a ba l´’op nh ’u sau:
T´ıch phˆan hai l´’op:
\newcommand{\dint}[1]{{\int\!\!\! \int\limits_{\hspace{-8pt}\cal #1}\,}}
V´ı du. RR
<i>D</i>
(x2 <sub>+</sub><i><sub>y</sub></i>2<sub>)dxdy:</sub> <sub>\dint{D}(x^2+y^2)dxdy</sub>
* T´ıch phˆan ba l´’op:
Ã\newcommand{\tint}[1]{{\intÃ\!\!\!Ã\intÃ\limits_{\calÃ#1}Ã\!\!\!Ã\intÃ\,}}Ã
V´ı du. RR
<i>V</i>
R <sub>1</sub>
1<i>−x−y−zdxdydz:</i> \tint{V}{\frac{1}{1-x-y-z}dxdydz}
³
1
<i>x</i>2 + 1
´<i><sub>n</sub></i>
: Ã\left(Ã\frac{1}{x^2}+1Ã\right)^nÃ
h
<i>x</i>4
2 +
1
2
i<sub>1</sub>
6. ÃL.ˆenh atop v`a choose 29
a) Da.ng m ’ang
<i>signx</i>=
<i>−</i>1 khi <i>x <</i>0
0 khi <i>x</i>= 0
1 khi <i>x ></i>0
sign x=\left\{
\begin{array}{ccc}
-1 & \mbox{khi} & x<0\\
0 & \mbox{khi} & x = 0\\
1 & \mbox{khi} & x>0
\end{array}
\right.
Lˆe.nh <i>\</i>atop v`a <i>\</i>choose <sub>ta.o ra mˆo.t c ´</sub>ˆau tr´uc gi ´<sub>ˆong nh ’u mˆo.t th ’u ’ong nh ’ung khˆong</sub>
c´o l`<sub>˘an ga.ch ngang. D</sub><sub>¯ ´</sub>ˆoi v´’<sub>oi lˆe.nh</sub> <i>\</i>choose th`ı c ´ˆau tr´uc ¯<sub>d ’u ’o.c ¯d˘a.t trong d ´ˆau ngo˘a.c ¯d ’on l´’on</sub>
(trong to´an ho.c c ´ˆau tr´uc n`ay ¯<sub>d ’u ’o.c go.i l`a hˆe. s ´</sub><sub>ˆo nhi. th´’uc).</sub>
C´u ph´ap:
<i>{</i> <i>top</i> <i>\</i>atop <i>bottom</i> <i>}</i>
$\displaystyle \lim_{x\to 0 \atop y\to 0}\frac{xy}{\sqrt{x^2+y^2}}\$
cho ta lim
<i>x→</i>0
<i>y→</i>0
<i>xy</i>
<i>√</i>
<i>x</i>2<sub>+</sub><i><sub>y</sub></i>2.
<i>¦</i> <sub>V´ı du. lˆe.nh</sub>
${n+1\choose k}= {n \choose k} + {n \choose k-1}$
cho ta ³<i>n</i>+1<i><sub>k</sub></i> ´=³<i><sub>k</sub>n</i>´+³<i><sub>k</sub><sub>−</sub>n</i><sub>1</sub>´
Z <i><sub>b</sub></i>
<i>a</i> <i>f</i>(x)dx= lim<i>n→∞</i>
<i>n</i>
X
<i>i</i>=1
<i>f</i>(ξ<i>i</i>)<i>4xi</i>
\fbox{$\displaystyle\int_a^b f(x)dx
30 Ch ’u ’ong 3. Cˆong th ´’uc to´an
Ta d`ung lˆe.nh \mbox{text}.
V´ı du. <i>A</i>=<i>{x∈X</i> :<i>x</i>Ãl`a ph `ˆan t ’’u b ´ˆat kh ’a quy<i>}</i>
Ã$A=\{x\inÃX:Ãx\;Ã\mbox{\l\af\Ãph\aafÃnÃt\uwr\Ãb\aasÃtÃkh\ar\Ãquy}\}$Ã
D`ung lˆe.nh: Ã\stackrel{upper_sym}{lower_sym}Ã
<i>•</i> <i>~xdef</i>= (x1<i>, x</i>2<i>, . . . , xn</i>): Ã\vec{x}\stackrel{def}{=}(x_1,x_2,\dots,x_n)Ã
<i>•</i> <i>X</i> <i>−→f</i> <i>Y</i>: ÃX\stackrel{f}{\longrightarrow}YÃ
D`ung lˆe.nh: \overline{}, underline{}, \overbrace{}, underbrace{}
<i>•</i> <i>x</i>2<sub>+</sub><i><sub>xy:</sub></i> <sub>$\overline{\overline{x}^2+xy}$</sub>
<i>α</i>
z }| {
<i>x</i>1 +<i>x</i>2+<i>. . .</i>+<i>xn</i>
| {z }
<i>n</i>
:
$\underbrace{\overbrace{x_1+x_2}^{\alpha}+\dots+x_n}_n$
<i>a</i>11 <i>a</i>12 <i>. . . a</i>1<i>n</i>
<i>a</i>21 <i>a</i>22 <i>. . . a</i>2<i>n</i>
<i>. . .</i> <i>. . . .</i> <i>. . .</i>
<i>am</i>1 <i>am</i>2 <i>. . . amn</i>
$\left(
\begin{array}{cccc}
a_{11} & a_{12} & \dots & a_{1n}\\
a_{21} & a_{22} & \dots & a_{2n}\\
\dots & \dots & \dots & \dots \\
a_{m1} & a_{m2} & \dots & a_{mn}
\end{array}
12. Ph ’u ’ong tr`ınh 31
¯
¯
¯
¯
¯
¯
¯
1 0 0
¯
¯
¯
¯
¯
¯
¯
$\left|
\begin{array}{ccc}
1 & 0 & 0\\
0 & 1 & 0\\
0 & 0 & 1
\end{array}
\right|$
<i>a</i>11<i>x</i>1+<i>a</i>12<i>x</i>2+<i>. . .</i>+<i>a</i>1<i>nxn</i> = <i>b</i>1
<i>a</i>21<i>x</i>1+<i>a</i>22<i>x</i>2+<i>. . .</i>+<i>a</i>2<i>nxn</i> = <i>b</i>2
. . . .
<i>am</i>1<i>x</i>1+<i>am</i>2<i>x</i>2+<i>. . .</i>+<i>amnxn</i> = <i>bm</i>
$\begin{array}{ccc}
a_{11}x_1+a_{12}x_2+\dots+a_{1n}x_n & = & b_1\\
a_{21}x_1+a_{22}x_2+\dots+a_{2n}x_n & = & b_2\\
a_{m1}x_1+a_{m2}x_2+\dots+a_{mn}x_n & = & b_m
\end{array}$
D`ung mˆoi tr ’u`’ong equation:
\begin{equation}
...
\end{equation}
V´ı du.:
(1 +<i>x)n</i><sub>=</sub>X<i>n</i>
<i>k</i>=1
<i>Ck</i>
<i>nxk</i> (3.1)
\begin{equation}
(1+x)^n=\sum_{k=1}^nC^k_nx^k
\end{equation}
32 Ch ’u ’ong 3. Cˆong th ´’uc to´an
\begin{eqnarray}
line1 \\
line2 \\
.... \\
line n
\end{eqnarray}
M ˜ˆoiline <sub>c´o da.ng:</sub> <i>Bi ’ˆeu th´’uc 1</i> & = &<i>Bi ’ˆeu th´’uc 2</i>.
M ˜ˆoi h`ang s˜e ¯<sub>d ’u ’o.c ¯d´anh s ´</sub>ˆo. N ´ˆeu mu ´<sub>ˆon mˆo.t h`ang n`ao ¯d´o khˆong ¯d ’u ’o.c ¯d´anh s ´</sub>ˆo ta d`ung
lˆe.nh <i>\</i>nonumber<sub>d˘a.t tr ’u´’oc lˆe.nh xu ´</sub>¯ ˆong h`ang <i>\\</i>.
V´ı du.
(x+<i>y)(x−y) =</i> <i>x</i>2<i><sub>−</sub><sub>xy</sub></i><sub>+</sub><i><sub>xy</sub><sub>−</sub><sub>y</sub></i>2 <sub>(3.2)</sub>
= <i>x</i>2<sub>+ (xy</sub><i><sub>−</sub><sub>xy)</sub><sub>−</sub><sub>y</sub></i>2
= <i>x</i>2<i><sub>−</sub><sub>y</sub></i>2 <sub>(3.3)</sub>
¯
d ’u ’o.c cho b’’oi c´ac lˆe.nh
\begin{eqnarray}
(x+y)(x-y) & = & x^2-xy+xy-y^2 \\
& = & x^2+(xy-xy)-y^2 \nonumber \\
& = & x^2 - y^2
\end{eqnarray}
<i>•</i>Mˆoi tr ’u`’ongeqnarray*: gi ´ˆong nh ’u mˆoi tr ’u`’ong eqnarray nh ’ung m ˜ˆoi ph ’u ’ong tr`ınh khˆong
¯
d ’u ’o.c ¯d´anh s ´ˆo.
Khˆong gian tr ´ˆong c´o th ’ˆe ¯<sub>d ’u ’o.c ch`en v`ao mode to´an v´’oi c´ac lˆe.nh sau:</sub>
\, khˆong gian nh ’o <i>| |</i>
\: khˆong gian trung b`ınh <i>| |</i>
\; khˆong gian l´’on <i>| |</i>
\quad khˆong gian l´’on h ’on <i>| |</i>
13. D<sub>¯ i `</sub>ˆeu ch ’inh trong mode to´an 33
Mu ´ˆon ¯d ’ˆoi size trong cˆong th´’uc trong h`ang l´’on h ’on ta d`ung lˆe.nh \displaystyle.
<i>n</i>=1<i>un</i> c´o th ’ˆe ¯d ’ˆoi th`anh
<i>∞</i>
X
<i>n</i>=1
<i>un</i> ta d`ung lˆe.nh
D
¯ ’ˆe s ’’u du.ng style <i>psfig</i> ta ph ’ai go.i style n`ay b ’’oi lˆe.nh <i>\</i>input psfig.sty. File
psfig.sty <sub>d ’u ’o.c ch´ep v`ao th ’u mu.c c’ua file tex ¯dang soa.n. Ta save h`ınh c `</sub>¯ ˆan ch`en
v`ao c´o tˆen da.ng *.ps<sub>ho˘a.c</sub> *.eps.
C´u ph´ap
<i>\</i>psfig<i>{</i>figure=filename.eps,height=<i>chieu cao</i>, width=<i>chieu rong</i>, angle=<i>gocquay}</i>
V´ı du. lˆe.nh <i>\</i>psfig<i>{</i>figure=matmuc02.eps,height=2in,width=3in,angle=-90<i>}</i>
cho ta h`ınh
0
0.2
0.4
0.6
0.8
1
z
-1
-0.5
0.5
1
y
-1
-0.5
0.5
1
x
D
¯ˆe d`ung lˆe.nh’ <i>\</i>epsfbox ta ph ’ai khai b´ao style epsf v`ao cho t`uy cho.n trong h`ang
<i>\</i>documentstyle <sub>ho˘a.c</sub> <i>\</i>documentclass<sub>. V´ı du.</sub>
<i>\</i>documentstyle[12pt,epsf]<i>{</i>book<i>}</i>.
<i>¦</i> C´u ph´ap:
<i>\</i>epsfbox<i>{</i>hinh.eps<i>}</i>
36 Ch ’u ’ong 4. H`ınh ’anh
<i>\</i>epsfysize=<i>y lenght</i>: chi `ˆeu cao c ’ua h`ınh.
<i>•</i> <sub>V´ı du. h`ınh c´o tˆen matmuc02.eps ¯d ’u ’o.c ¯d ’ua v`ao v˘an b ’an b’’oi c´ac lˆe.nh sau:</sub>
\begin{center}
\epsfbox{matmuc02.eps}
\epsfxsize=3in
\epsfysize=3in
\end{center}
–1
–0.5
0
0.5
1
y
–1 –0.5 0 0.5 1
Ta c´o th ’ˆe canh l `ˆe, ¯d ’ˆoi chi `ˆeu d`ai v`a chi `<sub>ˆeu rˆo.ng c’ua trang la.i theo ´y mu ´</sub>ˆon c ’ua m`ınh theo
c´ac lˆe.nh ¯di.nh da.ng trang. V´ı du.
\parindent 20pt
\textwidth 6.1in
\textheight 9.4in
\oddsidemargin 0.3in
\evensidemargin -0.3in
\topmargin -0.4in
¯ˆe thay ¯’ d ’ˆoi s ´ˆo ch ’u ’ong ho˘a.c s ´ˆo trang ta d`ung c´ac lˆe.nh:
<i>\</i>setcounter<i>{</i>chapter<i>}{chapter before}</i>
<i>\</i>setcounter<i>{</i>page<i>}{new page}</i>
trong ¯d´o <i>chapter before</i> l`a s ´ˆo c ’ua ch ’u ’ong tr ’u´’oc, c`on <i>new page</i> l`a s ´ˆo c ’ua trang c `ˆan ¯d´anh
s ´<sub>ˆo la.i.</sub>
<i>•</i> <sub>V´ı du.</sub>
<i>\</i>setcounter<i>{</i>chapter<i>}{</i>1<i>}</i><sub>: ch ’u ’ong hiˆe.n h`anh c `</sub>ˆan ¯d´anh s ´ˆo s˜e l`a ch ’u ’ong 2.
Lˆe.nh m´’oi ¯d ’u ’o.c ¯di.nh ngh˜ia hoa.c ¯di.nh ngh˜ia la.i b’’oi c´ac lˆe.nh sau:
<i>\</i>newcommand<i>{com name}</i>[<i>narg</i>]<i>{definition}</i>
38 Ch ’u ’ong 5. T ´<i><sub>ˆoi ’uu cho ng ’u`’oi s ’’u du.ng</sub></i>
<i>\</i>renewcommand<i>{com name}</i>[<i>narg</i>]<i>{definition}</i>
trong ¯d´o
<i>¦</i> <i>com name</i> <sub>l`a tˆen lˆe.nh m´’oi ch ’ua ¯d ’u ’o.c ¯d˘a.t tˆen.</sub>
<i>¦</i> <i>narg</i> l`a s ´ˆo gi˜’ua 1 ¯d ´ˆen 9 ¯<sub>d˘a.c biˆe.t h´oa s ´</sub>ˆo bi ´<sub>ˆen c ’ua lˆe.nh m´’oi.</sub>
<i>¦</i> <i>definition</i> l`a ¯<sub>di.nh ngh˜ia cho lˆe.nh m´’oi.</sub>
<i>•</i><sub>V´ı du. lˆe.nh t´ınh t´ıch phˆan x´ac ¯di.nh.</sub>
\newcommand{\sint}[2]{\int \limits_{\hspace{-4pt}#1}^{#2}}
V´’oi lˆe.nh n`ay, khi vi ´ˆet <i>\</i>int a^ b f(x)dx intta ¯<sub>d ’u ’o.c</sub> R<i><sub>a</sub>bf(x)dx</i>
<i>•</i> V´’<sub>oi lˆe.nh</sub> <i>\</i>newcommand ta c´o th ’ˆe ¯d ’<sub>ˆoi la.i tˆen lˆe.nh cho ng´˘an h ’on ¯d ’ˆe ¯d´anh cho nhanh</sub>
(gi ´ˆong nh ’u ph´ım t´<sub>˘at trong Microsoft Word). V´ı du. ta s ’’ua lˆe.nh</sub><i>\</i>backslash <sub>th`anh lˆe.nh</sub>
<i>\</i>bhs<sub>theo lˆe.nh sau:</sub> \newcommand{\bsh}{\backslash}.
<i>•</i> <sub>V´ı du. ta mu ´</sub><sub>ˆon ta.o ra lˆe.nh l`am viˆe.c cho ¯da.o h`am riˆeng:</sub>
Ã\newcommand{\dhr}[2]{\frac{\partialÃ{\#1}}{\partial{\#2}}}
Lˆe.nh \$\dhr{f}{x}\$ cho ta <i>∂f</i>
<i>∂x</i>.
<i>•</i> <sub>V´ı du. ta mu ´</sub><sub>ˆon Viˆe.t h´oa mˆoi tr ’u`’ong ¯di.nh l´y ta l`am theo c´ac b ’u´’oc sau:</sub>
B ’u´’oc 1: <sub>¯ ’</sub>D<sub>ˆoi tˆen lˆe.nh</sub> <i>\</i>theorem th`anh<i>\</i>dl <sub>b ’’oi lˆe.nh</sub>
\newcommand{\dl}{\theorem}
B ’u´’oc 2: S ’’ua ch˜’u Theorem<sub>d ’u ’o.c in ra th`anh</sub>¯ <i>•</i><sub>¯ i.nh l´</sub>D y
<i>\</i>newtheorem<i>{</i>theorem<i>}{</i>$ <i>\</i>Delta$ D<sub>¯i.nh l´y</sub><i>}</i>
Mˆoi tr ’u`’ong c´o th ’ˆe ¯<sub>d ’u ’o.c ta.o ra ho˘a.c thay ¯d ’ˆoi v´’oi c´ac lˆe.nh:</sub>
<i>\</i>newenvironment<i>{env name}</i>[<i>narg</i>]<i>{beg def}{end def}</i>
ho˘a.c
<i>\</i>renewenvironment<i>{env name}</i>[<i>narg</i>]<i>{beg def}{end def}</i>
trong ¯d´o
<i>¦</i> <i>env name</i> l`a tˆen c ’ua mˆoi tr ’u`’ong
5. S ’’<sub>ua la.i file book.cls</sub> 39
<i>•</i> <sub>V´ı du.:</sub> <sub>¯ ’</sub>D<sub>ˆe ta.o ra mˆoi tr ’u`’ong</sub><sub>¯ i.nh ngh˜</sub>D ia b`˘ang ti ´<sub>ˆeng Viˆe.t ta l`am nh ’u sau:</sub>
B ’u´’oc 1: <sub>Ta.o ra lˆe.nh</sub><i>\</i>dn v´’oi tiˆeu ¯d `ˆe<sub>¯ i.nh ngh˜</sub>D ia.
<i>\</i>newtheoremdn<i>{</i><sub>¯ i.nh ngh˜</sub>D ia<i>}</i>[chapter]
B ’u´’oc 2: Mˆo t ’a mˆoi tr ’u`’ong D<sub>¯ i.nh ngh˜</sub>ia
<i>\</i>newenvironment<i>{</i>dinhnghia<i>}{\</i>begin<i>{</i>dn<i>}}{</i> $<i>\</i>Box$<i>\</i>nolinebreak<i>\</i>end<i>{</i>dn<i>}</i>