[Tex/LaTex] Making a variable-sized surd

symbols

Is there a get around to make $\surd$ variable-sized via standard AMS package? For example, I would like $\surd \frac{a}{b}$ to look like $\sqrt{\frac{a}{b}}$ with the elongated left line but no overline on $\frac{a}{b}$.

Best Answer

Use the following definition:

\def\surdex#1{\sqrt{\vphantom{#1}}#1}

and the test:

$$\surdex{\frac{a}{b}}$$