On 04/21/2017 01:01 PM, Dr Eberhard Lisse wrote:
How to I create a local layout so that I can enter the LMP like I can
do with the Date in the Text window (instead of the Preamble)?

Hi EL,
You can start with something like
InsetLayout "Flex:LMP"
      LyxType        custom
      LabelString   "LMP date"
      LatexType      command
      LatexName      LMP
      PassThru       false
      CustomPars     false
      Decoration     Classic
      ContentAsLabel true
End


and adjust it following instructions in LyX>Help>Customization.

This will add a custom inset in LyX>Insert>Custom Insets.



Reply via email to