I am looking to produce an equation with the three objectives outlined in the image below. I'm unable to use \tag inside 'cases' and have been unsuccessful with other attempts. As described in the image, the three goals are:
- to center the equation and align the equations from each row with each other,
- put the texts in each row ("for case 1" and "for case 2") centered relative to the centered equation and the label for each row, and
- have individual equation labels for each row (4a, 4b) whereby the number is obtained automatically from the natural order of other equations in the text (i.e., the number is not hardcoded). But if needed, hardcoded is OK.
Thank you in advance.
MWE:
\documentclass[12pt,a4paper]{article}
\usepackage{cases}
\usepackage{subeqnarray}
\usepackage{longtable,tabularx}
\usepackage{amsmath,mathrsfs}
\usepackage{mathtools}
\begin{document}
Bla bla bla Bla bla bla Bla bla bla Bla bla bla Bla bla bla Bla bla bla Bla bla bla Bla bla bla Bla bla bla Bla bla bla bla bla bla bla: \begin{equation} A = \begin{cases} \begin{aligned}
0.55 B~, \quad\quad \text{\rm for~case 1}~,& \\
0.75B~, \quad\quad \text{\rm for~case 2}~.& \end{aligned} \end{cases} \end{equation}
where Bla bla bla Bla bla bla Bla bla bla Bla bla bla Bla bla bla Bla bla bla Bla bla bla Bla bla bla Bla bla bla Bla bla bla bla bla bla bla bla.
\end{document}