Jean-Marc Lasgouttes wrote: > What do you want to do exactly? I want to change the font family of the default font, if bufferparams.fontsDefaultFamily is not default. The default font is currently set up by the textclass (and thus stored in defaultfont_ in lyxtextclass). It should be possible to override this if requested.
The reason is that I want to provide an option to switch the default family (\familydefault) for the document. On the LaTeX side, this already works. On the LyX side, however, the above change is needed for two reasons: - representation on screen - explicit selection of \textrm for a selection does only work if the surrounding text is not rm. I hope I made the point clear. Jürgen