[Tugindia] line overflow while using verbatim
kannan at iitb.ac.in
Wed Jan 18 14:14:03 CET 2006
Sorry, I forgot to include the breaklines option. With this, the \lstset
command will become (in my case),
Also I understated the number of languages known to this package. It is
more than 70, not 20 as I mentioned earlier. The package has a large
number of features - please see the document.
> Please try listings package - I have used it extensively. A sample usage
> is as follows:
> The above is an example of how I used the listings package to document my
> Matlab code. This package can handle a large number (about twenty) of
> languages and hence it is likely to meet your requirements. Best wishes.
>>> If you want the typerwriter font then use \tt. If you merely
>>> want to quote text then use "quote" environment. If you
>>> merely want to keep special symbols to be unchanged use \ as
>>> the escape character. If you only want some part of the text
>>> to be verbatim use \verb|what you want|.
>> Thank you for the reply. The problem is that I am including a lot of
>> program code in the document. So it has a lot of symbols, I don't want
>> escape all of them one by one. Again the TT front helps in putting the
>> in a very different format.
>> So just putting a \tt or putting a \verb line by line is not solving the
>> problem completely. What can I do?
>> Do help.
>> "Quaerendo invenietis"
>> The information contained in this electronic message and any attachments
>> to this message are intended for the exclusive use of the
>> may contain confidential or privileged information. If you are not the
>> intended recipient, please notify the sender or
>> administrator at tataelxsi.co.in
>> Home: http://www.tug.org.in/
>> TeX FAQ: http://www.tex.ac.uk/faq
>> unsubscribe: http://tug.org/mailman/listinfo/tugindia
> Home: http://www.tug.org.in/
> TeX FAQ: http://www.tex.ac.uk/faq
> unsubscribe: http://tug.org/mailman/listinfo/tugindia
More information about the tugindia