Sujet : label on the left side of minted or listings De : jszhao (at) *nospam* yeah.net (Jinsong Zhao) Groupes :comp.text.tex Date : 03. Mar 2025, 05:03:02 Autres entêtes Organisation : A noiseless patient Spider Message-ID :<vq39ln$16c4b$1@dont-email.me> User-Agent : Mozilla Thunderbird
Hi there, Hi there, I am typesetting code using minted or listings package. It works fine. Now I am hoping to add a label, similar to equation label, on the left side of the code block, looks like following. (%o1) is the label. (%o1) code here here here code here here code here code However, I can't find a way to do this. Any hint will be appreciated. Best wishes, Jinsong