I am currently trying to format the expression
\documentclass{report}
\usepackage{mathtools}
\usepackage{amsmath}
\DeclareRobustCommand*{\maxin}[0]{_{\boldsymbol{\raisebox{1.55pt}{$\scriptstyle\chi$}} \raisebox{0.565pt}{$\scriptstyle\in$} \Omega}}
\begin{document}
\begin{align}
\max{\eta_D\left(\mathbf{J}_{\boldsymbol{\chia}_{k,l}}\right)} &\in (0,1]\\
\text{subject to } &\left\{\begin{aligned}
&\alpha_{12}^j &\le \dfrac{\pi}{6}\\
&\alpha_{23}^j&\le \dfrac{\pi}{6}\\
&\max\maxin\left|\beta_1^j\right| &\le \dfrac{\pi}{12} \\
&\max\maxin\left|\beta_2^j\right| &\le \dfrac{\pi}{12} \\
&\max\maxin\left|\beta_3^j\right| &\le \dfrac{\pi}{12}\\
&\min\maxin\left(\mathcal{D}_{\omega^j}\right) &>0 \\
\end{aligned} \right.\\
\text{bounded by } &\left\{\begin{aligned}
-\dfrac{1}{12}\pi &\le \varphi_1 &\le \dfrac{1}{12}\pi\\
-\dfrac{1}{12}\pi &\le \varphi_2&\le \dfrac{1}{12}\pi\\
0 &\le \Theta_1 &\le \dfrac{8}{45}\pi\\
0 &\le \Theta_2 &\le \dfrac{8}{45}\pi\\
0 &\le \Theta_3 &\le \dfrac{23}{180}\pi\\
(\varphi_1^j, \Theta_1^j) &\ne (\varphi_2^j,\Theta_2^j)& \ne (0,\Theta_3^j)\\
\varphi_2^j &\ne 0&
\end{aligned}\right.
\end{align}
\end{document}
However, the aligned
environment doesn't produce a result that is actually aligned. How do I fix this?
Furthermore, it would be neat to horizontally align the pi
terms, is that somehow possible to do?
Thanks in advance!
&&\le
instead of&\le
should solve the alignment issue.