Hello!
As you know, each team can have a notebook for their reference in any ACM-ICPC official contest. Actually, this is a rule of regional and World Finals ACM-ICPC contests, that you can bring some papers with yourself. Usually, each team put some source codes of different algorithms in their cheatsheet.
Generating this cheatsheet would be a little hard, because you may want to put many source codes in a few pages. Also, you may want to add a table of contents to it. And the most important part is to have syntax highlighting for your codes.
I just wanted to introduce you a tool for this purpose. Its name is "codes2pdf" and it's here: https://github.com/Erfaniaa/codes2pdf
(Actually, it's forked from pin3da/notebook-generator and it has been improved.)
Just give your cpp, py, java, and tex files as an input to it; it will generate a PDF file for you. Sample PDF file
I hope it will be helpful to you, even in fields which are not related to ACM-ICPC.
That's great!
ignore
rotavirus I doubt, you are the legendary troller ! LanceTheDragonTrainer
What will be the Font size in generated PDF ?
Hello, the original repo (https://github.com/pin3da/notebook-generator) has Font size 10pt
How can we change to 12pt?
I'm going to add differents Font size in the original repo
ready, the notebook-generator already has different size; If you have any suggestions, we will be attentive
It would be great if you put the link to the original repo https://github.com/pin3da/notebook-generator (;