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
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 ...
7
votes
2answers
876 views

Is it possible to change the fontsize when printing a notebook in the working environment?

I want to print a notebook that owns syntax color,I use the Szabolcs's method SetOptions[$FrontEndSession, PrintingStyleEnvironment -> "Working"] Then I can ...
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) ...
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 ...
7
votes
1answer
216 views

How to change default font for all existing notebooks at once?

By default, Mathematica 9 and 10 use Gill Sans MT fonts for headings of title/subtitle/section/subsection/subsubsection. Unfortunately, Gill Sans MT fonts have no Cyrillic letters, so that all ...
6
votes
3answers
503 views

Rendering percent symbol in the correct typeface

When I do ...
6
votes
3answers
608 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 ...
6
votes
2answers
266 views

Setting OperatorSubstitution to False has issues with PDF and EPS exports. Are these bugs?

In Plot, I would like to use my own font, eg Inconsolata, for operators such as ×, so I set OperatorSubstitution to ...
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.
6
votes
1answer
367 views

Why does Installing small caps fonts in OS X cause notebook Text cells to use that font?

I installed Adobe Type 1 Times Roman SC (small caps) and Times Roman Bold SC fonts on my Mac OS X system. Now every old or newly-created Text style cell in every ...
6
votes
1answer
683 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 ...
6
votes
1answer
98 views

How to fix inconsistent font rendering under Windows?

The FrontEnd's font rendering in graphics is inconsistent under Windows (still using Win7). Sometimes small fonts are not antialiased, sometimes they are. See, for instance, the help page for ...
6
votes
1answer
730 views

Problems with exporting graphics in PDF format

I'm creating a lot of graphics, which I save in PDF format for later use in LaTeX. I have currently two issues. When I create a graphic and then export it to PDF, a white space appears on the side ...
6
votes
0answers
284 views

Mathematica 10.4 crashes when using too many font sizes

While working on How to make the digits of π go around in a spiral like this? I encountered a problem that Mathematica would crash at regular intervals with an internal self-test error, either ...
6
votes
0answers
473 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 ...
5
votes
2answers
315 views

What is the font of these control labels?

What is the font of these control labels? I've gone through every font Mathematica offers (through the format GUI) and don't see a match. Haven't had any luck with default format files either. I'm ...
5
votes
1answer
766 views

Different fonts in MaTeX

I have read this link but can't quite figure out how to use a different font in MaTeX. Would someone be kind enough to provide a complete example for the following context ...
5
votes
1answer
435 views

Formatting for script letters to match latex

In the Wolfram Documentation page for \ℓ, there are two formats for the script letter shown. How can I select the first format, which looks more like "\ell" symbol in latex? For instance, I have the ...
5
votes
1answer
549 views

Default FontFamily for PlotLabel

This is probably a rather basic question and I presume I am simply unable to make proper use of the Options[] function: I am trying to figure out what the default ...
5
votes
1answer
773 views

Invisible \[Conjugate] glyph in the linux frontend

Bug introduced in 8.0 or earlier and fixed in 9.0.0 Concerns Linux I have a very annoying problem. The Conjugate glyph (*) does not show when I type. That is, if I type ...
5
votes
1answer
41 views

Exporting/Saving Notebook with Non English characters to PDF

On a related question, I now have another problem with saving notebook to PDF. OS: Windows 7 SP1 English Ultimate MMA: 11.3 X64 The Chinese characters displays ...
5
votes
1answer
123 views

No font on axes in Plot3D graphics

I am running Mathematica on Linux (Raspbian to be exact), and it seems I am missing some Mathematica fonts: Is there a way to fix this?
5
votes
1answer
100 views

Why Text Cells converted with Alt-7 have different fonts

So I am writing a report in Mathematica and experiencing a problem. First I create an input cell. Then write some text into it. Afterwards convert it to text cell with Alt-7. As a result some cells ...
5
votes
1answer
250 views

Why ImportString[ExportString[, “PDF”], “PDF”] sometimes gives an extra point

Consider this code: ...
5
votes
0answers
167 views

How to make Mathematica show parentheses using the AntykwaTorunska font correctly?

I am currently on a Windows 10 machine using Mathematica 11.0.1.0 and on which I installed the AntykwaTorunska fonts (light, bold, condensed, etc). Here you can see a part of the screenshot of the ...
5
votes
0answers
436 views

Very poor subpixel antialiasing using rotated monitor

I use Mathematica 10 for Linux with my monitor rotated 90-degrees. Fonts in all applications look very good (I have configured Gnome and Xft to do subpixel antialiasing in "vertical RGB" order). But ...
5
votes
0answers
3k views

Changing the default font size

Hey I have problems reading my mathematica notebooks due to the small fonts. I'd like to change their default values for the input and output. I already figured out that everything seems to be defined ...
4
votes
3answers
3k views

