# How to fix the mismatch of font size of following?

I want to generate the cases in the picture. However, the Symbols T1, T2 on LHS and RHS are different in size.

\documentclass[a4paper, 12pt]{report}
\usepackage[utf8]{inputenc}
\usepackage[showframe]{geometry}
\usepackage{mathtools]

\begin{document}

\mbox{}
$$(\mathcal{T}_{1}, \mathcal{T}_{2})= \begin{cases} \frac{\left|\mathcal{T}_{1} \cap \mathcal{T}_{2}\right|}{Min\ {\left|\mathcal{T}_{1}\right|, \left|\mathcal{T}_{2}\right|\} } & negative~test, \\ -1 & positive~test \end{cases}$$
\end{document}

• Have you tried dcases? Nov 11, 2018 at 6:49
• By the way, min and positive test, as well as negative text should be upright. Nov 11, 2018 at 6:57
• – Werner
Nov 11, 2018 at 7:05
• Since you have some responses below that seem to answer your question, please consider marking one of them as ‘Accepted’ by clicking on the tickmark below their vote count (see How do you accept an answer?). This shows which answer helped you most, and it assigns reputation points to the author of the answer (and to you!). It's part of this site's idea to identify good questions and answers through upvotes and acceptance of answers. Nov 14, 2018 at 9:39

You can either set the \fraction using \displaystyle (via \dfrac), or use dcases. The latter provides a better solution since it results in better vertical spacing.

\documentclass{article}

\usepackage{mathtools}

\begin{document}

$(\mathcal{T}_1, \mathcal{T}_2) = \begin{dcases} \frac{| \mathcal{T}_1 \cap \mathcal{T}_2 |} {\min\{| \mathcal{T}_1 |, | \mathcal{T}_2 |\}} & \text{negative test}, \\ -1 & \text{positive test} \end{dcases}$

\end{document}

• In this case dcases* seems appropiate. Nov 11, 2018 at 8:58