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.
Asked
Active
Viewed 110 times
1
Stefan Pinnow
- 29,535
King Khan
- 113
1 Answers
2
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}
Steven B. Segletes
- 237,551

\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 09 '18 at 16:35