latex and scala