update syntax of commands for sets
This commit is contained in:
parent
0dff48c72a
commit
804286da02
@ -45,41 +45,41 @@
|
|||||||
% utilise la syntax du package xparse non déclaré dans le préambule de ce
|
% utilise la syntax du package xparse non déclaré dans le préambule de ce
|
||||||
% fichier.
|
% fichier.
|
||||||
\NewDocumentCommand \veci { } {
|
\NewDocumentCommand \veci { } {
|
||||||
\( \vec{\imath} \)
|
$ \vec{\imath} $
|
||||||
}
|
}
|
||||||
\NewDocumentCommand \vecj { } {
|
\NewDocumentCommand \vecj { } {
|
||||||
\( \vec{\jmath} \)
|
$ \vec{\jmath} $
|
||||||
}
|
}
|
||||||
|
|
||||||
% ensembles
|
% ensembles
|
||||||
\NewDocumentCommand \R { s g } {
|
\NewDocumentCommand \R { s g } {
|
||||||
\IfBooleanTF {#1} {
|
\IfBooleanTF {#1} {
|
||||||
\IfNoValueTF {#2} {
|
\IfNoValueTF {#2} {
|
||||||
\( \!\!\!\! \mathbb{R} \setminus \{0\} \!\!\!\! \)
|
$ \mathbb{R} \setminus \{0\} $
|
||||||
}{
|
}{
|
||||||
\( \!\!\!\! \mathbb{R} \setminus \{0, #2\} \!\!\!\! \)
|
$ \mathbb{R} \setminus \{0, #2\} $
|
||||||
}
|
}
|
||||||
}{
|
}{
|
||||||
\IfNoValueTF {#2} {
|
\IfNoValueTF {#2} {
|
||||||
\( \!\!\!\! \mathbb{R} \!\! \)
|
$ \mathbb{R} $
|
||||||
}{
|
}{
|
||||||
\( \!\!\!\! \mathbb{R} \setminus \{#2\} \!\!\!\! \)
|
$ \mathbb{R} \setminus \{#2\} $
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
\NewDocumentCommand \RQ { } {
|
\NewDocumentCommand \RQ { } {
|
||||||
\( \mathbb{R} \setminus \mathbb{Q} \)
|
$ \mathbb{R} \setminus \mathbb{Q} $
|
||||||
}
|
}
|
||||||
\NewDocumentCommand \Q { } {
|
\NewDocumentCommand \Q { } {
|
||||||
\( \mathbb{Q} \)
|
$ \mathbb{Q} $
|
||||||
}
|
}
|
||||||
\NewDocumentCommand \D { } {
|
\NewDocumentCommand \D { } {
|
||||||
\( \mathbb{D} \)
|
$ \mathbb{D} $
|
||||||
}
|
}
|
||||||
\NewDocumentCommand \Z { } {
|
\NewDocumentCommand \Z { } {
|
||||||
\( \mathbb{Z} \)
|
$ \mathbb{Z} $
|
||||||
}
|
}
|
||||||
\NewDocumentCommand \N { } {
|
\NewDocumentCommand \N { } {
|
||||||
\( \mathbb{N} \)
|
$ \mathbb{N} $
|
||||||
}
|
}
|
||||||
%--%
|
%--%
|
||||||
|
Loading…
x
Reference in New Issue
Block a user