summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/doc/latex/isomath/isomath-test.tex
diff options
context:
space:
mode:
Diffstat (limited to 'Master/texmf-dist/doc/latex/isomath/isomath-test.tex')
-rw-r--r--Master/texmf-dist/doc/latex/isomath/isomath-test.tex190
1 files changed, 134 insertions, 56 deletions
diff --git a/Master/texmf-dist/doc/latex/isomath/isomath-test.tex b/Master/texmf-dist/doc/latex/isomath/isomath-test.tex
index fd9c4267333..b640a4ff66b 100644
--- a/Master/texmf-dist/doc/latex/isomath/isomath-test.tex
+++ b/Master/texmf-dist/doc/latex/isomath/isomath-test.tex
@@ -1,4 +1,4 @@
-% isomath-test.tex: test and template for isomath.sty
+%isomath-test.tex: test and template for isomath.sty
% ===================================================
%
% Copyright © 2008 Günter Milde
@@ -9,9 +9,9 @@
% ::
\documentclass[a4paper]{article}
-\usepackage[LGR,T1]{fontenc}
-% \usepackage[T1]{fontenc}
+\usepackage[T1]{fontenc}
% \usepackage[utf8]{inputenc}
+\usepackage{amsmath}
\pagestyle{empty}
@@ -29,35 +29,37 @@
\newcommand*{\fontpackageoptions}{%
% default% with gfsneohellenic
% charter% with mathdesign
-garamond% with mathdesign
+% garamond% with mathdesign
% utopia% with mathdesign
}
\newcommand*{\fontpackage}{%
-% ae% \sfdefault is cmss
-% anttor% \sfdefault is cmss (use iwona)
-% arev% normal and sans identic (also in math)
-% beton% bitmap fonts
-% concmath%
-% cmbright% keeps \mathrm and \mathbf as CM (roman)
-% fourier% incompatible (uses private font encoding)
-% gfsneohellenic% (use option [default]) no bold
-% hfoldsty% bitmap fonts
-% iwona% sets cmss as sans font (use iwona)
-% kpfonts% no sans serif italic, needs reuseMathAlphabets
-% kerkis% no bold math, no sans serif (use iwona or arev?)
-% lmodern% \sfdefault is cmss
-% lucidabr% commercial, subset (no math) free as bitmap
-% lxfonts% normal and sans identic,
-mathdesign% \sfdefault is cmss, provides roman and roman-bold in OML
-% mathptmx% in mathnormal, Greek is larger than Latin!
-% mbtimes% \sfdefault is cmss
-% mathpazo% \sfdefault is cmss
-% pxfonts% needs reuseMathAlphabets, no sans-serif
-% tgpagella,qpxmath% \sfdefault is cmss
-% tgtermes,qtxmath% \sfdefault is cmss
-% txfonts% no sans-serif
-% zefonts%
+% ae,% \sfdefault is cmss
+% anttor,% \sfdefault is cmss (use iwona)
+% arev,% normal and sans identic (also in math)
+% beton,% bitmap fonts
+% concmath,%
+% cmbright,%
+% fourier,% incompatible (uses private font encoding)
+% gfsneohellenic,% (use option [default]) no bold
+% hfoldsty,% bitmap fonts
+% iwona,% sets cmss as sans font (use iwona)
+% kpfonts,% no sans serif italic
+% kerkis,% no bold math,
+% lmodern,% \sfdefault is cmss
+% lucidabr,% commercial, subset (no math) free as bitmap
+% lxfonts,% normal and sans identic,
+% mathdesign,% \sfdefault is cmss, provides roman and roman-bold in OML
+% mathptmx,% in mathnormal, Greek is larger than Latin!
+% mbtimes,% \sfdefault is cmss
+% mathpazo,% \sfdefault is cmss
+% pxfonts,% needs reuseMathAlphabets, no sans-serif
+tgcursor,% avoid bitmap tt
+tgheros,% avoid bitmap sf
+% tgpagella,% \sfdefault is cmss
+tgtermes,% \sfdefault is cmss
+% txfonts,% no sans-serif
+% zefonts%
}
% Isomath options
@@ -67,11 +69,12 @@ mathdesign% \sfdefault is cmss, provides roman and roman-bold in OML
\newcommand*{\isomathoptions}{%
% reuseMathAlphabets,%
-OMLmathrm,%
-OMLmathbf,%
+% OMLmathrm,%
+% OMLmathbf,%
% OMLmathsf,%
+OMLmathsfit,%
% OMLmathtt,%
-% OMLmathsans,%
+% OMLmathsans,% backwards compatibility option alias
% rmdefault=qtxmia,% TeX Gyre Termes math with alternative glyphs
% sfdefault=cmbr,% default
% sfdefault=iwona,% Iwona sans (Greek glyphs too close to roman)
@@ -85,7 +88,6 @@ OMLmathbf,%
% ::
\usepackage[\fontpackageoptions]{\fontpackage}
-
\usepackage[\isomathoptions]{isomath}
@@ -96,10 +98,16 @@ OMLmathbf,%
\renewcommand*{\vec}{\vectorsym}
-% Fall-back definition for \mathsans::
-\providecommand*{\mathsans}[1]%
-{\textsf{mathsans not defined, use \texttt{OMLmathsans} option}}
+% Fall-back definition for \mathsfit::
+
+\providecommand*{\mathsfit}[1]%
+{\textsf{mathsfit not defined, use \texttt{OMLmathsfit} option}}
+
+% use Arev as "heavy" sans serif font::
+
+\DeclareFontShape{OML}{fav}{bx}{it}{<-> s * [0.875] zavmbi7m}{}
+\SetMathAlphabet{\mathsfbfit}{bold}{OML}{fav}{bx}{it}
% Test sheet
@@ -113,22 +121,17 @@ OMLmathbf,%
% Print font package, isomath options, and resulting font families::
Fontpackage: [\fontpackageoptions]\{\fontpackage\}\\
-Isomath called with options: [\isomathoptions]\\
+Isomath: [\isomathoptions]\{isomath\}\\
Default font families:
\makeatletter
-\begin{tabular}[t]{rlrl}
- serif & \texttt{\rmdefault} &
- sans-serif & \texttt{\sfdefault}\\
- isomath-serif & \texttt{\isomath@rmdefault} &
- isomath-sf & \texttt{\isomath@sfdefault}\\
+\begin{tabular}[t]{lrlrl}
+ Text & serif & \textsf{\rmdefault} &
+ sans-serif & \textsf{\sfdefault}\\
+ Math & serif & \textsf{\isomath@rmdefault} &
+ sans-serif & \textsf{\isomath@sfdefault}\\
\end{tabular}
\makeatother
-\subsection*{Math alphabets}
-
-If there are other symbols in place of Greek letters in a math
-alphabet, it uses T1 or OT1 font encoding instead of OML.
-
% A teststring with Latin and Greek letters::
\newcommand{\teststring}{%
@@ -143,8 +146,15 @@ A,B,C,
v,w,
% is there a true italic form of a and g?
a,g,
+% digits
+0,1,9
}
+\subsection*{Math alphabets}
+
+If there are other symbols in place of Greek letters in a math
+alphabet, it uses T1 or OT1 font encoding instead of OML.
+
\begin{eqnarray*}
\mbox{mathnormal} & & \teststring \\
\mbox{mathit} & & \mathit{\teststring}\\
@@ -155,28 +165,29 @@ a,g,
\end{eqnarray*}
New alphabets bold-italic, sans-serif-italic, and sans-serif-bold-italic.
\begin{eqnarray*}
-\mbox{mathbold} & & \mathbold{\teststring}\\
-\mbox{mathsans} & & \mathsans{\teststring}\\
-\mbox{mathboldsans} & & \mathboldsans{\teststring}
+\mbox{mathbfit} & & \mathbfit{\teststring}\\
+\mbox{mathsfit} & & \mathsfit{\teststring}\\
+\mbox{mathsfbfit} & & \mathsfbfit{\teststring}
\end{eqnarray*}
%
Do the math alphabets match?
$
\mathnormal {a x \alpha \omega}
-\mathbold {a x \alpha \omega}
-\mathboldsans{a x \alpha \omega}
+\mathbfit {a x \alpha \omega}
+\mathsfbfit{a x \alpha \omega}
\quad
-\mathboldsans{T C \Theta \Gamma}
-\mathbold {T C \Theta \Gamma}
+\mathsfbfit{T C \Theta \Gamma}
+\mathbfit {T C \Theta \Gamma}
\mathnormal {T C \Theta \Gamma}
$
\subsection*{Vector symbols}
-Symbols for vectors are boldface italic:
-$\vec{\lambda}=\vec{e}_{1}\cdot\vec{a}$.
-
+Alphabetic symbols for vectors are boldface italic,
+$\vec{\lambda}=\vec{e}_{1}\cdot\vec{a}$,
+while numeric ones (e.g. the zero vector) are bold upright,
+$\vec{a} + \vec{0} = \vec{a}$.
\subsection*{Matrix symbols}
@@ -203,4 +214,71 @@ The permittivity tensor describes the coupling of electric field and
displacement: \[
\vec{D}=\epsilon_{0}\tensorsym{\epsilon}_{\mathrm{r}}\vec{E}\]
+
+\subsection*{Bold math version}
+
+The ``bold'' math version is selected with the commands
+\verb+\boldmath+ or \verb+\mathversion{bold}+
+\boldmath
+
+
+\begin{eqnarray*}
+\mbox{mathnormal} & & \teststring \\
+\mbox{mathit} & & \mathit{\teststring}\\
+\mbox{mathrm} & & \mathrm{\teststring}\\
+\mbox{mathbf} & & \mathbf{\teststring}\\
+\mbox{mathsf} & & \mathsf{\teststring}\\
+\mbox{mathtt} & & \mathtt{\teststring}
+\end{eqnarray*}
+ New alphabets bold-italic, sans-serif-italic, and sans-serif-bold-italic.
+\begin{eqnarray*}
+\mbox{mathbfit} & & \mathbfit{\teststring}\\
+\mbox{mathsfit} & & \mathsfit{\teststring}\\
+\mbox{mathsfbfit} & & \mathsfbfit{\teststring}
+\end{eqnarray*}
+%
+Do the math alphabets match?
+
+$
+\mathnormal {a x \alpha \omega}
+\mathbfit {a x \alpha \omega}
+\mathsfbfit{a x \alpha \omega}
+\quad
+\mathsfbfit{T C \Theta \Gamma}
+\mathbfit {T C \Theta \Gamma}
+\mathnormal {T C \Theta \Gamma}
+$
+
+\subsection*{Vector symbols}
+
+Alphabetic symbols for vectors are boldface italic,
+$\vec{\lambda}=\vec{e}_{1}\cdot\vec{a}$,
+while numeric ones (e.g. the zero vector) are bold upright,
+$\vec{a} + \vec{0} = \vec{a}$.
+
+
+\subsection*{Matrix symbols}
+
+Symbols for matrices are boldface italic, too:%
+\footnote{However, matrix symbols are usually capital letters whereas vectors
+are small ones. Exceptions are physical Quantities like the force
+vector $\vec{F}$ or the electrical field $\vec{E}$.%
+}
+$\matrixsym{\Lambda}=\matrixsym{E}\cdot\matrixsym{A}.$
+
+
+\subsection*{Tensor symbols}
+
+Symbols for tensors are sans-serif bold italic,
+
+\[
+ \tensorsym{\alpha} = \tensorsym{e}\cdot\tensorsym{a}
+ \quad \Longleftrightarrow \quad
+ \alpha_{ijl} = e_{ijk}\cdot a_{kl}.
+\]
+
+The permittivity tensor describes the coupling of electric field and
+displacement: \[
+\vec{D}=\epsilon_{0}\tensorsym{\epsilon}_{\mathrm{r}}\vec{E}\]
+
\end{document}