diff options
Diffstat (limited to 'Master/texmf-doc/doc/english/mathmode/Mathmode.tex')
-rw-r--r-- | Master/texmf-doc/doc/english/mathmode/Mathmode.tex | 57 |
1 files changed, 39 insertions, 18 deletions
diff --git a/Master/texmf-doc/doc/english/mathmode/Mathmode.tex b/Master/texmf-doc/doc/english/mathmode/Mathmode.tex index 9042fb8d7e0..73288690e72 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> -%% 2006-10-16 +%% 2007-03-30 %% %% This program can be redistributed and/or modified under the terms %% of the LaTeX Project Public License Distributed from CTAN archives @@ -13,14 +13,14 @@ %% DESCRIPTION: %% `Mathmode' is a document how the math mode works inside LaTeX %% -\def\MathmodeVersion{2.21} +\def\MathmodeVersion{2.23} %\ifvtex\title{\logo Math mode - v.\MathmodeVersion}\else \ifpdf\title{Math mode - v.\MathmodeVersion}\else \title{\logo Math mode - v.\MathmodeVersion}\fi%\fi % \author{Herbert Vo\ss\footnote{\sloppy Thanks for the feedback to: Hendri Adriaens; Juan Mari Alberdi; - Alexander Boronka; Walter Brown; + Andrea Blomenhofer; Alexander Boronka; Walter Brown; Christian Faulhammer; Jos\'e{} Luis G\'omez Dans; Zongbao Fang; Sabine Glaser; @@ -1951,7 +1951,7 @@ It is also possible to use the package \PIndex{icomma}\footnote{% {CTAN:// macros/latex/contrib/was/}} for a documentwide correct spacing. -\subsection{Vertical whitespace}\label{subsec:whitespace} +\subsection{Vertical whitespace}\label{subsec:vwhitespace} \subsubsection{Before/after math expressions}\label{subsubsec:displayskip} There are four predefined lengths, which control the vertical whitespace @@ -2888,7 +2888,9 @@ There are some other macros which are not mentioned in the foregoing text. Here a not really complete list of these macros. \begin{description} \item[\CMD{everymath}] \index{everymath@\textbackslash everymath} puts the argument before -any inlined math expression, \eg \verb+\everymath{\small}+. +any inlined math expression, \eg \verb+\everymath{\displaysize}+. Using this macro doesn't really +make sense, when one is using footnotes because the footnote number is printed as superscript in +inline mathmode and an \CMD{everymath} will be valid, too. \item[\CMD{everydisplay}] \index{everydisplay@\textbackslash everydisplay} puts the argument before any displayed math expression, \eg \verb+\everydisplay{\color{blue}}+. \item[\CMD{underline}] \index{underline@\textbackslash underline} underlines a math @@ -3947,7 +3949,7 @@ For dots over several columns look for \CMD{hdotsfor} in the following section. \section{Vertical whitespace}\label{sec:ams-whitespace} -See section~\vref{subsec:whitespace} for the lengths which control the +See section~\vref{subsec:vwhitespace} for the lengths which control the vertical whitespace. There is no difference to \AmSmath. \section{Dots}\label{sec:ams-dots} @@ -4789,25 +4791,39 @@ be used for inline $a\boxed{b+c}$ and displayed math expressions: For coloured boxes use package \verb|empheq|. For an example see section \vref{sec:empheq}. \section{Greek letters}\label{sec:greek-AMS} -\marginpar{\CMD{pmb}}% +\marginpar{\CMD{pmb}\\\CMD{boldsymbol}}% The \AmSmath package simulates a bold font for the greek letters by writing a greek %%% ----- Martin ----- character twice with a small kerning. This is done with the macro \verb|\pmb{<letter>}|\index{pmb@\textbackslash pmb}\index{Bold greek letters}. The -\verb|\mathbf{<character>}| doesn't work with lower greek character. +\verb|\mathbf{<character>}| doesn't work with lower greek character. However, +using the \CMD{boldsymbol} macro from \AmSmath{} is the better way when the font +has a bold symbol. +\index{boldsymbol@\CMD{boldsymbol}} -\begin{tabular}{cc} -$\alpha$ & $\pmb{\alpha}$\\ -$\beta$ & $\pmb{\beta}$\\ -$\gamma$ & $\pmb{\gamma}$\\ -$\delta$ & $\pmb{\delta}$\\ -$\epsilon$ & $\pmb{\epsilon}$\\ -$\ldots$ & $\ldots$ +Uppercase greek letters are by default in upright mode. \AmSmath\ supports also +such letters in italic mode with a preceeding \verb+var+ e.g., \verb+\varGamma+ + +\medskip +\begin{tabular}{ccc|cc} +\emph{letter} & \CMD{pmb}\verb+{letter}+ & \CMD{boldsymbol}\verb+{letter}+ & \emph{letter} & \emph{italic}\\ +$\alpha$ & $\pmb{\alpha}$ & $\boldsymbol{\alpha}$ & $\Gamma$ & $\varGamma$\\ +$\beta$ & $\pmb{\beta}$ & $\boldsymbol{\beta}$ & $\Delta$ & $\varDelta$\\ +$\gamma$ & $\pmb{\gamma}$ & $\boldsymbol{\gamma}$ & $\Theta$ & $\varTheta$\\ +$\delta$ & $\pmb{\delta}$ & $\boldsymbol{\delta}$ & $\Lambda$ & $\varLambda$\\ +$\epsilon$ & $\pmb{\epsilon}$ & $\boldsymbol{\epsilon}$ & $\Xi$ & $\varXi$\\ +$\varepsilon$ & $\pmb{\varepsilon}$ & $\boldsymbol{\varepsilon}$ & $\Pi$ & $\varPi$\\ +$\zeta$ & $\pmb{\zeta}$ & $\boldsymbol{\zeta}$ & $\Sigma$ & $\varSigma$\\ +$\eta$ & $\pmb{\eta}$ & $\boldsymbol{\eta}$ & $\Upsilon$ & $\varUpsilon$\\ +$\theta$ & $\pmb{\theta}$ & $\boldsymbol{\theta}$ & $\Phi$ & $\varPhi$\\ +$\vartheta$ & $\pmb{\vartheta}$ & $\boldsymbol{\vartheta}$ & $\Psi$ & $\varPsi$\\ +$\iota$ & $\pmb{\iota}$ & $\boldsymbol{\iota}$ & $\Omega$ & $\varOmega$\\ +$\ldots$ & $\ldots$ & $\ldots$ \end{tabular} \section{Miscellaneous commands}\label{sec:misc-AMS} -There are several commands which can be used in math mode:\marginpar{\CMD{overset}\\\CMD{underset}\\\CMD{boxed}} +There are several commands which can be used in math mode:\marginpar{\CMD{overset}\\\CMD{underset}} Some examples are shown in table~\vref{cap:Different-Mathcommands-supported-AMS}. @@ -4819,11 +4835,16 @@ Some examples are shown in table~\vref{cap:Different-Mathcommands-supported-AMS} $\underset{under}{baseline}$\tabularnewline \verb|$\overset{over}{baseline}$| \index{overset@\textbackslash overset} & $\overset{over}{baseline}$\tabularnewline +\verb+\boldsymbol{\Omega}+ & $\boldsymbol{\Omega}$ \end{tabular}} \caption{Different mathcommands}\label{cap:Different-Mathcommands-supported-AMS} \end{table} -\CMD{underset} is a useful macro for having limits under non-operators (see page~\pageref{sec:amsopn}). %%% ----- Martin ----- +\CMD{underset} is a useful macro for having limits under non-operators +(see page~\pageref{sec:amsopn}). %%% ----- Martin ----- +\CMD{boldsymbol} can be used for a math symbol that remains unaffected by +\CMD{mathbf} if the current math font set includes a bold version of that symbol. + \section{Problems with \texttt{amsmath}} \AmSmath{} is an excellent package with some ``funny features''. @@ -7085,7 +7106,7 @@ shows how one can put \index{color}colors in rows, columns and cells. \index{rowcolor@\textbackslash rowcolor}\index{columncolor@\textbackslash columncolor} \medskip\noindent -\includegraphics[width=\columnwidth]{colArray.pdf} +\includegraphics[width=\columnwidth]{colArray} %\[ %\left[\, |