\WRITEFRAC writes fractions in a\frac{b}{c} form also
Merge pull request #745 from abhinavc/master

WRITEFRAC can write fractions in a\frac{b}{c}