Lars Gullik Bjønnes wrote: > | What is it? Basically: > | > | - Split font selection to roman, serif and typewriter (as it is in > | LaTeX). > > Can you explain this a bit more for me?
Sure. In LaTeX, you have a general separation of font families: - Roman family (\rmdefault) - Sans family (\sfdefault) - Typewriter/monospaced family (\ttdefault) (+ math fonts) So you have to set up a font for each of that families. That is per default cmr (computer modern roman), cmss (Computer Modern Sans) and cmtt (Computer Modern Typewriter). The problem with our current font selection scheme is that we only have one font combo, which pretends to set up the base font, but actually sets up whatever the given font package does. So, if you select "times", the roman font will be set to Times (ptm), but if you select "helvet", the roman font will not be changed at all (i.e., is whatever the class defines, most likely computer modern), instead the *sans* font is set to Helvetica (thus this change is only visible in the sans serif parts of the document). Whereas "pslatex" sets rm to Times, sans to Helvetica and typewriter to a kind of bad kerned Courier. It's a mess ... Using fonts properly in LyX thus requires the preamble. The font combo is basically unusable if you want to use something different to computer modern. So what I'm trying to do (amongst others), is to let the user chose the appropriate families in the gui instead of entering (for instance): \usepackage{mathptmx} //times roman \usepackage[scaled=0.9]{helvet} \usepackage{courier} Also, it should be possible, to chose (for instance) the computer modern typewriter family together with palatino roman and avantgarde sans. Also see bug 2398: http://bugzilla.lyx.org/show_bug.cgi?id=2398 I hope this is clearer. Jürgen