I have the following code to define a piece-wise equation as shown in the following figure:
\begin{equation}
\label{xput_vc}
Throughput_{VC} =
\begin{array}{cc}
1 & N_{VC} \leq N_{slave} \\
\frac{N_{req2slave}\times N_{VC}}{N_{req2slave}+Latency} & N_{VC} > N_{slave} \\
\end{array}
\end{equation}
I want to decrease the font size of the conditions in that equation (NVC less then NSlave) but I can't seem to be able to get it to do that. I tried typing \footnotesize
before the condition but it makes no difference.
How can I change the font size inside the array nested in an equation environment?
\text{Throughput}
or\intertext
. And you needamsmath
as package, but you can't change the font size (this way) in math mode, in addition there's acase
command that's meant for such piecewise functions/definitions etc.