Re: [NTG-context] Simpleslides question

2009-06-26 Thread Aditya Mahajan

On Thu, 25 Jun 2009, Vyatcheslav Yatskovsky wrote:

Thanks for asking. The problem is so simple from PowerPoint view. I want to 
place a logo of my academic institution on the front page, above the slide 
title. I can guess its x,y coordinates, but cannot understand how to place it 
there.


I know something about overlays, but it seems that they can add an image to a 
text already placed somewhere. I have no text, I just want to place an image 
at arbitrary location at one page.


With simpleslides, you will need to create your own style module. 
Currently, there is no documentation for it, but here is the gist of 
creating your own style.


Simpleslides provides four overlays, simpleslides:background:horizontal,
simpleslides:background:vertical, simpleslides:background:title, 
simpleslides:background:ornament.


The title background is placed on the title page, the horizontal and 
ornamanet backgrounds are placed on all pages other than 
\IncludePicture[vertical] where the vertical and ornamenet backgrounds are 
placed.


If you to place a logo at a specific position, use

\startuseMPgraphic{simpleslides:MP:ornament}
StartPage ;
metapost code to draw/place logo at a particular location
StopPage ;
\stopuseMPgraphic

and then

\defineoverlay
  [simpleslides:background:ornament]
  [\useMPgraphic{simpleslides:MP:ornament}]


Aditya
___
If your question is of interest to others as well, please add an entry to the 
Wiki!

maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : http://www.pragma-ade.nl / http://tex.aanhet.net
archive  : https://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___


Re: [NTG-context] Simpleslides question

2009-06-25 Thread Vyatcheslav Yatskovsky
Thanks for asking. The problem is so simple from PowerPoint view. I want 
to place a logo of my academic institution on the front page, above the 
slide title. I can guess its x,y coordinates, but cannot understand how 
to place it there.


I know something about overlays, but it seems that they can add an image 
to a text already placed somewhere. I have no text, I just want to place 
an image at arbitrary location at one page.



  Hello,

  Can I arrange*multiple*  images per a page in specified positions (x,y) using
  simpleslides module?
 


Can you elaborate? Do you want the same images to appear in all slides in
the background (like a corporate design), or do you want to include
multiple images on a single page, say two images side by side?

Aditya

Vyatcheslav
___
If your question is of interest to others as well, please add an entry to the 
Wiki!

maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : http://www.pragma-ade.nl / http://tex.aanhet.net
archive  : https://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___


[NTG-context] Simpleslides question

2009-06-24 Thread Vyatcheslav Yatskovsky

Hello,

Can I arrange *multiple* images per a page in specified positions (x,y) 
using simpleslides module?


Vyatcheslav


___
If your question is of interest to others as well, please add an entry to the 
Wiki!

maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : http://www.pragma-ade.nl / http://tex.aanhet.net
archive  : https://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___


Re: [NTG-context] Simpleslides question 2

2009-06-24 Thread Vyatcheslav Yatskovsky

And another question: how can setup a background *image* for all slides?

Vyatcheslav

___
If your question is of interest to others as well, please add an entry to the 
Wiki!

maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : http://www.pragma-ade.nl / http://tex.aanhet.net
archive  : https://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___


[NTG-context] Simpleslides question 2

2009-06-24 Thread Vyatcheslav Yatskovsky

And another question: how can setup a background *image* for all slides?

Vyatcheslav

___
If your question is of interest to others as well, please add an entry to the 
Wiki!

maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : http://www.pragma-ade.nl / http://tex.aanhet.net
archive  : https://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___


Re: [NTG-context] Simpleslides question

2009-06-24 Thread Thomas A. Schmitz


On Jun 24, 2009, at 1:25 PM, Vyatcheslav Yatskovsky wrote:


Hello,

Can I arrange *multiple* images per a page in specified positions  
(x,y) using simpleslides module?


Vyatcheslav


Hi,

no, there is not yet code for this. I usually do it by hand, but if  
this is something you need/use often, it would be relatively easy to  
provide a macro for it.


Rhomas
___
If your question is of interest to others as well, please add an entry to the 
Wiki!

maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : http://www.pragma-ade.nl / http://tex.aanhet.net
archive  : https://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___


Re: [NTG-context] Simpleslides question 2

2009-06-24 Thread Thomas A. Schmitz


On Jun 24, 2009, at 1:30 PM, Vyatcheslav Yatskovsky wrote:

And another question: how can setup a background *image* for all  
slides?


Vyatcheslav



The cleanest way would be to write your own submodule. It's easy;  
maybe just use one of the existing simpleslides-s-XXX.tex files and  
modify it; replace the lines


\defineoverlay
  [simpleslides:background:horizontal]
  [\useMPgraphic{simpleslides:MP:horizontal}]

with

\defineoverlay
  [simpleslides:background:horizontal]
  [{\externalfigure[your_figure][width=...]}]

Last semester, for the presentations in my class, I had defined a  
macro that would randomly pick one out of 25 pictures for every slide.  
I can send you the code if you want.


Thomas
___
If your question is of interest to others as well, please add an entry to the 
Wiki!

maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : http://www.pragma-ade.nl / http://tex.aanhet.net
archive  : https://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___


Re: [NTG-context] Simpleslides question

2009-06-24 Thread Aditya Mahajan

On Wed, 24 Jun 2009, Vyatcheslav Yatskovsky wrote:


Hello,

Can I arrange *multiple* images per a page in specified positions (x,y) using 
simpleslides module?


Can you elaborate? Do you want the same images to appear in all slides in 
the background (like a corporate design), or do you want to include 
multiple images on a single page, say two images side by side?


Aditya
___
If your question is of interest to others as well, please add an entry to the 
Wiki!

maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : http://www.pragma-ade.nl / http://tex.aanhet.net
archive  : https://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___