Done queries in latex