update weird spacing issues with markdown conversion to latex