Dave Keenan & Douglas Blumeyer's guide to RTT/Conventions for names, variables, units, and notations: Difference between revisions
Dave Keenan (talk | contribs) →Objects: Added "\boldsymbol{\mathit{1}}" as yet another encoding that works in LaTeX but not in MathJax. |
Dave Keenan (talk | contribs) →Objects: Updated the footnote about bold italic "1" to include the commands \boldsymbol and \style. |
||
| Line 1,747: | Line 1,747: | ||
|- | |- | ||
| | | | ||
|<math>\textbf{1}</math><ref>Unfortunately the wiki at present lacks the ability to | |<math>\textbf{1}</math><ref>The summation map symbol ideally should be a bold italic (serif) numeral one. Unfortunately the wiki at present lacks the ability to do this inside of <nowiki><math> tags; this is possible in </nowiki><math>\small\LaTeX</math><nowiki> generally, but not in MathJax, which is what the wiki uses. Specifically, \textit{\textbf{1}} and \textbf{\textit{1}} work fine in </nowiki><math>\small\LaTeX</math>, as you can try here: | ||
https://quicklatex.com/ | https://quicklatex.com/ | ||
but not in in MathJax, as described here: | |||
https://docs.mathjax.org/en/latest/input/tex/differences.html | https://docs.mathjax.org/en/latest/input/tex/differences.html. | ||
Symbols which are normally italic in math mode, such as letters, can be made bold italic using \boldsymbol{A}, e.g. <math>\small\boldsymbol{A}</math>. But unfortunately, \boldsymbol{\mathit{1}} does not work in MathJax, although it works in <math>\small\LaTeX</math>. The MathJax-specific command \style{font-weight:bold;font-style:italic}{1} doesn't work either. Unicode contains mathematical characters including numerals in several styles. Unfortunately it does not include bold italic numerals. Perhaps future wikizens will be able to follow through for us on a solution to this problem.</ref> | |||
|[[summation map]] | |[[summation map]] | ||
| | | | ||