summaryrefslogtreecommitdiff
path: root/Master/texmf-doc/doc/english/mathmode/Mathmode.tex
diff options
context:
space:
mode:
Diffstat (limited to 'Master/texmf-doc/doc/english/mathmode/Mathmode.tex')
-rw-r--r--Master/texmf-doc/doc/english/mathmode/Mathmode.tex29
1 files changed, 14 insertions, 15 deletions
diff --git a/Master/texmf-doc/doc/english/mathmode/Mathmode.tex b/Master/texmf-doc/doc/english/mathmode/Mathmode.tex
index b1cc722ad1c..e0c5c314cec 100644
--- a/Master/texmf-doc/doc/english/mathmode/Mathmode.tex
+++ b/Master/texmf-doc/doc/english/mathmode/Mathmode.tex
@@ -4,7 +4,7 @@
%% IMPORTANT NOTICE:
%%
%% Herbert Voss <hvoss at tug dot org>
-%% 2009-01-22
+%% 2009-04-08
%%
%% This program can be redistributed and/or modified under the terms
%% of the LaTeX Project Public License Distributed from CTAN archives
@@ -53,15 +53,14 @@ It is often said that \TeX{} was designed for mathematical or technical purposes
This may be true when we remember the reasons why Donald Knuth created \TeX{}. But nowadays
there are many examples in which \TeX\ is
used for publications with no mathematical or technical background content. However,
-%we have to consider, that
-writing publications with such %a lot of mathematical
+writing publications with such
material is one of the important advantages of \TeX{}. Because it
seems impossible to
know all existing macros and options of \AllTeX{} and the several additional packages,
especially of \AmSmath. This is the reason why I have attempted to gather
all the relevant
-%I tried to collect all important
-facts in this paper. An advanced german version of this paper is available as a book \cite{voss09}.
+facts in this paper. An advanced german version of this paper is available as a book~\cite{voss09},
+for members of DANTE, the german \TeX\ users group, for a special price!
\vspace{3cm}
\noindent Please report typos or any other comments to this documentation to
@@ -4807,12 +4806,12 @@ The two macros \verb+\xrightarrow+ and \verb+\xleftarrow+ are defined as:
be used for inline $a\boxed{b+c}$ and displayed math expressions:
\begin{align}
-\boxed{f(x)=\int_1^{\infty}\frac{1}{x^2}\,dt=1}
+\boxed{f(x)=\int_1^{\infty}\frac{1}{x^2}\,\mathrm{d}x=1}
\end{align}
\begin{lstlisting}
\begin{align}
-\boxed{f(x)=\int_1^{\infty}\frac{1}{x^2}\,dt=1}
+\boxed{f(x)=\int_1^{\infty}\frac{1}{x^2}\,\mathrm{d}x=1}
\end{align}
\end{lstlisting}
@@ -6200,23 +6199,23 @@ the preferred box type
can be specified. A simple one is \CIndex{fbox}
\begin{empheq}[box=\fbox]{align}
- f(x)=\int_1^{\infty}\frac{1}{x^2}\,dt=1
+ f(x)=\int_1^{\infty}\frac{1}{x^2}\,\mathrm{d}x=1
\end{empheq}
\begin{lstlisting}
\begin{empheq}[box=\fbox]{align}
- f(x)=\int_1^{\infty}\frac{1}{x^2}\,dt=1
+ f(x)=\int_1^{\infty}\frac{1}{x^2}\,\mathrm{d}x=1
\end{empheq}
\end{lstlisting}
The same is possible with the macro \verb|\colorbox|:
\begin{empheq}[box={\fboxsep=10pt\colorbox{yellow}}]{align}
- f(x)=\int_1^{\infty}\frac{1}{x^2}\,dt=1
+ f(x)=\int_1^{\infty}\frac{1}{x^2}\,\mathrm{d}x=1
\end{empheq}
\begin{lstlisting}
\begin{empheq}[box={\fboxsep=10pt\colorbox{yellow}}]{align}
- f(x)=\int_1^{\infty}\frac{1}{x^2}\,dt=1
+ f(x)=\int_1^{\infty}\frac{1}{x^2}\,\mathrm{d}x=1
\end{empheq}
\end{lstlisting}
@@ -6225,16 +6224,16 @@ subequations is also no problem, the \UIndex{empheq} works in the same way:
\begin{subequations}
\begin{empheq}[box={\fboxsep=10pt\colorbox{cyan}}]{align}
- f(x) & =\int_1^{\infty}\frac{1}{x^1}\,dt=1\\
- f(x) & =\int_2^{\infty}\frac{1}{x^2}\,dt=0.25
+ f(x) & =\int_1^{\infty}\frac{1}{x^1}\,\mathrm{d}x=1\\
+ f(x) & =\int_2^{\infty}\frac{1}{x^2}\,\mathrm{d}x=0.25
\end{empheq}
\end{subequations}
\begin{lstlisting}
\begin{subequations}
\begin{empheq}[box={\fboxsep=10pt\colorbox{cyan}}]{align}
- f(x) & =\int_1^{\infty}\frac{1}{x^2}\,dt=1\\
- f(x) & =\int_2^{\infty}\frac{1}{x^2}\,dt=0.25
+ f(x) & =\int_1^{\infty}\frac{1}{x^2}\,\mathrm{d}x=1\\
+ f(x) & =\int_2^{\infty}\frac{1}{x^2}\,\mathrm{d}x=0.25
\end{empheq}
\end{subequations}
\end{lstlisting}