Skip to content

C++ implementation for "A Functional Description of TeX's Formula Layout"

License

Notifications You must be signed in to change notification settings

lie-yan/formulae-cxx

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Introduction

These code reimplement in C++ the algorithm described in the paper A Functional Description of TeX's Formula Layout. The original SML implementation can be found at ftp://ftp.cs.uni-sb.de/formulae.

With the SML implementation at hand, our rewriting is quite straightforward. As in the SML implementation, we leave out the parts of Accent.h and Radical.h. But we add some experimental code to Delimiter.h. It will not be hard to complete the missing parts, though perhaps laborious.

Run the code

Make sure that the working directory is fonts when running the executable.

$ cd formulae-cxx
$ mkdir build
$ cd build
$ cmake ..
$ make
$ cd ../fonts
$ ../build/formulae

Find this.dvi in the fonts directory. To view .dvi files, we may use dvi-viewers like xdvi, or convert them to .pdf files via dvipdf.

About

C++ implementation for "A Functional Description of TeX's Formula Layout"

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published