tilde on top of a letter in latex code example Example 1: latex tilde over symbol $\tilde{y}$ Example 2: latex bar over text in equation $\overline{\text{height}}$