-
Notifications
You must be signed in to change notification settings - Fork 0
/
configuration-math.tex
38 lines (32 loc) · 980 Bytes
/
configuration-math.tex
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
% Author: Julien Cubizolles
% Public domain
\RequirePackage{mathtools}
% pour DeclarePairedDelimiter et co.
\def\cste{\mathrm{cste}}
\protected\def\ProdVec{%
\@ifnextchar*{\ProdVec@i}{\ProdVec@ii}}
\def\ProdVec@i*#1#2{%
#1 \wedge #2}
\def\ProdVec@ii#1#2{%
\vv{#1} \wedge \vv{#2}}
\protected\def\ProdScal{%
\@ifnextchar*{\ProdScal@i}{\ProdScal@ii}}
\def\ProdScal@i*#1#2{%
#1 \cdot #2}
\def\ProdScal@ii#1#2{%
\vv{#1} \cdot \vv{#2}}
\DeclarePairedDelimiter\Norme{\lVert}{\rVert}
\protected\def\vvEx{\vv{e_x}}
\protected\def\vvEy{\vv{e_y}}
\protected\def\vvEz{\vv{e_z}}
\protected\def\vvExPrime{\vv{e_x'}}
\protected\def\vvEyPrime{\vv{e_y'}}
\protected\def\vvEzPrime{\vv{e_z'}}
\protected\def\vvEr{\vv{e_r}}
\protected\def\vvErho{\vv{e_\rho}}
\protected\def\vvEtheta{\vv{e_\theta}}
\protected\def\vvEphi{\vv{e_\phi}}
\DeclareMathOperator{\cotan}{cotan}
\DeclareMathOperator\arcsinh{arcsinh}
\DeclareMathOperator\arctanh{arctanh}
\DeclareMathOperator\arccosh{arccosh}