Please refer the attached image. I want to write \omega \in \mathbb{R}
below sup
as shown in the equation in the image. How should I do it?
[Tex/LaTex] How to put text below some text in an equation
equations
Related Solutions
It's easy with alignat
, using \tag
for suppressing the advancement of the numbering and setting the referenced equation number instead.
\documentclass{article}
\usepackage{amsmath}
\begin{document}
\begin{subequations}\label{eq:foo}
\begin{alignat}{2}
\max &\quad& z &= a + b \tag{\ref{eq:foo}} \\
\text{s.t.} & & a &> 1 \\
& & b &< 4
\end{alignat}
\end{subequations}
\end{document}
You can of course add labels also for the two conditions.
Please do not use eqnarray
! It is deprecated since years. For such things, there are cases
from amsmath
or the newer mathtools
. Just put everything inside of an align
. The trick in order to align the most right column is to use an \hphantom
here. I hope, this is what you wanted to have.
% arara: pdflatex
\documentclass{article}
\usepackage{mathtools}
\newcommand{\Se}{\operatorname{\mathit{S\kern-.15em e}}}
\begin{document}
\begin{align*}
\theta &=
\begin{dcases}
\theta_{r}+\Se(\theta_{s}-\theta_{r}) & H_{p}<0 \\
\mathrlap{\theta_{s}}\hphantom{\frac{\alpha m}{1-m}(\theta_{s}-\theta_{r})\Se^{\frac{1}{m}}\bigl(1-\Se^{\frac{1}{m}}\bigr)^{m}} & H_{p} \geq 0
\end{dcases}\\
\Se &=
\begin{dcases}
\frac{1}{{\bigl[1+\lvert\alpha H_{p}\rvert^{n}\bigr]}^{m}} & H_{p}<0 \\
\mathrlap{1}\hphantom{\frac{\alpha m}{1-m}(\theta_{s}-\theta_{r})\Se^{\frac{1}{m}}\bigl(1-\Se^{\frac{1}{m}}\bigr)^{m}} & H_{p} \geq 0
\end{dcases} \\
C &=
\begin{dcases}
\frac{\alpha m}{1-m}(\theta_{s}-\theta_{r})\Se^{\frac{1}{m}}\bigl(1-\Se^{\frac{1}{m}}\bigr)^{m} & H_{p}<0 \\
0 & H_{p} \geq 0
\end{dcases} \\
k_{r} &=
\begin{dcases}
\Se^{l}\Bigl[1-\bigl(1-\Se^{\frac{1}{m}}\bigr)^{m} \Bigr]^2 & H_{p}<0 \\
\mathrlap{1}\hphantom{\frac{\alpha m}{1-m}(\theta_{s}-\theta_{r})\Se^{\frac{1}{m}}\bigl(1-\Se^{\frac{1}{m}}\bigr)^{m}} & H_{p} \geq 0
\end{dcases}
\end{align*}
\end{document}
As recommended by daleif, you could also define some certain width and put your lower rows in a mathmakebox
with left alignment. This would look like:
\begin{align*}
\theta &=
\begin{dcases}
\theta_{r}+\Se(\theta_{s}-\theta_{r}) & H_{p}<0 \\
\mathmakebox[5cm][l]{\theta_{s}} & H_{p} \geq 0
\end{dcases}\\
\Se &=
\begin{dcases}
\frac{1}{{\bigl[1+\lvert\alpha H_{p}\rvert^{n}\bigr]}^{m}} & H_{p}<0 \\
\mathmakebox[5cm][l]{1} & H_{p} \geq 0
\end{dcases} \\
C &=
\begin{dcases}
\frac{\alpha m}{1-m}(\theta_{s}-\theta_{r})\Se^{\frac{1}{m}}\bigl(1-\Se^{\frac{1}{m}}\bigr)^{m} & H_{p}<0 \\
\mathmakebox[5cm][l]{0} & H_{p} \geq 0
\end{dcases} \\
k_{r} &=
\begin{dcases}
\Se^{l}\Bigl[1-\bigl(1-\Se^{\frac{1}{m}}\bigr)^{m} \Bigr]^2 & H_{p}<0 \\
\mathmakebox[5cm][l]{1} & H_{p} \geq 0
\end{dcases}
\end{align*}
Best Answer
For what you want:
If you want to put arbitrary text (or anything) below some other text (or anything you want) generally you can use
\underset{}{}
and\mathop{}
like thisor