RText will display diesel expressions. To utilize this to display the current tab (it will always be current when viewing the tab) use the following syntax:
$(getvar, ctab)
You should not use it in Model space because it will update to the current tab EVEN if you are in PS.