Math legend support