duckladydinh's blog

By duckladydinh, history, 7 years ago, In English

[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.

  • Vote: I like it
  • +11
  • Vote: I do not like it

»
7 years ago, # |
  Vote: I like it +8 Vote: I do not like it
»
7 years ago, # |
  Vote: I like it +39 Vote: I do not like it

LaTeX? :)

  • »
    »
    7 years ago, # ^ |
      Vote: I like it 0 Vote: I do not like it

    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.

»
7 years ago, # |
  Vote: I like it +3 Vote: I do not like it

I found this recently, but I haven't used it yet myself: https://github.com/BudgieInWA/notebook-gen

(only for Java/C++ apparently).

»
7 years ago, # |
  Vote: I like it 0 Vote: I do not like it

This can be helpful: Stanford-ACM Notebook Generator

Check the notebook which they've generated: Notebook

  • »
    »
    7 years ago, # ^ |
    Rev. 2   Vote: I like it 0 Vote: I do not like it

    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.

»
7 years ago, # |
  Vote: I like it 0 Vote: I do not like it

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! :)

  • »
    »
    7 years ago, # ^ |
      Vote: I like it 0 Vote: I do not like it

    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).

»
7 years ago, # |
  Vote: I like it 0 Vote: I do not like it

Auto comment: topic has been updated by duckladydinh (previous revision, new revision, compare).