summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/tex/latex/yhmath/yhmath.sty
blob: 5c0d4fc88a102345a63726af01b282adb269f879 (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
%%
%% This is file `yhmath.sty',
%% generated with the docstrip utility.
%%
%% The original source files were:
%%
%% yhmath.dtx  (with options: `package')
%% 
\NeedsTeXFormat{LaTeX2e}[1995/12/01]
\ProvidesPackage{yhmath}[2020/03/17 v1.6]
\RequirePackage{amsmath}
\newif\if@yh@full
\newif\if@yh@nowidering
\@yh@nowideringfalse
\DeclareOption{minimal}{%
  \@yh@fullfalse%
}%
\DeclareOption{full}{%
  \@yh@fulltrue%
}%
\DeclareOption{nowidering}{%
  \@yh@nowideringtrue%
}
\ExecuteOptions{full}%
\ProcessOptions\relax
\DeclareSymbolFont{yhlargesymbols}{OMX}{yhex}{m}{n}
%%
%% Declaration that remain after YH updated to v1.2 in 2018
\DeclareMathAccent{\widetilde}{\mathord}{yhlargesymbols}{"65}
\DeclareMathAccent{\widehat}{\mathord}{yhlargesymbols}{"62}
\DeclareMathAccent{\widetriangle}{\mathord}{yhlargesymbols}{"E6}
\DeclareMathAccent{\wideparen}{\mathord}{yhlargesymbols}{"F3}
%%
%% Declaration that were there up to version 1.1 (1996-2018)
\if@yh@full
\DeclareMathDelimiter{(}{\mathopen} {operators}{"28}{yhlargesymbols}{"00}
\DeclareMathDelimiter{)}{\mathclose}{operators}{"29}{yhlargesymbols}{"01}
\DeclareMathDelimiter{[}{\mathopen} {operators}{"5B}{yhlargesymbols}{"02}
\DeclareMathDelimiter{]}{\mathclose}{operators}{"5D}{yhlargesymbols}{"03}
\DeclareMathDelimiter{<}{\mathopen}{symbols}{"68}{yhlargesymbols}{"0A}
\DeclareMathDelimiter{>}{\mathclose}{symbols}{"69}{yhlargesymbols}{"0B}
\DeclareMathSymbol{<}{\mathrel}{letters}{"3C}
\DeclareMathSymbol{>}{\mathrel}{letters}{"3E}
\DeclareMathDelimiter{/}{\mathord}{operators}{"2F}{yhlargesymbols}{"0E}
\DeclareMathSymbol{/}{\mathord}{letters}{"3D}
\DeclareMathDelimiter{|}{\mathord}{symbols}{"6A}{yhlargesymbols}{"0C}
\DeclareMathRadical{\sqrtsign}{symbols}{"70}{yhlargesymbols}{"70}
\DeclareMathSymbol{\braceld}{\mathord}{yhlargesymbols}{"7A}
\DeclareMathSymbol{\bracerd}{\mathord}{yhlargesymbols}{"7B}
\DeclareMathSymbol{\bracelu}{\mathord}{yhlargesymbols}{"7C}
\DeclareMathSymbol{\braceru}{\mathord}{yhlargesymbols}{"7D}
\DeclareMathDelimiter{\lmoustache}   % top from (, bottom from )
   {\mathopen}{yhlargesymbols}{"7A}{yhlargesymbols}{"40}
\DeclareMathDelimiter{\rmoustache}   % top from ), bottom from (
   {\mathclose}{yhlargesymbols}{"7B}{yhlargesymbols}{"41}
\DeclareMathDelimiter{\arrowvert}    % arrow without arrowheads
   {\mathord}{symbols}{"6A}{yhlargesymbols}{"3C}
\DeclareMathDelimiter{\Arrowvert}    % double arrow without arrowheads
   {\mathord}{symbols}{"6B}{yhlargesymbols}{"3D}
\DeclareMathDelimiter{\Vert}
   {\mathord}{symbols}{"6B}{yhlargesymbols}{"0D}
\DeclareMathDelimiter{\vert}
   {\mathord}{symbols}{"6A}{yhlargesymbols}{"0C}
\DeclareMathDelimiter{\uparrow}
   {\mathrel}{symbols}{"22}{yhlargesymbols}{"78}
\DeclareMathDelimiter{\downarrow}
   {\mathrel}{symbols}{"23}{yhlargesymbols}{"79}
\DeclareMathDelimiter{\updownarrow}
   {\mathrel}{symbols}{"6C}{yhlargesymbols}{"3F}
\DeclareMathDelimiter{\Uparrow}
   {\mathrel}{symbols}{"2A}{yhlargesymbols}{"7E}
\DeclareMathDelimiter{\Downarrow}
   {\mathrel}{symbols}{"2B}{yhlargesymbols}{"7F}
\DeclareMathDelimiter{\Updownarrow}
   {\mathrel}{symbols}{"6D}{yhlargesymbols}{"77}
\expandafter\DeclareMathDelimiter\@backslashchar
                        {\mathord}{symbols}{"6E}{yhlargesymbols}{"0F}
\DeclareMathDelimiter{\backslash}    % for double coset G\backslash H
   {\mathord}{symbols}{"6E}{yhlargesymbols}{"0F}
\DeclareMathDelimiter{\rangle}
   {\mathclose}{symbols}{"69}{yhlargesymbols}{"0B}
\DeclareMathDelimiter{\langle}
   {\mathopen}{symbols}{"68}{yhlargesymbols}{"0A}
\DeclareMathDelimiter{\rbrace}
   {\mathclose}{symbols}{"67}{yhlargesymbols}{"09}
\DeclareMathDelimiter{\lbrace}
   {\mathopen}{symbols}{"66}{yhlargesymbols}{"08}
\DeclareMathDelimiter{\rceil}
   {\mathclose}{symbols}{"65}{yhlargesymbols}{"07}
\DeclareMathDelimiter{\lceil}
   {\mathopen}{symbols}{"64}{yhlargesymbols}{"06}
\DeclareMathDelimiter{\rfloor}
   {\mathclose}{symbols}{"63}{yhlargesymbols}{"05}
\DeclareMathDelimiter{\lfloor}
   {\mathopen}{symbols}{"62}{yhlargesymbols}{"04}
\DeclareMathDelimiter{\lgroup} % extensible ( with sharper tips
     {\mathopen}{yhlargesymbols}{"3A}{yhlargesymbols}{"3A}
\DeclareMathDelimiter{\rgroup} % extensible ) with sharper tips
     {\mathclose}{yhlargesymbols}{"3B}{yhlargesymbols}{"3B}
\DeclareMathDelimiter{\bracevert} % the vertical bar that extends braces
     {\mathord}{yhlargesymbols}{"3E}{yhlargesymbols}{"3E}
\fi
\if@yh@nowidering\else
\newcommand{\widering}[1]{\overset{\smash{\lower1.333ex\hbox{$%
\displaystyle\ring{}$}}}{\wideparen{#1}}}%
\fi
\newenvironment{amatrix}{\left\langle\begin{matrix}}{\end{matrix}\right\rangle}
\def\adots{\mathinner{\mkern2mu\raise\p@\hbox{.}
\mkern2mu\raise4\p@\hbox{.}\mkern1mu
\raise7\p@\vbox{\kern7\p@\hbox{.}}\mkern1mu}}
\edef\@tempa#1#2{\def#1{\mathaccent\string"\noexpand\accentclass@#2 }}
\@tempa\ring{017}
\endinput
%%
%% End of file `yhmath.sty'.