Thank you very much for your quick reply.
The breaklines does the job, so this problem is solved. However, when I copy paste the pdf onto my C compiler, it transforms brackets { and } into letters f and g respectively...so it is not completely solved yet. In any case I am going to inspect the ...
Search found 2 matches
- Thu Jan 10, 2013 5:57 pm
- Forum: Text Formatting
- Topic: Proper Formatting for C Code
- Replies: 2
- Views: 1730
- Thu Jan 10, 2013 5:23 pm
- Forum: Text Formatting
- Topic: Proper Formatting for C Code
- Replies: 2
- Views: 1730
Proper Formatting for C Code
Hello everyone,
I need to type C code into LaTeX and send it electronically to my lecturer. I already know the verbatim and listings package, but they do not work for my purpose. (or I do not know how to use them properly)
The thing is that my lecturer will copy-paste my code and test it on his C ...
I need to type C code into LaTeX and send it electronically to my lecturer. I already know the verbatim and listings package, but they do not work for my purpose. (or I do not know how to use them properly)
The thing is that my lecturer will copy-paste my code and test it on his C ...