I am new to TEX and am using scribtex as an online latex editor. My problem is that when I put hyphen in my text it sometimes appears and sometimes doesn't appear. What can be the reason for this and how do I fix this?
The code for example I am putting in is:
\documentclass[12pt,oneside]{amsart}
\usepackage{amssymb}
\theoremstyle{plain}
\newtheorem{theorem}{Theorem}[section]
\newtheorem{lemma}[theorem]{Lemma}
\newtheorem{corollary}[theorem]{Corollary}
\theoremstyle{definition}
\newtheorem{definition}[theorem]{Definition}
\theoremstyle{remark}
\newtheorem{remark}[theorem]{Remark}
\newcommand{\R}{{\mathbb R}}
\newcommand{\nil}{\varnothing}
\begin{document}
Reissener–Nordstrom
Reissener – Nordstrom
\end{document}
The output I get is "ReissenerNordstrom Reissener Nordstrom" whereas I expect "Reissener-Nordstrom Reissener-Nordstrom".
Thanks

this\-is\-a\-long\-wordor even\hyphenation{this-is-a-long-word}? If so, these only appear when necessary. If you want them to appear always, you can just write them as-is in your text:blah blah this-is-a-long-word blah blah– Werner Oct 20 '11 at 15:23\documentclass. Personally, I have often solved my own problems in the process of reducing the amount of code actually required to reproduce the problem. So, if what is below does not answer the question for you, please create a MWE. – Peter Grill Oct 20 '11 at 16:37