I'm new with Latex and trying to get four hypotheses in the following style:
Hypothesis 1 (H1): This is my first hypothesis.
I'm using the amsmath package and the following code:
\newcommand{hyp}{Hypothesis}
\begin{hyp}
This is my first hypothesis.
\end{hyp}
which gives an output of:
Hypothesis 1: This is my first hypothesis.
I do know how to enumerate the 4 hypotheses but I do not know how to get the H1 to H4 in the brackets.

\newcommandshould be followed by a command name starting with a backslash, and in this case you would define a command, not an environment). Please post the exact content of the file that is causing problem. – Arthur Reutenauer May 26 '15 at 16:49enumeratepackage ... – juanuni May 26 '15 at 16:52