[Updated] it seems that LaTex is the way to go, but my sense of design is a bit terrible. Do you know any available configurations for the listings package so that it will looks great like in CLion or VSCode? Thank you. Hello everyone,
I am looking for some software that can (ideally) process the C++ source files and automatically generate me a notebook with syntax highlighting and numbering. Do you know any?
If automation is not possible, doing it by hand is fine, but I cannot seem to find any tool that allows both good syntax highlighting and line numbering. At the moment, I am using Visual Studio Code and Word and the line numbering takes a lot of time. It would be great if some automation tools exist.
Thank you very much.
I've used this for VSCode before: https://marketplace.visualstudio.com/items?itemName=nobuhito.printcode
LaTeX? :)
Thanks. I see that the listings package in LaTex looks very promising, but do you know any available format (basic style, stringstyle...) which is visually appealing?
My design skill is a bit way too terrible to combine colors and fonts so that it can looks like vscode.
You can try the settings
\lstdefinestyle{cpp}
from Stanford notebook mentioned below.I found this recently, but I haven't used it yet myself: https://github.com/BudgieInWA/notebook-gen
(only for Java/C++ apparently).
This can be helpful: Stanford-ACM Notebook Generator
Check the notebook which they've generated: Notebook
Wow, very convenient and they basically use LaTex. Do you know any available configurations for the listings package so that it will looks great like in CLion or VSCode? Thank you.
Hello! Can anyone of you good people brief me what exactly is an ACM notebook? What I think is, its a collection of implementation of popular algorithms. Also, what is its importance thanks! :)
You can't carry any code/pendrive/electrical device in onsite contests like ACM ICPC. But you can carry a printed notebook (most probably number of pages is limited).
Auto comment: topic has been updated by duckladydinh (previous revision, new revision, compare).