diff options
author | Karl Berry <karl@freefriends.org> | 2010-09-18 00:10:58 +0000 |
---|---|---|
committer | Karl Berry <karl@freefriends.org> | 2010-09-18 00:10:58 +0000 |
commit | 3e043cb9a8d83174690ec924925f69217e3f1fcb (patch) | |
tree | 062b6cd49afe87309be093ad755e258b853bd2e5 /Master/texmf-dist/doc/latex/isomath/isomath-test.tex | |
parent | 079fd1cddf588d6f323494351c5f11cccb6f2381 (diff) |
isomath update (24aug10)
git-svn-id: svn://tug.org/texlive/trunk@19786 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/doc/latex/isomath/isomath-test.tex')
-rw-r--r-- | Master/texmf-dist/doc/latex/isomath/isomath-test.tex | 168 |
1 files changed, 94 insertions, 74 deletions
diff --git a/Master/texmf-dist/doc/latex/isomath/isomath-test.tex b/Master/texmf-dist/doc/latex/isomath/isomath-test.tex index 8f303197143..fd9c4267333 100644 --- a/Master/texmf-dist/doc/latex/isomath/isomath-test.tex +++ b/Master/texmf-dist/doc/latex/isomath/isomath-test.tex @@ -1,9 +1,9 @@ % isomath-test.tex: test and template for isomath.sty % =================================================== -% +% % Copyright © 2008 Günter Milde % Released under the terms of the GNU General Public License (v. 2 or later) -% +% % General settings % ---------------- % :: @@ -16,18 +16,29 @@ % Customisation -% ------------------- -% -% Font packages: Uncomment the package you want to test -% (cmss maps to roman for italic and bold-italic OML version) :: - -\newcommand*{\fontpackage}{} -\renewcommand*{\fontpackage}{% -% ae% \sfdefault is cmss (use cmbr) +% ------------- +% +% Font packages +% ~~~~~~~~~~~~~ +% +% (Auxiliary commands for package and option selection, so that the +% selections can be shown in the test sheet.) +% +% Uncomment the option(s) and package you want to test :: + +\newcommand*{\fontpackageoptions}{% +% default% with gfsneohellenic +% charter% 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% +% concmath% % cmbright% keeps \mathrm and \mathbf as CM (roman) % fourier% incompatible (uses private font encoding) % gfsneohellenic% (use option [default]) no bold @@ -35,48 +46,38 @@ % 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?) -% cmlgc% \sfdefault is cmss (use cmbr) -% lmodern% \sfdefault is cmss (use cmbr) -% lucidabr% commercial, subset (no math) free as bitmap +% lmodern% \sfdefault is cmss +% lucidabr% commercial, subset (no math) free as bitmap % lxfonts% normal and sans identic, -mathdesign% \sfdefault is cmss (use cmbr?) provides roman and roman bold in OML :-) -% mbtimes% \sfdefault is cmss (use cmbr?) -% mathpazo% \sfdefault is cmss (use cmbr?) +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 (use cmbr?) -% tgtermes,qtxmath% \sfdefault is cmss (use cmbr?) +% tgpagella,qpxmath% \sfdefault is cmss +% tgtermes,qtxmath% \sfdefault is cmss % txfonts% no sans-serif -% zefonts% use with sfdefault=cmbr +% zefonts% } -% Options -% ------- -% Uncomment the line(s) with the required options! +% Isomath options +% ~~~~~~~~~~~~~~~ +% +% Uncomment the option(s) you want to test :: -% Options for the font package call:: - -\newcommand*{\fontpackageoptions}{} -\renewcommand*{\fontpackageoptions}{% -% default% {gfsneohellenic} -% charter% {mathdesign} % -% garamond% {mathdesign} % no (free) bold, \sfdefault is cmss (use cmbr?) -utopia% {mathdesign} % \sfdefault is cmss (use cmbr?) -} - -% Isomath options:: - -\newcommand*{\isomathoptions}{} -\renewcommand*{\isomathoptions}{% -%reuseMathAlphabets,% +\newcommand*{\isomathoptions}{% +% reuseMathAlphabets,% OMLmathrm,% OMLmathbf,% -%OMLmathsf,% -%OMLmathtt,% -%OMLmathsans,% -sfdefault=cmbr% CM-Bright -%sfdefault=iwona% Iwona sans (some glyphs too close to roman) -%sfdefault=zavm% Arev sans (larger than normal) -%sfdefault=llcmm% LX sans (larger than normal) +% OMLmathsf,% +% OMLmathtt,% +% OMLmathsans,% +% rmdefault=qtxmia,% TeX Gyre Termes math with alternative glyphs +% sfdefault=cmbr,% default +% sfdefault=iwona,% Iwona sans (Greek glyphs too close to roman) +% sfdefault=fav,% Arev sans (scale down (ca. 0.87)) +% sfdefault=llcmss,% LX sans (glyphs too close to italic, scale down) +% scaled=0.875% scaling for Arev (small letters) } % Load customisable packages @@ -86,7 +87,11 @@ sfdefault=cmbr% CM-Bright \usepackage[\fontpackageoptions]{\fontpackage} \usepackage[\isomathoptions]{isomath} - + + +% Auxiliary definitions +% --------------------- +% % Re-define \vec to comply with ISO 31:: \renewcommand*{\vec}{\vectorsym} @@ -96,39 +101,44 @@ sfdefault=cmbr% CM-Bright {\textsf{mathsans not defined, use \texttt{OMLmathsans} option}} -% Now print a test sheet:: - + +% Test sheet +% ---------- +% :: + \begin{document} -\section{Test the isomath Package} +\section*{Test the isomath Package} + +% Print font package, isomath options, and resulting font families:: Fontpackage: [\fontpackageoptions]\{\fontpackage\}\\ Isomath called with options: [\isomathoptions]\\ -Default font families: +Default font families: +\makeatletter \begin{tabular}[t]{rlrl} - serif & \texttt{\rmdefault} & sans-serif & \texttt{\sfdefault} \\ - isomath-serif & \makeatletter \texttt{\isomath@rmdefault} \makeatother - & - isomath-sf &\makeatletter \texttt{\isomath@sfdefault} \makeatother - \\ + serif & \texttt{\rmdefault} & + sans-serif & \texttt{\sfdefault}\\ + isomath-serif & \texttt{\isomath@rmdefault} & + isomath-sf & \texttt{\isomath@sfdefault}\\ \end{tabular} +\makeatother +\subsection*{Math alphabets} -\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. -If there are ligatures (ff, fi, ...) or other "strange" symbols instead of -small Greek letters in a math alphabet, it uses T1 or OT1 encoding instead -of OML. +% A teststring with Latin and Greek letters:: -% Define a teststring with Latin and Greek letters \newcommand{\teststring}{% % capital Latin letters A,B,C, % capital Greek letters \Gamma,\Delta,\Theta,\Lambda,\Xi,\Pi,\Sigma,\Upsilon,\Phi,\Psi,\Omega, % small Greek letters -\alpha,\beta,\nu,\omega, -% small Latin letters: +\alpha,\beta,\pi,\nu,\omega, +% small Latin letters: % compare \nu, \omega, v, and w v,w, % is there a true italic form of a and g? @@ -149,30 +159,40 @@ a,g, \mbox{mathsans} & & \mathsans{\teststring}\\ \mbox{mathboldsans} & & \mathboldsans{\teststring} \end{eqnarray*} +% +Do the math alphabets match? +$ +\mathnormal {a x \alpha \omega} +\mathbold {a x \alpha \omega} +\mathboldsans{a x \alpha \omega} +\quad +\mathboldsans{T C \Theta \Gamma} +\mathbold {T C \Theta \Gamma} +\mathnormal {T C \Theta \Gamma} +$ -\subsection{Vector symbols} +\subsection*{Vector symbols} -Symbols for vectors are boldface italic: -$\vec{\alpha}=\vec{e}_{1}\cdot\vec{a}$ +Symbols for vectors are boldface italic: +$\vec{\lambda}=\vec{e}_{1}\cdot\vec{a}$. -\subsection{Matrix symbols} +\subsection*{Matrix symbols} -Symbols for matrices are boldface italic, i. e. typeset in the same -face as vectors:% +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{\Gamma}=\matrixsym{E}\cdot\matrixsym{A}.$ +} +$\matrixsym{\Lambda}=\matrixsym{E}\cdot\matrixsym{A}.$ -\subsection{Tensor symbols} +\subsection*{Tensor symbols} -Symbols for tensors are sans-serif bold italic, +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}. @@ -182,5 +202,5 @@ Symbols for tensors are sans-serif bold italic, The permittivity tensor describes the coupling of electric field and displacement: \[ \vec{D}=\epsilon_{0}\tensorsym{\epsilon}_{\mathrm{r}}\vec{E}\] - + \end{document} |