Skip to main content
Participating Frequently
November 30, 2023
Answered

How do I change the default font of equation?

  • November 30, 2023
  • 3 replies
  • 1247 views

Hi all,

Is there any way that we can change the default font of equation say from default (para) font to bold? 

Thanks

    This topic has been closed for replies.
    Correct answer Bob_Niland

    Thanks @Bob_Niland 

    My system it reverts to Default ¶ Font when I create the new equation. 

    Do you know any setting that can keeps it unchanged?

    Thanks


    It's not reverting on my FM2020.
    All I did was revise the EquationVariables format for Bold & update the style.
    I don't even recall doing a [set] on that palette pulldown, but it's showing what I reported above.

    3 replies

    Participating Frequently
    December 1, 2023

    I think I should rephrase my question.

    Is there any way that I can set Bold as the default for "functions", "Numbers", "Strings" and "Variables" every time I create the new equation. 

    Thanks

    Bob_Niland
    Community Expert
    Community Expert
    December 6, 2023

    a. to confirm: this is using the legacy Insert▼Equations… palette, and not MathML?

    b. what happens when you navigate to
    Format▼Characters › Character Designer

    Style [EquationVariables]
    Weight [Bold]
    [Update Style]

     

    Personally, due to the limitations of legacy equations in some output flows, and until MathML is working properly in FM once more (bug report FRMAKER-11189), I'd be tempted to use an external MathML editor, and import those objects.

    Participating Frequently
    December 7, 2023

    re: I am using 2019. Will upgrade it to FM2022 soon.

    I would not expect that to matter. I have used the Eq palette only rarely, but it's a very old feature (and pre-Unicode, which can matter*). I doubt that it has changed very much in the last quarter century. What appears to be needed is:

    • the Character Format EquationVariables needs to exist, and have the attribute(s) desired
    • it needs to have been saved [Update Style], so that it's in the document's Catalogs
    • the Eq palette 🞃 Equation Fonts… (!mf) needs to be set for:
      Math Symbols: [Symbol]*
      Functions: [EquationVariables]
      Numbers: [EquationVariables]
      Strings: [EquationVariables]
      Variables: [EquationVariables]
      [Set]
    • the document needs to be saved

    I don't immediately see anywhere else where Eq settings might be saved (such as maker.ini). 

     

    * Changing the Math Symbols: [Symbol] assignment could be a disaster. Symbol is the legacy codepage/overlay font, where code points 0x00-0xFF are not the ASCII & Latin1 glyphs found in any ISO/IEC-8859-1 or Unicode font, but are math symbols.


    yeah not sure what change but if your setting is kept and mine reverts everytime when I create new doc, it change something in that regard. 

    Not sure if you come accorss this, but I successfully re-create the new equaion.mif and I can manipulate the input. 

    It just got to me that when I open the equation without in any doc, It keep the default as Bold ( i set it up).  but when I open the equaion in within the doc, the character designer will override and it reverts back to "Default (para) Font".  

    Not sure if there is any statement in that mif file that can keep the input so that the character designer won't override my setting?

    Thanks

    Jeff_Coatsworth
    Community Expert
    Community Expert
    November 30, 2023

    Since there are a couple of ways to get equations into your FM content, I'd start with the version of FM you've got & the method you're using; otherwise, @Winfried Reng has the solution.

    Participating Frequently
    November 30, 2023

    HI @Jeff_Coatsworth , 

    I got FM 2019, I want to change the default font to Bold so that I do not need to change everything I create the equation in the new doc. 

    I have knowledge in Coding as well so If there is any file or any code that need to change to archive it, please let me know. 

    Community Expert
    November 30, 2023

    Hi,

    In the equation editor (Insert | Equations - not MathML) there is a drop-down list on the left. Click Equations to open this list and click Equation Fonts. There you can change the fonts.

    Is this what you need?

    Best regards

    Winfried

    Participating Frequently
    November 30, 2023

    Hi @Winfried Reng ,

    I want to change the default font to Bold so that I do not need to change everytime when I create the new equation. I know that It will change all equations in the same doc but as I always use bold, I want to keep it stay that way.