Take the 2-minute tour ×
TeX - LaTeX Stack Exchange is a question and answer site for users of TeX, LaTeX, ConTeXt, and related typesetting systems. It's 100% free, no registration required.

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
add comment

1 Answer

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
add comment

Your Answer

 
discard

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.