In addition to marking the default is there any good reason why a "default" button could not hiughlight the default options too, so if * is a selected option and o an selected one and the jsutificaion section reads o full (default) * left o center o right
then pressing the default button change it to * full (default) o left o center o right and simialr things for any other options visible. This might make the default button a useful way of doing things close to, but different from, the default. Figuring out the default from the surrounding context, i.e. the \left, \right, \parindent, \parskip, etc is probably something the GUI might want to refrain from, at least for now. If I use a macro that changes these or the current font then I should know what I am doing. My thesis has a \pf macro that does a lot of things including vertical space, a font change and redefining an end of proof macro from \relax to something that produces a box in the right margin. When I use that macro in a LyX document I know how the result will differ from the what LyX displays. P.S. IMHO the simplest and therefore right thing is font change LFUNs that do different text in and outside of math mode---TeX only has 6 modes 4 text, which likes \textsf likes, and two math which \mathsf likes. That way a fixed menu item to LFUN mapping suffices. Incidently \rm, \bf, etc work do the same things in both math and non-math mode. -- Duncan (-: "software industry, the: unique industry where selling substandard goods is legal and you can charge extra for fixing the problems."