TransWikia.com

how to draw Rectangle block using tikzpicture in negative direction?

TeX - LaTeX Asked by Shelender Kumar on February 19, 2021

I have an image file that has 3 columns, I want to draw blocks around it, I tried the following code.

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}

You can find the figure here.https://drive.google.com/file/d/1ri61srUxsrTXnRUFIDqlf1l30J4z8tqU/view?usp=sharing

The problem is that I am getting only half of the image covered and when I tried to make (0,0) with negative values but it does not make sense

Add your own answers!

Ask a Question

Get help from others!

© 2024 TransWikia.com. All rights reserved. Sites we Love: PCI Database, UKBizDB, Menu Kuliner, Sharing RPP