mtpro2 SQRT with root index affect the subsequent spacingHow does changing colour affect spacing?Suggestions...

Is there an equal sign with wider gap?

Grey hair or white hair

Do f-stop and exposure time perfectly cancel?

Why would a jet engine that runs at temps excess of 2000°C burn when it crashes?

Should I take out a loan for a friend to invest on my behalf?

My story is written in English, but is set in my home country. What language should I use for the dialogue?

Best approach to update all entries in a list that is paginated?

Force user to remove USB token

Are the terms "stab" and "staccato" synonyms?

What is the chance of making a successful appeal to dismissal decision from a PhD program after failing the qualifying exam in the 2nd attempt?

A three room house but a three headED dog

Offered promotion but I'm leaving. Should I tell?

Is having access to past exams cheating and, if yes, could it be proven just by a good grade?

How did Alan Turing break the enigma code using the hint given by the lady in the bar?

String reversal in Python

In the late 1940’s to early 1950’s what technology was available that could melt a LOT of ice?

Space in array system equations

The bar has been raised

Upside Down Word Puzzle

Built-In Shelves/Bookcases - IKEA vs Built

What Happens when Passenger Refuses to Fly Boeing 737 Max?

Are babies of evil humanoid species inherently evil?

Word for a person who has no opinion about whether god exists

Who deserves to be first and second author? PhD student who collected data, research associate who wrote the paper or supervisor?



mtpro2 SQRT with root index affect the subsequent spacing


How does changing colour affect spacing?Suggestions for tweaking wide root indexProblem with installing mathtime pro 2 fontScaling the mtpro2 fonts to work with BaskervilleTufte-book error with mtpro2 and fontencSpacing between custom command and subsequent textUnbalanced spacing with braces in mtpro2Using bold math with mtpro2 liteSpacing under square rootParagraph spacing that does not affect the content section













6















I recently installed math professional II font (mtpro2 lite). It works fine except that the SQRT with root index sucks.



[ sqrt[100]{1000000} = 1000 quad sqrt[3]{1000000} = 100 ]

[ SQRT[100]{1000000} = 1000 quad SQRT[3]{1000000}= 100 ]


Output



mtpro2sqrt



Is this a problem of the lite version (intended or not)? Does the complete version have this problem too? How can I define a new command to handle the situation automatically?










share|improve this question

























  • Welcome to TeX.SX! You can have a look at our starter guide to familiarize yourself further with our format.

    – Martin Schröder
    Jul 29 '15 at 8:35






  • 1





    I can confirm that the full mtpro2 package suffers the same problem. My system runs MacOSX 10.10.4, and I use the version of pdfLaTeX that comes with MacTeX2015.

    – Mico
    Jul 29 '15 at 11:04













  • Yup, same here.

    – JPi
    Jul 30 '15 at 2:44
















6















I recently installed math professional II font (mtpro2 lite). It works fine except that the SQRT with root index sucks.



[ sqrt[100]{1000000} = 1000 quad sqrt[3]{1000000} = 100 ]

[ SQRT[100]{1000000} = 1000 quad SQRT[3]{1000000}= 100 ]


Output



mtpro2sqrt



Is this a problem of the lite version (intended or not)? Does the complete version have this problem too? How can I define a new command to handle the situation automatically?










share|improve this question

























  • Welcome to TeX.SX! You can have a look at our starter guide to familiarize yourself further with our format.

    – Martin Schröder
    Jul 29 '15 at 8:35






  • 1





    I can confirm that the full mtpro2 package suffers the same problem. My system runs MacOSX 10.10.4, and I use the version of pdfLaTeX that comes with MacTeX2015.

    – Mico
    Jul 29 '15 at 11:04













  • Yup, same here.

    – JPi
    Jul 30 '15 at 2:44














6












6








6


1






I recently installed math professional II font (mtpro2 lite). It works fine except that the SQRT with root index sucks.



