summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/tex/generic/qpxqtx/qtxmath.sty
blob: 4bd1ce3f4d81568891a5def2124273178d12358c (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
%% Jacek Mierczy\'nski, Staszek Wawrykiewicz, ver. 0.95 (03.02.2007) 
%% Public domain.
%% -----
\NeedsTeXFormat{LaTeX2e}
\ProvidesPackage{qtxmath}
%%
\DeclareOption{altg}{\AtEndOfPackage{%
\DeclareFontShape{OML}{qtxmi}{m}{it}  {<-> qtxmia}{}
\DeclareFontShape{OML}{qtxmi}{b}{it}  {<-> qtxbmia}{}
%
\DeclareFontFamily{OML}{qtm}{\skewchar\font127 }
\DeclareFontShape{OML}{qtm}{m}{it}  {<->ssub* qtxmi/m/it}{}
\DeclareFontShape{OML}{qtm}{bx}{it}  {<->ssub* qtxmi/b/it}{}
}
}
\ProcessOptions\relax
%
\DeclareSymbolFont{operators}   {OT1}{qtm} {m}{n}
\DeclareSymbolFont{letters}     {OML}{qtxmi} {m}{it}
\DeclareSymbolFont{symbols}     {OMS}{txsy} {m}{n}
\DeclareSymbolFont{largesymbols}     {OMX}{txex} {m}{n}
\SetSymbolFont{operators}{bold}{OT1}{qtm} {b}{n}
\SetSymbolFont{letters}  {bold}{OML}{qtxmi} {b}{it}
\SetSymbolFont{symbols}  {bold}{OMS}{txsy}{b}{n}
\SetSymbolFont{largesymbols}  {bold}{OMX}{txex}{b}{n}
%%
\DeclareMathAlphabet      {\mathbf}{\encodingdefault}{qtm}{b}{n}
\DeclareMathAlphabet      {\mathit}{\encodingdefault}{qtm}{m}{it}
\SetMathAlphabet\mathit{bold}{\encodingdefault}{qtm}{b}{it}
%%
\DeclareMathSymbol{\varGamma}{\mathalpha}{letters}{0}
\DeclareMathSymbol{\varDelta}{\mathalpha}{letters}{1}
\DeclareMathSymbol{\varTheta}{\mathalpha}{letters}{2}
\DeclareMathSymbol{\varLambda}{\mathalpha}{letters}{3}
\DeclareMathSymbol{\varXi}{\mathalpha}{letters}{4}
\DeclareMathSymbol{\varPi}{\mathalpha}{letters}{5}
\DeclareMathSymbol{\varSigma}{\mathalpha}{letters}{6}
\DeclareMathSymbol{\varUpsilon}{\mathalpha}{letters}{7}
\DeclareMathSymbol{\varPhi}{\mathalpha}{letters}{8}
\DeclareMathSymbol{\varPsi}{\mathalpha}{letters}{9}
\DeclareMathSymbol{\varOmega}{\mathalpha}{letters}{10}
%%
\DeclareMathSymbol{\Gamma}{\mathalpha}{letters}{128}
\DeclareMathSymbol{\Delta}{\mathalpha}{letters}{129}
\DeclareMathSymbol{\Theta}{\mathalpha}{letters}{130}
\DeclareMathSymbol{\Lambda}{\mathalpha}{letters}{131}
\DeclareMathSymbol{\Xi}{\mathalpha}{letters}{132}
\DeclareMathSymbol{\Pi}{\mathalpha}{letters}{133}
\DeclareMathSymbol{\Sigma}{\mathalpha}{letters}{134}
\DeclareMathSymbol{\Upsilon}{\mathalpha}{letters}{135}
\DeclareMathSymbol{\Phi}{\mathalpha}{letters}{136}
\DeclareMathSymbol{\Psi}{\mathalpha}{letters}{137}
\DeclareMathSymbol{\Omega}{\mathalpha}{letters}{138}
%%
\DeclareMathSymbol{+}{\mathbin}{letters}{139}
\DeclareMathSymbol{=}{\mathrel}{letters}{140}
\DeclareMathDelimiter{/}{\mathord}{letters}{141}{largesymbols}{"0E}
%%
\DeclareMathSymbol{\xleq}{\mathrel}{letters}{142}
\DeclareMathSymbol{\xgeq}{\mathrel}{letters}{143}
\@ifpackageloaded{polski}{%
    \let\leq=\xleq
    \let\geq=\xgeq
    \let\le=\leq
    \let\ge=\geq}{}
%%
\DeclareMathSymbol{\varg}{\mathord}{letters}{144}
\DeclareMathSymbol{\varv}{\mathord}{letters}{145}
\DeclareMathSymbol{\varw}{\mathord}{letters}{146}
\DeclareMathSymbol{\vary}{\mathord}{letters}{147}
%%
\DeclareFontFamily{OML}{qtxmi}{\skewchar\font127 }
\DeclareFontShape{OML}{qtxmi}{m}{it}  {<-> qtxmi}{}
\DeclareFontShape{OML}{qtxmi}{b}{it}  {<-> qtxbmi}{}
%
\DeclareFontFamily{OML}{qtm}{\skewchar\font127 }
\DeclareFontShape{OML}{qtm}{m}{it}  {<->ssub* qtxmi/m/it}{}
\DeclareFontShape{OML}{qtm}{bx}{it}  {<->ssub* qtxmi/b/it}{}
%%
\endinput