There are a number of similar questions to this one, but many of them suggest manually setting the size of my brackets. I would prefer not to do this, but if it is the only solution, I guess I will have to settle.
In my piecewise function the 2nd and 3rd steps have very similar contents within the brackets; however, the brackets look to be sized differently. Each step has one large set of brackets and and one small set of brackets, just in reverse order to each other. What is the reasoning for this and is there a solution other than manually setting the sizing?
Sample code:
\documentclass [a4paper,12pt]{report}
\usepackage{amsmath}
\usepackage{amssymb}
\begin{document}
\begin{equation}
\label{eqn:damage piecewise}
d_i = \begin{cases}
\quad \quad \quad \left( 1-\dfrac{E_i^{hrd}}{E_i}\right) \left( 1-\dfrac{1}{k_i} \right) & \forall \quad 1 \leq k_i \leq k_i^{ult} \\[12pt]
d_i^{ult} \cdot \dfrac{k_i^{ult}}{k_i} + \left( 1 + \dfrac{E_i^{sft}}{E_i} \right) \left( 1 - \dfrac{k_i^{ult}}{k_i} \right) & \forall \quad k_i^{ult} \leq k_i \leq k_i^{sft} \\[12pt]
d_i^{sft} \cdot \dfrac{k_i^{sft}}{k_i} + \left( 1 + \dfrac{E_i^{res}}{E_i} \right) \left( 1 - \dfrac{k_i^{sft}}{k_i} \right) & \forall \quad k_i^{sft} \leq k_i \leq k_i^{max}
\end{cases}
\end{equation}
\end{document}
hrd, ult, …
products of variables or simple abbreviations? – Bernard Sep 18 '20 at 14:31\text{}
format. – Aaron Rhodes Sep 18 '20 at 14:36\mathrm
, the\text
command does not do what you think. Unrelated you might want to look up the dcases env from mathtools – daleif Sep 18 '20 at 15:10\strut
(too big) or a\vphantom{f}
. – John Kormylo Sep 18 '20 at 15:35