a WYSIWYM document editor, using LaTeX (and thus TeX) for industrial strength typesetting… http://www.lyx.org/

apt-get install lyx