This commit is contained in:
Jeff Lance 2018-10-16 23:08:59 +02:00
parent 9d1b07a0ff
commit d9fc8a1064

View File

@ -45,7 +45,7 @@
% TEXT % TEXT
% %
% %
% Another shortcut for white text. % another shortcut to whiting text.
\NewDocumentCommand \ghost { } {% \NewDocumentCommand \ghost { } {%
\white \white
} }
@ -65,9 +65,7 @@
% MATHS % MATHS
% %
% %
% vecteurs i et j % i & j vectors
% utilise la syntax du package xparse non appelé dans le préambule de ce
% fichier.
\NewDocumentCommand \veci { } { \NewDocumentCommand \veci { } {
\ensuremath{ \vec{\imath} } \ensuremath{ \vec{\imath} }
} }
@ -75,27 +73,32 @@
\ensuremath{ \vec{\jmath} } \ensuremath{ \vec{\jmath} }
} }
% repère (base vectorielle) (O;i;j) % frame (O;i;j)
\NewDocumentCommand \oij { } { \NewDocumentCommand \oij { } {
\ensuremath{ \left(O\; ;\; \vec{\imath}\; ;\; \vec{\jmath}\right) } \ensuremath{ \left(O\; ;\; \vec{\imath}\; ;\; \vec{\jmath}\right) }
} }
% repère (O;I;I) % frame (O;I;I)
\NewDocumentCommand \OIJ { } { \NewDocumentCommand \OIJ { } {
\ensuremath{ \left(O\; ;\; I\; ;\; J\right) } \ensuremath{ \left(O\; ;\; I\; ;\; J\right) }
} }
% redéfinition du signe vectoriel % frame (O;x;y)
\NewDocumentCommand \oxy { } {
\ensuremath{ \left(O\; ;\; x\; ;\; y\right) }
}
% vector arrow redefinition
\renewcommand{\Vec}[1]{ \renewcommand{\Vec}[1]{
\overrightarrow{#1\vphantom(} \overrightarrow{#1\vphantom(}
} }
% écriture dans un système positionnel % positional notation
\newcommand{\base}[2]{ \newcommand{\base}[2]{
\ensuremath{ \overline{#1\vphantom(}^{#2} } \ensuremath{ \overline{#1\vphantom(}^{#2} }
} }
% ensembles % sets: N, Z, D, Q, R\Q and R with possibility to minus some numbers
\NewDocumentCommand \R { s g } { \NewDocumentCommand \R { s g } {
\IfBooleanTF {#1} { \IfBooleanTF {#1} {
\IfNoValueTF {#2} { \IfNoValueTF {#2} {