Questions tagged [fonts]

Questions relating to different typefaces and their use in various Mathematica outputs, including graphics, notebooks and exported output.

Filter by
Sorted by
Tagged with
29
votes
4answers
2k views

Scale Insetted Characters to Plot

I am trying to place a curly brace within a plot such that the top/bottom of the curly brace line up with two horizontal lines in the plot: I have not been able to find a way to make the curly brace ...
31
votes
3answers
3k views

Is there a way to outline text?

If I have: Graphics[ {Red, EdgeForm[Directive[White, Thick]], Inset[Style[Text@"Hi!", 44], {0, 0}]}, Background -> Black ] I unfortunately get: ...
13
votes
1answer
435 views

Order/Dependency of Styles in a Stylesheet

How exactly is a custom stylesheet processed? Which style depends on (inherits from) which other style. Consider e.g. setting a font. I would expect that setting the font for ...
24
votes
2answers
7k views

Fontsize is too small

I have this annoyance for a long time now: every Text cell uses the default font size, though it appears too small on my screen. See comparison of same text, same font (Times New Roman), same fontsize ...
8
votes
3answers
2k views

Trouble with fonts when exporting a 2D-plot to vector formats

I've set up my plot to look exactly how I like it. At least it does so on screen. Upon export though, only the bitmap formats look the same. For PDF and EPS, the FontSize seems to get ignored and the ...
17
votes
1answer
697 views

How to add named characters to Mathematica 10 or later?

It appears that native support for the Klingon alphabet has been removed from version 10: \[KlingonA] Syntax::tsntxi: "\"!(\[ KlingonA])\" is incomplete; more ...
9
votes
3answers
2k views

Wrong font selection for some characters in Mathematica 10 for Linux

I've just started using Mathematica 10 on Linux and have immediately run into problems with the fonts. Fonts on Linux are always a headache, but I had managed to find a reasonable one in "Century ...
6
votes
3answers
606 views

How to preserve clipping when exporting a framed histogram with font embedding?

I work with histograms and would like to export it to EPS format. I've noticed that my exported image loses the PlotRangeClipping option that I set up when I export the plot. This is true for at least ...
10
votes
3answers
591 views

Inconsistent display of TraditionalForm in version 9

After installing version 9, the default style sheet uses Arial font in text and formula cells. So far, so bad. At least one would hope this is done consistently. But now I see this: You can see ...
10
votes
1answer
792 views

Magnification, ScreenResolution, ScreenInformation and Printing: Please shine some Light into it!

According to How to set default magnification for all windows Mathematica assumes 72 dpi screen resolution. In my computer, the screen resolution actually is 120 dpi which is a very common value on ...
7
votes
2answers
3k views

Set default font for Output

Is it possible to set the font family to Arial for axes, legends and labels globally? I found out about ...
18
votes
3answers
4k views

Keeping Text Size the Same Throughout Entire Notebook File

Is there a way in which when you choose to format the size of the font within your notebook, for a particular cell, when you go into another cell, the default size font (12pt) will not be re-activated....
15
votes
2answers
1k views

How to write plain Greek in a text cell

If I create a text cell and type some greek text, most of the symbols are italics as if the cell had an Input style. It doesn't happen with latin characters. I recollect that it is impossible to fix ...
17
votes
1answer
2k views

How to find out available fonts from within Mathematica?

How to find out available fonts on the system from within Mathematica? When I do Style["foobar", FontFamily -> "Foobar"] how do I know which font the ...
15
votes
2answers
1k views

How to get rid of new default Version 11 and 12 Input/Output fonts -> and keep the traditional Courier font

Since version 11 (and 12), the default font for Input/Output cells has changed. As @J.M. has commented below, the font changes are system specific: Default font changed Source Code Pro on Mac ...
16
votes
2answers
4k views

How to get and set default font parameters for Plot, ListPlot, LogPlot, etc.?

How can I find the default font parameters (family, size, etc.) for the text that appears in Graphics produced by Plot, ...
13
votes
2answers
3k views

What's the name of the default font used in Mathematica 11?

