2014-11-12 20:01 GMT+01:00 Jürgen Spitzmüller:
>
> However, if you use LyX 2.1, you do not need an own command, since the
> command in question is possible with the help of the new argument syntax:
>
> Style Category
> InPreamble 1
> LabelType Static
> LabelString "Category"
> LatexType Command
> LatexName category
> Argument 1
> Mandatory 1
> LabelString "CR number"
> EndArgument
> Argument 2
> Mandatory 1
> LabelString "Category"
> EndArgument
> Argument 3
> Mandatory 1
> LabelString "Sub-Category"
> EndArgument
> Argument 4
> LabelString "Subject Descriptor"
> EndArgument
> Margin Dynamic
> Labelsep xx
> LabelFont
> Family Sans
> Series Bold
> Shape Slanted
> Size Normal
> Color Blue
> EndFont
> End
>
Sorry, this should be:
Style Category
InPreamble 1
LabelType Static
LabelString "Category"
LatexType Command
LatexName category
Argument 1
Mandatory 1
LabelString "CR number"
EndArgument
Argument post:1
Mandatory 1
LabelString "Sub-Category"
EndArgument
Argument post:2
LabelString "Subject Descriptor"
EndArgument
Margin Dynamic
Labelsep xx
LabelFont
Family Sans
Series Bold
Shape Slanted
Size Normal
Color Blue
EndFont
End
Jürgen