How can I italicize FrameLabel directives?

Suppose that I use Frame -> True in Plot. Then I can use ...
4
votes
3answers
205 views

Style changes between controls and graphics

In the following Manipulate, the style (font?) of the a changes between when it is a control label and when it is a label in the graphics. Is there a way to make ...
4
votes
2answers
260 views

Bold text using package MaTeX

Using the MaTeX package from our colleague Szabolcs I had a certain problem. I would like to highlight the result for bold, but I did not get a result that I liked. I tried several options that I ...
4
votes
2answers
185 views

Letter g rendered with different descender styles

I've just noticed that Mathematica renders g in two distinct ways: either with a closed descender or a open descender. Seems it happens only for local variables. g ...
4
votes
1answer
1k views

Way to input caligraphic letter as a axis label in Mathematica plot

In my paper written in LATEX, I used a symbol $\mathcal{T}$ and I want to put it in the axis label of my plot. However I could not find such functionality in Mathematica. Is it possible?
4
votes
1answer
226 views

Is there a global setting for Mathematica's base fonts?

I want to customize my Mathematica front end to specify the default monospace, serif, and sans-serif fonts; disable scaling and anti-aliasing on bitmapped fonts. Regarding (1), by far, I'm most ...
4
votes
2answers
828 views

Mathematica 11 fonts in Linux are messed up

This is not a duplicate of Mathematica versions 10 and 11 fonts are broken on Linux. There the issue is with PDF export and printing. The fonts in Mathematica on my system are all messed up, see the ...
4
votes
1answer
78 views

Choosing specific font variants

Many fonts come with several variants that can be accessed from most OS X applications. Here's an example showing several variants of the Latin Modern Roman font. (These variants in the screenshot ...
4
votes
3answers
520 views

Use TraditionalForm (or something similar) in AxesLabel/PlotLegends

I use the following command to export plots to PDF which I then use in latex: ...
4
votes
1answer
7k views

How do I change my font size to 18 points globally? [duplicate]

The default font is WAY too small. I can't read it on my jumbo-size laptop monitor, and my professors can't read my papers when I turn them in. Can somebody please provide DETAILED instructions on ...
4
votes
1answer
196 views

Shift text upwards in graphics so characters with descenders clear horizontal lines

Is there an option to align Text to automatically adjust for font descent? In the attached graphic, strings that contain "g" are visibly shifted upward, even though all strings are uniformly ...
4
votes
1answer
204 views

Confusing font information from CurrentValue

I'm trying to programmatically get the width of a character in Mathematica's default fixed-width font, Courier. I believe CurrentValue holds the answer but I'm ...
4
votes
1answer
1k views

Mathematica PDF import and fonts

I am trying to put nice LaTeX labels on my Mathematica plots. I can do this manually, or by introducing an extra GNUPlot step into my workflow, but it would streamline the process considerably if ...
4
votes
1answer
302 views

How can I add drop shadows to the text of non-input/output cells?

Inspired by simon woods's wonderful shadow function, I want to add drop shadows to all the text of non-input/output cells in a notebook, something like this: By using simon woods's shadow function, I ...
4
votes
1answer
294 views

Set fontsize using setoptions not working in DateListPlot

Bug introduced in 10.0.0 and persisting through 11.0.1 or later I'm trying to use SetOptions to set the global font size for ...
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 ...
4
votes
1answer
219 views

Wrong font usage when exporting graphics with text

Bug persists through 12.0 When exporting graphics with annotation in PDF using Export, under some circumstances fonts are not inherited properly. I'll illustrate ...
4
votes
0answers
37 views

Using fallback fonts

I'd like to specify a FontFamily that does a fallback if the specified font is not on my system. E.g. I'd like the base font to be ...
4
votes
0answers
62 views

Export image as pdf, which is PDF/A valid

Assume following plot in Mathematica (version 11.2): ...
4
votes
0answers
457 views

Ugly font rendering (ubuntu 12, overrides system settings)

Mathematica 9 on Ubuntu 12 renders fonts very poorly. Text is readable, but it makes it very hard to concentrate on programming. Since smoothing on Ubuntu on low DPI screens isn't very good either, ...
3
votes
2answers
657 views

Italic fonts for plots like those appear in scientific papers

Suppose we want to draw the following plot: ...
3
votes
1answer
214 views

Mathematica equivalent to HTML `code` or LaTeX `\texttt`

I know in HTML or LaTeX there is a way to easily put a phrase in a monospace font. Is there a way to do this in Mathematica without manually changing the font for ...
3
votes
1answer
3k views

How do I change the size of the font for the output of the Print[] command?

I created a Stylesheet that increased the sizes of the fonts for the styles Input, Output and Text. Still, when I use the command Print[] the output comes out tiny. In the code below I added some ...