TeX - LaTeX Asked on July 5, 2021
I am using
begin{enumerate}[start=1,label={{bf{Claim arabic*.}}}]
item
....
item
begin{enumerate}
and it works fine. I get my output as
Now, now and then I would like to have a different item label, something like:
Is there a quick trick? I am not able to see it. I am using usepackage{enumitem}
. Thanks.
You may be misusing (abusing?) the powers of the enumitem
package. I think you'd be better off loading the amsmthm
package and defining a numbered environment called claim
and an unnumbered environment named comment
.
documentclass{article}
usepackage{amsthm}
theoremstyle{definition} % use upright lettering
newtheorem{claim}{Claim}
newtheorem*{comment}{Comment}
begin{document}
begin{claim}
bla bla bla
end{claim}
begin{comment}
ble ble ble
end{comment}
begin{claim}
bli bli bli
end{claim}
end{document}
Correct answer by Mico on July 5, 2021
Get help from others!
Recent Answers
Recent Questions
© 2024 TransWikia.com. All rights reserved. Sites we Love: PCI Database, UKBizDB, Menu Kuliner, Sharing RPP