我有一个有 3 列的图像文件,我想在它周围绘制块,我尝试了以下代码。
\documentclass[10pt,a4paper]{article}
\usepackage[utf8]{inputenc}
\usepackage[english]{babel}
\usepackage{makeidx}
\usepackage{kpfonts}
\usepackage{pstricks}
\usepackage{tikz}
\thispagestyle{empty}
\begin{document}
\begin{figure}
\unitlength=1mm
\begin{picture}(170,150)
\put(-43,141){
\begin{tikzpicture}
\draw (0,0) rectangle (7,8);
\end{tikzpicture}
}
\put(-38,160){\includegraphics[scale=0.25]{1a}}
\put(22,160){\includegraphics[scale=0.25]{1a}}
\put(-38,120){\includegraphics[scale=0.25]{1a}}
\put(22,120){\includegraphics[scale=0.25]{1a}}
\put(-38,92){\includegraphics[scale=0.25]{1a}}
\put(22,92){\includegraphics[scale=0.25]{1a}}
\put(-45,25){\includegraphics[scale=0.30]{1a}}
\put(25,25){\includegraphics[scale=0.30]{1a}}
\put(95,25){\includegraphics[scale=0.30]{1a}}
\end{picture}
\end{figure}
\end{document}
您可以在此处找到该图。https://drive.google.com/file/d/1ri61srUxsrTXnRUFIDqlf1l30J4z8tqU/view?usp=sharing
问题是我只覆盖了图像的一半,当我尝试用负值制作(0,0)时,但它没有意义