Page 1 of 1

[Solved] Changing fonts for more characters

Posted: Tue Sep 11, 2018 4:21 pm
by steve-o
I'd like to change the font used for more than just my regular typed letters in a formula. I know that division bars and radicals are probably not rendered from a font, per se, but I want my Greek letters and plus signs and equals and such to be controllable.

For Greek letters... normally I call these from the catalog with their nicknames/shortcuts such as %DELTA. However, those nicknames bring in the character from pre-defined fonts, rather than matching the Math object's fonts as set by the "Format > Fonts..." dialog. I know I can edit the catalog, but the process is tedious. Surely the catalog is stored in a specific configuration file somewhere... is it possible that I could edit that file directly to quickly alter or add a lot of entries?

(Pasting a Greek letter into the editor instead of using the catalog shortcut does render them in the font that I set for the formula as a whole, but the shortcuts are much more convenient...)

For basic symbols like plus, equals, brackets... I don't see any way to adjust or even learn the font for these. I assume they're pulled from OpenSymbol like a lot of other Math stuff. Is that totally out of my control? They are definitely not affected by the "Format > Fonts..." dialog.

Re: Changing fonts for more characters

Posted: Tue Sep 11, 2018 6:54 pm
by MrProgrammer
steve-o wrote:Surely the catalog is stored in a specific configuration file somewhere... is it possible that I could edit that file directly to quickly alter or add a lot of entries?
Sure, it's in your user profile in registrymodifications.xcu. However that is a large complex file containing much more than just Math's symbol catalog. The structure (unless you are a developer) is undocumented, I think. So you would have to determine what to change. Unless you are an experienced programmer and are familiar with manipulating XML via a text editor, this will be difficult. You will want to have good backups before beginning because damaging the file with incorrect settings will surely break OpenOffice in mysterious ways. If it were me, I'd do the experimentation on a new account on your machine, then transfer the knowledge to the main account you use. Resetting your profile will restore the default user profile, but you would lose any customization you've done. Good luck with that project. Others may want to know your solution so please report here how you succeeded.

If this solved your problem please go to your first post use the Edit button and add [Solved] to the start of the title. You can select the green checkmark icon at the same time.