我写的第一个LaTeX文档:Me Into LaTeX

 这里贴出的是纯文本的tex源文件,不利于阅读,但在WinEdt或Emacs中,都将显示得很漂亮。
可在 http://pickup.mofile.com/5383075077161531获取源代码的彩色语法高亮版本(pdf文件)。
可在 http://pickup.mofile.com/6326815828044539 获取其编译完成版本(pdf文件)。
/documentclass[a4paper]{report}
/usepackage{indentfirst}
/usepackage{CJK}
/usepackage{amsmath}
/usepackage{amssymb}
/usepackage{mathrsfs}
/usepackage{eufrak}
/begin{CJK}{GBK}{song}
/newtheorem{Theorem}{定理}[section]
/newtheorem{FirstTheorem}{定理}
/newtheorem{NextTheorem}[FirstTheorem]{定理}
/title{Me Into /LaTeX}
/author{Utensil/thanks{Thanks to the reader.}}
/date{/today}
/begin{document}
/maketitle
/chapter*{Preface}
This chapter will not be enumerated. //

终于将这个我的第一个/TeX{}文档写完了。这份文档简单地介绍了/TeX{}的基本知识、常用环境,以及数学环境。//

写这个文档的初衷其实是练习,这使得这个文档的源代码是和它讲述的/TeX{}知识共同成长的,我学到了什么程度,就用
什么程度的/TeX{}命令来进行排版。甚至在许多地方,文档和其源代码是密不可分的整体,共同完成对/TeX{}知识的介绍。
例如,在一开始的许多地方,我没有在文档中同时展示源代码和其效果,我只在文档中给出其效果,而让读者自行查找是
什么源代码实现了这个效果$/cdots/cdots$//

读者可能会对这份文档全部由英文写成表示愤慨,可是这里头很多陌生单词是和命令名一样的,其余则是生词不超过20个
的浅易英文,毕竟,我英文程度很一般。//

我估计其实没什么人会看这份文档的,所以说明就只作这么多了。//

大家有什么问题可以在我的博客http://blog.csdn.net/utensil/留言,或者发邮件到RonIzWright@126.com。最后数学符
号列表那里不知为什么总是处理不好,希望哪位高手指点一下。//

P.S.这份文档是在C/TeX{}下完成和进行编译的,感谢为C/TeX{}付出的所有人!
/tableofcontents
/chapter{Basics}
/section{Spaces and Reserved Symbols}

It does not matter whether you enter one or several spaces after a
word.

An empty line starts a new paragraph.

These symbols have to be slashed: /# /$ /% /^{} /& /_ /{ /} /~{}

But if we slash $/backslash$ will get an // line break,it's the same
as the
/newline $/backslash$newline.

/LaTeX{} will ignore the spaces after an order.

/ldots

/section{Hyphenation}

We can tell /LaTeX/ how to hyphenate,for example,this long long word: su/-per/-cal/-%
i/-frag/-i/-lis/-tic/-ex/-pi/-%
al/-i/-do/-cious.

We can tell /LaTeX/ not to hyphenate,for example,this long long
word: /mbox{supercalifragilisticexpialidocious}.

This will cause an ``underfull hbox''.

If we lower the quality demand,/LaTeX/ will do it like this:/sloppy
/mbox{supercalifragilisticexpialidocious}.

That's horrible,isn't it?So we have to resume it./fussy

We can draw a quad around the
texts:/fbox{supercalifragilisticexpialidocious}

/section{Special Symbols}

``sth''

`another sth'

-

--

---

$-1$

sth/~ sth

sth/~{}sth

$/sim$

$-30/,^{/circ}/mathrm{C}$

ff

f/mbox{}f

H/^otel,

na/"/i ve

/'el/`eve

sm/o rrebr/o d

!`Se/~norita!

Sch/"onbrunner Schlo/ss{} Stra/ss e

/`o{} /'o{} /^o{} /~o{}  /=o{}  /.o{} /"o{}


