I am using a lyx article template . I want to put my all enumerate items in grayed box . How can I define the enumerate environment in preamble so that all my enumerated lists appear in a grey boxes. I do not want to use tex code inside lyx document and would like to define this style in preamble itself . Kindly help

  • use package mdframed – user2478 Jan 7 '14 at 17:03
  • I want to define it in preamble and do not want to enter any code on document body written in lyx – Vaibhav Jan 7 '14 at 17:12
  • Do you allow white space between list items? – Herr K. Jan 7 '14 at 17:27
  • No white spaces pls. – Vaibhav Jan 10 '14 at 10:44

write into the preamble (document->setting->preamble):


enter image description here

for all other options, like rounded corners , frame color, ... read the documentation of mdframed

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.