There is a formula given in the book saying that $$ \dim{\mathcal{M}_1(\Gamma)}=\dim\mathcal{S}_1(\Gamma)+\frac{\varepsilon^{\text{reg}}_\infty}{2} $$
Where $\varepsilon^{\text{reg}}_\infty$ means the number of regular cusps of $X(\Gamma)$.
But I think it is a typo and the difference should be $\varepsilon^{\text{reg}}_\infty$.
But on the other hand, we have no explicit formula for $\dim{\mathcal{M}_1(\Gamma)}$, only knowing that it is greater or equal to $\varepsilon^{\text{reg}}_\infty/2$ (proved in the book).
So I wonder if indeed the difference is $\varepsilon^{\text{reg}}_\infty$, why don't the authors state the stronger consequence $\dim{\mathcal{M}_1(\Gamma)}\geq \varepsilon^{\text{reg}}_\infty$?
So anyone know the correct result?
updated:
The book I'm reading the GTM228, A First Course In Modular Forms [by Diamond and Shurman], and the conclusion is on page 91, theorem 3.6.1.
There is another reasons for me to think the difference is $\varepsilon^\text{reg}_\infty$ rather than half of it: is there any theorem ganrantee that $\varepsilon^\text{reg}_\infty$ is even? For dimensions are both integer.