TeX - LaTeX Stack Exchange is a question and answer site for users of TeX, LaTeX, ConTeXt, and related typesetting systems. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

Hello I'm trying to create my own layout

I'm using thmbox package for theorems, and I want to use the title feature. I'm using LyX as my editor, and I've created a layout file defining several styles using newboxtheorem-s. is there any way to make lyx understand that the layout takes a parameter and create a wysiwyg environment for it? Thanks.

share|improve this question
If you show the layout file you've created, chances will increase that someone knowledgeable in LyX takes a closer look. – lockstep Dec 4 '11 at 20:40
up vote 1 down vote accepted

I've solved the problem long ago, Just needed to add:

OptionalArgs 1

to the Style Theorem scope.

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

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