I know this question is not relevant to the research. Sorry!
Does anyone know the easiest way to write long equations in Latex? Is it possible to write the equation in Maple or Mathematica and produce the Latex code of it? Thanks in advance!
In my opinion, currently the easiest way to write equations in LaTeX is simply to write them in LaTeX. (Writing equations using pen and paper is probably the fastest way, but unfortunately, to my knowledge, the existing character recognition software is not sophisticated enough to convert hand-written equations to LaTeX syntax unless the equations are very simple.)
In Maple, there is a latex command (https://www.maplesoft.com/support/help/maple/view.aspx?path=latex) and a possibility to export as LaTeX (https://www.maplesoft.com/support/help/maple/view.aspx?path=worksheet%2Fmanaging%2FexportLaTeX).
Manijeh Bashar The latex function produces output which is suitable for printing the input expr with a LaTeX 2e processor. It knows how to format integrals, limits, sums, products and matrices.