I am having the following isssue: I have to write a mathematical paper/book with many different optimization problems formulated.
To be consistent all over I'd like to create an environment to typeset these opt problems. I'll give you a minimal running example:
\documentclass[a4paper,10pt]{scrartcl}
\usepackage{amsmath,amsfonts,amssymb}
\usepackage{environ}
\begin{document}
\NewEnviron{OptEnv}[1]{%
\begin{align}
\text{min. } & #1 \\
\text{s.t. } & \BODY
\end{align}
}
\begin{OptEnv}{a}
a \leq 1 \\
& b \leq a \\
& 3 \leq b
\end{OptEnv}
\end{document}
My question now: Is there an easy way to omit the & in the environemnt and append in the definition of the environment on each \\?
Thanks


