Since I want to add line number in my manuscript, I have to wrap align environment into linenomath environment to have right numbering. I wanted to define new environment in preamble in which I want Latex to put the math inputting into these environments, but It didn't work. Can you help me please? Here is my codes.
\documentclass{article}
\usepackage{amsmath}
\usepackage{amsfonts}
\usepackage{amssymb}
\usepackage[switch*, displaymath,pagewise, mathlines]{lineno}
\leftlinenumbers
\linenumbers
\newenvironment{Align}{\begin{linenomath*} \begin{align}}{\end{align}
\end{linenomath*}}
\begin{document}
\begin{Align}
x+y=10
\end{Align}
\end{document}
displaymathis obsolete: it's the default now. – Bernard Sep 25 '16 at 13:33