Hi, I want to define a new environment like the figure above. It has two text blocks with different background color. Block 1 has a short numbered title, such as 'Note' or 'Definition'. Block 2 has a specific indent.
I tried several ways. The first is package mdframed
. I need two blocks, but the package usually provides one block. All the examples in the manual also have only one block.
The second way is to use tabular
environment. But I don't know how to make this a new environment with numbers.
Would anybody please give me an example? Thank you.