From 71fdbcf450e3411c99c299dead39ebd5846bb383 Mon Sep 17 00:00:00 2001 From: Karl Berry Date: Tue, 19 May 2009 18:45:45 +0000 Subject: move amsldoc-vn out of texmf-doc git-svn-id: svn://tug.org/texlive/trunk@13259 c570f23f-e606-0410-a88d-b1316a301751 --- Master/texmf-dist/doc/latex/amsldoc-vn/Makefile | 32 + Master/texmf-dist/doc/latex/amsldoc-vn/README | 22 + Master/texmf-dist/doc/latex/amsldoc-vn/TODO | 4 + .../doc/latex/amsldoc-vn/amsldoc-print-vi.pdf | Bin 0 -> 708985 bytes .../doc/latex/amsldoc-vn/amsldoc-print-vi.tex | 2 + .../texmf-dist/doc/latex/amsldoc-vn/amsldoc-vi.pdf | Bin 0 -> 638255 bytes .../texmf-dist/doc/latex/amsldoc-vn/amsldoc-vi.tex | 3330 ++++++++++++++++++++ 7 files changed, 3390 insertions(+) create mode 100644 Master/texmf-dist/doc/latex/amsldoc-vn/Makefile create mode 100644 Master/texmf-dist/doc/latex/amsldoc-vn/README create mode 100644 Master/texmf-dist/doc/latex/amsldoc-vn/TODO create mode 100644 Master/texmf-dist/doc/latex/amsldoc-vn/amsldoc-print-vi.pdf create mode 100644 Master/texmf-dist/doc/latex/amsldoc-vn/amsldoc-print-vi.tex create mode 100644 Master/texmf-dist/doc/latex/amsldoc-vn/amsldoc-vi.pdf create mode 100644 Master/texmf-dist/doc/latex/amsldoc-vn/amsldoc-vi.tex (limited to 'Master/texmf-dist/doc/latex/amsldoc-vn') diff --git a/Master/texmf-dist/doc/latex/amsldoc-vn/Makefile b/Master/texmf-dist/doc/latex/amsldoc-vn/Makefile new file mode 100644 index 00000000000..c7fd09cef0a --- /dev/null +++ b/Master/texmf-dist/doc/latex/amsldoc-vn/Makefile @@ -0,0 +1,32 @@ +SCREEN = amsldoc-vi +PRINT = amsldoc-print-vi + +amsldoc: screen print + +screen: + pdflatex $(SCREEN) + pdflatex $(SCREEN) + pdflatex $(SCREEN) + thumbpdf $(SCREEN).pdf + pdflatex $(SCREEN) + +print: + pdflatex $(PRINT) + pdflatex $(PRINT) + pdflatex $(PRINT) + +quick: + pdflatex $(SCREEN) + +tar: + mkdir -p amsldoc-vi/src + cp -pv {$(SCREEN),$(PRINT)}.pdf README.txt TODO amsldoc-vi + cp -pv *.tex Makefile amsldoc-vi/src + tar -cjf amsldoc-vi.tar.bz2 amsldoc-vi + +clean: + rm -fv *.log *.idx *.aux *.dvi *.bbl *.blg *.toc *.idx *.tps \ + *.ps *.ilg *.tcp *~ *.ind *.out *.tpt + +cleanall: clean + rm -fv *.pdf *~ amsldoc-vi.tar.bz2 diff --git a/Master/texmf-dist/doc/latex/amsldoc-vn/README b/Master/texmf-dist/doc/latex/amsldoc-vn/README new file mode 100644 index 00000000000..92bc30391b2 --- /dev/null +++ b/Master/texmf-dist/doc/latex/amsldoc-vn/README @@ -0,0 +1,22 @@ + +AMSLaTeX Manual v2.0, Vietnamese edition. + + +Original Author: American Mathematical Society + + +Translator: Ky Anh + + +License of the translation: LPPL, version 1.3 or newer, +according to http://www.latex-project.org/lppl.txt + + +Files: + README.txt (this file) + TODO + amsldoc-vi.pdf + amsldoc-print-vi.pdf + src/Makefile + src/amsldoc-print-vi.tex + src/amsldoc-vi.tex diff --git a/Master/texmf-dist/doc/latex/amsldoc-vn/TODO b/Master/texmf-dist/doc/latex/amsldoc-vn/TODO new file mode 100644 index 00000000000..eeef773d40d --- /dev/null +++ b/Master/texmf-dist/doc/latex/amsldoc-vn/TODO @@ -0,0 +1,4 @@ +* Vietnamese version of 'testmath.tex' +* Vietnamese version of 'subeqn.tex' +* amsldoc: Translate 'Error Message' section into Vietnamese +* amsldoc: make index page diff --git a/Master/texmf-dist/doc/latex/amsldoc-vn/amsldoc-print-vi.pdf b/Master/texmf-dist/doc/latex/amsldoc-vn/amsldoc-print-vi.pdf new file mode 100644 index 00000000000..6b333cc6d03 Binary files /dev/null and b/Master/texmf-dist/doc/latex/amsldoc-vn/amsldoc-print-vi.pdf differ diff --git a/Master/texmf-dist/doc/latex/amsldoc-vn/amsldoc-print-vi.tex b/Master/texmf-dist/doc/latex/amsldoc-vn/amsldoc-print-vi.tex new file mode 100644 index 00000000000..bacc754d827 --- /dev/null +++ b/Master/texmf-dist/doc/latex/amsldoc-vn/amsldoc-print-vi.tex @@ -0,0 +1,2 @@ +\def\printversion{true} +\input amsldoc-vi.tex diff --git a/Master/texmf-dist/doc/latex/amsldoc-vn/amsldoc-vi.pdf b/Master/texmf-dist/doc/latex/amsldoc-vn/amsldoc-vi.pdf new file mode 100644 index 00000000000..e34316c6b2d Binary files /dev/null and b/Master/texmf-dist/doc/latex/amsldoc-vn/amsldoc-vi.pdf differ diff --git a/Master/texmf-dist/doc/latex/amsldoc-vn/amsldoc-vi.tex b/Master/texmf-dist/doc/latex/amsldoc-vn/amsldoc-vi.tex new file mode 100644 index 00000000000..f370b88abd0 --- /dev/null +++ b/Master/texmf-dist/doc/latex/amsldoc-vn/amsldoc-vi.tex @@ -0,0 +1,3330 @@ +\ifx\printversion\undefined +\documentclass[11pt,leqno,titlepage,openany,oneside]{amsldoc}[1999/12/13] +\else +\documentclass[a4paper,11pt,leqno,titlepage,openany]{amsldoc}[1999/12/13] +\usepackage[monochrome]{color} +\advance \topmargin by -3\baselineskip +\advance \textheight by 5\baselineskip +\usepackage{lmodern} +\fi + +% \ifx\UndEfiNed\url +% \ClassError{amsldoc}{% +% This version of amsldoc.tex must be processed\MessageBreak +% with a newer version of amsldoc.cls (2.02 or later)}{} +% \fi + +% ---------------------------------------------------------------------- +\pdfminorversion=3 +\usepackage[utf8]{vietnam} +\usepackage{amsxtra} +\usepackage{shortvrb} +\usepackage{afterpage} +\usepackage{amsfonts,euscript} + +\MakeShortVerb{|} + +% hack \url +% cannot use package hyperref. Donknow why? +% \makeatletter +% \let\old@url=\url +% \def\url#1{\textcolor{blue}{\old@url{#1}}} +% \makeatother + +% ---------------------------------------------------------------------- + +\DeclareMathOperator{\tg}{tg} + + +% ---------------------------------------------------------------------- + + +\newcommand{\entrylabel}[1]{\mbox{\textsf{#1:}}\hfil} +\newenvironment{entry}% + {\begin{list}{}% + {\renewcommand{\makelabel}{\entrylabel}% + \setlength{\labelwidth}{100pt}% + \setlength{\leftmargin}{\labelwidth} + \addtolength{\leftmargin}{\labelsep}% + }% + }% + {\end{list}} + +\newlength{\mylen} +\newcommand{\lentrylabel}[1]{% + \settowidth{\mylen}{\textsf{#1:}}% + \ifthenelse{\lengthtest{\mylen >\labelwidth}}% + {\parbox[b]{\labelwidth}% + {\makebox[0pt][l]{\textsf{#1\space:}}\\}}% + {\hfil\textsf{#1\space:}}% + \relax} +\newenvironment{lentry}% + {\renewcommand{\entrylabel}{\lentrylabel}% + \begin{entry}}% + {\end{entry}} + +% ---------------------------------------------------------------------- +% :: hack heading + + +\makeatletter +\def\ps@empty{\let\@mkboth\@gobbletwo + \let\@oddhead\@empty \let\@evenhead\@empty + \let\@oddfoot\@empty + \let\@evenfoot\@empty + \global\topskip\normaltopskip} +\def\ps@plain{\ps@empty + \def\@oddfoot{\normalfont\scriptsize \hfil\thepage\hfil}% + \let\@evenfoot\@oddfoot} +%\newswitch{runhead} +\def\ps@headings{\ps@empty +%% \def\@oddfoot{\hfil Vn\TeX\ (\url{http://vntex.org})\hfil} + \def\@oddfoot{} +%% \def\@evenhead{% +%% \normalfont\small%\scriptsize +%% %%% \hfil +%% \thesection. +%% \leftmark{}{}\hfil \llap{\thepage}}% + \def\@evenhead{% + \normalfont\small\thepage\hfil + \leftmark{}{}}% + \def\@oddhead{% + \normalfont\small + \rightmark{}{}\hfil \llap{\thepage}}% +%%% \let\@evenhead\@oddhead + \let\@mkboth\markboth + \def\partmark{\@secmark\markboth\partrunhead\partname}% + \def\chaptermark{% + \@secmark\markboth\chapterrunhead{}}% + \def\sectionmark{% + \@secmark\markright\sectionrunhead\sectionname}% +} +\let\sectionname\@empty +\let\subsectionname\@empty +\let\subsubsectionname\@empty +\let\paragraphname\@empty +\let\subparagraphname\@empty +\def\leftmark{\expandafter\@firstoftwo\topmark{}{}} +\def\rightmark{\expandafter\@secondoftwo\botmark{}{}} +\long\def\@nilgobble#1\@nil{} +\def\@secmark#1#2#3#4{% + \begingroup \let\protect\@unexpandable@protect + \edef\@tempa{\endgroup \toks@{\protect#2{#3}{\@secnumber}}}% + \@tempa + \toks@\@xp{\the\toks@{#4}}% + \afterassignment\@nilgobble\@temptokena\@themark{}\@nil + \edef\@tempa{\@nx\@mkboth{% + \ifx\markright#1\the\@temptokena\else\the\toks@\fi}{\the\toks@}}% + \@tempa} +\let\@secnumber\@empty +\def\markboth#1#2{% + \begingroup + \@temptokena{{#1}{#2}}\xdef\@themark{\the\@temptokena}% + \mark{\the\@temptokena}% + \endgroup + \if@nobreak\ifvmode\nobreak\fi\fi} +\newskip\normaltopskip +\normaltopskip=10pt \relax +\let\sectionmark\@gobble +\let\subsectionmark\@gobble +\let\subsubsectionmark\@gobble +\let\paragraphmark\@gobble + +\def\partrunhead#1#2#3{% + \@ifnotempty{#2}{\textsc{\ignorespaces#1 #2\unskip}\@ifnotempty{#3}{. }}% + \def\@tempa{#3}% + \ifx\@empty\@tempa\else + \begingroup \def\\{ \ignorespaces}% defend against questionable usage +% \MakeUppercase{\@tempa} + \textsc{\@tempa} + \endgroup + \fi +} +\let\chapterrunhead\partrunhead +\let\sectionrunhead\partrunhead + +\renewenvironment{thebibliography}[1] + {\chapter*{\bibname}% + \@mkboth{\textsc{\bibname}}{\textsc{\bibname}}% + \list{\@biblabel{\@arabic\c@enumiv}}% + {\settowidth\labelwidth{\@biblabel{#1}}% + \leftmargin\labelwidth + \advance\leftmargin\labelsep + \@openbib@code + \usecounter{enumiv}% + \let\p@enumiv\@empty + \renewcommand\theenumiv{\@arabic\c@enumiv}}% + \sloppy + \clubpenalty4000 + \@clubpenalty \clubpenalty + \widowpenalty4000% + \sfcode`\.\@m} + {\def\@noitemerr + {\@latex@warning{Empty `thebibliography' environment}}% + \endlist} + +\makeatother +% ---------------------------------------------------------------------- + +% :: title +%\title{User's Guide for the \pkg{amsmath} Package (Version~2.0)} +\title{Hướng dẫn sử dụng gói \pkg{amsmath} (phiên bản 2.0)} +%\author{American Mathematical Society} + +\author{Tác giả: Hội Toán học Mỹ (AMS)\\[6pt] + 13/12/1999 (sửa đổi 25/02/2002)\\[1cm] + Biên dịch: Ky Anh + $\langle$\href{mailto:kyanh@o2.pl}{kyanh@o2.pl}$\rangle$\\[6pt] + Bản dịch mới nhất 15/10/2005\\[5cm] + \url{http://VietTUG.org}} + +\date{} + +%%\medskip \emph{Bản dịch số {$\mathbf{\the\buildnum}$}}} + +% Use the amsmath package and amscd package in order to print +% examples. +\usepackage{amsmath} +\usepackage{amscd} + +\makeindex % generate index data +\providecommand{\see}[2]{\textit{see} #1} + +% The amsldoc class includes a number of features useful for +% documentation about TeX, including: +% +% ---Commands \tex/, \amstex/, \latex/, ... for uniform treatment +% of the various logos and easy handling of following spaces. +% +% ---Commands for printing various common elements: \cn for command +% names, \fn for file names (including font-file names), \env for +% environments, \pkg and \cls for packages and classes, etc. + +% Many of the command names used here are rather long and will +% contribute to poor linebreaking if we follow the \latex/ practice +% of not hyphenating anything set in tt font; instead we selectively +% allow some hyphenation. +%\allowtthyphens % defined in amsldoc.cls + +\hyphenation{ac-cent-ed-sym-bol add-to-counter add-to-length align-at + aligned-at allow-dis-play-breaks ams-art ams-cd ams-la-tex amsl-doc + ams-symb ams-tex ams-text ams-xtra bmatrix bold-sym-bol cen-ter-tags + eqn-ar-ray idots-int int-lim-its latex med-space neg-med-space + neg-thick-space neg-thin-space no-int-lim-its no-name-lim-its + over-left-arrow over-left-right-arrow over-right-arrow pmatrix + qed-sym-bol set-length side-set small-er tbinom the-equa-tion + thick-space thin-space un-der-left-arrow un-der-left-right-arrow + un-der-right-arrow use-pack-age var-inj-lim var-proj-lim vmatrix + xalign-at xx-align-at} + +% Prepare for illustrating the \vec example +\newcommand{\vect}[1]{\mathbf{#1}} + +\newcommand{\booktitle}[1]{\textit{#1}} +\newcommand{\journalname}[1]{\textit{#1}} +\newcommand{\seriesname}[1]{\textit{#1}} + +% Command to insert and index a particular phrase. Doesn't work for +% certain kinds of special characters in the argument. +\newcommand{\ii}[1]{#1\index{#1}} + +\newcommand{\vstrut}[1]{\vrule width0pt height#1\relax} + +% An environment for presenting comprehensive address information: +\newenvironment{infoaddress}{% + \par\topsep\medskipamount + \trivlist\centering + \item[]% + \begin{minipage}{.7\columnwidth}% + \raggedright +}{% + \end{minipage}% + \endtrivlist +} + +\newenvironment{eqxample}{% + \par\addvspace\medskipamount + \noindent\begin{minipage}{.5\columnwidth}% + \def\producing{\end{minipage}\begin{minipage}{.5\columnwidth}% + \hbox\bgroup\kern-.2pt\vrule width.2pt% + \vbox\bgroup\parindent0pt\relax +% The 3pt is to cancel the -\lineskip from \displ@y + \abovedisplayskip3pt \abovedisplayshortskip\abovedisplayskip + \belowdisplayskip0pt \belowdisplayshortskip\belowdisplayskip + \noindent} +}{% + \par +% Ensure that a lonely \[\] structure doesn't take up width less than +% \hsize. + \hrule height0pt width\hsize + \egroup\vrule width.2pt\kern-.2pt\egroup + \end{minipage}% + \par\addvspace\medskipamount +} + +% The chapters are so short, perhaps we shouldn't call them by the +% name `Chapter'. We make \chaptername read an argument in order to +% remove a following \space or "{} " (both possibilities are present +% in book.cls). + +\renewcommand{\chaptername}[1]{} +\newcommand{\chapnum}[1]{\mdash #1\mdash } +\makeatletter +\def\@makechapterhead#1{% + \vspace{1.5\baselineskip}% + {\parindent \z@ \raggedright \reset@font + \ifnum \c@secnumdepth >\m@ne + \large\bfseries \chapnum{\thechapter}% + \par\nobreak + \vskip.5\baselineskip\relax + \fi + #1\par\nobreak + \vskip\baselineskip + }} +\makeatother + +% A command for ragged-right parbox in a tabular. +\newcommand{\rp}{\let\PBS\\\raggedright\let\\\PBS} + +% Non-indexed file name +\newcommand{\nfn}[1]{\texttt{#1}} + +% For the examples in the math spacing table. +%%\newcommand{\lspx}{\mbox{\rule{5pt}{.6pt}\rule{.6pt}{6pt}}} +%%\newcommand{\rspx}{\mbox{\rule[-1pt]{.6pt}{7pt}% +%% \rule[-1pt]{5pt}{.6pt}}} +\newcommand{\lspx}{\mathord{\Rightarrow\mkern-1mu}} +\newcommand{\rspx}{\mathord{\mkern-1mu\Leftarrow}} +\newcommand{\spx}[1]{$\lspx #1\rspx$} + +% For a list of characters representing document input. +\newcommand{\clist}[1]{% + \mbox{\ntt\spaceskip.2em plus.1em \xspaceskip\spaceskip#1}} + +% Fix weird \latex/ definition of rightmark. +\makeatletter +\def\rightmark{\expandafter\@rightmark\botmark{}{}} +% Also turn off section marks. +\let\sectionmark\@gobble +\renewcommand{\chaptermark}[1]{% +%% \MakeUppercase{\markboth{\rhcn#1}{\rhcn#1}}} + \uppercase{\markboth{\rhcn#1}{\rhcn#1}}} +\newcommand{\rhcn}{\thechapter. } +\makeatother + +% Include down to \section but not \subsection, in toc: +\setcounter{tocdepth}{1} + +\DeclareMathOperator{\ix}{ix} +\DeclareMathOperator{\nul}{nul} +\DeclareMathOperator{\End}{End} +\DeclareMathOperator{\xxx}{xxx} + +\usepackage[colorlinks,draft=false, +pdftitle={AMSLaTeX Manual, v2.0, Vietnamese edition}, +pdfauthor={American Mathematical Society, Translator: Ky Anh }, +pdfsubject={Advanced Math Typesetting}, +pdfkeywords={math, typesetting, formulas}]{hyperref} \input pd1supp.def +\ifx\printversion\undefined +\RequirePackage{thumbpdf} +\hypersetup{pdfpagemode=UseThumbs} +\fi +\hypersetup{plainpages=false} +\hypersetup{pdfpagelabels=false} +%\hypersetup{hypertexnames=true} +\hypersetup{naturalnames=true} + +%\pagenumbering{roman} +\pagestyle{headings} +\begin{document} +%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% +\pagestyle{empty} +\maketitle +%% \rightline{\emph{The only way to learn mathematics is to do mathematics.}} +%% \medskip +%% \rightline{{\rm P. R. HALMOS}} +\ifx\printversion\undefined +\newpage +\else +\cleardoublepage +\fi +\tableofcontents +\cleardoublepage % for better page number placement +\pagestyle{headings} +%\pagenumbering{arabic} + +%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% + +\chapter{Thuật ngữ} + +Dưới đây là một số thuật ngữ dùng trong tài liệu này. + +\medskip +\begin{lentry} +\item[dimension] độ dài trong \latex/, ví dụ: |6pt|, |-2pc|, |5mm|,... +\item[font]kiểu chữ +\item[hyphen]tách một chữ (ở cuối dòng) với nhiều ký tự thành các phần nhỏ + ngăn cách bởi dấu gạch ngang (dấu |hyphen|). + Việc tách này giúp cho một chữ quá dài không tràn ra khỏi dòng. +\item[number] \emph{bla bla bla\ldots} +\item[preamble] phần nằm trước |\begin{document}| của tập tin nguồn \latex/. +\item[tag] chỉ số phương trình +\item[robust]\emph{bla bla bla\ldots} +\item[text] chuỗi các mã nguồn \latex/, ví dụ: "|xem Tiên đề~\ref{ax:1}|" +\item[typeset] sắp chữ nhờ \latex/ +% biên dịch tài liệu \latex/ nhờ chương trình |latex|, |pdflatex|,... +\item[wrap] tự động chia một dòng quá dài thành nhiều dòng nhỏ, để chúng + bố trí vừa trên một chiều rộng cố định cho trước +\item[canh cột]bố trí các phần của phương trình theo cột (chiều đứng) +\item[dấu ngoặc](phân cách); thuật ngữ tiếng Anh là |delimiter|; là các dấu + (,),[,],\{,\},$\vert$,... +\item[chỉ số phương trình]nhãn dùng để phân biệt các phương trình +\item[phương trình] biểu thức toán học bất kỳ được biểu diễn nhờ \latex/ +\item[v-khoảng cách] khoảng cách theo chiều đứng +\end{lentry} + +\chapter{Giới thiệu} + +% The \pkg{amsmath} package is a \LaTeX{} package that provides +% miscellaneous enhancements for improving the information structure and +% printed output of documents that contain mathematical formulas. Readers +% unfamiliar with \LaTeX{} should refer to \cite{lamport}. If you have an +% up-to-date version of \LaTeX{}, the \pkg{amsmath} package is normally +% provided along with it. Upgrading when a newer version of the +% \pkg{amsmath} package is released can be done via +% \url{http://www.ams.org/tex/amsmath.html} or +% \url{ftp://ftp.ams.org/pub/tex/}. +Gói \pkg{amsmath} dành cho \LaTeX{} cung cấp nhiều tiện ích để |typeset| +các tài liệu Toán học phức tạp. Gói này có trong hầu hết các bản phân phối +mới của \LaTeX{}. Để lấy các thông tin cập nhật về gói này, bạn xem ở + +\medskip +\rightline{\url{http://www.ams.org/tex/amsmath.html}} +\rightline{\url{ftp://ftp.ams.org/pub/tex/}} +\medskip + +% This documentation describes the features of the \pkg{amsmath} package +% and discusses how they are intended to be used. It also covers some +% ancillary packages: +Tài liệu này mô tả các tính năng và của gói \pkg{amsmath} và thảo luận +về các hướng sử dụng chúng. Tài liệu cũng đề cập sơ lược về các gói +\begin{ctab}{ll} +\pkg{amsbsy}& \pkg{amstext}\\ +\pkg{amscd}& \pkg{amsxtra}\\ +\pkg{amsopn} +\end{ctab} +% These all have something to do with the contents of math formulas. For +% information on extra math symbols and math fonts, see \cite{amsfonts} +% and \url{http://www.ams.org/tex/amsfonts.html}. For documentation of the +% \pkg{amsthm} package or AMS document classes (\cls{amsart}, +% \cls{amsbook}, etc.\@) see \cite{amsthdoc} or \cite{instr-l} and +% \url{http://www.ams.org/tex/author-info.html}. +Các gói này đều liên quan đến việc |typseset| biểu thức toán học. +Thông tin về các ký hiệu và |font| mở rộng, xem ở \cite{amsfonts} và + +\medskip +\rightline{\url{http://www.ams.org/tex/amsfonts.html}} +\medskip +\noindent +Tài liệu về gói \pkg{amsthm}, các lớp\footnote{|documentclass|} AMS (\cls{amsart}, +\cls{amsbook}, etc.\@) có thể tìm thấy trong \cite{amsthdoc}, \cite{instr-l} +và + +\medskip +\rightline{\url{http://www.ams.org/tex/author-info.html}} + +% If you are a long-time \latex/ user and have lots of mathematics in what +% you write, then you may recognize solutions for some familiar problems +% in this list of \pkg{amsmath} features: +\bigskip +Nếu bạn đã làm việc lâu dài với \latex/ và phải |typeset| rất nhiều các biểu thức +toán học, thì với gói \pkg{amsmath}, bạn có thể tìm thấy giải pháp +cho những vấn đề hay gặp nhất: + +\medskip +\begin{itemize} +\item +% A convenient way to define new `operator name' commands analogous +% to \cn{sin} and \cn{lim}, including proper side spacing and automatic +% selection of the correct font style and size (even when used in +% sub- or superscripts). +Dễ dàng định nghĩa toán tử, hàm toán học mới (tương tự như \cn{sin}, \cn{cos}); +các toán tử mới sẽ tự động canh chỉnh kích thước, kiểu |font| +và khoảng cách tương quan với các phần tử khác trong biểu thức. + +\item +% Multiple substitutes for the \env{eqnarray} environment to make +% various kinds of equation arrangements easier to write. +Nhiều biến thể của môi trường \env{eqnarray} +để sắp xếp nhiều loại (hệ) phương trình khác nhau. + +\item +% Equation numbers automatically adjust up or down to avoid +% overprinting on the equation contents (unlike \env{eqnarray}). +Các số chỉ phương trình tự động chuyển dịch lên, xuống để tránh +tình trạng tràn trang (khắc phục nhược điểm của \env{eqnarray}). + +\item +% Spacing around equals signs matches the normal spacing in the +% \env{equation} environment (unlike \env{eqnarray}). +Khoảng cách xung quanh dấu bằng ($=$) giống hệt khoảng cách bình thường +trong môi trường \env{equation} (không giống như \env{eqnarray}). + +\item +% A way to produce multiline subscripts as are often used with +% summation or product symbols. +Có thể tạo chỉ số dưới, chỉ số trên với nhiều dòng (thường gặp khi +làm việc với các ký hiệu tổng, tích) + +\item +% An easy way to substitute a variant equation number for a given +% equation instead of the automatically supplied number. +Dễ dàng tạo các biến thể cho việc đánh số một phương trình cho trước +(nếu bạn không thích kiểu đánh số mặc định). + +\item +% An easy way to produce subordinate equation numbers of the form +% (1.3a) (1.3b) (1.3c) for selected groups of equations. +Dễ dàng đánh số các phương trình con dạng (1.3a) (1.3b) (1.3c) +từ một nhóm các phương trình. Việc đánh số này là \emph{tự động.} +\end{itemize} + +% The \pkg{amsmath} package is distributed together with some small +% auxiliary packages: +\medskip +Gói \pkg{amsmath} được phân phối cùng với một số gói bổ trợ + +\begin{description} +\item[\pkg{amsmath}] +% Primary package, provides various features for +% displayed equations and other mathematical constructs. + Gói chính; cung cấp rất nhiều tiện ích để biễu diễn phương trình + và các biểu thức toán học từ đơn giản đến phức tạp. + +\item[\pkg{amstext}] +% Provides a \cn{text} command for +% typesetting a fragment of text inside a display. + Cung cấp lệnh \cn{text} để sắp xếp các đoạn văn bên trong + biểu thức toán học. + +\item[\pkg{amsopn}] +% Provides \cn{DeclareMathOperator} for defining new +% `operator names' like \cn{sin} and \cn{lim}. + Cung cấp lệnh \cn{DeclareMathOperator} để định nghĩa + các toán tử mới, như \cn{sin}, \cn{lim}. + +\item[\pkg{amsbsy}] +% For backward compatibility this package continues +% to exist but use of the newer \pkg{bm} package that comes with \LaTeX{} +% is recommended instead. + Gói này vẫn tồn tại để bảo đảm tính tương thích; tuy nhiên, + bạn nên dùng gói \pkg{bm} để thay thế cho \pkg{amsbsy}. + +\item[\pkg{amscd}] +% Provides a \env{CD} environment for simple +% commutative diagrams (no support for diagonal arrows). + Cung cấp môi trường \env{CD} để biểu diễn các biểu đồ giao hoán + đơn giản (với gói này, bạn không thể vẽ các mũi tên chéo). + +\item[\pkg{amsxtra}] +% Provides certain odds and ends such as +% \cn{fracwithdelims} and \cn{accentedsymbol}, for compatibility with +% documents created using version 1.1. + Gói bổ sung, nhằm bảo đảm tương thích với tài liệu dùng phiên bản 1.1 + của \pkg{amsmath}. Cung cấp: \cn{fracwithdelims}, \cn{accentedsymbol},... + +\end{description} + +% The \pkg{amsmath} package incorporates \pkg{amstext}, \pkg{amsopn}, and +% \pkg{amsbsy}. The features of \pkg{amscd} and \pkg{amsxtra}, however, +% are available only by invoking those packages separately. +\medskip +Gói \pkg{amsmath} đã bao gộp các gói \pkg{amstext}, \pkg{amsopn}, and +\pkg{amsbsy}; nghĩa là khi nạp gói \pkg{amsmath}, ba gói kia sẽ tự động +nạp theo. Còn để dùng các gói \pkg{amscd}, \pkg{amsxtra}, bạn phải nạp riêng chúng. + +\chapter{Các tùy chọn của gói \pkg{amsmath}}\label{options} + +Để dùng tùy chọn của gói, bạn để tên của tùy chọn vào trong phần tham +số bổ sung của lệnh nạp gói \cn{usepakage}. Các tùy chọn cách nhau bằng +dấu phảy. Ví dụ: + +\medskip +\verb"\usepackage[intlimits]{amsmath}"\\ +\indent\verb"\usepackage[sumlimits,intlimits]{amsmath}" + +\medskip +% The \pkg{amsmath} package has the following options: +Gói \pkg{amsmath} có các tùy chọn sau đây: +\begin{description} + +\item[\opt{centertags}] (mặc định) +%For a split equation, place equation +%numbers\index{equation numbers!vertical placement} vertically centered +%on the total height of the equation. +Đánh số phương trình\index{equation numbers!vertical placement} +bằng cách đặt chỉ số canh giữa theo chiều cao của phương trình. + +\item[\opt{tbtags}] +%`Top-or-bottom tags': For a split equation, place +%equation numbers\index{equation numbers!vertical placement} level with +%the last (resp.\@ first) line, if numbers are on the right (resp.\@ +%left). +`Top-or-bottom tags': Đặt chỉ số của phương trình ở phía bên phải, +dòng cuối cùng; hoặc ở phía bên trái, dòng đầu tiên. + +\item[\opt{sumlimits}] (mặc định) +% Place the subscripts and +% superscripts\index{subscripts and superscripts!placement}\relax +% \index{limits|see{subscripts and superscripts}} of summation symbols +% above and below, in displayed equations. This option also affects other +% symbols of the same type\mdash $\prod$, $\coprod$, $\bigotimes$, +% $\bigoplus$, and so forth\mdash but excluding integrals (see below). +Đặt các chỉ số trên và dưới của các ký hiệu tổng ($\sum$) ở trên và +ở dưới (trong công thức riêng dòng). Tùy chọn này cũng ảnh hưởng +đến các ký hiệu cùng loại\mdash $\prod$, $\coprod$, $\bigotimes$, +$\bigoplus$,...\mdash (nhưng ký hiệu tích phân thì không; xem dưới đây) + +\item[\opt{nosumlimits}] +% Always place the subscripts and superscripts of +% summation-type symbols to the side, even in displayed equations. +Luôn đặt chỉ số trên và chỉ số dưới của các ký hiệu dạng tổng ($\sum$, $\prod$,...) +ở bên cạnh, ngay cả trong công thức riêng dòng. Ví dụ $\sum_0^1$. + +\item[\opt{intlimits}] +% Like \opt{sumlimits}, but for +% integral\index{integrals!placement of limits} symbols. +Tương tự như \opt{sumlimits}, nhưng cho ký hiệu tích phân. + +\item[\opt{nointlimits}] (mặc định) Ngược với \opt{intlimits}. + +\item[\opt{namelimits}] (mặc định) +% Like \opt{sumlimits}, but for certain +% `operator names' such as $\det$, $\inf$, $\lim$, $\max$, $\min$, that +% traditionally have subscripts \index{subscripts and +% superscripts!placement} placed underneath when they occur in a displayed +% equation. +Tương tự \opt{sumlimits}, nhưng cho một số toán tử như +$\det$, $\inf$, $\lim$, $\max$, $\min$; +các toán tử này theo truyền thống thường có chỉ số đặt bên dưới toán tử +(chế độ công thức riêng dòng). + +\item[\opt{nonamelimits}] Ngược với \opt{namelimits}. + +% To use one of these package options, put the option name in the optional +% argument of the \cn{usepackage} command\mdash e.g., +% \verb"\usepackage[intlimits]{amsmath}". + +% The \pkg{amsmath} package also recognizes the following options which +% are normally selected (implicitly or explicitly) through the +% \cn{documentclass} command, and thus need not be repeated in the option +% list of the \cn{usepackage}|{amsmath}| statement. + +\item[\opt{leqno}] +% Place equation numbers on the left.\index{equation +% numbers!left or right placement} +Đặt chỉ số phương trình bên trái. + +\item[\opt{reqno}] +% Place equation numbers on the right. +Đặt chỉ số phương trình bên phải. + +\item[\opt{fleqn}] +% Position equations at a fixed indent from the left +% margin rather than centered in the text column.\index{displayed +% equations!centering} +Biểu diễn phương trình với lề trái cố định; theo mặc định, các phương +trình được canh giữa (do đó, lề trái của chúng \emph{thay đổi}). + +\end{description} + +% The \pkg{amsmath} package also recognizes the following options which +% are normally selected (implicitly or explicitly) through the +% \cn{documentclass} command, and thus need not be repeated in the option +% list of the \cn{usepackage}|{amsmath}| statement. +\medskip +Đối với ba tùy chọn cuối cùng (\opt{leqno}, \opt{reqno}, \opt{fleqn}), +bạn có thể để chúng vào phần tham số bổ sung của \cn{documentclass}; +gói \pkg{amsmath} nhận biết điều này và do đó bạn không cần lặp lại +khi nạp gói bằng \cn{usepackage}|{amsmath}|: + +\medskip +\verb"\documentclass[reqno]{report}"\par +\indent\verb"\usepackage{amsmath}"\% có tác dụng như \verb"\usepackage[reqno]{amsmath}" + + +%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% +%\chapter{Displayed equations} +\chapter{Biểu diễn phương trình} + +\section{Giới thiệu} +% The \pkg{amsmath} package provides a number of additional displayed +% equation structures\index{displayed +% equations}\index{equations|see{displayed equations}} beyond the ones +% provided in basic \latex/. The augmented set includes: +Gói \pkg{amsmath} cung cấp thêm các môi trường biểu diễn phương trình sau +đây, bên cạnh các môi trường chuẩn của \latex/: +\begin{verbatim} + equation equation* align align* + gather gather* flalign flalign* + multline multline* alignat alignat* + split +\end{verbatim} +% (Although the standard \env{eqnarray} environment remains available, +% it is better to use \env{align} or \env{equation}+\env{split} instead.) +(Mặc dù môi trường chuẩn \env{eqnarray} vẫn dùng được, nhưng tốt hơn hết +nên dùng môi trường \env{align} hoặc tổ hợp \env{equation}+\env{split}.) + +\medskip + +% Except for \env{split}, each environment has both starred and unstarred +% forms, where the unstarred forms have automatic numbering using +% \latex/'s \env{equation} counter. +Ngoại trừ \env{split}, mỗi môi trường đều có hai dạng: +\emph{có sao (*)} và \emph{không sao}; +các môi trường không sao sẽ sử dụng bộ đếm \env{equation} của \latex/ +để đánh số các phương trình một cách tự động (do đó, ta gọi +chúng là \emph{môi trường có đánh số}). +% You can suppress the number on any +% particular line by putting \cn{notag} before the \cn{\\}; +Bạn có thể bỏ qua việc đánh số cho bất kỳ dòng phương trình nào +bằng cách đặt lệnh \cn{notag} trước khi dùng \cn{\\}; +% you can also +% override\index{equation numbers!overriding} it with a tag of your own +% using \cn{tag}|{|\