what I am trying to achieve is a vertical line between the line numbers and the code in a lstlisting. I have experimented with the frame option a lot, but i guess it is not possible this way, if at all.

As a visual example check out this css plugin which i use on a website. It should look quite simmilar which is why i am asking this question.

Any help is greatly appreciated! Thanks.

  • Welcome to TeX.SX! Please help us to help you and add a minimal working example (MWE) that illustrates your problem. It will be much easier for us to reproduce your situation and find out what the issue is when we see compilable code, starting with \documentclass{...} and ending with \end{document}.
    – user31729
    Oct 13 '14 at 13:47

Option frame=leftline:


%JB Taken from tufte-common.def
    % TODO store contents of \thanks command%


Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.