-
Notifications
You must be signed in to change notification settings - Fork 0
mahdiElliot/teqn
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
TEX equations to neateqn converter preprocessor =========================== Compile "project.cpp", run the execution file, write troff that contains equations starting with ".BL" and ending with ".EL" as input; the output will be shown on the screen, it will also be in "out.txt". If there is any error in compiling or syntax, the errors are available viewed in "error-log.txt". Although The execution file is added to neatroff as a preprocessor and a new feature. neatroff: https://github.com/aligrudi/neatroff_make Example: input: .BL a \times \sqrt{{b ^ 2} ^ 2 \over {c_1 + d_2}} .EL output: .EQ a times sqrt { { { b sup 2 } sup 2 } over { { c sub 1 + d sub 2 } } } .EN A wide example is available in "latexEq.txt", and the result is in "out.txt". handled symbols and expresions: greek and hebrew letters delimeters special charaters, some accents and symbols standard function names \left \right \Bigl \Bigr \exp \sqrt {} \frac{}{} \overline {} \underline {} \overline {} \over \atop \choose pow symbol : ^ => sup underline symbol: _ => sub \sum \prod \coprod \int \hat{} \tilde{} \bar{} \vec{} \odot{} for matrix : \begin {array}{cols} row1 \\ row2 \\ ... rowm \end{array} cols can be : c, l, r example: \begin {array}{cl} x & y \\ z & \alpha \end{array} also, if you want to have tex equations inline, you can use \delim like below which is similar to neat eqn delim definition: .BL \delim $$ .EL $ a + \alpha ^ \beta $ .BL \delim %% .EL % a + \alpha ^ \beta %
About
TEX equations to neateqn converter preprocessor
Resources
Stars
Watchers
Forks
Releases
No releases published
Packages 0
No packages published