For summary, I want to show the latex matrix as compact as possible. How can i do this?
you can use smallmatrix
running text bla $\bigl(\begin{smallmatrix} a&b\\ c&d \end{smallmatrix} \bigr)$ continue with text