Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/gfngfn/structmath
A structure-based GUI editor for typesetting math formulae
https://github.com/gfngfn/structmath
gui-editor javascript latex typescript typesetting
Last synced: about 2 months ago
JSON representation
A structure-based GUI editor for typesetting math formulae
- Host: GitHub
- URL: https://github.com/gfngfn/structmath
- Owner: gfngfn
- Created: 2014-12-13T16:56:19.000Z (about 10 years ago)
- Default Branch: pre
- Last Pushed: 2017-03-07T09:27:10.000Z (almost 8 years ago)
- Last Synced: 2024-10-12T21:08:33.452Z (3 months ago)
- Topics: gui-editor, javascript, latex, typescript, typesetting
- Language: TypeScript
- Homepage: http://buddhagaja.soregashi.com/test/StructMath/index.html
- Size: 521 KB
- Stars: 3
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# StructMath
## What is StructMath?
StructMath is a prototype of GUI formula editor strictly based on the structure.
It distinguishes letters by categories
Ord (ordinary letter),
Un (unary operator),
BinAssoc (associative binary operator),
BinOther (other binary operator) and
Rel (binary relation).
For example, 'a', '\beta' and '\emptyset' belongs to Ord,
'+', '\cup' and '\otimes' to BinAssoc,
'-' and '\frac' to BinOther,
and '=', '\subseteq' and '\land' to Rel.
Using this distinction it makes structure of a formula as the user hits key.The target of input is displayed as not an ordinary cursor but a red box.
## How to Use
Open `index.html`, and you can input mathematical formulae.
* Latin letters and some symbols: literally input
* [\\]: begin to input a control sequence
* [←]: move target to left or lower layer
* [→]: move target to right or upper layer
* [Shift]+[←]: move target to left sibling
* [Shift]+[→]: move target to right sibling
* [Space]: move target to upper layer / end inputting a control sequence
* [Enter]: move target to lower layer / end inputting a control sequence
* [BS]: delete content in the target
* [F2]: exchange mode
* [F4]: left insertion mode
* [F9]: change view mode## Remarks
Automatical supplement of parentheses can be implemented, but remains to be done.