I am writing a bloc of code in Latex, my problem is that this code is not written well as it contains special chars . How can I deal with that . NB: I have used verbatim like that
\begin{verbatim}
My bloc of code.......
\end{verbatim}
But if the text is too wide it does not return to line and also using \n does not solve the problem
Thanks in advance
listingsor themintedpackage. – leandriis Feb 29 '20 at 16:15listingspackage from the first comment can be useful. See https://en.wikibooks.org/wiki/LaTeX/Source_Code_Listings for an introduction, or the package manual. – Marijn Mar 03 '20 at 11:15