> Try something out and post it to the list. You'll get heaps of
> feedback about why it is crap ;-) You may even get the odd gem of
> information about how to improve it.

Well, I couldn't resist, so here it is

I don't think I have to comment it much, since it's a design I understand!

LyX name is some internal name in LyX
Displayed name and numbers tells what is printed first in the theorem, for 
example, Lemma 2.7.1322 means  we have chapter+section numbers, and 1322 
lemmas in that section!
Theorem textstyle, if you want your theorem in emph size.

Connect to subtheorem. Well, this is  another thing I would like to see 
better support for in LyX (or I just have to start read documentation about 
how to do it). My thought was that if you write a theorem, then you would 
in most cases also put a theorem afterwards. The in the "connect to 
subtheorem" you could tell that there should be a proof (selected in the 
list) placed afterwards, and they should have the same number (perhaps that 
also shoudl be an option?). The other subtheorems, like answer could be 
connected to exercises, and they get the same number, and you can also 
change the placement, by telling latex to put all latexcode in the 
foobar.ins file (to be inserted at the end of the file) or to put in 
#chapter.ins files (to put answers at the end of each chapter).

(perhaps this whole idea is better done with latex commands in the 
preamble...)

Now, you said you would do the programming? ;-)
Magic: 13000

Internal Form Definition File
    (do not change)

Number of forms: 1
Unit of measure: FL_COORD_PIXEL

=============== FORM ===============
Name: myform
Width: 531
Height: 381
Number of Objects: 15

--------------------
class: FL_BOX
type: UP_BOX
box: 0 0 531 381
boxtype: FL_UP_BOX
colors: FL_COL1 FL_COL1
alignment: FL_ALIGN_CENTER
style: FL_NORMAL_STYLE
size: FL_DEFAULT_SIZE
lcol: FL_BLACK
label: 
shortcut: 
resize: FL_RESIZE_ALL
gravity: FL_NoGravity FL_NoGravity
name: 
callback: 
argument: 

--------------------
class: FL_INPUT
type: NORMAL_INPUT
box: 220 10 160 40
boxtype: FL_DOWN_BOX
colors: FL_COL1 FL_MCOL
alignment: FL_ALIGN_LEFT
style: FL_NORMAL_STYLE
size: FL_DEFAULT_SIZE
lcol: FL_BLACK
label: LyX name for this theorem style
shortcut: 
resize: FL_RESIZE_ALL
gravity: FL_NoGravity FL_NoGravity
name: lyxname
callback: 
argument: 

--------------------
class: FL_INPUT
type: NORMAL_INPUT
box: 120 110 220 30
boxtype: FL_DOWN_BOX
colors: FL_COL1 FL_MCOL
alignment: FL_ALIGN_LEFT
style: FL_NORMAL_STYLE
size: FL_DEFAULT_SIZE
lcol: FL_BLACK
label: Displayed name
shortcut: 
resize: FL_RESIZE_ALL
gravity: FL_NoGravity FL_NoGravity
name: dispname
callback: 
argument: 

--------------------
class: FL_TEXT
type: NORMAL_TEXT
box: 20 160 80 20
boxtype: FL_FLAT_BOX
colors: FL_COL1 FL_MCOL
alignment: FL_ALIGN_LEFT|FL_ALIGN_INSIDE
style: FL_NORMAL_STYLE
size: FL_DEFAULT_SIZE
lcol: FL_BLACK
label: Numbers
shortcut: 
resize: FL_RESIZE_ALL
gravity: FL_NoGravity FL_NoGravity
name: 
callback: 
argument: 

--------------------
class: FL_TEXT
type: NORMAL_TEXT
box: 20 330 440 40
boxtype: FL_FLAT_BOX
colors: FL_COL1 FL_MCOL
alignment: FL_ALIGN_LEFT|FL_ALIGN_INSIDE
style: FL_NORMAL_STYLE
size: FL_DEFAULT_SIZE
lcol: FL_BLACK
label: Theorem 3.1.4.600   In the Vatican there is 2 popes per square km.
shortcut: 
resize: FL_RESIZE_ALL
gravity: FL_NoGravity FL_NoGravity
name: preview
callback: 
argument: 

--------------------
class: FL_TEXT
type: NORMAL_TEXT
box: 20 310 100 20
boxtype: FL_FLAT_BOX
colors: FL_COL1 FL_MCOL
alignment: FL_ALIGN_LEFT|FL_ALIGN_INSIDE
style: FL_NORMAL_STYLE
size: FL_DEFAULT_SIZE
lcol: FL_BLACK
label: Preview
shortcut: 
resize: FL_RESIZE_ALL
gravity: FL_NoGravity FL_NoGravity
name: 
callback: 
argument: 

