# [OS X TeX] Writing an Underscore in LateX

David Watson dewatson at me.com
Thu Jul 28 17:56:05 CEST 2011

The underscores in your PDF show up just fine for me.

On Jul 28, 2011, at 10:43 AM, Ishe Chinyoka wrote:

> 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.
> <test.tex><test.pdf>
> 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
>>>
>>>
>>> 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
>>
>
> ----------- 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
>