[OS X TeX] Writing an Underscore in LateX

Ishe Chinyoka chinyoka.consultant at gmail.com
Thu Jul 28 11:43:09 EDT 2011


Hi,

Thanks for your help. Actually, for interest sake, I am using MacTex 2011 on Snow Leopard with Voiceover as the screen reader. What is strange is that when I run Plastex to convert the source Tex file to HTML, the underscores are there, but in the PDF file, they are not there.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: test.tex
Type: application/octet-stream
Size: 406 bytes
Desc: not available
URL: <http://email.esm.psu.edu/pipermail/macosx-tex/attachments/20110728/f68922c4/attachment.obj>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: test.pdf
Type: application/pdf
Size: 56066 bytes
Desc: not available
URL: <http://email.esm.psu.edu/pipermail/macosx-tex/attachments/20110728/f68922c4/attachment.pdf>
-------------- next part --------------

Anyway, find attached a sample of my test TeX source file and a sample output PDF.

Thanks once again,

Ishe



On 28 Jul,2011, at 4:10 PM, Herbert Schulz wrote:

> 
> On Jul 28, 2011, at 8:51 AM, Ishe Chinyoka wrote:
> 
>> Hi,
>> 
>> Thanks Klaus. I just tried that and the file was typeset, but here is another strange problem: I see no underscores in the final PDF document. I even tried to wrap these in the \verb|word_to_wra| and this worked. But now the issue is with items that are part of the description list environment like this:
>> 
>> \begin{description}
>> \item[word\_to\_wrap]
>> \end}description}
>> 
>> The underscores are stripped and I get 
>> 
>> Word to wrap
>> 
>> Instead.
>> 
>> Is there a way to put a word in the \verb|| wrap in a list item? If this were possible, I would try it. For example, can I do this:
>> 
>> \item[\verb|word_to_wrap|]
>> 
>> Thanks once again,
>> 
>> Ishe
> 
> Howdy,
> 
> Works fine here. Could create a minimal but compilable example where it doesn't work so we can see exactly what is happening?
> 
> Good Luck,
> 
> Herb Schulz
> (herbs at wideopenwest dot com)
> 
> 
> 
> ----------- Please Consult the Following Before Posting -----------
> TeX FAQ: http://www.tex.ac.uk/faq
> List Reminders and Etiquette: http://email.esm.psu.edu/mac-tex/
> List Archive: http://tug.org/pipermail/macostex-archives/
> TeX on Mac OS X Website: http://mactex-wiki.tug.org/
> List Info: http://email.esm.psu.edu/mailman/listinfo/macosx-tex
> 



More information about the MacOSX-TeX mailing list