/c c /u o /v o /H o /c o  /d o /b o /t oo

/oe{} /OE{} /ae{} /AE{} /aa{} /AA{}

 /o{} /O{} /l{} /L{} /i{} /j{}
!`{} ?`

 

Mr.~Smith was happy to see her.

I like BASIC/@. What about you?

/section{Structrue}

$/backslash$documentclass[options]/{class/}

/subsection{Classes}

article

report

book

slides

/subsection{Options}

10pt[ 11pt,12pt/ldots]

letterpaper [
a4paper,a5paper,b5paper,executivepaper,legalpaper/ldots]

fleqn: Left align the math formulas.

leqno: Put the serial number of math formulas on its left.

titlepage, notitlepage

onecolumn, twocolumn

twoside, oneside

openright, openany: Where the new chapter starts.

/subsection{Layers}


$/backslash$part/{/ldots/}

$/backslash$chapter/{/ldots/}

$/backslash$section/{/ldots/}

$/backslash$subsection/{/ldots/}

$/backslash$subsubsection/{/ldots/}

$/backslash$paragragh/{/ldots/}

$/backslash$subparagragh/{/ldots/}

/section{Cross Reference}
/label{Cross Reference} See section /ref{Cross Reference} on page
/pageref{Cross Reference}.

/section{FootNote}
See the footnote/footnote{We don't need to say anything here.}.

/section{Emphasizing}
You can use /underline{$/backslash$underline},but
/emph{$/backslash$emph} is recommended.

/textit{You can also /emph{emphasize} text if it is set in italics,}
/textsf{in a /emph{sans-serif} font,} /texttt{or in
/emph{typewriter} style.}

/section{Text Fonts}
/textrm{Roman}

/textsf{Sans Serif}

/texttt{Typewriter}

/textmd{medium}

/textbf{Bold Face}

/textup{Upright}

/textit{italic}

/textsl{slanted}

/textsc{Small Caps}

/section{Text Size}

/tiny{Tiny}

/scriptsize{Scriptsize}

/footnotesize{Footnotesize}

/small{Small}

/normalsize{Normalsize}

/large{large}

/Large{Large}

/LARGE{LARGE}

/huge{huge}

/Huge{Huge}

/normalsize{} %To Recover.

/section{New Command}

It's not recommended to set a font or a size for some texts
directly,you should pack it in a style and apply the style to all
the texts for which you want to set the font and the size.

Use
$/backslash$newcommand/{/emph{name}/}[/emph{num}]/{/emph{definition}/}/
to pack styles or other commands.//

Use
$/backslash$renewcommand/{/emph{name}/}[/emph{num}]/{/emph{definition}/}/
to repack it.//

For example://

/newcommand{/Ltt}[1]{/Large{/texttt{#1}}}

/Ltt{Large Typewriter}

/renewcommand{/Ltt}[1]{/Huge{/textsf{#1}}}

/Ltt{Huge Sans Serif}

/normalsize{}
/chapter{Useful Environments}
/section{Lists}
/subsection{Itemize}
Default Style:
/begin{itemize}
/item Apple
/item Pear
/item Banana
/end{itemize}
Customized Style/footnote{But it looks stupid.}:
/begin{itemize}
/item[*] Eye
/item[*] Nose
/item[*] Ear
/end{itemize}

/subsection{Enumerate}
/begin{enumerate}
/item Point
/item Line
/item Polygon
/end{enumerate}

/subsection{Description}
I prefer calling it definitions.
/begin{description}
/item[erkl/" aren]German word,meaning ``explain''.
/item[kl/" aren]German word,meaning ``clear''.
/end{description}

/section{Aligning}

/subsection{Flushleft}
/begin{flushleft}
This text is// left-aligned. /LaTeX{} is not trying to// make each
line the same length.
/end{flushleft}

/subsection{Flushright}
/begin{flushright}
This text is// left-aligned. /LaTeX{} is not trying to// make each
line the same length.
/end{flushright}

/subsection{Center}
/begin{center}
In the tremendous sea of faces.//
We met,gathered then seperated.//
I hope our friendship will go beyond time and space.//
Wish you
happiness and merriment.
/end{center}

/section{Quoting}
/subsection{Quote}
In /emph{The Winter's Tale},Shakespear said:
/begin{quote}
I should leave grazing,were I of your flock,and only live by gazing.
/end{quote}
/subsection{Quotation}
Quoting paragraphs:
/begin{quotation}
This fertile and sheltered tract of country, in which the fields are
never brown and the springs never dry, is bounded on the south by
the bold chalk ridge/ldots

The district is of historic, no less than of topographical interest.
The Vale was known in former times as the Forest of White Hart, from
a curious legend of King Henry III's reign/ldots

The forests have departed, but some old customs of their shades
remain. Many, however, linger only in a metamorphosed or disguised
form. /ldots
/end{quotation}

/subsection{Verse}
It's used for quoting poems.

/begin{verse}
/begin{center}
I've Got A Pain In My Sawdust

w. Henry Edward Warner m. Herman Avery Wade
/end{center}

/ldots

I've got a pain in my sawdust, //
That's what's the matter with me;//
Something is wrong with my little inside,//
I'm just as sick as can be.

Don't let me faint, //
someone get me a fan,//
Someone else run for the medicine man,//
Ev'ryone hurry as fast as you can,//
I've got a pain in my sawdust.

/ldots

Oh, sad was the day for the little bisque doll,//
For they cut all her stitches away,//
And looked for the seat of the terrible ache;//
``T'was a delicate task", they all say,

For none of the surgeons had ever before//
Performed on a dolly's inside,//
They tried to restuff her but didn't know how,//
And this was her wail as she died;//
I've got a pain/ldots
/end{verse}

/section{Just Show It In The Way That It's Typed}
/begin{verbatim}
Use the pair of
                                  /begin{verbatim}
                And
/end{verbatim}
/verb|                  /end{verbatim}|
/begin{verbatim}
                Or
                             /verb| Contents that you want them to be
                             shown in the way it's typed |

      Actually,| pair can be replaced by any symbol pair
                                  like + # @ &
                     expect * and space,

     I guess it's prepared for CODES.
/end{verbatim}

/section{Tabular}

Now it's time to create tables.

/verb|/begin{Tabular}{|/emph{Table Style}/verb|}|

/emph{Table Contents}

/verb|/end{Tabular}|

/subsection{Table Style}
/emph{Table Style}/ is not responsible for the creation of horizonal
lines in the table,that's the responsibility of /emph{Table
Contents}'s.
/begin{description}
/item[l,r,c] creates a row that is left-aligned,right-aligned or
centered.

/item[p/{/emph{width}/}] creates a row by the given width.

/item[$|$] creates a vertical line to separate rows.

/item[@/{/emph{symbol}/}]separate rows with the symbol
/emph{symbol}.
/end{description}

/subsection{Table Contents}
/begin{description}
/item[/&] jump to the next row.

/item[$/backslash/backslash$] jump to the next line.

/item[$/backslash$hline] creates a horizonal line through all rows.

/item[$/backslash$cline/{/emph{i}-/emph{j}/}] creates a horizonal line from row /emph{i} to row /emph{j}.
/end{description}

/subsection{Examples}
An ordinary table://

/begin{tabular}{|r|l|}
/hline
7C0 & hexadecimal //
3700 & octal // /cline{2-2}
11111000000 & binary //
/hline /hline
1984 & decimal //
/hline
/end{tabular}

Using /verb|@{}|/ to coordinate the radix point://

/begin{tabular}{c r @{.} l}
Pi expression &
/multicolumn{2}{c}{Value} //
/hline
$/pi$ & 3&1416 //
$/pi^{/pi}$ & 36&46 //
$(/pi^{/pi})^{/pi}$ & 80662&7 //
/end{tabular}

/section{Where To Put It?Float It!}
/verb|begin{figure}[|/emph{placement specifier}]

or

/verb|begin{table}[|/emph{placement specifier}]
//
/begin{tabular}{c @{} c}

placement specifier & where to put it//

/hline

h & put it on the current page. //

t & put it on the top of a page.//

b & put it on the bottom of a page.//

p & put it on an individual page.//

! & place it rigidly as placement specifier requested.//

/hline


/end{tabular}

Figure~/ref{Empty} is an example of Pop-Art.
/begin{figure}[!hbp]
/makebox[/textwidth]{/framebox[5cm]{/rule{0pt}{5cm}}} /caption{Five
by Five in Centimetres.} /label{Empty}
/end{figure}

/section{Protect Fragile Commands/protect/footnote{For example,protecting my footnote.}}
Without /verb|/protect|,I can't even put a footnote for the title of
a section.

/chapter{Math Formulas}
Yeah!Eventually we've reached the most powerful function and also
the most exciting part of /LaTeX---Math formulas!We might use the
AMS-/LaTeX/ or other macros.
/section{Math Modes}
/subsection{Math Formulas In Paragraphs}

There are three choice:

/verb|/begin{math}|/emph{Formula}/verb|/end{math}|

/verb|$|/emph{Formula}/verb|$|

/verb|/(| /emph{Formula} /verb|/)|

/subsection{Math Formulas In Display Mode}
The formula will stand alone,and will not be enumerated.

/verb|/begin{displaymath}|/emph{Formula}/verb|/end{displaymath}|

/verb|/[| /emph{Formula} /verb|/]|

/subsection{Math Formulas In Equation Mode}
The formula will stand alone,and will be enumerated.If we use
/verb|/begin{equation*}|,the equations will not be enumerated.

/verb|/begin{equation}|/emph{Formula}/verb|/end{equation}|

/subsection{Examples}
Formulas in paragraph,$/lim_{n /to /infty} /sum_{k=1}^n
/frac{1}{k^2} = /frac{/pi^2}{6}$.

Formulas in display mode:

/begin{displaymath}
/lim_{n /to /infty} /sum_{k=1}^n /frac{1}{k^2} = /frac{/pi^2}{6}
/end{displaymath}

Formulas in equation mode/footnote{With Package /emph{amsfonts}/ or
/emph{amssymb},we can have the blackboard bold font for sets.}:

/begin{equation}
/forall x /in /mathbb{R}: /qquad x^{2} /geq 0
/end{equation}

Every letter in math mode will be treated as a variable,except when
it's in /verb|/textrm{}|/ or /verb|/mathrm{}|:

/begin{equation}
x^{2} /geq 0/qquad /textrm{for all }x/in/mathbb{R}
/end{equation}

The difference between /verb|/mathrm{}|/ and /verb|/textrm{}|/ as
follows/footnote{If Package /emph{amsmath} is used,there will be no
difference.}:

/begin{equation}
2^{/textrm{nd}} /quad 2^{/mathrm{nd}}
/end{equation}

See Section /ref{Align}/ on Page /pageref{Align} to learn to deal
with equations.

/section{Math Spacing}
/subsection{Units}
/begin{tabular}{c @{/quad} l}

pt & point,$/frac{1}{72.27}$/ inch.

bp & Adobe big point,$/frac{1}{72}$/ inch.

pc & pica,12pt

mm & millimeter

cm & centimeter

in & inch,25.4mm

em & similar to the width of M.

ex & similar to the height of x.

/end{tabular}


/subsection{Spaces}

/begin{tabular}{c @{/quad} l}

/verb|/,| & $/frac{3}{18}$/ quads.

/verb|/:| & $/frac{4}{18}$/ quads.

/verb|/;| & $/frac{5}{18}$/ quads.

/verb|/!| & $-/frac{3}{18}$/ quads.

/verb|/quad|/ & 1 quad,similar to the width of M.

/verb|/qquad|/ & 2 quads.

/end{tabular}
/subsection{Phantom}

/verb|/phantom|/ reserves room for something that exists but not to
be displayed.

See examples://

/begin{tabular}{c @{/quad} l}

${}^{12}_{6}/textrm{C}$ & /verb|{}^{12}_{6}/textrm{C}|

${}^{12}_{/phantom{0}6}/textrm{C}$ & /verb|{}^{12}_{/phantom{0}6}/textrm{C}|

$/Gamma_{ij}^{k}$ & /verb|/Gamma_{ij}^{k}|

$/Gamma_{ij}^{/phantom{ij}k}$ & /verb|/Gamma_{ij}^{/phantom{ij}k}|

/end{tabular}

See Section /ref{Sup and Sub} on Page /pageref{Sup and Sub} to learn
/emph{Superscript and Subscript}.

/section{Math Sizing}
/subsection{Setting Size}

/[/displaystyle{/backslash/mathrm{displaystyle/{/}}}/]
/[/textstyle{/backslash/mathrm{textstyle/{/}}}/]
/[/scriptstyle{/backslash/mathrm{scriptstyle/{/}}}/]
/[/scriptscriptstyle{/backslash/mathrm{scriptscriptstyle/{/}}}/]
/subsection{Pairing size}

/begin{tabular}{|l|}

/hline /verb|/Bigg(/bigg(/Big(/big(/big)/Big)/bigg)/Bigg)|//
/hline
/end{tabular}

/[/Bigg(/bigg(/Big(/big(/big)/Big)/bigg)/Bigg)/]


/begin{tabular}{|l|}

/hline/verb@/Bigg/{/bigg/{/Big/{/big/{/big/}/Big/}/bigg/}/Bigg/}@//
/hline

/end{tabular}

/[/Bigg/{/bigg/{/Big/{/big/{/big/}/Big/}/bigg/}/Bigg/}/]

/begin{tabular}{|l|}

/hline/verb@/Bigg/|/bigg/|/Big/|/big/|/big/|/Big/|/bigg/|/Bigg/|@//
/hline

/end{tabular}

/[/Bigg/|/bigg/|/Big/|/big/|/big/|/Big/|/bigg/|/Bigg/|/]

/begin{tabular}{|l|}

/hline/verb|1 + ( /frac{1}{ 1-x^{2} } ) ^3|//
/hline

/end{tabular}

/[1 + ( /frac{1}{ 1-x^{2} } ) ^3/]

Use the /verb|/left| and /verb|/right| pairs to determine the
correct sizes of symbols.
//

/begin{tabular}{|l|}

/hline/verb|1 + /left( /frac{1}{ 1-x^{2} } /right) ^3|//
/hline

/end{tabular}

/[1 + /left( /frac{1}{ 1-x^{2} } /right) ^3/]

If there is nothing on the right side,use ``/verb|/right.|''.
//

/begin{tabular}{|l|}
/hline

/verb|y = /left/{| //
/verb|           /begin{array}{ l l }|//
/verb|                a   &  x /leq -5|//
/verb|                b+x &  -5 < x < 7|//
/verb|                l   &  x /geq 7|//
/verb|           /end{array}|//
/verb|    /right.|//
/hline
/end{tabular}//

/[y = /left/{ /begin{array}{ll}
a & x /leq -5
b+x & -5 < x < 7/
l & x /geq 7
/end{array} /right./]//

See Section /ref{Array} on Page /pageref{Array} to learn Environment
/emph{Array}.


/subsection{Bold Fonts}
/begin{tabular}{c @{/quad} c}

/verb|$/mu, M$| & $/mu, M$

/verb|$/mathbf{/mu},/mathbf{M}$| & $/mathbf{/mu},/mathbf{M}$

/verb|/mbox{/boldmath $/mu, M$}| & /mbox{/boldmath $/mu, M$}

/end{tabular}

/verb|/boldmath| must be used outside the math mode,or in the
/verb|/mbox{}| in the math mode.
/section{Math Fonts}
/begin{tabular}{l @{/quad} c }

/verb|/mathrm{ABCdef}| & $/mathrm{ABCdef}$

/verb|/mathit{ABCdef}| & $/mathit{ABCdef}$

/verb|/mathnormal{ABCdef}| & $/mathnormal{ABCdef}$

/verb|/mathcal{ABC}| & $/mathcal{ABC}$

/verb|/mathfrak{ABCdef}| & $/mathfrak{ABCdef}$

/verb|/mathbb{ABC}| & $/mathbb{ABC}$

/verb|/mathtt{ABCdef}| & $/mathtt{ABCdef}$

/verb|/mathsf{ABCdef}| & $/mathsf{ABCdef}$

/verb|/mathbf{ABCdef}| & $/mathbf{ABCdef}$
/end{tabular}

The command /verb|/mathfrak{ABCdef}|/ requires Package
/emph{eufrak}.
/section{Frequently Used Symbols}
/subsection{Dots}
Observe carefully,then you will see that /verb|/ldots| generates lower dots than /verb|/cdots|.//

/begin{tabular}{l @{/quad} c}

/verb|/ldots| & $/ldots$

/verb|/cdot| & $/cdot$

/verb|/cdots| & $/cdots$

/verb|/vdots| & $/vdots$

/verb|/ddots| & $/ddots$

/end{tabular}

See a practical example in Section /ref{Array} on Page
/pageref{Array}.

/subsection{Superscript and Subscript}/label{Sup and Sub}
/begin{tabular}{l @{/quad} c}

/verb|a_1| & $a_1$

/verb|x^2| & $x^2$

/verb|a_{ij}| & $a_{ij}$

/verb|x^{y^z}| & $x^{y^z}$

/verb|e^{x^2} /neq {e^x}^2| & $e^{x^2} /neq {e^x}^2$

/verb|{}^{12}_{/phantom{0}6}/mathrm{C}| &
${}^{12}_{/phantom{0}6}/mathrm{C}$

/end{tabular}
//

/^/ or /_/ might tinily changes its position and meaning,for
example,see Section /ref{+*} on Page /pageref{+*},they turn out to
be upper and lower limits.

/subsection{Square Root}
/begin{tabular}{l @{/quad} c}

/verb|/sqrt{a}| & $/sqrt{a}$

/verb|/sqrt[n]{a}| & $/sqrt[n]{a}$

/verb|/surd| & $/surd$

/verb|/sqrt{ x^{2}+/sqrt{y} }| & $/sqrt{ x^{2}+/sqrt{y} }$

/end{tabular}

/subsection{Line and Brace}

/begin{tabular}{l @{/quad} c}

/verb|/overline{m+n}| & $/overline{m+n}$

/verb|/underline{m+n}| & $/underline{m+n}$

/verb|/underbrace{ a+b+/cdots+z }_{26}| & $/underbrace{ a+b+/cdots+z
}_{26}$

/verb|/overbrace{ a+b+/cdots+z }^{26}| & $/overbrace{ a+b+/cdots+z }^{26}$

/end{tabular}

/subsection{Vector}

/begin{tabular}{l @{/quad} c}

/verb|/vec a| & $/vec a$

/verb|/overrightarrow{AB}| & $/overrightarrow{AB}$

/verb|/overleftarrow{AB}| & $/overleftarrow{AB}$

/end{tabular}

/subsection{Fraction}
/begin{displaymath}
/begin{array}{l c}
/verb|1/2| & 1/2
/verb|3/frac{1}{2}| & 3/frac{1}{2}
/end{array}
/end{displaymath}//

/begin{tabular}{|l|}
/hline

/verb|y^{}_{/mathrm{A}}= /displaystyle/frac| //
/verb|{|//
/verb|    p^*_{/mathrm{A}} x^{}_{/mathrm{A}}| //
/verb|}| //
/verb|{| //
/verb|    p^*_{/mathrm{A}} x^{}_{/mathrm{A}}| //
/verb|+| //
/verb|    p^*_{/mathrm{B}}(1-x^{}_{/mathrm{A}})| //
/verb|}| //
/hline
/end{tabular}//

/begin{displaymath}
y^{}_{/mathrm{A}}= /displaystyle/frac
{
    p^*_{/mathrm{A}} x^{}_{/mathrm{A}}
}
{
    p^*_{/mathrm{A}} x^{}_{/mathrm{A}}
+
    p^*_{/mathrm{B}}(1-x^{}_{/mathrm{A}})
}
/end{displaymath}//

/begin{tabular}{|l| }
/cline{1-1}
/verb|N_{/mathrm{OG}}= /frac| //
/verb|{| //
/verb|    y^{}_1 - y^{}_2| //
/verb|}| //
/verb|{| //
/verb|    /displaystyle/frac| //
/verb|    {| //
/verb|        (y^{}_1 - y^*_1) - (y^{}_2 - y^*_2)| //
/verb|    }| //
/verb|    {| //
/verb|        /ln/frac{y^{}_1 - y^*_1}{y^{}_2 - y^*_2}| //
/verb|    }| //
/verb|}| //
/cline{1-1}
/end{tabular}
//

/begin{displaymath}
N_{/mathrm{OG}}= /frac
{
    y^{}_1 - y^{}_2
}
{
    /displaystyle/frac
    {
        (y^{}_1 - y^*_1) - (y^{}_2 - y^*_2)
    }
    {
        /ln/frac{y^{}_1 - y^*_1}{y^{}_2 - y^*_2}
    }
}
/end{displaymath}
/subsection{Binomial Coefficients And Customized Fraction}
Without Package /emph{amsmath},we can only use

/verb|{n /choose m}|/ or/ /verb|{x /atop y+2}| to generate the
binomial coefficients or similar structures:
/begin{displaymath}
{n /choose m} /qquad {x /atop y+2}
/end{displaymath}

With Package /emph{amsmath},we can use /verb|/binom{n}{m}|/ to
generate binomial coefficients:

/begin{displaymath}
/binom{n}{m}
/end{displaymath}

But the most powerful part is the command
/verb|/genfrac{}{}{}{}{}{}|,it has six
arguments://

Argument 5 and 6 are the numerator and the denominator.

Argument 1 and 2 are the left delimiter and the right delimiter.`.'/
means there are no delimiter.

Argument 3 is the thickness of the line between the numerator and
the denominator,set it to 0pt to make it invisible.

Argument 4 is the size of the numerator and the
denominator.displaystyle = 0, textstyle = 1, scriptstyle = 2,
scriptscriptstyle = 3.//

The Command /verb|/genfrac{(}{)}{0pt}{}{n}{m}|/ works exactly the
same as /verb|/binom{n}{m}|.
/begin{displaymath}
/genfrac{(}{)}{0pt}{}{n}{m}
/end{displaymath}

/subsection{Sum,Product And Calculus}/label{+*}


/verb|/sum_{i=1}^{n}|:

/[/sum_{i=1}^{n}/]

/verb|/int_{0}^{/frac{/pi}{2}}|:

/[/int_{0}^{/frac{/pi}{2}}/]

/verb|/prod_/epsilon|:

/[/prod_/epsilon/]


/verb|/iint_D|:

/[/iint_D/]

/verb|/iiint_V|:

/[/iiint_V/]

/verb|/idotsint_{/mathbb{R^{/mathrm n}}}|:

/[/idotsint_{/mathbb{R^{/mathrm n}}}/]

/section{Math Array}
/subsection{Array}/label{Array}
/begin{tabular}{|l|}
/hline
/verb|/mathbf{X} = /left( /begin{array}{ccc}|//
/verb|x_{11} & x_{12} & /ldots

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值