npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2024 – Pkg Stats / Ryan Hefner

@sowiso/formulaeditor

v1.0.11

Published

SOWISO MathDox FormulaEditor

Downloads

33

Readme

SOWISO MathDox Formula Editor

This is a fork of the original mathdox editor maintained by TU Eindhoven.

Options

ancientOrbeon: if set to true: do not warn about old orbeon

contextParsingExpression: set to an object describing the context for the ExpressionParser

debug: is debug enabled ?

decimalMark: character for decimal mark

  • '.' : use period as in US

  • ',' : use comma as in Europe

dragPalette: if set to true: enable draggable Palette

floatNeedsLeadingZero: whether float values need a leading 0

  • true (default): only parse 0.1 (not .1)

  • false: parse both 0.1 and .1 as 0.1

fontSize: set font size

paletteHighlight: highlight Palette

  • true (default): highlight Palette onmouseover

  • false: do not highlight Palette

indentXML: indent created XML

inputStyle: set default style for Editor Canvases

modeArith1Divide: set mode for handling arith1.divide

  • normal: automatically put unary minus and times expressions as enumerators

  • restricted: only parse power and higher priority (default)

optionArith1PowerInversePrefix

  • true : allow sin^-1(x) -> arcsin(x)

  • false : (default)

optionArith1PowerPrefix

  • true : allow sin^2(x)

  • false : (default)

optionArith1UnaryMinusBrackets

  • true: lower priority unary_minus, e.g. 1 + (-2)

  • false: "normal" priority unary_minus e.g. 1 + -2 (default)

optionExplicitBrackets

  • false: (default)

  • true: add @brackets to openmath output when brackets are used (works only for OMA)

optionInterval1Brackets

  • object with 4 strings

    lo: left symbol for left-open interval

    lc: left symbol for left-closed interval

    ro: right symbol for right-open interval

    rc: right symbol for right-closed interval

    default: { lo: "(", lc: "[", ro: ")", rc: "]" }

optionListSeparatorFixed

  • list separator for non-editable lists

    default : same as getListSeparator()

optionResizeBrackets

  • true : use Bracketed when loading openmath

  • false : do not use Bracketed

    NOTE: Bracketed can only be deleted completely.

optionVerboseStyle

  • "true": add style to divide and times

  • "false": (default)

onloadFocus: set focus on load

  • true gives focus to the first formulaeditor

  • as string gives focus to the formulaeditor corresponding to the

    textarea with id

paletteCallBackNoFocus: set function for callback on no focus (no arguments)

paletteShow : default behaviour when showing palettes, choices :

  • "all" gives a palette if not specified by class

  • "none" gives no palette if not specified by class

  • "id" creates a palette in the DOM parent specified with paletteShowId

  • "one" (default) gives a palette if not specified by class when there

    is none in the page yet,

paletteShowId: id for palette container

  • : name of the container

  • "" (default) : do not look for parent

paletteStyle: set default style for Palette Canvases

paletteURL: url for palette

styleArith1Times: behavior for times symbol

  • "dot" show a middle dot (default)

  • "cross" show a cross

  • "star" show an asterisk

styleLinalg2Vector: behavior for row vector

  • "column" (default) use a column

  • "row" use a row (to be expected for a row vector)

styleTransc1Log: behavior for logarithm symbol

  • "function" log(10, x)

  • "prefix" ^10 log (x)

  • "postfix" log_10(x)

undo: whether to enable experimental undo

  • true (default): enable undo

  • false: disable undo

useBar : enable Bar to turn palette on/off

  • true (default): enable bar

  • false: disable bar