# Writing numbers with dashes below it

I would like to know if we could write numbers as given in this maths website with dashes below it.

• Do you mean something like $\underline{8}\cdot\underline{7}$ $\underline{8}\cdot\underline{7}$? – Martin Sleziak Jan 1 '16 at 10:32
• @MartinSleziak:Yes absolutely that. – justin Jan 1 '16 at 10:47
• Sometimes these lines don't line up: $\underline{x}\cdot\underline{y}\cdot\underline{z}$. – GEdgar Jan 1 '16 at 14:29
• @GEdgar: Write \underline{\mathstrut x}, and the underlines will line up: $\underline{\mathstrut x}\cdot\underline{\mathstrut y}\cdot\underline{\mathstrut z}$. – Christian Blatter Jan 3 '16 at 18:33

As Martin Sleziak suggested in a comment, use \underline{} which will produce $$\underline{{\text{blahblah}}}.$$