I want to put matrix in Picture environment. I am trying this way \put(20,20){\begin{pmatrix}\end{pmatrix}}
but it does not work. How can I put matrix in picture environment.
Maybe something as simple as putting the pmatrix
in math mode via $
delimiters.
\documentclass{article}
\usepackage{amsmath}
\begin{document}
\fbox{\begin{picture}(100,100)
\put(40,40){Hi mom}
\put(20,20){$\begin{pmatrix}a&b\\c&d\end{pmatrix}$}
\end{picture}}
\end{document}
\documentclass{article} \usepackage[percent]{overpic} \usepackage{amsmath} \begin{document} \begin{overpic}[width=0.5\textwidth,grid,tics=10]{example-image} \put (20,85) {$\begin{pmatrix} a & b \\ c & d \end{pmatrix}$} \end{overpic} \end{document}
– Bobyandbob Jul 9 '18 at 16:35