How can I wrap text around an image in an outline slideshow?
I'm trying to code a slideshow using Racket and I want most of my images to be on the right side of my text.
So far I have the image where I want, but all the text after that ends up under the image on the left. I don't seem to want the text to take up the same space as the image, just away from it. Like this .
Any help is appreciated. Code below:
(slide
(item #:align 'right (bitmap "cyberdyne_behind_the_scenes.jpg"))
(item "Artificial Intelligence")
(item "Neural Network")
(para " Processors" )
(item "Advanced Robotics")
(para " Systems for Medicine")
(item "Consumer Products")
(item "Defense"))
source to share
I like to use ppict
for this kind of thing.
You can find documentation for ppict here: http://docs.racket-lang.org/unstable-gui/ppict.html
Usage ((pslide-base-pict))
will give you a thumbnail, the size of your slide.
From there, you can use (coord ...)
to simply place what you want in the appropriate places.
Your slide will look something like this:
(slide
(ppict-do ((pslide-base-pict))
#:go (coord 1/2 0 'tc)
<title>
#:go (coord 1 1 'rb)
<bottom-picture>
#:go (coord 1/5 1/10 'tl)
<bullets>))
source to share