Professional Documents
Culture Documents
.
e-mail: meleoui@gmail.com
-. 31983
2010
09-11-2010
1.2
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
3.2
2.2.2 . . . . . . . . . . . . . . . XEcibarA
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . article
5.2
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . book
2.2
4.2
. . . . . . . . . . . . . . . . . . . . . . . . XEcibarA
1.2.2 . . . . . . . . . . . . . . . . . . XEcibarA
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . report
Mathematical Equations
1.3
2.3
2
3
3
4
4
10
11 . . . . . . . . . . . . . Mathematical Environments
12 . . . . . . . . . . . . . . . . . . . .
1.2.3
12
3.2.3
. . . . . . . . . . . . . . . . . . . . . . Fractions
13
5.2.3
7.2.3
. . . . . . . . . . . Mathematical Symbols
9.2.3
. . . . . . . . . . . . . . . Function names
2.2.3
4.2.3
6.2.3
8.2.3
12
13
14
. . . . . . . . . . . Continuous dotsellipsis
15
. . . . . . . . . . . . . Calligraphic letters
16
15
16
17
18
macros
20
Bibliography
22
LATEX
23
24
7 Conclusion
1
LATEX
IEEE Journal of Physics A Journal of Applied physics
springer.
LATEX Leslie Lamport 1985 TEX
Donald E.Knuth 1978
. LATEX .TEX
.
Klaus Lagally
ArabTeX .
XELATEX UTF8
.LATEX
(XEcibarA) XeArabic
XELATEX
.XELATEX
1
LATEX
XEcibarA
.
.html pages )
350( XELATEX .XeArabic
1 2
. XEcibarA
3 4 macros .
5 6
.
1 XELATEX .XEcibarA
LATEX .
.
25 . "
!" .
. fonts
.
} \section{...
} \subsection{...
""
.
.
: ) (
"" .notepad .
: .
.
:
.1 ) ( UTF-8 .
.
.2 )
(.
.
1
2
1.2
) ( .[3 ,2 ,1]
} {][\documentclass
}\begin{document
. . .
}\end{document
" \" .
} {][\documentclass
] [ )
(... } { .
...
) ( .
. .
" "article chapters
}\begin{document
}\end{document
) (\begin... \end
} { .
} \begin{equation } \end{equation
} \begin{enumerate } \end{enumerate
... .
} \end{document
2
% :
2.2
1.2.2
}\begin{document
XEcibarA
XEcibarA
XELATEX
.
.
XEcibarA
}\usepackage{xearabic
}\settextfont[Scale=1]{Traditional Arabic
}\setlatintextfont[Scale=1]{Times New Roman
} .begin{document
xearabic
.
) ( .
} \usepackage{...
.
} \lr{LaTeX is nice
nice" is "LaTeX
} \rl{...
.
LTR .
3
2.2.2
XEcibarA
bidi .2 xearabic 3 MikeTeX2.8
) :(MikeTeX2.8
3.2
article
XELATEX XEcibarA
! . :
}\documentclass[12pt, a4paper, leqno, titlepage]{article
] [ :
10pt : 11pt 12pt
) 12pt (.
letterpaper, a4paper, :
.a5paper, b5paper, legalpaper, executivepaper
) leqno :( .
.
titlepage
onecolumn twocolumn
...
2 bidi xearabic :
.https://sites.google.com/site/xearabic/
3 MikeTeX2.8 http://miktex.org/ :
}\documentclass[a4paper]{article
% LOAD THE XEARABIC PACKAGE HERE:
\usepackage{xearabic} \settextfont[Scale=1]{Traditional
Arabic} % the arabic font
\setlatintextfont[Scale=1]{Times New Roman} % the latin
font
\begin{document}...................................
}............................... {\author
}.................................. {\title
\date{\today} ...................................
\maketitle .....................
\tableofcontents......
\begin{abstract}......................................
\. . . LaTeX
\end{abstract}..........................................
} ............................... \\section{LaTeX
}........................... \\section{LaTeX
}................... {\subsection
$f(x) = x2 -3x3
. . .+2x5$
{\subsection
}
} {\subsection
}{\section
\end{document}.......................................
:
xelatex article1.tex
) 1 (29
:
5
. } 28 \date{2010
} \date{\today . . .
:\maketitle ) (
\tableofcontents .
) \newpage
(.
:\section } {
:\subsection } {
$f(x)= ....$
) f (x) = x2 + 5 sin(x
} {\footnote
) :(3
)2
sin x
2 cos2 x
(
= )f (x
:
]\
f(x)=\left(\frac{\sin x}{2 - \cos2 x}\right)2
[\
) ( :
}\begin{equation
f(x)=\left(\frac{\sin x}{2 - \cos2 x}\right)2
}\end{equation
4 ...
:
)2
sin x
2 cos2 x
(
)(1
= )f (x
) (1
myeq } \ref{myeq
. \label
}\begin{equation
}\label{myeq
f(x)=\left(\frac{\sin x}{2 - \cos2 x}\right)2
}\end{equation
\label
\ref .
:
} \label{sec-article ) (3.2
\ref{sec-article} .
4.2
report
:
}\documentclass[12pt, a4paper, leqno, titlepage]{report
] [ ) .(3.2
}\documentclass[a4paper]{report
}\begin{document
} {\author
} \title{GMR
\date{25
} 2010
\maketitle
\tableofcontents
}\begin{abstract
"
7
".
... $%\17$
}\end{abstract
} {\chapter
} {\section
{\section
}
} {\section
....
} {\chapter
} {\section
} {\section
} {\subsection
\subsection{Exchange Interaction
}
. . .
} {\section
% . . .
} {\chapter
{\section
}
} {\section
}{\section
}\end{document
xelatex report1.tex
2 3 ) 4 30 (
) chapter1.tex (...chapter2.tex
include ) (
. chapter1.tex
:
: %
} {\chapter
} {\section
. . . .
{\section
}
8
. . . .
} {\section
. . . .
:
}\documentclass[a4paper]{report
}\begin{document
} {\author
} \title{GMR
\date{25
} 2010
\maketitle
\tableofcontents
}\begin{abstract
"
".
... $%\17$
}\end{abstract
}\include{chapter1
}\include{chapter2
}\include{chapter3
. . . .
}\end{document
5.2
book
:
}\documentclass[12pt, a4paper, leqno, titlepage]{book
] [ ) .(3.2
}\documentclass[a4paper]{book
}\begin{document
9
} . {\author
}{\title
} 23 \date{2006
\maketitle
\tableofcontents
}{\chapter
--------------------------%
) ( %
} {\part
} {\chpater
} {\section
} {\subsection
} {\subsection
} {\section
. . .
} {\chapter
. . .
--------------------------%
%
} {\part
} {\chpater
. . .
. . .
}\end{document
xelatex book1.tex
.4.2
Mathematical Equations
.AMSLaTeX
1.3
Mathematical Environments
(a + b)2 = a2 + 2ab + b2
) wi exi f (xi
f (x)dx
i=1
\begin{math} formula-text
}\end{math
$formula-text$
)\ \( formula-text
formula-text )
xi .(... x2
:
}\begin{displaymath} formula-text \end{displaymath
}\begin{equation} formula-text \end{equation
displaymath :
$$ formula-text $$
]\ \[ formula-text
- - .
fleqn \documentclass
}\setlength{mathindent}{1.5 cm
. leqno
.\documentclass
:
11
2.3
1.2.3
Constants and Variables
.=, , + $z=2a+3y$
$ z = 2 a + 3 y$ .z = 2a + 3y
:
)
] [
>
<
}{ {\ }\ :
M (s) < M (t) < |M | = m $M(s) < M(t) < |M| = m$
y = c{f [y , y(x)] + g(x)} $y = c\{\f[y , y(x)] + g(x)\}$
\ .\backslash
2.2.3
) ( ) (
. ) (underscore
:
a ij
b k aji
z2 bk
z2
) ( }{:
}A {i, j, k}{n!2
n!2
x {2n 1} Ai,j,k
12
x2n1
}z{2n
z 2n
...
}}A {x i2}{j{2n} {n, m
x2
i
Ajn,m
2n
}y{x2
yx
.
3.2.3
Fractions
/ $(a+b)/2$
.(a + b)/2 :
}\frac{numerator}{denominator
:
1
x+y
]\ }\[ \frac{1}{x+y
]\ \[ \frac{a2-b2}{a+b}=a-b
a2 b2
=ab
a+b
:
b
x+y
ab
a+b
a
xy
:
[\
} }\frac { \frac{a}{x-y} + \frac{b}{x+y
} }{ 2 -\frac{a-b}{a+b
]\
4.2.3 roots
:
}\sqrt[n]{arg
13
$\sqrt[3]{8}=2$ . 3 8 = 2 n
: $\sqrt{x}$ . x
arg .
||x + y :
1 + u2n
xn
yn
...
x + x2 + y 3 + xy
:
]\ }}}\[ \sqrt[3]{-x+\sqrt{x^2+y^3+\sqrt{xy
5.2.3
\sum \int
) ( . $\sum {i=1} n$ $\int ab$
b
ni=1 a . :
n
i=1
\limits int :
x=1
f (x)dx
x=0
:
]\ \[ \int\limits_{x=0}^{x=1}f(x) \, \mathrm d x
14
y dx : f (z)dz
dx
\, . d
Continuous dotsellipsis
" " .
... :
. :
center dots
diagonal dots
...
\cdots
. . . low dots
..
. vertical dots
\ddots
\ldots
\vdots
a0 , a1 , . . . , an a0 + a1 + + an
$a 0,a 1,\ldots,a n$ $a 0,a 1,\cdots,a n$ .
vdots ddots .11.2.3
7.2.3
Mathematical Symbols
\lambda
\omega . ) (25
LATEX .
$ $\pi$ .
:
2U
2U
2U
+
+
=0
x2
y 2
z 2
)(2
:
}\begin{equation
}\frac{\partial^2 U}{\partial x^2
}+ \frac{\partial^2 U}{\partial y^2
15
Calligraphic letters
26 :
A, B, C, D, E, F, G, H, I, J , K, L, M, N , O, P, Q, R, S, T , U, V, W, X , Y, Z
\mathcal \mathcal A .A
9.2.3
Function names
. sin
)lim f (x
:
et tx1 dt
n1
n!nx1
n!nx1
= lim
(x) = lim
)n (x + 1)(x + 2) (x + n 1
n
x+
=0
:
[\
}\Gamma(x)=\lim_{n\to\infty
}\prod\limits_{\nu=0}^{n-1}\frac{n! n^{x-1}}{x+\nu
}=\lim_{n\to\infty
)\frac{n!n^{x-1}}{(x+1)(x+2
\cdots(x+n-1)}\equiv \int_0^\infty
\, \mathrm e^{-t}t^{x-1}\mathrm dt
]\
16
10.2.3
:
formula-text \right rbrack
\left lbrack
rbrack ] [:
[\
}\alpha=\left[ \frac{f(x)}{2-g(x)}\right]_{x=0}^{x=1
]\
:
]x=1
x=0
)f (x
)2 g(x
[
=
\left \right
\right ) \right. " ". ( :
[\
{\f(x) = \left
}\begin{array}{r@{\quad \text{for} \quad} l
\\ -1 & x<0
\\ 0 & x=0
+1 & x>0
}\end{array
\right.
]\
:
for x < 0
for x = 0
for x > 0
1
0
= )f (x
+1
17
11.2.3
array
. :
[\
}A = \left( \begin{array}{c c
\\ & 2
-1 & 0
)\end{array} \right
]\
:
)
1 2
1 0
(
=A
array:
}\begin{array}{cols
rows
}\end{array
cols
. :
| ) ||( ) (.
l .
r .
c .
} *{num}{cols cols num *{5}{|c}|
|.|c|c|c|c|c
18
:
a b
c d
:
}|\[ \begin{arrays}{|c c
\\a & b
d
& c
]\ }\end{array
) ( +
}\[ \begin{array}{*{3}{c@{\:+\:}}c@{\;=\;}c
\\ a_{11}x_1 & a_{12}x_2 & \cdots & a_{1n}x_n & b_1
\\ a_{22}x_1 & a_{22}x_2 & \cdots & a_{2n}x_n & b_2
\\ }\multicolumn{5}{c}{\dotfill
a_{n1}x_1 & a_{n2}x_2 & \cdots & a_{nn}x_n & b_n
]\ }\end{array
a11 x1 + a12 x2 + + a1n xn = b1
a22 x1 + a22 x2 + + a2n xn = b2
................................
an1 x1 + an2 x2 + + ann xn = bn
array:
}{*{3}{c@{\:+\:}}c@{\;=\;}c
}} *{3}{c@{\:+\: ) \: + (
. c@{\;=\;}c
) = (
.
(.
19
macros
LATEX
. macros
x :
df
dx
=y
dy
,
dx
= )g(x
:
[\
g(x)=\frac{\mathrm dy}{\mathrm dx},\qquad
]\ }y=\frac{\mathrm df}{\mathrm dx
\derf :
derf :
}}\newcommand\derf[1]{\frac{\mathrm d #1}{\mathrm dx
#1 .
) ...(
x
v = y
z
:
{]\newcommand\vectcol[3
}}\begin{array}{|c}#1\\#2\\#3\end{array
:
20
} \newcommand\realgr{$R mathcal\$
\realgr " ."R
. ) (
) A
B C (D mulchoices
52.5:
A
B
C
D
) ( A
:mulchoices
}}\def\choixA{\boxed {\mathbf A
}}\def\choixB{\boxed {\mathbf B
}}\def\choixC{\boxed {\mathbf C
}}\def\choixD{\boxed {\mathbf D
}\newcommand\mulchoices[4]{\begin{description
\item $\choixA$ #1
\item $\choixB$ #2
\item $\choixC$ #3
\item $\choixD$ #4
}}\end{description
21
) 40 50 (
mulchoices :
$52.5$:
\mulchoices
} {
} {
} {
} {
mulchoices
) !( :
. . .
{]\newcommand\mulchoices[4
}\begin{description
\item $\choixA$ #4
\item $\choixB$ #2
\item $\choixC$ #1
\item $\choixD$ #3
}\end{description
}
Bibliography
. BiBTeX
}end{document
}\bibliography{DataFile
}\bibliographystyle{plain
22
DataFile
. plain .
alpha unsrt .abbrv
. DataFile
@BOOK{bib-dal2004,
AUTHOR = {Helmut Kopka and Patrick W. Daly},
EDITOR = {},
TITLE = {A Guide to \LaTeX\ and Electronic Publishing},
YEAR = {2004},
VOLUME = {},
NUMBER = {},
MONTH = {},
NOTE = {},
SERIES = {},
EDITION = {4th},
ADDRESS = {Harlow, England},
PUBLISHER = {Addison-Wesley},
}KEYWORDS = {},
) article book
( . . . ) - -bib-dal2004
.(. . . ] [2 ,1 .
} \cite{bib-name bib-
name .DataFile
] [1 bib-dal2004 }.\cite{bib-dal2004
.
LATEX
LATEX :
) ><div
23
> <p ( )
python ( PNG
.
http://www.fauskes.net/nb/htmleqII/
Conclusion
LATEX .
.
EX
. "" ) (1 LATEX
(2) (3) LATEX
(4)
LAT
1985
) (5
(6) ... ) (
( .
XELATEX
XEcibarA .
XELATEX
TEX
XEcibarA
24
TEX
XELATEX
LATEX
. :1
\alpha
\beta
\
\delta
\epsilon
\varepsilon
\zeta
\eta
\theta
\vartheta
\iota
\kappa
\lambda
\mu
\nu
\xi
\Gamma
\Delta
\Theta
\Lambda
\Xi
\Pi
o
\pi
\varpi
\rho
\varrho
\sigma
\varsigma
\tau
\Sigma
\Upsilon
\Phi
\upsilon
\phi
\varphi
\chi
\psi
\omega
\Psi
\Omega
. :2
\arccos
\arcsin
\arctan
\cos
\cosh
\cot
\coth
\csc
\deg
\det
\dim
\exp
\gcd
\lim
\lg
\ln
\log
\max
\min
\sec
\sin
\sinh
\tan
\tanh
. :3
.\ not
< <
\leq or \le
\ll
\subset
\subseteq
\in
| \mid
\perp
> >
\geq or \ge
\gg
\supset
\supseteq
\ni , \owns
- \nmid
: :
25
=
=
=
\neq or \ne
\equiv
\approx
\cong
\notin
\parallel
\propto
. :4
+
+
\pm
\cdot
\times
\cup
\vee , \lor
div
\
\mp
\div
\setminus
\cap
\wedge , \land
\circ
\ast
\bullet
\dagger
\ddagger
. :5
\sum
\prod
\int
\bigcup
\bigcap
\oint
\bigvee
\bigwedge
. :6
\leftarrow or \gets
\rightarrow or \to
\leftrightarrow
\Leftarrow
\Rightarrow
\Leftrightarrow
\mapsto
\iff (bigger spaces)
=
=
\longleftarrow
\longrightarrow
\longleftrightarrow
\Longleftarrow
\Longrightarrow
\Longleftrightarrow
\longmapsto
\uparrow
\downarrow
\updownarrow
\Uparrow
\Downarrow
\Updownarrow
. :7
(
[
{
(
[ or \lbrack
\{ or \lbrace
\langle
\lfloor
/
)
]
}
)
] or \rbrack
\} or \rbrace
\rangle
\rfloor
\backslash
26
\uparrow
\downarrow
\updownarrow
| or \vert
\lceil
. (dual. empty)
\Uparrow
\Downarrow
\Updownarrow
\| or \Vert
\rceil
. :8
...
\dots
\infty
\forall
'
\cdots
\imath
\exists
\prime
..
.
\vdots
\jmath
\partial
\emptyset
...
\ddots
\ell
\nabla
\angle
. :9
.( )
\dag
\ddag
\S
\P
\copyright
\pounds
\textregistered
\%
. :10
Example
ABCDEabcde1234
ABCDEabcde1234
ABCDEabcde1234
ABCDE
ABCDEabcde1234
ABCDE
Command
\mathrm{ABCDE abcde 1234}
\mathit{ABCDE abcde 1234}
\mathnormal{ABCDE abcde 1234}
\mathcal{ABCDE}
\mathfrak{ABCDE abcde 1234}
\mathbb{ABCDE}
27
Required package
amsfonts or amssymb
amsfonts or amssymb
: 29 . . . .
) : + ( 30 . . . . . . . . . . .
) : + 2 32 . . . . . . . . . . . . . . (3
) : + 31 . . . . . . . . . . . . . . (1
25 . . . . . . . . . . . . . . . . . . . . . . .
25 . . . . . . . . . . . . . . . . . . . . . . . . . . .
25 . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
26 . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
26 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
27 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
10
27 . . . . . . . . . . . . . . . . . . .
26 . . . . . . . . . . . . . . . . . . . . . . . .
26 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
27 . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
28
:1 : . . .
29
. . . ( + ): :2
30
;
Q
Q
Q
?
?
?
?
?
?
?
?
?
?
?
?
?
?
?
?
?
?
?
?
?
?
?
?
?
?
?
?
?
?
?
?
?
?
?
?
?
?
?
?
?
?
?
?
?
?
?
?
?
?
?
?
?
?
?
?
?
?
?
?
?
?
?
?
?
?
?
?
?
?
45#.67 48*9: 3
? ? ? ? ? ? ? ? ? ? ? $%,RA)*
+ $,BSP* T,/UV WA. :?8
? ? ? ? ? ? ? ? ? $%,RA)* $,BSX) $+,-,.'/01* Y*
+ <Z* 8?8
? ? ? ? ? ? ? ? ? [/0H5\) ]^'I1* 4_`5)* :?8?8
? !"#$%&'( )&*(+%#*,-& ab'c5)* 4_`+5)* 8?8?8
? ? ? ? ? ? ? ? ? ? ? ? $%&'()* $+,-,.'/01* $23'%1* Q?8
?
?
?
?
?
3
8
8
8
8
8
?
?
?
?
?
,-./()* 0#.12 +
? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? @3AB1* C2 DEF* :?:
? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? GHI)* $+JK 8?:
? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? $2EL5-1* MNO6P* Q?:
+
:
:
:
!"#$%&()*
'
4-5,6'2 7)'.
. . . (1 + ): :3
31
Y
/012'() 34156
* +, .$ ()
!"#$%'()
&
!"#$#%&'() *&+,% -) !./0)
" *&+,"123 456" 78) !+#9: !"#;<= !#$#%&'(>3 !)?&+>3 !@3:5? A#'BCD E8$#F&>3 G?H;) HIH+823 3JK L MH7.
NNNN17% -) OPQ !+R&S !"#$#%&'() !)?&+) *3T *&'"#U VWU G?H;>3 3JK L &'WBX 6+2 ND!"#$#%&'() E<?
. . . (3 + 2 ): :4
32
<
)234,'(
* )3567( 839$: ;,< =>!
)234,'( )356?' )*3@3<A9BC'( D(EF'(
!>!
*
!!!
)*+,-. )/(01
)YZ[ T>T
! "$
# &% '(
T "$
# &% '(