I have encountered myself with the following definition for $\pi$-fields as quark bilinears: $$ \pi^a = i\bar{q}\tau^a \gamma_5 q \ ,\quad\text{with }\ q = \left(\begin{array}{c}u\\d\end{array}\right) \ . $$ I understand the motivation for the appearence of the Pauli matrices $\tau^a$ and the $\gamma_5$ matrix for pseudo-scalar parity, so I have no problem with the expression itself. My problem is related to the dimensionality of the expression, since the Pauli matrices are $2\times 2$ matrices while $\gamma_5$ is $4\times 4$.
I guess that my problem comes from the fact maybe some indices are implicit in the expression. Using greek symbols for spinor indices, I think that the whole bilinear would read like $$ \pi^a = i\bar{q}^{b\mu} (\tau^a)_{bc} (\gamma_5)_{\mu\nu} q^{c\nu} \ . $$
I would appreciate if someone could confirm that this was the case of hidden implicit indices that solve the issue with the dimensions of the matrices.