Difference between revisions of "Template:Extra Maths"

From Maths
Jump to: navigation, search
m
m (Made spacing barable)
 
(10 intermediate revisions by the same user not shown)
Line 1: Line 1:
<includeonly>
+
<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\mkern6.25mu\!}</math><math>\require{AMScd}\newcommand{\d}[1][]{\mathrm{d}^{#1} }</math><noinclude>
<math>\newcommand{\bigudot}{\bigcup\mkern-13.5mu\cdot\mkern5mu}</math>
+
This adds {{C|\udot}} and {{C|\bigudot}} commands.
<math>\newcommand{\udotdot}{\cup\mkern-11.5mu\cdot\mkern5mu}</math>
+
 
</includeonly>
+
They look like:
 +
* {{M|\cup^a_b}}
 +
* {{M|\udot^a_b}}, {{MM|\udot^a_b}} for {{C|\udot}} and
 +
* {{M|\bigudot^a_b}}, {{MM|\bigudot^a_b}} for {{C|\bigudot}}
 +
And
 +
* {{M|A\cup B\cup B}}
 +
* {{M|A\udot B\udot B}}, {{MM|A\udot B\udot B}}
 +
* {{M|A\bigudot B}}, {{MM|A\bigudot 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
 +
</noinclude>

Latest revision as of 22:05, 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\mkern6.25mu\!}[/math][math]\require{AMScd}\newcommand{\d}[1][]{\mathrm{d}^{#1} }[/math] This adds \udot and \bigudot commands.

They look like:

  • [ilmath]\cup^a_b[/ilmath]
  • [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

And

  • [ilmath]A\cup B\cup B[/ilmath]
  • [ilmath]A\udot B\udot B[/ilmath], [math]A\udot B\udot B[/math]
  • [ilmath]A\bigudot B[/ilmath], [math]A\bigudot 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