[texhax] LaTeX tabbing oddities

Dieter Meinert DMeinert at RosenInspection.net
Thu Jul 1 12:00:42 CEST 2004


I'd try the verbatim environment if you don't need to use (La)TeX 
commands inside the code snippet. 

Regards,
		Dieter

-----Original Message-----
From: texhax-bounces at tug.org [mailto:texhax-bounces at tug.org]On Behalf Of
Pavel Minev Penev
Sent: Thursday, July 01, 2004 10:07 AM
To: texhax at tug.org
Subject: Re: [texhax] LaTeX tabbing oddities


On Wed, Jun 30, 2004 at 08:03:53PM +0200, juanalberdi wrote:
> I suggest trying
> 
> \usepackage[T1]{fontenc}
> 
> in the preamble

[...]

> Angela Thomas wrote:
> 
> >Hello, I have been referred to your group after having no luck finding 
> >the asnwer to my question through various LaTeX FAQs and even the 
> >LaTeX3 project website and FAQ archive.
> >
> >I am trying to print a section of XML text so that it will appear as 
> >an XML code snippet in the document that I am producing.  To create 
> >the appropriate style for this code layout, I am trying to use the 
> >tabbing environment to properly distribute the code segments.
> >
> >\begin{tabbing}
> >\=\hspace{0.25in} \=\hspace{0.25in} \=\hspace{0.25in} 
> >\=\hspace{0.25in} \kill
> >\> <category>\\
> >\> \> <pattern>WHAT IS A *</pattern>\\
> >\> \> \> <template><srai>DEFINE <star index ="1"/></srai>\\
> >\> \> \> </template>\\
> >\> </category>\\
> >\\
> >\> <category>\\
> >\> \> <pattern>DO YOU KNOW WHAT A * IS</pattern>\\
> >\> \> \> <template><srai>DEFINE <star index ="1"/></srai></template>\\
> >\> </category>\\
> >\end{tabbing}

I also suggest using packages for what they were created and looking
into listings (which can give you a higher typographic quality than a
tabbing evrionment).  For the `<' and `>' there are a number of symbols
you may want to consider (look at math less-than and greater-than, the
French gullimet [quote marks] --- hope that is spellt correctly --- and
possibly others).

----->,
-- 
Pav

http://www.againsttcpa.com/  ,.,    My type: Dvorak.
http://swpat.ffii.org/     ,``:'',
                           {o ! o}
Gain your human right of   ] -+- [  My GPG/PGP key is now available at
privacy: use cryptography!  \ ! /   x-hkp://search.keyserver.net:11371.
                             `-'
`shell$ gpg --keyserver x-hkp://search.keyserver.net:11371 --recv-key 164C028F`

_______________________________________________
TeX FAQ: http://www.tex.ac.uk/faq
TeX newsgroup: http://groups.google.com/groups?group=comp.text.tex
Mailing list archives: http://tug.org/pipermail/texhax/
More links: http://tug.org/begin.html

Automated subscription management: http://tug.org/mailman/listinfo/texhax
Human mailing list managers: postmaster at tug.org



More information about the texhax mailing list