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

MathML

Community Beginner ,
Nov 24, 2024 Nov 24, 2024

Copy link to clipboard

Copied

Hi there!!

MathML for InDesign is great!!

I wish I could change font color something like below...

 

            <math mathcolor="#000000">
                <mrow>            
                    <mi>a</mi>            
                    <mi>b</mi>
                    <mi>c</mi>
                    <mi>d</mi>
                    <mi>e</mi>
                    <mi>f</mi>
                    <mi mathcolor="#d0111b">g</mi>
                    <mi>h</mi>
                    <mi>i</mi>        
                </mrow>            
            </math>
TOPICS
Feature request

Views

382

Translate

Translate

Report

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 7 Correct answers

Community Expert , Nov 24, 2024 Nov 24, 2024

As far as I'm aware it's SVG - so you'd need to export it from InDesign - manipulate it and replace it - or manipulate it after exporting for InDesign.

 

SVG is RGB only and can't do 100% black in CMYK - -it's RGB black

https://creativepro.com/how-to-avoid-print-problems-with-mathml-in-indesign/

Votes

Translate

Translate
Community Beginner , Nov 25, 2024 Nov 25, 2024

Thank you for your feedback! To change the font color in MathML for InDesign, you can use the mathcolor attribute as you've done in your example. This should apply the specified color to the elements within the tag.  If you're not seeing the change, ensure your InDesign MathML plugin supports this feature or check for any style overrides in your document.

Votes

Translate

Translate
Community Expert , Nov 25, 2024 Nov 25, 2024

There's something I don't understand. @jimmy_2799 wrote 

 

>To change the font color in MathML for InDesign, you can use the mathcolor attribute as you've done in your example. This should apply the specified color to the elements within the tag.

 

That's what you did originally. He didn't say anything about mrow, which you applied, and which you claim worked. But when I tried it InDesign said that the structure is invalid (after inserting / in the closing <mrow> tag). Can you give us a screensh

...

Votes

Translate

Translate
Community Expert , Nov 25, 2024 Nov 25, 2024

It does indeed when I tried again. No idea what went wrong earlier.

 

But now I understand even less. @zealous_positivity2292 reported an MML structure which he said doesn't work, but which is in fact correct and works. Then he reports that he fixed it, but the fix is ungrammatical and doesn't work. Oh, well.

Votes

Translate

Translate
Community Expert , Nov 25, 2024 Nov 25, 2024

@Peter Kahrel

 

With <mrow> it doesn't work - but if you remove it - it works.

 

Votes

Translate

Translate
Community Expert , Nov 27, 2024 Nov 27, 2024

Start reading this thread from the top.

Votes

Translate

Translate
Community Expert , Nov 27, 2024 Nov 27, 2024

They asked "change fonts for MathML, like color?" Meaning, I guess, "change font attributes, like colour".

Votes

Translate

Translate
Community Expert ,
Nov 24, 2024 Nov 24, 2024

Copy link to clipboard

Copied

As far as I'm aware it's SVG - so you'd need to export it from InDesign - manipulate it and replace it - or manipulate it after exporting for InDesign.

 

SVG is RGB only and can't do 100% black in CMYK - -it's RGB black

https://creativepro.com/how-to-avoid-print-problems-with-mathml-in-indesign/

Votes

Translate

Translate

Report

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 25, 2024 Nov 25, 2024

Copy link to clipboard

Copied

Thanks!! Eugene

Votes

Translate

Translate

Report

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 25, 2024 Nov 25, 2024

Copy link to clipboard

Copied

Thank you for your feedback! To change the font color in MathML for InDesign, you can use the mathcolor attribute as you've done in your example. This should apply the specified color to the elements within the tag.  If you're not seeing the change, ensure your InDesign MathML plugin supports this feature or check for any style overrides in your document.

Votes

Translate

Translate

Report

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 25, 2024 Nov 25, 2024

Copy link to clipboard

Copied

Thanks!! jimmy!!

It Woked!!!!!!!!!!!!!!!!!!!!!!!!

Votes

Translate

Translate

Report

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 25, 2024 Nov 25, 2024

Copy link to clipboard

Copied

This Worked!!!

I had to insert <mrow>...

 

            <math mathcolor="#000000">
                <mrow>            
                    <mi>a</mi>            
                    <mi>b</mi>
                    <mi>c</mi>
                    <mi>d</mi>
                    <mi>e</mi>
                    <mi>f</mi>
                     <mrow>        
                        <mi mathcolor="#d0111b">g</mi>
                     <mrow> 
                    <mi>h</mi>
                    <mi>i</mi>        
                </mrow>            
            </math>

Votes

Translate

Translate

Report

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 25, 2024 Nov 25, 2024

Copy link to clipboard

Copied

There's something I don't understand. @jimmy_2799 wrote 

 

>To change the font color in MathML for InDesign, you can use the mathcolor attribute as you've done in your example. This should apply the specified color to the elements within the tag.

 

That's what you did originally. He didn't say anything about mrow, which you applied, and which you claim worked. But when I tried it InDesign said that the structure is invalid (after inserting / in the closing <mrow> tag). Can you give us a screenshot that shows that it worked?

 

Votes

Translate

Translate

Report

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 25, 2024 Nov 25, 2024

Copy link to clipboard

Copied

@Peter Kahrel 

 

You are right - but color change works without <mrow>:

 

RobertatIDTasker_0-1732533036922.png

 

 

Votes

Translate

Translate

Report

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 25, 2024 Nov 25, 2024

Copy link to clipboard

Copied

It does indeed when I tried again. No idea what went wrong earlier.

 

But now I understand even less. @zealous_positivity2292 reported an MML structure which he said doesn't work, but which is in fact correct and works. Then he reports that he fixed it, but the fix is ungrammatical and doesn't work. Oh, well.

Votes

Translate

Translate

Report

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 25, 2024 Nov 25, 2024

Copy link to clipboard

Copied

@Peter Kahrel

 

With <mrow> it doesn't work - but if you remove it - it works.

 

Votes

Translate

Translate

Report

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 27, 2024 Nov 27, 2024

Copy link to clipboard

Copied

Hi, Is there any option to change fonts for MathML, like color?

 

Votes

Translate

Translate

Report

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 27, 2024 Nov 27, 2024

Copy link to clipboard

Copied

Start reading this thread from the top.

Votes

Translate

Translate

Report

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 27, 2024 Nov 27, 2024

Copy link to clipboard

Copied

quote

Start reading this thread from the top.


By @Peter Kahrel

 

I can swear the question was for "font" - not "color"? 

 

Votes

Translate

Translate

Report

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 27, 2024 Nov 27, 2024

Copy link to clipboard

Copied

They asked "change fonts for MathML, like color?" Meaning, I guess, "change font attributes, like colour".

Votes

Translate

Translate

Report

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 27, 2024 Nov 27, 2024

Copy link to clipboard

Copied

quote

They asked "change fonts for MathML, like color?" Meaning, I guess, "change font attributes, like colour".


By @Peter Kahrel

 

Yeah, you are right 😞 

 

Votes

Translate

Translate

Report

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 27, 2024 Nov 27, 2024

Copy link to clipboard

Copied

LATEST

Yes ymathsize2.pngou can change font attibutes.

But I guess we can not change font type...

 

Votes

Translate

Translate

Report

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 27, 2024 Nov 27, 2024

Copy link to clipboard

Copied

HI! You can chage fontsize too!!

mathsize.png

Votes

Translate

Translate

Report

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