If I am writing a document say,
\documentclass{article}
\usepackage{amsmath}
\begin{document}
\begin{equation}
y = some long equation
\end{equation
\end{document}
and some really long equation is needed throughout the whole document (suppose its very important) is there a way of not having to write it out in full every time?
Perhaps some form of copy and pasting (still would rather not have to constantly find the equation in my document and paste it in every time) where I can save the value or something.
Would love the most fastest and easiest approach to this.
Thanks
(1)to that long equation and referring it as(1)in the rest of the document? – manooooh Feb 16 '19 at 15:27\ref{}(and\label{}insideequation). – Sigur Feb 16 '19 at 15:27\newcommand{\mylongequation}{y = \sin (x)}? – Feb 16 '19 at 15:29glossariesframe work for my worksheets/problems book andbeamerslides for equations and formulas that occur very often such that I don't have to type the whole equation each time and - in addition - get consistent naming of variables. – Feb 16 '19 at 15:34\documentclass[article]will not work. Use\documentclass{article}. – TeXnician Feb 16 '19 at 15:40