Message Boards Message Boards

3 Replies
10 Total Likes
View groups...
Share this post:

Quibble on Fonts in Mathematica 10.

Posted 9 years ago

This is a trivial quibble...

For the default font in text cells, "l" is the same "1" which is similar "I" Example screen grab: Example screen grab:

For input cells, "l" is similar to "1":

enter image description here

does this bother anyone else--or am I just being grouchy?

POSTED BY: W. Craig Carter
3 Replies

Here are my preferences for a good style sheet. They are mainly based on what good published papers or textbook typography looks like.

1) A not too large gradation of font sizes between the largest (Titles) and Text font.

2) Text and Output font size should be the same.

3) Text and Output cells should be unadorned. No frames or color. (In fact, frames are a bad idea for cells altogether.) Then when Input cells are hidden, as in CDF documents, the text and output blend together and read just as in papers.

4) Input cells might have a pale background to distinguish them, Tufte's "Minimum effective difference".

5) Probably a White background, certainly for printing.

6) Openers on the various Section headings but NOT on Titles or Input/Output groups.

7) It might be useful to have a Cell Menu item to toggle between all Input/Output cell groups open, or just the Output showing.

This has been a (popular) complaint since the style sheets were changed in Version 9. I had a lot of discussions with Wolfram people at that time, especially since the switch was made so late in the beta testing.

As David points out, you can change the font for text cells. I change mine to a serifed font -- which one depends on whether I need to share with others. I also change all the other styles, especially the titles and sections. Arial is a really ugly typeface. I should point out that for the on-line training documents of that time (version 6-8), the trainers would most often prepare their notebooks to go along with the training using Georgia. This font has an addition advantage of having old style figures.

You really can't change the font for Input, at least not without bad things happening. However, I think that this is just Courier. When I code for other languages, I have always used a different font, such as Menlo (Apple's current font for source code), or even Monaco, that has been designed to make it easy to tell the difference between I, l, and 1, and 0 and O. Unfortunately, if you substitute for this font in this style, bad things happen.

I haven't checked the "Code" style, but it probably has the same restrictions.

When programming, I would like to be able to change the font for any code related styles (Input and Code), or if that is not possible, to have a typeface (e.g. Menlo, ProFont, etc.) that has been designed with the programmer in mind.

When sharing documents, I would like to have a better thought out set of default style sheets. I would also like to be able to embed fonts in a document (especially CDF), so that I can share documents made with less common fonts. The style sheets for earlier versions of Mathematica were not perfect, but were useful and aesthetically pleasing enough to use without modification.

I hope that someone at Wolfram Research is looking at this (and other similar discussions), because I think it is an improvement that needs to be made sooner than later.

I think you have a valid complaint. In the first place WRI should settle down with their fonts and keep them fixed from version to version. And they should use more taste than they do. How many people like all Red headings in the Default style sheet?

You can always change the font for Text cells. Here are some fonts available on Windows that clearly distinguish between capital I, small l, and the numeral 1: Calibri, Constantia, Book Antiqua, Georgia, Tahoma, Segoe UI (which I think is used in Panels), Verdana,

Reply to this discussion
Community posts can be styled and formatted using the Markdown syntax.
Reply Preview
or Discard

Group Abstract Group Abstract