[ sqrt[100]{1000000} = 1000 quad sqrt[3]{1000000} = 100 ]

[ SQRT[100]{1000000} = 1000 quad SQRT[3]{1000000}= 100 ]


Output



mtpro2sqrt



Is this a problem of the lite version (intended or not)? Does the complete version have this problem too? How can I define a new command to handle the situation automatically?










share|improve this question
















I recently installed math professional II font (mtpro2 lite). It works fine except that the SQRT with root index sucks.



[ sqrt[100]{1000000} = 1000 quad sqrt[3]{1000000} = 100 ]

[ SQRT[100]{1000000} = 1000 quad SQRT[3]{1000000}= 100 ]


Output



mtpro2sqrt



Is this a problem of the lite version (intended or not)? Does the complete version have this problem too? How can I define a new command to handle the situation automatically?







spacing mtpro






share|improve this question















share|improve this question













share|improve this question




share|improve this question








edited Jul 29 '15 at 18:24







Lei Zhao

















asked Jul 29 '15 at 8:15









Lei ZhaoLei Zhao

907




907













  • Welcome to TeX.SX! You can have a look at our starter guide to familiarize yourself further with our format.

    – Martin Schröder
    Jul 29 '15 at 8:35






  • 1





    I can confirm that the full mtpro2 package suffers the same problem. My system runs MacOSX 10.10.4, and I use the version of pdfLaTeX that comes with MacTeX2015.

    – Mico
    Jul 29 '15 at 11:04













  • Yup, same here.

    – JPi
    Jul 30 '15 at 2:44



















  • Welcome to TeX.SX! You can have a look at our starter guide to familiarize yourself further with our format.

    – Martin Schröder
    Jul 29 '15 at 8:35






  • 1





    I can confirm that the full mtpro2 package suffers the same problem. My system runs MacOSX 10.10.4, and I use the version of pdfLaTeX that comes with MacTeX2015.

    – Mico
    Jul 29 '15 at 11:04













  • Yup, same here.

    – JPi
    Jul 30 '15 at 2:44

















Welcome to TeX.SX! You can have a look at our starter guide to familiarize yourself further with our format.

– Martin Schröder
Jul 29 '15 at 8:35





Welcome to TeX.SX! You can have a look at our starter guide to familiarize yourself further with our format.

– Martin Schröder
Jul 29 '15 at 8:35




1




1





I can confirm that the full mtpro2 package suffers the same problem. My system runs MacOSX 10.10.4, and I use the version of pdfLaTeX that comes with MacTeX2015.

– Mico
Jul 29 '15 at 11:04







I can confirm that the full mtpro2 package suffers the same problem. My system runs MacOSX 10.10.4, and I use the version of pdfLaTeX that comes with MacTeX2015.

– Mico
Jul 29 '15 at 11:04















Yup, same here.

– JPi
Jul 30 '15 at 2:44





Yup, same here.

– JPi
Jul 30 '15 at 2:44










2 Answers
2






active

oldest

votes


















4














Don't know exactly why this fixes the problem, but it seems to. ;-)



documentclass{article}


usepackage{mtpro2}
usepackage{mathtools}

