Skip to content

Config options don't change appearance of SVG output #456

Description

@lizdenhup

Hi!

I am using Mathjax-node v2.1.1 to render SVG output. The SVG output is too large and the font-weight is too heavy compared to its surrounding text. I've tried changing the config options to no avail. Here is an example of the typeset math compared to the text it is surrounded by:

Screen Shot 2020-02-21 at 12 29 12 PM

My configuration code looks like this:

const mjAPI = require("mathjax-node");
mjAPI.config({
  MathJax: {
    SVG : {
      minScaleAdjust: 30,
      scale: 70,
      font : "STIX-Web",
      mtextFontInherit: true,
      addMMLclasses: true,
      matchFontHeight: true
    }
  }
});

Changing the configuration has not seemed to yield any differences in rendering whatsoever. Thanks for weighing in on what I should do!

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions