I am using ShareLaTeX for assignment.
I want to input an equation like:
$EOQ=Q^*=\sqrt(\frac{2K\lambda}{h})$
and got output like this:
But I really want the square root with longer cap (or roof? I am not sure how to call it, and therefore I am not able to search the solution) like this:
Wondering how I can fix that.
Best Answer
The
\sqrt
command takes as a mandatory argument what's to be extracted the square root of.So the correct syntax is
not
\sqrt(a+b)
. Your problem is solved by usingIf you need the cube root (or other roots), there's the optional argument:
In a previous version of your question you had
\sqrtsign
: this macro actually exists for historical reasons, but is not documented and should not be used in documents.