I had written down an answer for my own question and would like get review comments/suggestion. Also it might be helpful for others to answer the question in a better way. Problem is I had written it down in latex and made it into a pdf document. I want to know if there is any way I can upload a pdf or any workaround to this problem.
2 Answers
The technical answer is no. The Math.SE site does not support uploads/embeddings of pdf
files. If you insist on sharing a pdf
file, you should consider using some-sort of "Digital Locker" service (if you don't have your own website) and paste a link.
However, I strongly suggest against that. When material can easily be presented in textual format included on the site, it should be done so. This is so that your answer will be useful for the next person who comes along (in the event of link rot and so on). It is better to re-type it in a mix of mark-down and MathJax formatted mathematics.
If you surround the whole eqnarray
block with double dollar signs, it works. That is,
$$\begin{eqnarray}
e^{i\pi} + 1 & = & 0 \\
E & = & mc^2
\end{eqnarray}$$
becomes
$$\begin{eqnarray} e^{i\pi} + 1 & = & 0 \\ E & = & mc^2 \end{eqnarray}$$
It seems that MathJax doesn't support equation numbering yet. You can always try to give the equation a number or name "by hand" in the surrounding text.
P.S. I would suggest, as a matter of general practice, using the align
environment instead of eqnarray
. See the article "Avoid eqnarray!" by Lars Madsen.
:-)
$\endgroup$