>>Date: Thu, 25 May 2000 18:16:00 +0000
>>From: Oscar Lopez <[EMAIL PROTECTED]>
>>To: lyx-users mailing list <[EMAIL PROTECTED]>
>>Subject: Comments on lyx.1.1.5pre3 and layouts
>>
>>Hi all lyx-user's
>>
>>First of all, I would like to say that I am impressive with the new
>>version of lyx.1.1.5pre3 and I really appreciate all the lyx team
>>effort.
>>
>>I have discovered a new feature that I really like it, that is the
>>possibility of editing and inserted label on the text, I have to say
>>that I am currently using lyx.1.1.4pre1 as the latest stable version and
>>perhaps I have missed the new feature in the meantime. I was wondering
>>if this feature is supposed to work too in the math-mode, because it
>>doesn't work for me, and this would be really nice.
>>
>>Relating to layouts I have several questions
>>
>>1. How is it possible to make a style that allows you to insert a latex
>>command without argument, I'd like to insert the style in a similar way
>>as insert table of contents, just a command. At this moment when I
>>selected the desired style I have to put a protected blank space,
>>Ctrl-space, to avoid to write something.

Here is what I use in layout files to paste a marker showing the beginning of
an appendix, you just have to select « annexe » in the style menu.

# Annexe (modified from IEEETran.layout)
Style Annexe
  Margin                Static
  LatexType             Command       
  InTitle               0
  LatexName             annexe
  LabelType             Static
  LabelString           "Annexe "
  Align                 Center
  KeepEmpty             1
  # label font definition
  LabelFont
    Shape               Smallcaps
    Size                Large
  EndFont
End

-- 
Jean-Pierre

Reply via email to