I'm new to Latex and to Lyx as well. I'm trying to create a frame in Lyx containing 2 columns, the first one being JSON formatted text, and the second one being comments of the lines of the fist column. So far I'm using minted to add some style to the JSON text, like this: The first problem is that some lines are too large, I can shorten the lines by truncating the most of the content manually, since it's not actually necessary. The result is something like this: What I really want to create is something like this, but without doing it manually, since I have to do this several times: I don't really know if what I'm asking for is possible in using LaTeX or Lyx, but I really appreciate any ideas.
I've seen this post, but I don't know how to properly use that answers to my context