I would like to define some new mathematical statements in my documents. With the capability of using some numbering system, I thought about using section as shown. But would like to know what possibilities exist.
I wish to have a title for myDefn. Currently the text is printed on the same line but would like to have only the title next to the definition number, With the actual text starting on the next line.
Although one could have all theorems under the same numbering scheme. And corollary under a different numbering scheme, I find that confusing at times, because a corollary is most often a follow up to a theorem.
\documentclass{article}
\newtheorem{myDefn}{Definition}[section]
\begin{document}
\section{Mathematical Statements}
\begin{myDefn}
A \textit{prime number} is a natural number greater than 1 that has no positive divisors other than 1 and itself.
\end{myDefn}
\end{document}
\documentclass, end with\end{document}, show your problem AND compile. By doing so you take away many comments, clarify your situation and obtain better answers. Please take that seriously. Thank you – MS-SPO Oct 09 '23 at 19:17[section]in my\newtheorem{myDefn}{Definition}[section]. – Veak Oct 09 '23 at 21:21amsthmor whatever. If you plan to share it, that's obviously a very different case. – cfr Oct 10 '23 at 02:13