[OS X TeX] Writing an Underscore in LateX

Claus Gerhardt claus.gerhardt at uni-heidelberg.de
Thu Jul 28 15:59:54 CEST 2011


\_ works for me. There must something wrong in your set up or some incompatibilities.

Claus
On Jul 28, 2011, at 15:51, 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
> 
> On 28 Jul,2011, at 2:11 PM, Claus Gerhardt wrote:
> 
>> Type \_
>> 
>> Claus
>> On Jul 28, 2011, at 14:05, Ishe Chinyoka wrote:
>> 
>>> Hi,
>>> 
>>> I am having problems trying to write underscores in my document. When I write something like "Introduction_to_computers", and try to typeset this in TexShop, from the log it appears as if I missed out something. What on earth can I do to write underscores? I am not in Maths Mode and I am just writing a prose document. 
>>> 
>>> Thanks everybody for help,
>>> 
>>> Ishe
>>> ----------- 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