Combine two cal-tex functions