I am trying to input a text file to latex. However, this text file contains special symbols like % and & which causes issues. I do not want to import the file as verbatim, it should be imported like regular text with paragraph formatting and word wrap.


1 Answer 1


Minimal approach:



The output of our file doesn't look too good, because we input something that
contains code as text :)


Ugly output:

enter image description here


Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.