Programme de conversion de formules mathématiques écrites en ASCII pseudo-C vers LaTeX.
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
Benoît Rouits 995ac1e602 First import. 7 months ago
.gitignore Initial commit 7 months ago
LICENSE Initial commit 7 months ago
Makefile First import. 7 months ago
README.md First import. 7 months ago
eqn2tex.c First import. 7 months ago
eqn2tex.h First import. 7 months ago
eqn2tex.peg First import. 7 months ago
libstr.c First import. 7 months ago
libstr.h First import. 7 months ago
test.txt First import. 7 months ago

README.md

eqn2tex

Programme de conversion de formules mathématiques écrites en ASCII pseudo-C vers LaTeX.

Pour reconstruire le code source de l'analyseur:

packcc eqn2tex.peg

Pour construire l'exécutable:

make

Utilisation du programme:

eqn2tex < test.txt

Exemple:

dBpeak = 20*log(Qtc^2/(Qtc^2-0.25)^0.5)

    se traduira en:

dBpeak = 20 \times \log{\frac{Qtc^{2}}{(Qtc^{2} - 0.25)^{0.5}}}