# How to locate figures with x,y specified location in a presentation

I want to fix my figure in slide (latex frame) as per my wish with x,y position specification. Kindly someone help me to do it.

-

You could use the textpos package for absolute positioning of figures or text boxes.

Here's an example:

\documentclass[demo]{beamer}
\usepackage[absolute,overlay]{textpos}
\setlength{\TPHorizModule}{1mm}
\setlength{\TPVertModule}{1mm}
\begin{document}
\begin{frame}
\begin{textblock}{20}(40,20)
\includegraphics{file}
\end{textblock}
\end{frame}
\end{document}


with the syntax \begin{textblock}{*width*}(*x-position,y-position*)

-
\begin{picture}(50,50) \put(250,0){\hbox{\includegraphics[scale=0.3]{figs/set}}} \end{picture} This works simply to locate picture... Kindly give your suggestion over this code with your code. – Palani Kannan Oct 25 '11 at 14:11
@PalaniKannan: good! You could make an answer from that code in your comment. – Stefan Kottwitz Oct 25 '11 at 14:13
@PalaniKannan: with textpos you could use a grid, relative positioning, and positioning on the background, For a simple single placement a picture environment is also fine. – Stefan Kottwitz Oct 25 '11 at 14:17

As far as I remember,

\usepackage{tikz}
\usepackage{graphicx}

...

\begin{tikzpicture}[remember picture,overlay]
\node[anchor=south west,inner sep=0pt] at ($(current page.south west)+(2cm,5cm)$) {
\includegraphics{imgfile}
};
\end{tikzpicture}


should place imgfile.pdf at x=2cm and y=5cm from the lower left page corner.

-