Difference between revisions of "Template:Extra Maths"
From Maths
(FINALLY centred the dots) |
m (Fixed alignment problem) |
||
Line 1: | Line 1: | ||
− | <math>\newcommand{\bigudot}{ \mathchoice{\mathop{\bigcup\mkern-15mu\cdot\ | + | <math>\newcommand{\bigudot}{ \mathchoice{\mathop{\bigcup\mkern-15mu\cdot\mkern8mu}}{\mathop{\bigcup\mkern-13mu\cdot\mkern5mu}}{\mathop{\bigcup\mkern-13mu\cdot\mkern5mu}}{\mathop{\bigcup\mkern-13mu\cdot\mkern5mu}} }</math><math>\newcommand{\udot}{\cup\mkern-12.5mu\cdot\mkern1mu}</math><math>\require{AMScd}\newcommand{\d}[1][]{\mathrm{d}^{#1} }</math><noinclude> |
This adds {{C|\udot}} and {{C|\bigudot}} commands. | This adds {{C|\udot}} and {{C|\bigudot}} commands. | ||
They look like: | They look like: | ||
− | * {{M|\udot}}, {{MM|\udot}} for {{C|\udot}} and | + | * {{M|\udot^a_b}}, {{MM|\udot^a_b}} for {{C|\udot}} and |
− | * {{M|\bigudot}}, {{MM|\bigudot}} for {{C|\bigudot}} | + | * {{M|\bigudot^a_b}}, {{MM|\bigudot^a_b}} for {{C|\bigudot}} (compared to {{MM|\bigcup^a_b}}) |
'''Note: ''' {{M|\udot}} appears not-centered due to sub-pixel problems on desktop/low-DPI displays. I can't see a fix for this | '''Note: ''' {{M|\udot}} appears not-centered due to sub-pixel problems on desktop/low-DPI displays. I can't see a fix for this | ||
</noinclude> | </noinclude> |
Revision as of 21:58, 19 March 2016
[math]\newcommand{\bigudot}{ \mathchoice{\mathop{\bigcup\mkern-15mu\cdot\mkern8mu}}{\mathop{\bigcup\mkern-13mu\cdot\mkern5mu}}{\mathop{\bigcup\mkern-13mu\cdot\mkern5mu}}{\mathop{\bigcup\mkern-13mu\cdot\mkern5mu}} }[/math][math]\newcommand{\udot}{\cup\mkern-12.5mu\cdot\mkern1mu}[/math][math]\require{AMScd}\newcommand{\d}[1][]{\mathrm{d}^{#1} }[/math] This adds \udot and \bigudot commands.
They look like:
- [ilmath]\udot^a_b[/ilmath], [math]\udot^a_b[/math] for \udot and
- [ilmath]\bigudot^a_b[/ilmath], [math]\bigudot^a_b[/math] for \bigudot (compared to [math]\bigcup^a_b[/math])
Note: [ilmath]\udot[/ilmath] appears not-centered due to sub-pixel problems on desktop/low-DPI displays. I can't see a fix for this