There are some automatic method (package, class, macro) in LaTeX to do a text collage similar to that showed in the image?


If not, is would be possible without too much manual work?. The background, the font and the shape of the collage does not matter (is enough a rentangular shape).

  • 4
    I don't think someone has implemented a word cloud engine in TeX, yet. Maybe you have more luck searching for Lua libraries which could be leveraged. Here's a blog post which uses a Java word cloud engine which can be hooked into TeX: Word clouds in ConTeXt
    – Marco
    Sep 28, 2013 at 12:04
  • For anyone trying to implement this, here's the algorithm wordle uses: Here's how Wordle actually works
    – Marco
    Sep 28, 2013 at 14:15
  • 1
    sort of related (possible starting point): Placing text at random positions on the screen in beamer. I also added word clouds to the title- hope that's ok :)
    – cmhughes
    Sep 28, 2013 at 14:42
  • 3
    Possible duplicates: Wordle-like word clouds, Word clouds in LaTeX
    – Marco
    Sep 28, 2013 at 15:01
  • The right words were finally "word clouds", so the question is really a duplicate. But I asked specifically for a LaTeX solution, that is not still answered in Marco's links. Although only related, for me only the cmhughes's link is in the right direction.
    – Fran
    Sep 28, 2013 at 20:40


Browse other questions tagged .