[texhax] Re: Formatting XML Code Snippets

Chris Bourke cbourke at cse.unl.edu
Mon May 2 13:11:07 CEST 2005


> I am brand new to Tex/Latex, and I don't know if this is the right
> mailing list???  If not, please let me know which mailing list I should
> join.
>
> My question:  I need to write a document that has lots of XML code
> snippet examples, and I don't want to worry about the indenting of of
> the xml as I write, as I would like to be able to change the indent
> size latter on.
>
> Could someone point me in the right direction?

It is indeed the right list.  You should try the listings package
available on ctan.org which can be used to typeset most computer code
(there are default settings for each language including XM).



More information about the texhax mailing list