better documentation typesetting