Fix stringlike test in latex