Exit
  • Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
  • 한국 커뮤니티
0

How do I change the default font of equation?

Community Beginner ,
Nov 29, 2023 Nov 29, 2023

Hi all,

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

Thanks

1.3K
Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines

correct answers 4 Correct answers

Community Expert , Dec 06, 2023 Dec 06, 2023

re: …it just means I will need to update every single template that I created.

It's no different than any other Character Format in that regard. Update the enterprise's or project's master template, and in each document:
File🞃 Import › Formats…

[Deselect All]
☑ Character Formats
[Import]

 

There is no way to push that to all projects & documents. Books, at least can bulk-import to all the component files.

Translate
Community Expert , Dec 06, 2023 Dec 06, 2023

re: When I open the equations palette, It switch back to "Default (para) font",…

What switches back?
When editing an Equation, it's normal for the Character Designer dialog to go blank (perhaps to disccourage users from trying to apply styles within the Eq palette, as that doesn't work).

Translate
Community Expert , Dec 06, 2023 Dec 06, 2023

On my system, that dialog shows:
Math Symbols: Symbol
and all the rest are [EquationVariables]
and doesn't revert to Default ¶ Font
The Bold gets applied via an attribute in Character Format EquationVariables, which is also stable.

Translate
Community Expert , Dec 06, 2023 Dec 06, 2023

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.

Translate
Community Expert ,
Nov 30, 2023 Nov 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

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Beginner ,
Nov 30, 2023 Nov 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.

 

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Expert ,
Nov 30, 2023 Nov 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.

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Beginner ,
Nov 30, 2023 Nov 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. 

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Beginner ,
Nov 30, 2023 Nov 30, 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

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Expert ,
Dec 05, 2023 Dec 05, 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.

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Beginner ,
Dec 05, 2023 Dec 05, 2023

Thank you so much @Bob_Niland .

Yeah I used the legacy Equation not the MathML. 

This works, it just means I will need to update every single template that I created. 

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Expert ,
Dec 06, 2023 Dec 06, 2023

re: …it just means I will need to update every single template that I created.

It's no different than any other Character Format in that regard. Update the enterprise's or project's master template, and in each document:
File🞃 Import › Formats…

[Deselect All]
☑ Character Formats
[Import]

 

There is no way to push that to all projects & documents. Books, at least can bulk-import to all the component files.

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Beginner ,
Dec 06, 2023 Dec 06, 2023

When I open the equations palette, It switch back to "Default (para) font", Is ithere any way to prevent that? I want to keep using the EquationVariables. 

Thank @Bob_Niland 

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Expert ,
Dec 06, 2023 Dec 06, 2023

re: When I open the equations palette, It switch back to "Default (para) font",…

What switches back?
When editing an Equation, it's normal for the Character Designer dialog to go blank (perhaps to disccourage users from trying to apply styles within the Eq palette, as that doesn't work).

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Beginner ,
Dec 06, 2023 Dec 06, 2023

Hi @Bob_Niland 

The option for Functions, number, strings and Variable switch back to "Default (Para) Font". 

I want to keep it as Bold (showed in the Variable) for all of them whenever I create the new equation. 

BaVuong33650479nib7_0-1701919045933.png

 

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Expert ,
Dec 06, 2023 Dec 06, 2023

On my system, that dialog shows:
Math Symbols: Symbol
and all the rest are [EquationVariables]
and doesn't revert to Default ¶ Font
The Bold gets applied via an attribute in Character Format EquationVariables, which is also stable.

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Beginner ,
Dec 06, 2023 Dec 06, 2023

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

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Expert ,
Dec 06, 2023 Dec 06, 2023

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.

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Beginner ,
Dec 06, 2023 Dec 06, 2023

Thanks @Bob_Niland 

For my situation, it reverts. I am using 2019. Will upgrade it to FM2022 soon. 

 

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Expert ,
Dec 07, 2023 Dec 07, 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.

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Beginner ,
Dec 07, 2023 Dec 07, 2023
LATEST

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

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines