Re: changing text with images in frames
Andrei Sobolevskii <[email protected]>
| Newsgroups | gmane.comp.tex.latex.prosper.user |
|---|---|
| Message-ID | <a06002001bbda39d3c03a@[192.54.175.244]> |
Hi Tomek, >From: Tomek Grzejszczyk <[email protected]> >Subject: [Prosper-users] Some questions > >- What LaTeX commands should I use to obtain a result like this: >____________ ____________ >| | | | | | >|text|image| |text|text | >|____|_____| or |____|_____| > You can achieve this by inserting a table with one row and two columns and changing the content of the second column with the \onlySlide command. Here is an example, where the graphics embedding is done using the psfig package: \overlays{2}{% \begin{slide}{Slide's title} \begin{tabular}{p{3cm}@{}p{3cm}} Some text. & \onlySlide*{1}{Another text.}% \onlySlide*{2}{\psfig{file=aPicture.eps,width=3cm}} \\ \end{tabular} \end{slide} } (NB: I did not compile this.) If you need some control over the vertical alignment of the picture, embed the "\psfig{...}" into a "\vbox to HEIGHT{...}" (the height being the distance between the picture's top and the reference point, not the bottom). This is not even LaTeX, this is plain Tex ;-] The @{} directive in the table's heading puts the column separation equal to zero to give you more control over the layout (the @{...} construction is very useful in LaTeX table building in general). The p{WIDTH} directives put paragraphs of prescribed WIDTH into the cells of the table. This recipe of using tables in Prosper is just the same as in Web page formatting, and I guess it dates back to using modular frames in offline typographic design since 1920s or earlier. Pozdrowienia, Andrei -- -- Andrei SOBOLEVSKII =============================== Chercheur associe CNRS (bourse Henri Poincare) ------------------------------- CNRS UMR 5629 Laboratoire G.D. Cassini Observatoire de la Cote d'Azur BP 4229, 06304 Nice Cedex 4 France ------------------------------- Tel + 33 4 92 00 31 32 (bureau) Fax + 33 4 92 00 30 58 ------------------------------- [email protected] =============================== ------------------------------------------------------- This SF.Net email sponsored by: ApacheCon 2003, 16-19 November in Las Vegas. Learn firsthand the latest developments in Apache, PHP, Perl, XML, Java, MySQL, WebDAV, and more! http://www.apachecon.com/