Mathematica has a bunch of custom fonts which define things like \[Distributed]. These can be linked displayed on the web by linking against the set of these fonts stored on Wolfram's servers at https://reference.wolfram.com/2013/css/fonts.css (one issue is that WRI didn't set these up in a way that browsers tend to be happy loading them so I have a copy at https://www.wolframcloud.com/objects/b3m2a1.testing/tutorial/theme/css/common.css which works better)

Doing that we can do things like

 <link rel="stylesheet" href="https://www.wolframcloud.com/objects/b3m2a1.testing/tutorial/theme/css/common.css">
 .special-char { font-family: "Mathematica" }
<p> <span class='special-char'>&#63264;</span> </p>

And get that  to show up as it should (it's \[Wolf] in Mathematica or &#63264; in HTML).

You can see that snippet in action here I make use of this for real here

Now my question is: can we get this to work on StackExchange? halirutan's help-bar can turn these ugly long names into unicode, so with a bit of CSS work and we could get these fonts to display properly too.

I understand if this is too much work. I think it'd just be nice.

| |
  • 4
    I wouldn't be surprised if there would be licensing issues on using these fonts... – kirma Apr 4 '18 at 13:49
  • @kirma I thought about that but figured it's such a minor thing Wolfram wouldn't put weird licensing restrictions on them. But also it's Wolfram so who knows :/ That'd be disappointing. – b3m2a1 Apr 4 '18 at 15:46
  • 6
    Yes, I'm pretty sure we'll need to ask permission from WRI first for using these. I don't believe you were around at the time, but we did get into a spot of trouble with the site logo back when we were about to go out of beta, so I don't expect anything smooth from asking them for the font/CSS. – J. M.'s discontentment Apr 5 '18 at 22:24

You must log in to answer this question.

Browse other questions tagged .