I'm new to LaTeX macros and am hoping to create a command that definitions a function called "definition". When I use \definition{}, it would automatically format whatever is in {} to be bold, on a new line, and followed by colon. So it would look like this:
So it would look like this:
definition 1: blah blah blah
definition 2: blah blah blah
definition 3: blah blah blah
And then would there be a way to list all of the definitions at the end of the doc by calling on \definition{}?
Thanks!

\newtheoremetc. with packagesamsthm,thmtools,tcolorbox,mdframed, the later can produce lists of theorems etc. – Jul 14 '17 at 21:01