There are a few user interface changes in Mathematica 11, and the new font is what I'm interested in. Unfortunately, the official document doesn't say what the font's name is. I attempted to find the ...
7
votes
4answers
2k views

Using Greek $\LaTeX$ fonts

I want to use the $\LaTeX$ font in graphics. For text/numbers, this is easily done by FontFamily -> "CMU Serif" (on Ubuntu) like this: ...
8
votes
2answers
11k views

Custom fonts show as boxes when opening Mathematica-made PDFs with Illustrator

If I export a PDF from Mathematica, then open it with Illustrator, the font glyphs will sometimes appear as boxes, depending on what font was used. Why does this happen? Is there a workaround? I ...
3
votes
2answers
378 views

Change font of formula number in DisplayFormulaNumbered

I am trying to change the font of the formula number in a cell which has style DisplayFormulaNumbered. I can easily change the font of the formula I enter by selecting it and using the format menu. ...
76
votes
5answers
6k views

Writing a word with straight lines

Here is an interesting way to write a word: (it is from a poster for the International Museum Day 2006; I believe it even won an award at an international design competition) by Boris Ljubicic. I ...
20
votes
2answers
4k views

Edit a Mathematica plot in Illustrator, missing font problem

I export my Mathematica generated plot as an eps file and then I open it in Adobe Illustrator to make a few changes. When I try to do this I get this error message: Times-Roman: Font not ...
14
votes
2answers
3k views

What is the full list of all font families?

I'm having trouble finding a complete list of the FontFamily strings that Mathematica supports.
11
votes
2answers
1k views

Alternative Math Font

Are there other fonts that can be used for mathematical symbols? I have noticed, that choosing another font (via Stylesheet) does not change the math font (e.g. for greek symbols). Symbols will just ...
6
votes
0answers
472 views

Font difference in mathematica 9 and 10 after export to illustrator

It seems WRI has changed the way fonts are dealt with in Mathematica 9 and 10. The following command Export["test.eps", "This is a nice formula"] yields this ...
6
votes
1answer
677 views

Mathematica versions 10 and 11 fonts are broken on Linux

Any clues on how to fix the fonts? It seems the font kerning is wrong. It happens both in graphics and in all sorts of text styles... This happens with Mathematica system fonts but also with certain ...
11
votes
2answers
777 views

How can I change the default font used in ALL plots and legends in Mathematica?

Forgive me, but I cannot for the life of me figure out how to do this no matter how much I research. I really want to change the default font for all graphics, such as ArrayPlot, ContourPlot, ...
11
votes
1answer
2k views

How to avoid font substitution with Mathematica fonts?

When I export a Plot to PDF, a journal publisher complains that they do not have the Mathematica fonts. I believe there is a way ...
10
votes
1answer
225 views

How can I make CurrentValue for font characteristics pick up the font of the output not the input cell?

The command CurrentValue (documentation) allows you to access various properties of fonts, such as x-height, line height, and various measures of width such as n-...
8
votes
2answers
331 views

Does PrivateFontOptions -> {“OperatorSubstitution” ->False} fail in version 10?

Please consider the following, version 10.0.1, OS X Mavericks: ...
13
votes
1answer
457 views

Greek variables in 10.0.1

Bug introduced in 10.0.1 and fixed in 10.0.2 10.0.1 under Ubuntu 12.04 x64 .... Does everybody get greek variables emboldened? Is anybody aware of how to revert to previous normal display? The ...
2
votes
3answers
211 views

How to stop text with sub/superscript and fraction in FrameLabel from being Italic?

The objective is to use a Roman (i.e., non-italic) font in FrameLabel. Consider this ...
32
votes
3answers
5k views

How to embed fonts when exporting Mathematica graphics as PDF

Upon exporting a Mathematica graphics expression as a PDF, Mathematica does not seem to embed any nonstandard fonts used. When you open the resulting PDF document with a PDF viewer, all the text items ...
38
votes
3answers
3k views

Mathematica 10 Notebook Fonts Look Bad

