I am trying to create Illustration
drop down in Lyx. For this I am creating a module in the lines of theorems-ams-bytype.module
and theorems-ams-bytype.inc
.
This is the code inside it:
Style Example
CopyStyle Definition
LatexName example
LabelString "Illustration \theexample."
Preamble
\theoremstyle{definition}
\newtheorem{example}{\protect\examplename}[chapter]
EndPreamble
Requires amsthm
LangPreamble
\providecommand{\examplename}{_(Illustration)}
EndLangPreamble
BabelPreamble
\addto\captions$$lang{\renewcommand{\examplename}{_(Illustration)}}
EndBabelPreamble
LabelCounter example
End
What should be done in the code so that I will be able to get a nice tikz
box or using mdframe
some gray rounded box around the illustration
box.
Right now the illustration looks like a example (coming from theorem
style) but I want it should look like the concept box below.