for memo and length of tab for tex