[OS X TeX] Writing an Underscore in LateX

David Watson dewatson at me.com
Thu Jul 28 18:25:19 CEST 2011


On Jul 28, 2011, at 11:19 AM, Ishe Chinyoka wrote:

> Hi Everybody,
> 
> Thanks William for explaining about the display and David for confirming that at least the output is okay. Then I think it has to do with my platform here: I use Preview for my PDF reading needs.  this may be an issue between Preview and Voiceover I suspect and nothing to do with TeX. 

While I'm not using Preview per-se, I am just looking at the PDF in Mail on Lion.

> Well, in the first place I thank Klaus for pointing me to the use of the backslash character and Herb for that checking of the sample files.
> 
> This is a great group,
> 
> Ishe
> 
> On 28 Jul,2011, at 5:56 PM, David Watson wrote:
> 
>> 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
>>>>> 
>>>>> 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
>>>> 
>>> 
>>> ----------- 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
>> 
> 
> ----------- 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 macostex-archives mailing list