I would like to use a set of images instead of bullets/numbers in a list as shown on the following image. Would there be a way to alternate between the images automatically for each new item in the list? Thank you.
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
Sorry, it didn't work as I thought. Here is the image:
graphical-items.png (43.53 KiB) Viewed 8829 times
I managed to do it, I just wonder if there is a way to automate the alternation of images (so far I have for each new item to mention which image I want). I have 8 images and I would like that the first /item gets image 1, the second image 2, etc. and item 9 gets image one again, etc. without me having to specify the image directly...
Thanks!
Edit by localghost: No external links where applicable (see Board Rules). Attachments go onto the forum server.
You could include the stars in your example as external images depending on the item counter of the list environment. Or draw them on your own with an appropriate graphics package.
aurerua wrote:...I just wonder if there is a way to automate the alternation of images (so far I have for each new item to mention which image I want). I have 8 images and I would like that the first /item gets image 1, the second image 2, etc. and item 9 gets image one again, etc. without me having to specify the image directly...
Of course there is; name your images image0, image1, image2,..., image7 and then use the following code:
First of all I'd like to thank you, this thread has already helped me a lot.
But still I do have one problem, the images I use as replacement for the bullets are larger than my text. So the following paragraph is aligned at the bottom of the bullet which looks rather clumsy.
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