You can use "KeepEmpty 1", but the empty {} will still exist. I doesn't
hurts. Example:
# Appendix style definition
Style Appendix
Margin Dynamic
LatexType Command
LatexName appendix
NeedProtect 1
NextNoIndent 1
ParSkip 0.4
TopSep 4
BottomSep 0.8
ParSep 0.8
Align Block
AlignPossible Block
LabelType Static
KeepEmpty 1
LabelString "Appendix"
# standard font definition
Font
Series Bold
Size Large
Color Blue
EndFont
End
One thing I'd like to see in LyX is the support for optional parameters
like in
\chapter[Name in toc]{Long, long, long name}
Currently it is possible tu use a trick in the layout setting LabelType to
"Manual". Other interesting feature would be commands with more than one
parameter like
\foo{bar}{baz}
Casantos
--
Computers make excellent and efficient servants, but I have no wish to
serve under them. Captain, a starship also runs on loyalty to one
man. And nothing can replace it or him.
-- Spock, "The Ultimate Computer", stardate 4729.4
On Tue, 21 Dec 1999, Jean-Pierre.Chretien wrote:
> I did not manage to introduce a latex command without parameters in a
> layout
...
> results in
> \foo{}
> in the exported .tex file.
> I'd like to have
> \foo
> without the {}