typesetting phpnote