Fixed latex bugs and teachingEvaluation rendering