[texhax] LaTeX tabbing oddities
Pavel Minev Penev
pavpen at berkeley.edu
Thu Jul 1 10:06:58 CEST 2004
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`
More information about the texhax
mailing list