I'm trying to write a null hypothesis with my thesis, and I found this question Hypothesis in latex. But when I tried it, it did not work for me, as I had a typesetting error and the xcolor
and fancyhdr
page were the culprits. (I dont even understand how that is possible, but then again I'm super new at this, so maybe that's not surprising).
Anyway, I've read that I can use the amsthm package to write the hypothesis, but I haven't been able to find a working example.
\documentclass[12pt,a4paper,oneside]{book}
\usepackage{amsmath,amssymb,amsthm}
\newtheorem{hyp}{Hypothesis}
\begin{document}
\begin{hyp}
This is my first hypothesis.
\end{hyp}
\end{document}
Best Answer
Is it what you want?