Absolute Positioning Graphics... Grid?

View: New views
3 Messages — Rating Filter:   Alert me  

Absolute Positioning Graphics... Grid?

by Jan Marc Hoffmann :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Heya!

I am looking for a way to position my graphics absolute on slides. Its
sometimes usefull to move a graphic between some text or in between two
textblocks or graphics. Is there an easy way to place graphics? Really
cool would be a grid that would help with placing the graphics. (like
pstricks pspicture has some). A grid over the whole slide and then
placing the picture with coordinates would be perfect. eg. \put(3,4)(10,12).

Any idea? What and where would be a starting point to create something
like that?

thanks in advance
Jan Marc Hoffmann


-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
Latex-beamer-users mailing list
Latex-beamer-users@...
https://lists.sourceforge.net/lists/listinfo/latex-beamer-users

Re: Absolute Positioning Graphics... Grid?

by Steve Schwartz-2 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Jan,

Have a look at the textpos latex package and see if will do what you
want. I've never used it myself but it seems to be what you're after,
and will even give you the grid that you request.

HTH

Steve

On Tue, 2008-09-02 at 18:17 +0200, Jan Marc Hoffmann wrote:

> Heya!
>
> I am looking for a way to position my graphics absolute on slides. Its
> sometimes usefull to move a graphic between some text or in between two
> textblocks or graphics. Is there an easy way to place graphics? Really
> cool would be a grid that would help with placing the graphics. (like
> pstricks pspicture has some). A grid over the whole slide and then
> placing the picture with coordinates would be perfect. eg. \put(3,4)(10,12).
>
> Any idea? What and where would be a starting point to create something
> like that?
>
> thanks in advance
> Jan Marc Hoffmann
>
>
> -------------------------------------------------------------------------
> This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
> Build the coolest Linux based applications with Moblin SDK & win great prizes
> Grand prize is a trip for two to an Open Source event anywhere in the world
> http://moblin-contest.org/redirect.php?banner_id=100&url=/
> _______________________________________________
> Latex-beamer-users mailing list
> Latex-beamer-users@...
> https://lists.sourceforge.net/lists/listinfo/latex-beamer-users
--
+-------------------------------------------------------------------+
Professor Steven J Schwartz      Phone: +44-(0)20-7594-7660
Space and Atmospheric Physics    Fax:   +44-(0)20-7594-7772
The Blackett Laboratory          E-mail: s.schwartz@...
Imperial College London          Office: Huxley 6M70
London SW7 2BW, U.K.             Web: http://www.sp.ph.ic.ac.uk/~sjs
+-------------------------------------------------------------------+


-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
Latex-beamer-users mailing list
Latex-beamer-users@...
https://lists.sourceforge.net/lists/listinfo/latex-beamer-users

Re: Absolute Positioning Graphics... Grid?

by Jan Marc Hoffmann :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Thank you both, textpos was what i was looking for. :=) PGF looks
promising, i ll look into it later if im looking for something pstricks
lacks. :=)

Im using the following code now:

%the needed packages
\usepackage[absolute,showboxes]{textpos}
\usepackage[colorgrid,texcoord]{eso-pic}

%adjust the TPHorizModule and TPHorizModule units to the displayed mm %grid
\TPGrid{210}{297}

%puts a graphic at the absolute position described by the grid
%#1 x, #2 y, #3 width, #4 height, #5 graphic
\newcommand\putpic[5]{%
        \begin{textblock}{#3}(#1,#2)
  \includegraphics[width=#3\TPHorizModule,
  height=#4\TPVertModule]{#5}
     \end{textblock}
}

\putpic{20}{20}{100}{100}{graphics/mypic}

Works perfect. :=)

How can I redirect optional params to the includegraphics command?

thanks
Jan Marc Hoffmann


Steve Schwartz schrieb:

> Jan,
>
> Have a look at the textpos latex package and see if will do what you
> want. I've never used it myself but it seems to be what you're after,
> and will even give you the grid that you request.
>
> HTH
>
> Steve
>
> On Tue, 2008-09-02 at 18:17 +0200, Jan Marc Hoffmann wrote:
>> Heya!
>>
>> I am looking for a way to position my graphics absolute on slides. Its
>> sometimes usefull to move a graphic between some text or in between two
>> textblocks or graphics. Is there an easy way to place graphics? Really
>> cool would be a grid that would help with placing the graphics. (like
>> pstricks pspicture has some). A grid over the whole slide and then
>> placing the picture with coordinates would be perfect. eg. \put(3,4)(10,12).
>>
>> Any idea? What and where would be a starting point to create something
>> like that?
>>
>> thanks in advance
>> Jan Marc Hoffmann
>>
>>
>> -------------------------------------------------------------------------
>> This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
>> Build the coolest Linux based applications with Moblin SDK & win great prizes
>> Grand prize is a trip for two to an Open Source event anywhere in the world
>> http://moblin-contest.org/redirect.php?banner_id=100&url=/
>> _______________________________________________
>> Latex-beamer-users mailing list
>> Latex-beamer-users@...
>> https://lists.sourceforge.net/lists/listinfo/latex-beamer-users


-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
Latex-beamer-users mailing list
Latex-beamer-users@...
https://lists.sourceforge.net/lists/listinfo/latex-beamer-users
LightInTheBox - Buy quality products at wholesale price!