Bug introduced in 10.0.0 and persisting through 10.3.0 or later I've upgraded my home installation of Mathematica from version 9 to 10 today on a Windows 8.1 machine, and I'm getting a weird font ...
15
votes
1answer
498 views

Accessing figure style (oldstyle or lining) of TrueType fonts

Most professional fonts come with at least two figure styles: old style (or text) figures and lining figures. In plots and most other figures I prefer to use lining figures. This is no problem with ...
15
votes
3answers
3k views

Font sizes in graphics

I'm trying to find an explanation for the different sizes I'm seeing for fonts added to graphics in different ways, and haven't yet located an easy to understand explanation. Here's a minimal example:...
7
votes
1answer
2k views

How do I prevent fonts sizes and line weights from scaling in exported graphics?

It's common to export graphics from Mathematica that are subsequently scaled to various sizes that cannot (at least not conveniently) be anticipated. This is problematic in cases where (as is common) ...
15
votes
3answers
368 views

Is it possible to embed fonts in a .cdf?

I am trying to use a special font with musical symbols in a .cdf that I send to some friends. The font is called "Tempera" and is freely distributed here: http://christian.texier.pagespro-orange.fr/...
8
votes
2answers
1k views

Blurry fonts in notebooks [duplicate]

May be this question does not belong to here, but I do not know where to post it. I am using Windows 10 Pro 64bit and MMA 11.0.1. My monitor (32inch) has a native resolution of 3820 * 2160 pixels. ...
7
votes
1answer
279 views

FontSubstitutions: how do they work?

I'm puzzled by FontSubstitutions. The help says this: FontSubstitutions is an option for Style and Cell that gives a list of substitutions to try for font ...
4
votes
2answers
3k views

A Symbol with Subscript and Superscript as an Axis Label

I am trying to have the symbol $\epsilon_{9/2,4}^-$ as the axis label in a graph in Mathematica. First problem is that: when I use Subscript[$\epsilon$,9/2,4], 9/2 changes to $\frac{9}{2}$ (which I ...
3
votes
1answer
513 views

Keeping Font Relative Size to Object/Graphics/Plot Object upon Resize

I want to keep the text generated within a graph/plot to remain the same relative to an element (a disk of size 0.2) of the image upon resize, not the image itself, while maintaining the original ...
16
votes
1answer
1k views

Monospaced fonts are not monospaced

Bug introduced in 8 or earlier and persisting through 11.2.0 I'm using Linux-x86-64 as operating system. Can someone explain this behaviour and maybe give a hint how to resolve it? Here are two lines ...
14
votes
2answers
334 views

Column makes fonts smaller

When you use Column (or Grid) a previously styled element with explicit font-size setting appears much smaller. Here is an ...
6
votes
2answers
4k views

Change font for the whole notebook

Is there any option Mathematica's preferences to change the font for the whole notebook? I know how to change the font of individual cells.
2
votes
1answer
202 views

FontFamily option in Style being ignored

Style[\[WhiteKnight], FontFamily -> "Segoe UI Symbol"] The output I'm getting looks like it is in the Mathematica.ttf font, not the designated Segoe UI Symbol ...
1
vote
0answers
300 views

Mathematica 10.4.1 broken fonts when saving as PDF

I am using Mathematica 10.4.1 in Linux and have spotted the following uncomfortable behavior. When saving a notebook as a PDF file, some fonts are not properly displayed (see attached figure below, ...
9
votes
2answers
1k views

How to use Feynman Slash notation?

How can I use Feynman slash notation, e.g., $\require{cancel} \cancel{A}$, in Mathematica? I've seen some answer from 2008 which doesn't seem to work well in Mathematica 10. I'd like this to be part ...
2
votes
2answers
7k views

Font size in PlotLegends, using Table to generate the list in the legend

I am currently trying to get to graph with several functions as below. My problem is that I cannot change the font size in the legend (authomatically generated numbers by "Table" function). This code ...
2
votes
0answers
297 views

What's the name of the default font used in Mathematica 10?

I really like the default font in Mathematica 10. So I would like to use it for my other applications. I tried to search for the name of the font, only found that a lot of people is talking on how to ...