The following lines caught my attention while browsing source2e while looking for the definition of another command.



\def\@sqrt[#1]{\root #1\of}

What was \sqrtsign for? I tried \sqrtsign{x} and it outputs something similar to \sqrt{x}.

1 Answer 1


The definition of LaTeX's \sqrt is

\def\@sqrt[#1]{\root #1\of}

which means that if the optional argument is used (i.e., if the next character after \sqrt is [), \@sqrt is used (and this in its turn, uses \root#1\of whose definition can be found on page 210 of source2e.pdf) to typeset the radical index and the subradical expression; if no optional argument is given,\sqrtsign is used to typeset the subradical expression (\sqrtsign doesn't allow an optional argument).

  • Thank whoever invented the find text and go to page capabilities of document readers:)
    – hpesoj626
    Oct 3, 2012 at 3:32

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.