|
1 | 1 | % math-symbols.sty
|
2 |
| -% by polossk, version 2.0 |
3 |
| -% last update 2018-5-15 |
| 2 | +% by polossk, version 2.2.0.1230 |
| 3 | +% last update 2019-12-30 |
4 | 4 | % github.com/polossk/Math-Symbols-in-LaTeX
|
5 |
| -\ProvidesPackage{math-symbols}[2018/5/15 v2.0 Math-Symbols-in-LaTeX] |
| 5 | +\ProvidesPackage{math-symbols}[2019/12/30 v2.2.0.1230 Math-Symbols-in-LaTeX] |
6 | 6 | %------------------------------------------------------------------------------%
|
7 | 7 | %-Requare-Packages-------------------------------------------------------------%
|
8 | 8 | %------------------------------------------------------------------------------%
|
|
28 | 28 | \newcommand\mi{{\mathrm i}} % constant i
|
29 | 29 | \newcommand\mj{{\mathrm j}} % constant j
|
30 | 30 | \newcommand\me{{\mathrm e}} % constant e
|
| 31 | +\newcommand\mdeg{{^\circ}} % symbol degree |
31 | 32 | \newcommand\mnatr{{\mathbb N}} % natural num set N
|
32 | 33 | \newcommand\mintg{{\mathbb Z}} % integer set Z
|
33 | 34 | \newcommand\mrato{{\mathbb Q}} % rational set Q
|
|
92 | 93 | \newcommand\mvchi{{\bm \chi}} % vector chi
|
93 | 94 | \newcommand\mvpsi{{\bm \psi}} % vector psi
|
94 | 95 | \newcommand\mvomega{{\bm \omega}} % vector omega
|
| 96 | +\newcommand\mvvarepsilon{{\bm \varepsilon}} % vector varepsilon |
| 97 | +\newcommand\mvvarkappa{{\bm \varkappa}} % vector varkappa |
| 98 | +\newcommand\mvvarphi{{\bm \varphi}} % vector varphi |
| 99 | +\newcommand\mvvarpi{{\bm \varpi}} % vector varpi |
| 100 | +\newcommand\mvvarrho{{\bm \varrho}} % vector varrho |
| 101 | +\newcommand\mvvartheta{{\bm \vartheta}} % vector vartheta |
95 | 102 | %------------------------------------------------------------------------------%
|
96 | 103 | %-[M]ath-[M]atrix-Defination---------------------------------------------------%
|
97 | 104 | %------------------------------------------------------------------------------%
|
|
133 | 140 | \newcommand\mmpsi{{\bm \Psi}} % matrix Psi
|
134 | 141 | \newcommand\mmomega{{\bm \Omega}} % matrix Omega
|
135 | 142 | %------------------------------------------------------------------------------%
|
| 143 | +%-[M]ath-[T]ensor-Defination---------------------------------------------------% |
| 144 | +%------------------------------------------------------------------------------% |
| 145 | +\newcommand\mta{{\mathbf A}} % tensor A |
| 146 | +\newcommand\mtb{{\mathbf B}} % tensor B |
| 147 | +\newcommand\mtc{{\mathbf C}} % tensor C |
| 148 | +\newcommand\mtd{{\mathbf D}} % tensor D |
| 149 | +\newcommand\mte{{\mathbf E}} % tensor E |
| 150 | +\newcommand\mtf{{\mathbf F}} % tensor F |
| 151 | +\newcommand\mtg{{\mathbf G}} % tensor G |
| 152 | +\newcommand\mth{{\mathbf H}} % tensor H |
| 153 | +\newcommand\mti{{\mathbf I}} % tensor I |
| 154 | +\newcommand\mtj{{\mathbf J}} % tensor J |
| 155 | +\newcommand\mtk{{\mathbf K}} % tensor K |
| 156 | +\newcommand\mtl{{\mathbf L}} % tensor L |
| 157 | +\newcommand\mtm{{\mathbf M}} % tensor M |
| 158 | +\newcommand\mtn{{\mathbf N}} % tensor N |
| 159 | +\newcommand\mto{{\mathbf O}} % tensor O |
| 160 | +\newcommand\mtp{{\mathbf P}} % tensor P |
| 161 | +\newcommand\mtq{{\mathbf Q}} % tensor Q |
| 162 | +\newcommand\mtr{{\mathbf R}} % tensor R |
| 163 | +\newcommand\mts{{\mathbf S}} % tensor S |
| 164 | +\newcommand\mtt{{\mathbf T}} % tensor T |
| 165 | +\newcommand\mtu{{\mathbf U}} % tensor U |
| 166 | +\newcommand\mtv{{\mathbf V}} % tensor V |
| 167 | +\newcommand\mtw{{\mathbf W}} % tensor W |
| 168 | +\newcommand\mtx{{\mathbf X}} % tensor X |
| 169 | +\newcommand\mty{{\mathbf Y}} % tensor Y |
| 170 | +\newcommand\mtz{{\mathbf Z}} % tensor Z |
| 171 | +\newcommand\mtgamma{{\bm \Gamma}} % tensor Gamma |
| 172 | +\newcommand\mtdelta{{\bm \Delta}} % tensor Delta |
| 173 | +\newcommand\mttheta{{\bm \Theta}} % tensor Theta |
| 174 | +\newcommand\mtlambda{{\bm \Lambda}} % tensor Lambda |
| 175 | +\newcommand\mtxi{{\bm \Xi}} % tensor Xi |
| 176 | +\newcommand\mtpi{{\bm \Pi}} % tensor Pi |
| 177 | +\newcommand\mtsigma{{\bm \Sigma}} % tensor Sigma |
| 178 | +\newcommand\mtupsilon{{\bm \Upsilon}} % tensor Upsilon |
| 179 | +\newcommand\mtphi{{\bm \Phi}} % tensor Phi |
| 180 | +\newcommand\mtpsi{{\bm \Psi}} % tensor Psi |
| 181 | +\newcommand\mtomega{{\bm \Omega}} % tensor Omega |
| 182 | +%------------------------------------------------------------------------------% |
136 | 183 | %-[M]ath-[V]ector-Defination-[T]ransposed--------------------------------------%
|
137 | 184 | %------------------------------------------------------------------------------%
|
138 | 185 | \newcommand\mmat{{{\mathbf A}^T}} % matrix A^T
|
|
173 | 220 | \newcommand\mmpsit{{{\bm \Psi}^T}} % matrix Psi^T
|
174 | 221 | \newcommand\mmomegat{{{\bm \Omega}^T}} % matrix Omega^T
|
175 | 222 | %------------------------------------------------------------------------------%
|
176 |
| -%-[M]ath-[T]ensor-Defination---------------------------------------------------% |
177 |
| -%------------------------------------------------------------------------------% |
178 |
| -\newcommand\mta{{\mathsf A}} % tensor A |
179 |
| -\newcommand\mtb{{\mathsf B}} % tensor B |
180 |
| -\newcommand\mtc{{\mathsf C}} % tensor C |
181 |
| -\newcommand\mtd{{\mathsf D}} % tensor D |
182 |
| -\newcommand\mte{{\mathsf E}} % tensor E |
183 |
| -\newcommand\mtf{{\mathsf F}} % tensor F |
184 |
| -\newcommand\mtg{{\mathsf G}} % tensor G |
185 |
| -\newcommand\mth{{\mathsf H}} % tensor H |
186 |
| -\newcommand\mti{{\mathsf I}} % tensor I |
187 |
| -\newcommand\mtj{{\mathsf J}} % tensor J |
188 |
| -\newcommand\mtk{{\mathsf K}} % tensor K |
189 |
| -\newcommand\mtl{{\mathsf L}} % tensor L |
190 |
| -\newcommand\mtm{{\mathsf M}} % tensor M |
191 |
| -\newcommand\mtn{{\mathsf N}} % tensor N |
192 |
| -\newcommand\mto{{\mathsf O}} % tensor O |
193 |
| -\newcommand\mtp{{\mathsf P}} % tensor P |
194 |
| -\newcommand\mtq{{\mathsf Q}} % tensor Q |
195 |
| -\newcommand\mtr{{\mathsf R}} % tensor R |
196 |
| -\newcommand\mts{{\mathsf S}} % tensor S |
197 |
| -\newcommand\mtt{{\mathsf T}} % tensor T |
198 |
| -\newcommand\mtu{{\mathsf U}} % tensor U |
199 |
| -\newcommand\mtv{{\mathsf V}} % tensor V |
200 |
| -\newcommand\mtw{{\mathsf W}} % tensor W |
201 |
| -\newcommand\mtx{{\mathsf X}} % tensor X |
202 |
| -\newcommand\mty{{\mathsf Y}} % tensor Y |
203 |
| -\newcommand\mtz{{\mathsf Z}} % tensor Z |
204 |
| -%------------------------------------------------------------------------------% |
205 | 223 | \newcommand\mvzero{{\bm 0}} % vector 0
|
206 | 224 | \newcommand\mvone{{\bm 1}} % vector 1
|
207 | 225 | \newcommand\mmzero{{\mathbf 0}} % matrix 0
|
208 | 226 | \newcommand\mmone{{\mathbf 1}} % matrix 1
|
| 227 | +\newcommand\mtzero{{\mathbf 0}} % tensor 0 |
| 228 | +\newcommand\mtone{{\mathbf 1}} % tensor 1 |
209 | 229 | %------------------------------------------------------------------------------%
|
210 |
| -%-Useful-Functions-and-Operators-----------------------------------------------% |
| 230 | +%-Useful-Operators-------------------------------------------------------------% |
211 | 231 | %------------------------------------------------------------------------------%
|
212 | 232 | \DeclareMathOperator\diff{d\!} % operator diff
|
213 | 233 | \DeclareMathOperator\Diff{D} % operator Diff
|
|
226 | 246 | \DeclareMathOperator*{\argmax}{argmax} % operator argmax
|
227 | 247 | \DeclareMathOperator*{\argopt}{argopt} % operator argopt
|
228 | 248 | \DeclareMathOperator*{\dist}{dist} % operator dist
|
| 249 | +\DeclareMathOperator\rot{rot} % operator rot |
| 250 | +\DeclareMathOperator\curl{curl} % operator curl |
| 251 | +\DeclareMathOperator\divergence{div} % operator div |
| 252 | +%------------------------------------------------------------------------------% |
| 253 | +%-Useful-Functions-------------------------------------------------------------% |
| 254 | +%------------------------------------------------------------------------------% |
229 | 255 | \newcommand\abs[1]{{\lvert {#1} \rvert}} % operator abs
|
230 | 256 | \newcommand\norm[1]{{\| {#1} \|}} % operator norm
|
231 | 257 | \newcommand\normlp[2]{{\norm{#1}}_{#2}} % operator Lp-norm
|
|
0 commit comments