formulaequationinput: add capital greek letters and hbar to calc preview

formulaequationinput should accept capital greek letters.

This PR fixes this issue.