JavE - Java ASCII Editor Documentation
Author: Markus Gebhard

[docs]

# JavE - Mathematical Expressions Editor

This editor is a new feature of JavE. It is by no means finished: There are some bugs and the syntax is not complete.

However I decided to add it to JavE 2.0 for testing.

For questions, bug reports and any kind of comments feel free to post to markus@jave.de

## Syntax

Operation | Syntax | Example
--- | --- | ---
addition | a+b | a+b |
    a + b
subtraction | a-b | a-b |
    a - b
multiplication | a*b | a*b |
    a * b
division | a/b | x/{x+1} |
      x
    -----
    x + 1
| a! | 3! =2 |
    3! = 2
| a^b | x^2 |
     2
    x
| a_b | x_i |
    x
     i
invisible brackets | {a} | x/{x+1} |
      x
    -----
    x + 1
round brackets | (a) | 3*(x+y) |
    3 * (x + y)
pointed brackets | <a> | <x+y> |
    <x + y>
ceil | ceil(a) | ceil(x*pi) |
     _        _
    |      __  |
    |  x * ||  |
floor | floor(a) | floor(x*pi) |
    |      __  |
    |_ x * || _|
pi | pi | 4*pi*r^2 |
        __    2
    4 * || * r
infinity | INFINITY | n->INFINITY |
    n->oo
binomial | binomial(a;b) | binomial(49;6) |
     / 49 \
    |      |
     \ 6  /
(square) root | sqrt(a) | sqrt(pi) |
       ____
    _ | __
     \| ||
sqrt(b;a) | sqrt(3;pi) |
       ____
    _3| __
     \| ||
sum | sum(a) | sum(x_i) |
    ---
    \
     >  x
    /    i
    ---
sum(b;a) | sum(i;x_i) |
    ---
    \
     >  x
    /    i
    ---
     i
sum(b=c..d;a) | sum(i=2..y;x_i) |
      y
     ---
     \
      >   x
     /     i
     ---
    i = 2
product | prod(a) | prod(x_i) |
    _____
     | |
     | |  x
     | |   i
prod(a) | prod(i;x_i) |
    _____
     | |
     | |  x
     | |   i
      i
prod(a) | prod(i=0..y;x_i) |
      y
    _____
     | |
     | |  x
     | |   i
    i = 0
logarithm | log(b;a) | log(3;x) |
    log x
       3
vector/arrow | vec(a) | vec(x) |
    ->
    x
overline | overline(a) | overline(x) |
    _
    x
underline | underline(a) | underline(x) |
    x
    -
text | "text" | "pi is not INFINITY!" |
    pi is not INFINITY!
greek letters | alpha | Alpha | beta | ... | Omega | alpha |
     _ _
    (_/_
Sigma |
    ___
    \
     >
    /__
varrho |
     _
    (_)
     `-

- Equations, implications: = > < <= >= <> or >< or != => ->
- Brackets: [a] |a|
- Complex operators: lim(n->0;x) matrix(rows,cols, x;y;...)

## More Complex Examples

f_{1,2,3}(PI)=binomial(1,2,3;4)/PI |
                        / 1,2,3 \
                       |         |
            / __ \      \   4   /
    f      |  ||  | = -------------
     1,2,3  \    /         __
                           ||

[docs]