newcommand{SQRTFIX}[2][ ]{{hphantom{scriptscriptstyle{#1}}}SQRT[mathllap{#1}]{#2}}


begin{document}

[ sqrt[100]{1000000} = 1000 quad sqrt[3]{1000000} = 100 ]

[
SQRT[100]{1000000} = 1000 quad SQRT[3]{1000000} = 100
]

[
SQRTFIX[100]{1000000} =1000 quad SQRTFIX[3]{1000000} = 100
]
end{document}


enter image description here



The second image simply shows in the yellow box what the original $SQRT$ does and in the blue box what $SQRTFIX$ does.



enter image description here






share|improve this answer


























  • Good eyesight! Thanks to you, I was able to track down the bug in the mtpro2 package.

    – Ruixi Zhang
    45 mins ago



















1














Thanks to @JPi’s amazing eyesight, I was able to track down exactly the bug in the mtpro2 package. All credits goes to him/her.



@JPi’s solution suggests that the offsetting space is somehow the width of the root index. I confirm this is the case. The root index is placed inside a box called rootbox. Here is how LaTeX defines its placement:



% From ltmath.dtx:
defr@@t#1#2{%
setboxz@hbox{$m@th#1sqrtsign{#2}$}%
dimen@htz@ advancedimen@-dpz@
mkern5muraise.6dimen@copyrootbox
mkern-10muboxz@}


which is the default, while mtpro2 does some similar things like:



% From mtpro2.dtx or mtpro2.sty
defR@@T#1#2{setboxz@hbox{$UPROOT@z@LEFTROOT@z@m@th#1SQR@@T{#2}$}%
dimen@htz@advancedimen@-dpz@
dimen@iidimen@
setboxtw@hbox{$m@th#1mskipUPROOT@ mu$}advancedimen@ii by1.667wdtw@
setboxtw@hbox{$m@th#1mskip10mu$}%
ifcaseSQcount@advancedimen@3wdtw@oradvancedimen@1.5wdtw@or
advancedimen@wdtw@fi
mkern1mukern.13dimen@mkern-LEFTROOT@ mu
raise.5dimen@iicopyrootbox % was .44
mkern-1mukern-.13dimen@mkernLEFTROOT@ muboxz@kern-wdrootbox
LEFTROOTz@UPROOTz@}


Focusing on the overall structures, we see immediately that R@@T has additional code of kern-wdrootbox, which IMHO is utterly wrong. So here is my fix:



documentclass{article}
usepackage{newtxtext}
usepackage{mtpro2}% lite or complete, does not matter here

usepackage{etoolbox}
makeatletter
patchcmdR@@T
{kern-wdrootbox} % search this within R@@T
{} % replace it with nothing
{}{}
makeatother

begin{document}
[ sqrt[100]{1000000} = 1000 quad sqrt[3]{1000000} = 100 ]
[ SQRT[100]{1000000} = 1000 quad SQRT[3]{1000000} = 100 ]
end{document}


sqrt



Note: sqrt and SQRT, by design, will produce slightly different results (as seen in the above picture). SQRT is supposed to be used for really large formulae (hence the awkward root index placement). Please refrain from using SQRT for small formulae.






share|improve this answer























    Your Answer








    StackExchange.ready(function() {
    var channelOptions = {
    tags: "".split(" "),
    id: "85"
    };
    initTagRenderer("".split(" "), "".split(" "), channelOptions);

    StackExchange.using("externalEditor", function() {
    // Have to fire editor after snippets, if snippets enabled
    if (StackExchange.settings.snippets.snippetsEnabled) {
    StackExchange.using("snippets", function() {
    createEditor();
    });
    }
    else {
    createEditor();
    }
    });

    function createEditor() {
    StackExchange.prepareEditor({
    heartbeatType: 'answer',
    autoActivateHeartbeat: false,
    convertImagesToLinks: false,
    noModals: true,
    showLowRepImageUploadWarning: true,
    reputationToPostImages: null,
    bindNavPrevention: true,
    postfix: "",
    imageUploader: {
    brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
    contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
    allowUrls: true
    },
    onDemand: true,
    discardSelector: ".discard-answer"
    ,immediatelyShowMarkdownHelp:true
    });


    }
    });














    draft saved

    draft discarded


















    StackExchange.ready(
    function () {
    StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2ftex.stackexchange.com%2fquestions%2f257641%2fmtpro2-sqrt-with-root-index-affect-the-subsequent-spacing%23new-answer', 'question_page');
    }
    );

    Post as a guest















    Required, but never shown

























    2 Answers
    2






    active

    oldest

    votes








    2 Answers
    2






    active

    oldest

    votes









    active

    oldest

    votes






    active

    oldest

    votes









    4














    Don't know exactly why this fixes the problem, but it seems to. ;-)



    documentclass{article}


    usepackage{mtpro2}
    usepackage{mathtools}

    newcommand{SQRTFIX}[2][ ]{{hphantom{scriptscriptstyle{#1}}}SQRT[mathllap{#1}]{#2}}


    begin{document}

    [ sqrt[100]{1000000} = 1000 quad sqrt[3]{1000000} = 100 ]

    [
    SQRT[100]{1000000} = 1000 quad SQRT[3]{1000000} = 100
    ]

    [
    SQRTFIX[100]{1000000} =1000 quad SQRTFIX[3]{1000000} = 100
    ]
    end{document}


    enter image description here



    The second image simply shows in the yellow box what the original $SQRT$ does and in the blue box what $SQRTFIX$ does.



    enter image description here






    share|improve this answer


























    • Good eyesight! Thanks to you, I was able to track down the bug in the mtpro2 package.

      – Ruixi Zhang
      45 mins ago
















    4














    Don't know exactly why this fixes the problem, but it seems to. ;-)



    documentclass{article}


    usepackage{mtpro2}
    usepackage{mathtools}

    newcommand{SQRTFIX}[2][ ]{{hphantom{scriptscriptstyle{#1}}}SQRT[mathllap{#1}]{#2}}


    begin{document}

    [ sqrt[100]{1000000} = 1000 quad sqrt[3]{1000000} = 100 ]

    [
    SQRT[100]{1000000} = 1000 quad SQRT[3]{1000000} = 100
    ]

    [
    SQRTFIX[100]{1000000} =1000 quad SQRTFIX[3]{1000000} = 100
    ]
    end{document}


    enter image description here



    The second image simply shows in the yellow box what the original $SQRT$ does and in the blue box what $SQRTFIX$ does.



    enter image description here






    share|improve this answer


























    • Good eyesight! Thanks to you, I was able to track down the bug in the mtpro2 package.

      – Ruixi Zhang
      45 mins ago














    4












    4








    4







    Don't know exactly why this fixes the problem, but it seems to. ;-)



    documentclass{article}


    usepackage{mtpro2}
    usepackage{mathtools}

    newcommand{SQRTFIX}[2][ ]{{hphantom{scriptscriptstyle{#1}}}SQRT[mathllap{#1}]{#2}}


    begin{document}

    [ sqrt[100]{1000000} = 1000 quad sqrt[3]{1000000} = 100 ]

    [
    SQRT[100]{1000000} = 1000 quad SQRT[3]{1000000} = 100
    ]

    [
    SQRTFIX[100]{1000000} =1000 quad SQRTFIX[3]{1000000} = 100
    ]
    end{document}


    enter image description here



    The second image simply shows in the yellow box what the original $SQRT$ does and in the blue box what $SQRTFIX$ does.



    enter image description here






    share|improve this answer















    Don't know exactly why this fixes the problem, but it seems to. ;-)



    documentclass{article}


    usepackage{mtpro2}
    usepackage{mathtools}

    newcommand{SQRTFIX}[2][ ]{{hphantom{scriptscriptstyle{#1}}}SQRT[mathllap{#1}]{#2}}


    begin{document}

    [ sqrt[100]{1000000} = 1000 quad sqrt[3]{1000000} = 100 ]

    [
    SQRT[100]{1000000} = 1000 quad SQRT[3]{1000000} = 100
    ]

    [
    SQRTFIX[100]{1000000} =1000 quad SQRTFIX[3]{1000000} = 100
    ]
    end{document}


    enter image description here



    The second image simply shows in the yellow box what the original $SQRT$ does and in the blue box what $SQRTFIX$ does.



    enter image description here







    share|improve this answer














    share|improve this answer



    share|improve this answer








    edited Jul 30 '15 at 3:41

























    answered Jul 30 '15 at 2:58









    JPiJPi

    9,71421550




    9,71421550













    • Good eyesight! Thanks to you, I was able to track down the bug in the mtpro2 package.

      – Ruixi Zhang
      45 mins ago



















    • Good eyesight! Thanks to you, I was able to track down the bug in the mtpro2 package.

      – Ruixi Zhang
      45 mins ago

















    Good eyesight! Thanks to you, I was able to track down the bug in the mtpro2 package.

    – Ruixi Zhang
    45 mins ago





    Good eyesight! Thanks to you, I was able to track down the bug in the mtpro2 package.

    – Ruixi Zhang
    45 mins ago











    1














    Thanks to @JPi’s amazing eyesight, I was able to track down exactly the bug in the mtpro2 package. All credits goes to him/her.



    @JPi’s solution suggests that the offsetting space is somehow the width of the root index. I confirm this is the case. The root index is placed inside a box called rootbox. Here is how LaTeX defines its placement:



    % From ltmath.dtx:
    defr@@t#1#2{%
    setboxz@hbox{$m@th#1sqrtsign{#2}$}%
    dimen@htz@ advancedimen@-dpz@
    mkern5muraise.6dimen@copyrootbox
    mkern-10muboxz@}


    which is the default, while mtpro2 does some similar things like:



    % From mtpro2.dtx or mtpro2.sty
    defR@@T#1#2{setboxz@hbox{$UPROOT@z@LEFTROOT@z@m@th#1SQR@@T{#2}$}%
    dimen@htz@advancedimen@-dpz@
    dimen@iidimen@
    setboxtw@hbox{$m@th#1mskipUPROOT@ mu$}advancedimen@ii by1.667wdtw@
    setboxtw@hbox{$m@th#1mskip10mu$}%
    ifcaseSQcount@advancedimen@3wdtw@oradvancedimen@1.5wdtw@or
    advancedimen@wdtw@fi
    mkern1mukern.13dimen@mkern-LEFTROOT@ mu
    raise.5dimen@iicopyrootbox % was .44
    mkern-1mukern-.13dimen@mkernLEFTROOT@ muboxz@kern-wdrootbox
    LEFTROOTz@UPROOTz@}


    Focusing on the overall structures, we see immediately that R@@T has additional code of kern-wdrootbox, which IMHO is utterly wrong. So here is my fix:



    documentclass{article}
    usepackage{newtxtext}
    usepackage{mtpro2}% lite or complete, does not matter here

    usepackage{etoolbox}
    makeatletter
    patchcmdR@@T
    {kern-wdrootbox} % search this within R@@T
    {} % replace it with nothing
    {}{}
    makeatother

    begin{document}
    [ sqrt[100]{1000000} = 1000 quad sqrt[3]{1000000} = 100 ]
    [ SQRT[100]{1000000} = 1000 quad SQRT[3]{1000000} = 100 ]
    end{document}


    sqrt



    Note: sqrt and SQRT, by design, will produce slightly different results (as seen in the above picture). SQRT is supposed to be used for really large formulae (hence the awkward root index placement). Please refrain from using SQRT for small formulae.






    share|improve this answer




























      1














      Thanks to @JPi’s amazing eyesight, I was able to track down exactly the bug in the mtpro2 package. All credits goes to him/her.



      @JPi’s solution suggests that the offsetting space is somehow the width of the root index. I confirm this is the case. The root index is placed inside a box called rootbox. Here is how LaTeX defines its placement:



      % From ltmath.dtx:
      defr@@t#1#2{%
      setboxz@hbox{$m@th#1sqrtsign{#2}$}%
      dimen@htz@ advancedimen@-dpz@
      mkern5muraise.6dimen@copyrootbox
      mkern-10muboxz@}


      which is the default, while mtpro2 does some similar things like:



      % From mtpro2.dtx or mtpro2.sty
      defR@@T#1#2{setboxz@hbox{$UPROOT@z@LEFTROOT@z@m@th#1SQR@@T{#2}$}%
      dimen@htz@advancedimen@-dpz@
      dimen@iidimen@
      setboxtw@hbox{$m@th#1mskipUPROOT@ mu$}advancedimen@ii by1.667wdtw@
      setboxtw@hbox{$m@th#1mskip10mu$}%
      ifcaseSQcount@advancedimen@3wdtw@oradvancedimen@1.5wdtw@or
      advancedimen@wdtw@fi
      mkern1mukern.13dimen@mkern-LEFTROOT@ mu
      raise.5dimen@iicopyrootbox % was .44
      mkern-1mukern-.13dimen@mkernLEFTROOT@ muboxz@kern-wdrootbox
      LEFTROOTz@UPROOTz@}


      Focusing on the overall structures, we see immediately that R@@T has additional code of kern-wdrootbox, which IMHO is utterly wrong. So here is my fix:



      documentclass{article}
      usepackage{newtxtext}
      usepackage{mtpro2}% lite or complete, does not matter here

      usepackage{etoolbox}
      makeatletter
      patchcmdR@@T
      {kern-wdrootbox} % search this within R@@T
      {} % replace it with nothing
      {}{}
      makeatother

      begin{document}
      [ sqrt[100]{1000000} = 1000 quad sqrt[3]{1000000} = 100 ]
      [ SQRT[100]{1000000} = 1000 quad SQRT[3]{1000000} = 100 ]
      end{document}


      sqrt



      Note: sqrt and SQRT, by design, will produce slightly different results (as seen in the above picture). SQRT is supposed to be used for really large formulae (hence the awkward root index placement). Please refrain from using SQRT for small formulae.






      share|improve this answer


























        1












        1








        1







        Thanks to @JPi’s amazing eyesight, I was able to track down exactly the bug in the mtpro2 package. All credits goes to him/her.



        @JPi’s solution suggests that the offsetting space is somehow the width of the root index. I confirm this is the case. The root index is placed inside a box called rootbox. Here is how LaTeX defines its placement:



        % From ltmath.dtx:
        defr@@t#1#2{%
        setboxz@hbox{$m@th#1sqrtsign{#2}$}%
        dimen@htz@ advancedimen@-dpz@
        mkern5muraise.6dimen@copyrootbox
        mkern-10muboxz@}


        which is the default, while mtpro2 does some similar things like:



        % From mtpro2.dtx or mtpro2.sty
        defR@@T#1#2{setboxz@hbox{$UPROOT@z@LEFTROOT@z@m@th#1SQR@@T{#2}$}%
        dimen@htz@advancedimen@-dpz@
        dimen@iidimen@
        setboxtw@hbox{$m@th#1mskipUPROOT@ mu$}advancedimen@ii by1.667wdtw@
        setboxtw@hbox{$m@th#1mskip10mu$}%
        ifcaseSQcount@advancedimen@3wdtw@oradvancedimen@1.5wdtw@or
        advancedimen@wdtw@fi
        mkern1mukern.13dimen@mkern-LEFTROOT@ mu
        raise.5dimen@iicopyrootbox % was .44
        mkern-1mukern-.13dimen@mkernLEFTROOT@ muboxz@kern-wdrootbox
        LEFTROOTz@UPROOTz@}


        Focusing on the overall structures, we see immediately that R@@T has additional code of kern-wdrootbox, which IMHO is utterly wrong. So here is my fix:



        documentclass{article}
        usepackage{newtxtext}
        usepackage{mtpro2}% lite or complete, does not matter here

        usepackage{etoolbox}
        makeatletter
        patchcmdR@@T
        {kern-wdrootbox} % search this within R@@T
        {} % replace it with nothing
        {}{}
        makeatother

        begin{document}
        [ sqrt[100]{1000000} = 1000 quad sqrt[3]{1000000} = 100 ]
        [ SQRT[100]{1000000} = 1000 quad SQRT[3]{1000000} = 100 ]
        end{document}


        sqrt



        Note: sqrt and SQRT, by design, will produce slightly different results (as seen in the above picture). SQRT is supposed to be used for really large formulae (hence the awkward root index placement). Please refrain from using SQRT for small formulae.






        share|improve this answer













        Thanks to @JPi’s amazing eyesight, I was able to track down exactly the bug in the mtpro2 package. All credits goes to him/her.



        @JPi’s solution suggests that the offsetting space is somehow the width of the root index. I confirm this is the case. The root index is placed inside a box called rootbox. Here is how LaTeX defines its placement:



        % From ltmath.dtx:
        defr@@t#1#2{%
        setboxz@hbox{$m@th#1sqrtsign{#2}$}%
        dimen@htz@ advancedimen@-dpz@
        mkern5muraise.6dimen@copyrootbox
        mkern-10muboxz@}


        which is the default, while mtpro2 does some similar things like:



        % From mtpro2.dtx or mtpro2.sty
        defR@@T#1#2{setboxz@hbox{$UPROOT@z@LEFTROOT@z@m@th#1SQR@@T{#2}$}%
        dimen@htz@advancedimen@-dpz@
        dimen@iidimen@
        setboxtw@hbox{$m@th#1mskipUPROOT@ mu$}advancedimen@ii by1.667wdtw@
        setboxtw@hbox{$m@th#1mskip10mu$}%
        ifcaseSQcount@advancedimen@3wdtw@oradvancedimen@1.5wdtw@or
        advancedimen@wdtw@fi
        mkern1mukern.13dimen@mkern-LEFTROOT@ mu
        raise.5dimen@iicopyrootbox % was .44
        mkern-1mukern-.13dimen@mkernLEFTROOT@ muboxz@kern-wdrootbox
        LEFTROOTz@UPROOTz@}


        Focusing on the overall structures, we see immediately that R@@T has additional code of kern-wdrootbox, which IMHO is utterly wrong. So here is my fix:



        documentclass{article}
        usepackage{newtxtext}
        usepackage{mtpro2}% lite or complete, does not matter here

        usepackage{etoolbox}
        makeatletter
        patchcmdR@@T
        {kern-wdrootbox} % search this within R@@T
        {} % replace it with nothing
        {}{}
        makeatother

        begin{document}
        [ sqrt[100]{1000000} = 1000 quad sqrt[3]{1000000} = 100 ]
        [ SQRT[100]{1000000} = 1000 quad SQRT[3]{1000000} = 100 ]
        end{document}


        sqrt



        Note: sqrt and SQRT, by design, will produce slightly different results (as seen in the above picture). SQRT is supposed to be used for really large formulae (hence the awkward root index placement). Please refrain from using SQRT for small formulae.







        share|improve this answer












        share|improve this answer



        share|improve this answer










        answered 16 mins ago









        Ruixi ZhangRuixi Zhang

        5,573322




        5,573322






























            draft saved

            draft discarded




















































            Thanks for contributing an answer to TeX - LaTeX Stack Exchange!


            • Please be sure to answer the question. Provide details and share your research!

            But avoid



            • Asking for help, clarification, or responding to other answers.

            • Making statements based on opinion; back them up with references or personal experience.


            To learn more, see our tips on writing great answers.




            draft saved


            draft discarded














            StackExchange.ready(
            function () {
            StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2ftex.stackexchange.com%2fquestions%2f257641%2fmtpro2-sqrt-with-root-index-affect-the-subsequent-spacing%23new-answer', 'question_page');
            }
            );

            Post as a guest















            Required, but never shown





















































            Required, but never shown














            Required, but never shown












            Required, but never shown







            Required, but never shown

































            Required, but never shown














            Required, but never shown












            Required, but never shown







            Required, but never shown







            Popular posts from this blog

            Can't compile dgruyter and caption packagesLaTeX templates/packages for writing a patent specificationLatex...

            Schneeberg (Smreczany) Bibliografia | Menu...

            Hans Bellmer Spis treści Życiorys | Upamiętnienie | Przypisy | Bibliografia | Linki zewnętrzne |...