rgheck a écrit : > Philippe Charpentier wrote: >> For example, the following CharStyle >> >> CharStyle Semi-Bold >> LatexType Command >> LatexName textsb >> Font >> Family Roman >> Series Bold >> EndFont >> LabelFont >> Family Roman >> Size tiny >> Color blue >> EndFont >> Preamble >> \usepackage{sbdefault} >> EndPreamble >> End >> >> which is working in lyx-1.5 does not work in lyx-1.6 : >> It appears in the list of CharStyles (in the menu "Edit"), >> the command \usepackage{sbdefault} is put in the preamble >> but the command \textsb{} is not written in the latex source >> >> > The problem is that it had to be "command", lower case. I've fixed this. > > rh > OK, but it seems that "Command" does not work *only* for CharStyles...!
PhC