summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/doc/latex/isomath/isomath-test.tex
blob: a9b1893297966a2b5c3a09a21957462d311e96f4 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
%% LyX 1.5.5 created this file.  For more info, see http://www.lyx.org/.
%% Do not edit unless you really know what you are doing.
\documentclass[a4paper,british]{scrartcl}
% \usepackage[T1]{fontenc}
% \usepackage[latin1]{inputenc}
\pagestyle{empty}

%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% User specified LaTeX commands.

% Load a font package:

% \usepackage{ae}
% \usepackage{anttor}
% \usepackage{arev}      % normal and sans identic
% \usepackage{beton}     % bitmap fonts
% \usepackage{concmath}
% \usepackage{cmbright}  % keeps \mathrm and \mathbf as CM (roman)
\usepackage{fourier}
% \usepackage[LGR,T1]{fontenc}\usepackage[default]{gfsneohellenic} % no bold
% \usepackage{hfoldsty}  % bitmap fonts
% \usepackage{iwona}     % uses cmss --- cmbr is bad match
% \usepackage{kpfonts}   % too many math alphabets used in version normal
% \usepackage{kerkis}    % no bold math, no sans serif (choose iwona or arev?)
% \usepackage{lmodern}
% \usepackage{lucidabr}  % commercial, subset free as bitmap
% \usepackage{lxfonts}   % normal and sans identic, no \mathbold
%% mathdesign:           % cmbr too light (bold ok)
%%   			 % too many math alphabets without keepMathAlphabets
% \usepackage[charter]{mathdesign}  % bitmap?
% \usepackage[garamond]{mathdesign} % bitmap?
% \usepackage[utopia]{mathdesign} % bitmap?
% \usepackage{mbtimes}
% \usepackage{gfsneohellenic}
% \usepackage{mathpazo}	 % 
% \usepackage{pxfonts}   % too many math alphabets used in version normal
% \usepackage{tgpagella}\usepackage{qpxmath} % cmbr too light (bold ok)
% \usepackage{tgtermes}\usepackage{qtxmath} % cmbr too light (bold ok)
% \usepackage{txfonts}   % too many math alphabets used in version normal
% \usepackage{zefonts}   % CM based


% load the isomath package with (or without) options
% --------------------------------------------------

\newcommand{\options}{}
% \renewcommand{\options}{omlMathalphabets}
% \renewcommand{\options}{reuseMathalphabets}
% \renewcommand{\options}{sfdefault=iwona}    % with Iwona sans
% \renewcommand{\options}{sfdefault=zavm}     % with Arew sans (larger than normal) 
% \renewcommand{\options}{sfdefault=llcmm}    % with LX sans (doesn't work)

\usepackage[\options]{isomath}


% re-define \vec to comply with ISO 31::
\renewcommand{\vec}{\vectorsym}

\usepackage{babel}

\begin{document}

\section{Test the isomath Package}

\makeatletter
Default font families: 
 serif \texttt{\rmdefault}, 
 sans-serif \texttt{\sfdefault}, 
 isomath-serif \texttt{\isomath@rmdefault}, 
 isomath-sf \texttt{\isomath@sfdefault}.
\makeatother

\subsection{Math alphabets}

The math alphabets should work with greek letters too (thus access
to upright greek is possible for both, small and capital letters).
If there are ligatures (ff, fi, ...) instead of small Greek letters
in a math alphabet, it uses T1 or OT1 encoding instead of OML. \begin{eqnarray*}
\mbox{mathnormal} &  & a,g,v,w,z,A,B,\Gamma,\Delta,E,\Theta,\Lambda,\Xi,\Pi,\Sigma,\Upsilon,\Phi,\Psi,\Omega,\alpha,\beta,\nu,\omega\\
\mbox{mathit} &  & \mathit{a,g,v,w,z,A,B,\Gamma,\Delta,E,\Theta,\Lambda,\Xi,\Pi,\Sigma,\Upsilon,\Phi,\Psi,\Omega,\alpha,\beta,\nu,\omega}\\
\mbox{mathrm} &  & \mathrm{\mathrm{a,g,v,w,z,A,B,\Gamma,\Delta,E,\Theta,\Lambda,\Xi,\Pi,\Sigma,\Upsilon,\Phi,\Psi,\Omega,\alpha,\beta,\nu,\omega}}\\
\mbox{mathbf} &  & \mathbf{a,g,v,w,z,A,B,\Gamma,\Delta,E,\Theta,\Lambda,\Xi,\Pi,\Sigma,\Upsilon,\Phi,\Psi,\Omega,\alpha,\beta,\nu,\omega}\\
\mbox{mathsf} &  & \mathsf{a,g,v,w,z,A,B,\Gamma,\Delta,E,\Theta,\Lambda,\Xi,\Pi,\Sigma,\Upsilon,\Phi,\Psi,\Omega,\alpha,\beta,\nu,\omega}\\
\mbox{mathtt} &  & \mathtt{a,g,v,w,z,A,B,\Gamma,\Delta,E,\Theta,\Lambda,\Xi,\Pi,\Sigma,\Upsilon,\Phi,\Psi,\Omega,\alpha,\beta,\nu,\omega}
\end{eqnarray*}
 New alphabets are defined for italic-bold, italic-sans, and italic-sans-bold.
\begin{eqnarray*}
\mbox{mathbold}     &  &     \mathbold{a,g,v,w,z,A,B,\Gamma,\Delta,E,\Theta,\Lambda,\Xi,\Pi,\Sigma,\Upsilon,\Phi,\Psi,\Omega,\alpha,\beta,\nu,\omega}\\
\mbox{mathsans}     &  &     \mathsans{a,g,v,w,z,A,B,\Gamma,\Delta,E,\Theta,\Lambda,\Xi,\Pi,\Sigma,\Upsilon,\Phi,\Psi,\Omega,\alpha,\beta,\nu,\omega}\\
\mbox{mathboldsans} &  & \mathboldsans{a,g,v,w,z,A,B,\Gamma,\Delta,E,\Theta,\Lambda,\Xi,\Pi,\Sigma,\Upsilon,\Phi,\Psi,\Omega,\alpha,\beta,\nu,\omega}
\end{eqnarray*}


\subsection{Vector symbols}

Symbols for vectors are boldface italic $\vec{\alpha}=\vec{e}_{1}\cdot\vec{a}$


\subsection{Matrix symbols}

Symbols for matrices are boldface italic, i. e. typeset in the same
face as vectors:%
\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}.$ 


\subsection{Tensor symbols}

Symbols for tensors are sans-serif bold italic, \begin{eqnarray*}
\tensorsym{\alpha} & = & \tensorsym{e}\cdot\tensorsym{a}.\\
\alpha_{ijl} & = & e_{ijk}\cdot a_{kl}\end{eqnarray*}


The permittivity tensor describes the coupling of electric field and
displacement: \[
\vec{D}=\epsilon_{0}\tensorsym{\epsilon}_{\mathrm{r}}\vec{E}\]
 
\end{document}