--------------------
class: FL_CHOICE
type: NORMAL_CHOICE2
box: 130 200 130 30
boxtype: FL_UP_BOX
colors: FL_COL1 FL_BLACK
alignment: FL_ALIGN_LEFT
style: FL_NORMAL_STYLE
size: FL_DEFAULT_SIZE
lcol: FL_BLACK
label: Theorem textstyle
shortcut: 
resize: FL_RESIZE_ALL
gravity: FL_NoGravity FL_NoGravity
name: 
callback: 
argument: 
  content: normal
  content: emph
  content: bold
  value: 1

--------------------
class: FL_BUTTON
type: NORMAL_BUTTON
box: 20 60 110 30
boxtype: FL_UP_BOX
colors: FL_COL1 FL_COL1
alignment: FL_ALIGN_CENTER
style: FL_NORMAL_STYLE
size: FL_DEFAULT_SIZE
lcol: FL_BLACK
label: Enter shortcut
shortcut: 
resize: FL_RESIZE_ALL
gravity: FL_NoGravity FL_NoGravity
name: buttonshortcut
callback: 
argument: 

--------------------
class: FL_TEXT
type: NORMAL_TEXT
box: 150 60 90 30
boxtype: FL_FLAT_BOX
colors: FL_COL1 FL_MCOL
alignment: FL_ALIGN_LEFT|FL_ALIGN_INSIDE
style: FL_NORMAL_STYLE
size: FL_DEFAULT_SIZE
lcol: FL_BLACK
label: M - C - S - 4
shortcut: 
resize: FL_RESIZE_ALL
gravity: FL_NoGravity FL_NoGravity
name: 
callback: 
argument: 

--------------------
class: FL_CHOICE
type: NORMAL_CHOICE2
box: 170 240 140 30
boxtype: FL_UP_BOX
colors: FL_COL1 FL_BLACK
alignment: FL_ALIGN_LEFT
style: FL_NORMAL_STYLE
size: FL_DEFAULT_SIZE
lcol: FL_BLACK
label: Connect to subtheorem
shortcut: 
resize: FL_RESIZE_ALL
gravity: FL_NoGravity FL_NoGravity
name: 
callback: 
argument: 
  align: FL_ALIGN_LEFT
  content: None
  content: Proof
  content: Answer
  content: Hint
  value: 1

--------------------
class: FL_FREE
type: NORMAL_FREE
box: 100 170 100 20
boxtype: FL_FLAT_BOX
colors: FL_COL1 FL_MCOL
alignment: FL_ALIGN_CENTER
style: FL_NORMAL_STYLE
size: FL_DEFAULT_SIZE
lcol: FL_BLACK
label: Chapter
shortcut: 
resize: FL_RESIZE_ALL
gravity: FL_NoGravity FL_NoGravity
name: 
callback: 
argument: 

--------------------
class: FL_LIGHTBUTTON
type: PUSH_BUTTON
box: 110 160 80 20
boxtype: FL_UP_BOX
colors: FL_COL1 FL_YELLOW
alignment: FL_ALIGN_CENTER
style: FL_NORMAL_STYLE
size: FL_DEFAULT_SIZE
lcol: FL_BLACK
label: Chapter
shortcut: 
resize: FL_RESIZE_ALL
gravity: FL_NoGravity FL_NoGravity
name: 
callback: 
argument: 
        value: 1

--------------------
class: FL_LIGHTBUTTON
type: PUSH_BUTTON
box: 200 160 100 20
boxtype: FL_UP_BOX
colors: FL_COL1 FL_YELLOW
alignment: FL_ALIGN_CENTER
style: FL_NORMAL_STYLE
size: FL_DEFAULT_SIZE
lcol: FL_BLACK
label: Section
shortcut: 
resize: FL_RESIZE_ALL
gravity: FL_NoGravity FL_NoGravity
name: 
callback: 
argument: 
        value: 1

--------------------
class: FL_LIGHTBUTTON
type: PUSH_BUTTON
box: 320 160 100 20
boxtype: FL_UP_BOX
colors: FL_COL1 FL_YELLOW
alignment: FL_ALIGN_CENTER
style: FL_NORMAL_STYLE
size: FL_DEFAULT_SIZE
lcol: FL_BLACK
label: Subsection
shortcut: 
resize: FL_RESIZE_ALL
gravity: FL_NoGravity FL_NoGravity
name: 
callback: 
argument: 
        value: 1

--------------------
class: FL_CHOICE
type: NORMAL_CHOICE2
box: 90 280 150 30
boxtype: FL_UP_BOX
colors: FL_COL1 FL_BLACK
alignment: FL_ALIGN_LEFT
style: FL_NORMAL_STYLE
size: FL_DEFAULT_SIZE
lcol: FL_BLACK
label: Placement
shortcut: 
resize: FL_RESIZE_ALL
gravity: FL_NoGravity FL_NoGravity
name: 
callback: 
argument: 
  content: default
  content: here
  content: in file file  foobar.ins
  content: in file #chap.ins
  content: in file #chap.#sect.ins
  value: 1

==============================
create_the_forms

Reply via email to