Re: Wrapping text REALLY around a picture
2010/1/6 Helge Hafting > Luca De Marini wrote: > >> Hallo list, I'd like to understand a fast thing I never considered but am >> considering now: is it possible in Lyx or Latex to wrap text around a >> picture for real? I mean, in lyx I can do something like that to wrap text >> around a picture but, in reality, I wrap it around a square into which >> there's the picture. What if I have a transparent PNG and want the text to >> wrap REALLY around the picture considering transparency? Looking at this >> page: >> >> http://en.wikibooks.org/wiki/LaTeX/Floats,_Figures_and_Captions >> >> And studying it, sounds to me it's impossible to achieve such a goal, am I >> correct? >> > > Doable but not easy. > Start LyX, then try Help->Additional Features. There, read section 7.4 > "Non-standard Paragraph Shapes" > > Text can be typeset into any kind of paragraph shape, but you currently > have to specify the exact shape through series of line-length commands. > > Now, LyX is software, so it'd be possible to extend it to find the > outline of a png, and emit all those commands automatically. But nobody has > done that yet. > > Not usable by me for now, but that's very interesting, I think this is an important feature for many kind of works, well, it depends on what the target should be in any case, but it's a good idea to be very flexible, so... I think this will be code one day maybe ;) And it will be a really nice feature because, since it's hard to do this kind of things in LaTeX, making it automatic will surely be an important step forward for a lot of people. I'd love this for example. Thanks and greetings, Luca D.M.
Re: Wrapping text REALLY around a picture
Luca De Marini wrote: Hallo list, I'd like to understand a fast thing I never considered but am considering now: is it possible in Lyx or Latex to wrap text around a picture for real? I mean, in lyx I can do something like that to wrap text around a picture but, in reality, I wrap it around a square into which there's the picture. What if I have a transparent PNG and want the text to wrap REALLY around the picture considering transparency? Looking at this page: http://en.wikibooks.org/wiki/LaTeX/Floats,_Figures_and_Captions And studying it, sounds to me it's impossible to achieve such a goal, am I correct? Doable but not easy. Start LyX, then try Help->Additional Features. There, read section 7.4 "Non-standard Paragraph Shapes" Text can be typeset into any kind of paragraph shape, but you currently have to specify the exact shape through series of line-length commands. Now, LyX is software, so it'd be possible to extend it to find the outline of a png, and emit all those commands automatically. But nobody has done that yet. Helge Hafting
Re: Wrapping text REALLY around a picture
2009/11/27 Yago > I use normally the command \vspace*{}and I try a balance between the width > of the figure box and the margin between this box and the wrapped text. With > something like this: > > \begin{wrapfigure}{r}{5cm} > \vspace{-10pt} > \includegraphics[width=4.7cm]{figure} > \vspace{-10pt} > \end{wrapfigure} > > Uhm, this looks interesting though I didn't understand very well: can I use it as an eert to put into Lyx? I think this can be used instead of a floating figure? I mean, I see {figure}, do I have to put my full path and name of the figure inside there? In any case I'm not sure of what this is all about. Will this make the text wrap my figure tight using real transparency? That was what I needed. If u think this can be done, is there a way to ert this into Lyx somehow? Or how do you call this effect, so that I can google better about this? Thanks, Luca
Re: Wrapping text REALLY around a picture
I use normally the command \vspace*{}and I try a balance between the width of the figure box and the margin between this box and the wrapped text. With something like this: \begin{wrapfigure}{r}{5cm} \vspace{-10pt} \includegraphics[width=4.7cm]{figure} \vspace{-10pt} \end{wrapfigure} You can change the values to deal with that you need. - Original Message - From: "Luca De Marini" To: "LyX Users List" Sent: Friday, November 27, 2009 5:23 PM Subject: Wrapping text REALLY around a picture Hallo list, I'd like to understand a fast thing I never considered but am considering now: is it possible in Lyx or Latex to wrap text around a picture for real? I mean, in lyx I can do something like that to wrap text around a picture but, in reality, I wrap it around a square into which there's the picture. What if I have a transparent PNG and want the text to wrap REALLY around the picture considering transparency? Looking at this page: http://en.wikibooks.org/wiki/LaTeX/Floats,_Figures_and_Captions And studying it, sounds to me it's impossible to achieve such a goal, am I correct? i'm looking for something like this, in the following page of abiword: "Tight Image Wrapping" * * *http://www.abisource.com/release-notes/2.4.0.phtml* * * *I'm not trying to do this:* http://upload.wikimedia.org/wikipedia/commons/d/dc/Latex_example_wrapfig_vspace.png I already know how to do it but that's not what I'm seeking ;) Greetings, Luca
Wrapping text REALLY around a picture
Hallo list, I'd like to understand a fast thing I never considered but am considering now: is it possible in Lyx or Latex to wrap text around a picture for real? I mean, in lyx I can do something like that to wrap text around a picture but, in reality, I wrap it around a square into which there's the picture. What if I have a transparent PNG and want the text to wrap REALLY around the picture considering transparency? Looking at this page: http://en.wikibooks.org/wiki/LaTeX/Floats,_Figures_and_Captions And studying it, sounds to me it's impossible to achieve such a goal, am I correct? i'm looking for something like this, in the following page of abiword: "Tight Image Wrapping" * * *http://www.abisource.com/release-notes/2.4.0.phtml* * * *I'm not trying to do this:* http://upload.wikimedia.org/wikipedia/commons/d/dc/Latex_example_wrapfig_vspace.png I already know how to do it but that's not what I'm seeking ;) Greetings, Luca