חזרה לתוכן העניינים

Acquaintance and first steps

This chapter is devoted to a first acquaintance with possibilities which Mathapar opens. The language MathPar, which is described below, may be considered as a kind of development of a TeX language. TeX serves for writing mathematical texts and preparing them for publication. It may be called "passive" in comparison with the language MathPar, which permits to execute computations, and so is a self-depended mathematical language. A problem definition and a result of computations are written in MathPar.

Just after computations you see the whole mathematical text as a pdf-image which is accustomed in scientific and technical publications.

The result may be further used in different ways.

(1) You may click the text with your mouse, and it would return to the initial form of the MathPar language. Then you may continue to edit the text or pass to a next task. There is another way to change a form of a text — using a button , placed between buttons <<$\blacktriangleright$>> and <<$+$>>.

(2) You may click the image of the mathematical text with the right mouse button, and the drop-down menu appears. The upper field Show-Math-As permits to pass to the choice of language. It is suggested to chose Tex or MathML. You may open a field you need.

For example, a matrix of the size $2\times 2$ will be written in MathPar in the following way:

A=[[a,b],[c,d]];

in TeX as follows:

A= $\backslash$left(begin{array}{${cc}$}$a \& b$ $\backslash\backslash c \& d \backslash\backslash$ end{array}$\backslash$right).

In MathML it is much more complicated.

The text obtained in Tex or in MathML you may copy and past into TeX or HTML file and use for publication. You may also save it as an image and use in any document. It is useful, for example, when it is necessary to save a plot or a solution of a problem

2.1 Input data and run the calculations

At the center of the screen there is an entry field where it is possible to enter mathematical expressions. To start a task press the button $\blacktriangleright$. When your cursor is disposed in the field of input you can press the combination of keys Ctrl+Enter.

On the top of the screen you can see buttons ${\small \fbox {Help}}$ and ${\small \fbox{Handbook}}$. This is way to the help files. All the fields of the help pages are active, and you can run the help examples. You can copy text from the samples and transfer them into the field for user input.

אין תוצאות עד כה