I have to create a training guide for Maple as part of an assignment. Obviously I need to hand in the final PDF document, but I also need to hand in the LaTeX source code to prove that I created the document using LaTeX. Is there a way of exporting the source code with all the colours, indentation etc. still in place?
[Tex/LaTex] Export source code of tex file
codeexport
Best Answer
Here is a
tcolorbox
-listings
way of inputting the document itself to the file and displaying the code.For breakable boxes: