What are the O'Reilly code listing configurations for their books about computer science? Following is an example of such code formatting.
Asked
Active
Viewed 136 times
0

listingspackage, linked to here. It wont look that that right out the gate, but its very configurable – Will Feb 17 '21 at 18:34listingspackage supports many languages out of the box, and adding associated colouring is not that difficult. Alternatively there is alsopygmentswhich can do similar things. So then make a sample document using one of those, using the appropriate language definition file, and then we can help you with the specifics. – Alan Munn Feb 17 '21 at 20:06