0

Any suggestions on how to achieve a look for a code as seen in the picture?

Maybe with "listings" or do I need to do it manualy?

Thanks in advance!

enter image description here

siracusa
  • 13,411
  • Welcome to TeX.SX! I'd strongly recommend taking a look at the algorithmic package. listings is a package to print/import code. Text algorithms can easily be typeset with algorithmic and friends. – Paul Kim Jun 02 '19 at 16:53
  • 1
    Ah yes, this is what I was looking for! Thank you :) – Peter Uwson Jun 02 '19 at 17:33
  • that's definately achieved with algorithmic. an alternative is minted. – naphaneal Jun 02 '19 at 17:33

0 Answers0