16 Replies Latest reply: Aug 26, 2011 12:10 AM by MikeArmstrong RSS

    Math formatting in Prime

    dBoggs Bronze

      OK, I can see how to adjust the font size for text regions, but how do you adjust it for math regions?

       

      Math regions seem to be permanently wired to 12-point times roman. The times roman (or similar) I can live with, since the intent is obviously to make the math look like it was typeset, but what about the size?

       

      12-pt height is a little large for my tastes, and I usually make the text regions 10 pts. With M15 and before, I would make both the text and the math 10 pts high so they look consistent. When I import an old sheet into Prime, the text comes in 10 pts but the math is larger, it looks out of proportion, and it usually ends up extending into the right margin (or worse, truncated at the right printable edge).

       

      Please tell me that either I am blind and cannot see how to change this, or else that this is a temporary limitation in Prime 1 and will be changed in the future.

       

      Daryl

        • Re: Math formatting in Prime
          MikeArmstrong Diamond

          Your correct, there doesn't seem to be an option to change the math font size.

           

          Another feature to be implemented in Prime 2.0 hopefully.

           

          Mike

          • Re: Math formatting in Prime
            VladimirN. PTC Community Champion

            Well, to change font setting (type and its sizes) is possible only for text areas. But it is possible to look at what parameters of a font ("font-family" and "font-size") are used by default for styles of a designation "Variable" and "Unit". For this purpose we open file Mathcad Prime 1.0".mcdx" in the text editor, for example in Notepad ++ (http://notepad-plus-plus.org/) where we find a line "mathStyle" to refer to styles of "Variable","Unit" etc.:

             

            Edit_mcdx.gif

              • Re: Math formatting in Prime
                MikeArmstrong Diamond

                That won't help with the formatting though.

                 

                Mike

                  • Re: Math formatting in Prime
                    VladimirN. PTC Community Champion

                    I know it. After saving changes in a text editor (if we change the font manually), ".mcdx" file in Prime 1.0 will not open.

                      • Re: Math formatting in Prime
                        MikeArmstrong Diamond

                        Hopefully this will be rectified in Prime 2.0

                         

                        Mike

                          • Re: Math formatting in Prime
                            mzeftel Gold

                            You can select constants, variables, functions, and units in Mathcad Prime 1.0 and use the label feature to do some formatting of math.

                             

                            1. Under the Math tab > Style , make sure the label is set to what you want, such as unit.

                            2. Under the Formatting tab > Label Styles you can change some of the formatting for all units, such as bold, italic, underlined and color.

                             

                            For Mathcad Prime 1.0, you cannot change the point size or font family. That will be a feature to a later release of Mathcad Prime.

                             

                            Mona

                              • Re: Math formatting in Prime
                                MikeArmstrong Diamond

                                You can select constants, variables, functions, and units in Mathcad Prime 1.0 and use the label feature to do some formatting of math.

                                 

                                1. Under the Math tab > Style , make sure the label is set to what you want, such as unit.

                                2. Under the Formatting tab > Label Styles you can change some of the formatting for all units, such as bold, italic, underlined and color.

                                Mona,

                                 

                                I am aware that the maths can be formatted in Prime 1.0, but a little surprised that text cannot. It seems like it should be a given that users can choose the text style and size.

                                 

                                Mike

                                  • Re: Math formatting in Prime
                                    mzeftel Gold

                                    Mike,

                                     

                                    Text can reformatted in Prime 1.0. I was answering the question about formatting math.

                                    For text, there are many formatting options: point size, font, style (bold, italic), highlight color, and then of course paragraph formatting options. Superscript and subscripts are missing from text.

                                     

                                    Mona

                                      • Re: Math formatting in Prime
                                        MikeArmstrong Diamond

                                        Text can reformatted in Prime 1.0. I was answering the question about formatting math.

                                        For text, there are many formatting options: point size, font, style (bold, italic), highlight color, and then of course paragraph formatting options. Superscript and subscripts are missing from text.

                                         

                                        Sorry Mona for the late response.

                                         

                                        I think I got a little confused. I was meant to be talking about the math regions.

                                         

                                        Mike

                                  • Re: Math formatting in Prime
                                    VladimirN. PTC Community Champion

                                    Yes, it is necessary to add still much to possibilities Mathcad Prime to reach level MC15.

                            • Re: Math formatting in Prime
                              Mischa Copper

                              There is a way to change the font type and size of the math regions, though it is not a simple way and you have to use some software tools. In my case, I use a modified isocpeur-font. With a program to edit fonts, TypeTool, I have copied many characters to the font files MathcadUniMathPrime.otf and MathcadUniMathPrimeItalic.otf. I was also able to scale the font, so it is 10% smaller and approx. 11 pts. It is afcourse not the right way to deal with fonts, but for now I am able to use Prime with the right font.

                                • Re: Math formatting in Prime
                                  MikeArmstrong Diamond

                                  There is a way to change the font type and size of the math regions, though it is not a simple way and you have to use some software tools. In my case, I use a modified isocpeur-font. With a program to edit fonts, TypeTool, I have copied many characters to the font files MathcadUniMathPrime.otf and MathcadUniMathPrimeItalic.otf. I was also able to scale the font, so it is 10% smaller and approx. 11 pts. It is afcourse not the right way to deal with fonts, but for now I am able to use Prime with the right font.

                                   

                                  Good work.

                                   

                                  While this is a valid alternative and a workaround. I still think should be a given.

                                   

                                  Mike

                                    • Re: Math formatting in Prime
                                      Mischa Copper

                                      I agree, the font for math regions should be set with no hassle within Mathcad. I have seen all the characters in the MathcadUniMathPrimeItalic.otf. All the special characters (like the rootsign with the right width and hight, greek letters, := sign) are placed in this font that is used for all the characters in math regions. Afcourse these are not standard characters in other fonts. So there is some work to do to create a good solution (like a seperate fontfile for all the special characters).

                                        • Re: Math formatting in Prime
                                          MikeArmstrong Diamond

                                          I agree, the font for math regions should be set with no hassle within Mathcad. I have seen all the characters in the MathcadUniMathPrimeItalic.otf. All the special characters (like the rootsign with the right width and hight, greek letters, := sign) are placed in this font that is used for all the characters in math regions. Afcourse these are not standard characters in other fonts. So there is some work to do to create a good solution (like a seperate fontfile for all the special characters).

                                           

                                          I believe this will be corrected in the future releases of Prime.

                                           

                                          Mike

                                      • Re: Math formatting in Prime
                                        VladimirN. PTC Community Champion

                                        Also, I would like to note that these fonts (MathcadUniMathPrime.otf and MathcadUniMathPrimeItalic.otf) can be found in the folder "C:\Windows\Fonts".