improve shortcut for printing R set in math mode
This commit is contained in:
parent
f9593f3f66
commit
7ab237ce4d
@ -52,8 +52,20 @@
|
|||||||
}
|
}
|
||||||
|
|
||||||
% ensembles
|
% ensembles
|
||||||
\NewDocumentCommand \R { } {
|
\NewDocumentCommand \R { s g } {
|
||||||
\( \mathbb{R} \)
|
\IfBooleanTF {#1} {
|
||||||
|
\IfNoValueTF {#2} {
|
||||||
|
\( \mathbb{R} \setminus \{0\} \)
|
||||||
|
}{
|
||||||
|
\( \mathbb{R} \setminus \{0, #2\} \)
|
||||||
|
}
|
||||||
|
}{
|
||||||
|
\IfNoValueTF {#2} {
|
||||||
|
\( \mathbb{R} \)
|
||||||
|
}{
|
||||||
|
\( \mathbb{R} \setminus \{#2\} \)
|
||||||
|
}
|
||||||
|
}
|
||||||
}
|
}
|
||||||
\NewDocumentCommand \RQ { } {
|
\NewDocumentCommand \RQ { } {
|
||||||
\( \mathbb{R} \setminus \mathbb{Q} \)
|
\( \mathbb{R} \setminus \mathbb{Q} \)
|
||||||
|
Loading…
Reference in New Issue
Block a user