Add snippet for frac in tex