LyXType around a picture?

Information and discussion about LyX, a WYSIWYM editor, available for Linux, Windows and Mac OS X systems.
Post Reply
skorefish
Posts: 4
Joined: Fri Jan 23, 2015 3:45 pm

Type around a picture?

Post by skorefish »

Hello,

I 'm new to Lyx & LaTeX.
I want to make a little book about my codesnippets in C++.

So at the left side of the screen, I put a snapshot of my code.
Then my explanation fills op the rest of the space at the right side and under the picture.

How is this done in Lyx?
Or Perhaps Someone knows a good template to do this? ;)

Recommended reading 2024:

LaTeXguide.org • LaTeX-Cookbook.net • TikZ.org

NEW: TikZ book now 40% off at Amazon.com for a short time.

And: Currently, Packt sells ebooks for $4.99 each if you buy 5 of their over 1000 ebooks. If you choose only a single one, $9.99. How about combining 3 LaTeX books with Python, gnuplot, mathplotlib, Matlab, ChatGPT or other AI books? Epub and PDF. Bundle (3 books, add more for higher discount): https://packt.link/MDH5p

Johannes_B
Site Moderator
Posts: 4182
Joined: Thu Nov 01, 2012 4:08 pm

Re: Type around a picture?

Post by Johannes_B »

Hi and welcome,

what you are asking for is wrapping text around a picture. Not a strength of LaTeX.
You can do it using packages denoted to this (wrapfig, floatflt) but all require manual work to make it nice.

On the other hand, how often have you seen text floating around pictures in serious textbooks in your field?
The smart way: Calm down and take a deep breath, read posts and provided links attentively, try to understand and ask if necessary.
Post Reply