see http://www.corelab.ntua.gr/~philaris/grlatex/