layout for tex.