Using mt2pro with times: PARENS{…} vs left(…right)Automatic left and right commandsWide accents in Times...

Should we release the security issues we found in our product as CVE or we can just update those on weekly release notes?

Does the Bracer of Flying Daggers benefit from the Dueling fighting style?

Ban on all campaign finance?

Silly Sally's Movie

Excess Zinc in garden soil

My adviser wants to be the first author

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

What is the likely impact on flights of grounding an entire aircraft series?

Can "semicircle" be used to refer to a part-circle that is not a exact half-circle?

When were linguistics departments first established

"One can do his homework in the library"

Provisioning profile doesn't include the application-identifier and keychain-access-groups entitlements

Does splitting a potentially monolithic application into several smaller ones help prevent bugs?

It's a yearly task, alright

Unreachable code, but reachable with exception

If the Captain's screens are out, does he switch seats with the co-pilot?

Is it true that real estate prices mainly go up?

Time travel short story where dinosaur doesn't taste like chicken

Should QA ask requirements to developers?

Straight line with arrows and dots

What is the dot in “1.2.4."

Coworker uses her breast-pump everywhere in the office

Want to switch to tankless, but can I use my existing wiring?

Can infringement of a trademark be pursued for using a company's name in a sentence?



Using mt2pro with times: PARENS{…} vs left(…right)


Automatic left and right commandsWide accents in Times font are not positioned correctlyOld style numerals using times and mtpro2Times New Roman font with TeXnicCenterUsing Times New RomanHow to change hslash into Times-Roman font?Modify characters of mt2pro[lite] using TimesAdjusting the size of rightleftarrows in mathmode with mt2pro[lite]Blank space with left[ and right]Environment left| right| and left( right) not working properly with fourier package













8















If I use the command PARENS{.....} with mtpro2 (green color into the figure in attachment) for to obtain a perfect brace curve (round bracket) I have 1 (one) problem:
the first and the second line of the fractions of the first equal are aligned and they have the same thick (you can see the two red rectangles).



But the line of the third fraction (green color) is not perfectly aligned with the previous fractions (infact two are below and the third is above) and the thick is different of the previous red fractions. To create a correct fraction with the two parens at the same distance with the command PARENS{.....}, using the package mtpro2, I have added a matrix, the command phantom{Z} and hspace{-.3cm} (you can see the green color).



Is there a different idea or solution to obtain of the perfect aligned fractions, with the same thick and perfect PARENS (...) (round brackets) so as when I use the command left(....right)?



enter image description here



documentclass[12pt]{book} 
usepackage{times}
usepackage[lite]{mtpro2}
usepackage{classico}
usepackage{mathtools}
begin{document}
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
begin{equation}
begin{aligned}
overline F =frac{doverline p}{dt}&=\
&=frac{m}{sqrt{1-dfrac{u^2}{c^2}}}frac{doverline u}{dt}+moverline uPARENS{begin{matrix}phantom{Z}&\
dfrac{1}{sqrt{1-dfrac{u^2}{c^2}}} hspace{-.3cm}end{matrix}}=\
&=frac{m}{sqrt{1-dfrac{u^2}{c^2}}},overline a +frac{overline u}{c^2}frac{d}{dt}left(dfrac{mc^2}{sqrt{1-dfrac{u^2}{c^2}}}right)\
end{aligned}
end{equation}


end{document}









share|improve this question




















  • 3





    Good question with a probably disappointing answer: the code for PARENS is a big collection of low level hacks and fixing that issue would mean add some more after a few days' work (assuming a solution can be found in a finite amount of time).

    – egreg
    Jan 19 '18 at 7:34











  • Thanks a lot, always, for your comments. I never imagined that there were such problems.

    – Sebastiano
    Jan 19 '18 at 7:36






  • 2





    To the downvoter: If you do not explain/comment why the question is wrong, the downvote itself is meaningless.

    – yo'
    Jan 21 '18 at 20:39
















8















If I use the command PARENS{.....} with mtpro2 (green color into the figure in attachment) for to obtain a perfect brace curve (round bracket) I have 1 (one) problem:
the first and the second line of the fractions of the first equal are aligned and they have the same thick (you can see the two red rectangles).



But the line of the third fraction (green color) is not perfectly aligned with the previous fractions (infact two are below and the third is above) and the thick is different of the previous red fractions. To create a correct fraction with the two parens at the same distance with the command PARENS{.....}, using the package mtpro2, I have added a matrix, the command phantom{Z} and hspace{-.3cm} (you can see the green color).



Is there a different idea or solution to obtain of the perfect aligned fractions, with the same thick and perfect PARENS (...) (round brackets) so as when I use the command left(....right)?



enter image description here



documentclass[12pt]{book} 
usepackage{times}
usepackage[lite]{mtpro2}
usepackage{classico}
usepackage{mathtools}
begin{document}
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
begin{equation}
begin{aligned}
overline F =frac{doverline p}{dt}&=\
&=frac{m}{sqrt{1-dfrac{u^2}{c^2}}}frac{doverline u}{dt}+moverline uPARENS{begin{matrix}phantom{Z}&\
dfrac{1}{sqrt{1-dfrac{u^2}{c^2}}} hspace{-.3cm}end{matrix}}=\
&=frac{m}{sqrt{1-dfrac{u^2}{c^2}}},overline a +frac{overline u}{c^2}frac{d}{dt}left(dfrac{mc^2}{sqrt{1-dfrac{u^2}{c^2}}}right)\
end{aligned}
end{equation}


end{document}









share|improve this question




















  • 3





    Good question with a probably disappointing answer: the code for PARENS is a big collection of low level hacks and fixing that issue would mean add some more after a few days' work (assuming a solution can be found in a finite amount of time).

    – egreg
    Jan 19 '18 at 7:34











  • Thanks a lot, always, for your comments. I never imagined that there were such problems.

    – Sebastiano
    Jan 19 '18 at 7:36






  • 2





    To the downvoter: If you do not explain/comment why the question is wrong, the downvote itself is meaningless.

    – yo'
    Jan 21 '18 at 20:39














8












8








8


2






If I use the command PARENS{.....} with mtpro2 (green color into the figure in attachment) for to obtain a perfect brace curve (round bracket) I have 1 (one) problem:
the first and the second line of the fractions of the first equal are aligned and they have the same thick (you can see the two red rectangles).



But the line of the third fraction (green color) is not perfectly aligned with the previous fractions (infact two are below and the third is above) and the thick is different of the previous red fractions. To create a correct fraction with the two parens at the same distance with the command PARENS{.....}, using the package mtpro2, I have added a matrix, the command phantom{Z} and hspace{-.3cm} (you can see the green color).



Is there a different idea or solution to obtain of the perfect aligned fractions, with the same thick and perfect PARENS (...) (round brackets) so as when I use the command left(....right)?



enter image description here



documentclass[12pt]{book} 
usepackage{times}
usepackage[lite]{mtpro2}
usepackage{classico}
usepackage{mathtools}
begin{document}
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
begin{equation}
begin{aligned}
overline F =frac{doverline p}{dt}&=\
&=frac{m}{sqrt{1-dfrac{u^2}{c^2}}}frac{doverline u}{dt}+moverline uPARENS{begin{matrix}phantom{Z}&\
dfrac{1}{sqrt{1-dfrac{u^2}{c^2}}} hspace{-.3cm}end{matrix}}=\
&=frac{m}{sqrt{1-dfrac{u^2}{c^2}}},overline a +frac{overline u}{c^2}frac{d}{dt}left(dfrac{mc^2}{sqrt{1-dfrac{u^2}{c^2}}}right)\
end{aligned}
end{equation}


end{document}









share|improve this question
















If I use the command PARENS{.....} with mtpro2 (green color into the figure in attachment) for to obtain a perfect brace curve (round bracket) I have 1 (one) problem:
the first and the second line of the fractions of the first equal are aligned and they have the same thick (you can see the two red rectangles).



But the line of the third fraction (green color) is not perfectly aligned with the previous fractions (infact two are below and the third is above) and the thick is different of the previous red fractions. To create a correct fraction with the two parens at the same distance with the command PARENS{.....}, using the package mtpro2, I have added a matrix, the command phantom{Z} and hspace{-.3cm} (you can see the green color).



Is there a different idea or solution to obtain of the perfect aligned fractions, with the same thick and perfect PARENS (...) (round brackets) so as when I use the command left(....right)?



enter image description here



documentclass[12pt]{book} 
usepackage{times}
usepackage[lite]{mtpro2}
usepackage{classico}
usepackage{mathtools}
begin{document}
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
begin{equation}
begin{aligned}
overline F =frac{doverline p}{dt}&=\
&=frac{m}{sqrt{1-dfrac{u^2}{c^2}}}frac{doverline u}{dt}+moverline uPARENS{begin{matrix}phantom{Z}&\
dfrac{1}{sqrt{1-dfrac{u^2}{c^2}}} hspace{-.3cm}end{matrix}}=\
&=frac{m}{sqrt{1-dfrac{u^2}{c^2}}},overline a +frac{overline u}{c^2}frac{d}{dt}left(dfrac{mc^2}{sqrt{1-dfrac{u^2}{c^2}}}right)\
end{aligned}
end{equation}


end{document}






brackets fractions times mtpro






share|improve this question















share|improve this question













share|improve this question




share|improve this question








edited Jan 19 '18 at 20:41







Sebastiano

















asked Jan 19 '18 at 7:16









SebastianoSebastiano

10.8k42163




10.8k42163








  • 3





    Good question with a probably disappointing answer: the code for PARENS is a big collection of low level hacks and fixing that issue would mean add some more after a few days' work (assuming a solution can be found in a finite amount of time).

    – egreg
    Jan 19 '18 at 7:34











  • Thanks a lot, always, for your comments. I never imagined that there were such problems.

    – Sebastiano
    Jan 19 '18 at 7:36






  • 2





    To the downvoter: If you do not explain/comment why the question is wrong, the downvote itself is meaningless.

    – yo'
    Jan 21 '18 at 20:39














  • 3





    Good question with a probably disappointing answer: the code for PARENS is a big collection of low level hacks and fixing that issue would mean add some more after a few days' work (assuming a solution can be found in a finite amount of time).

    – egreg
    Jan 19 '18 at 7:34











  • Thanks a lot, always, for your comments. I never imagined that there were such problems.

    – Sebastiano
    Jan 19 '18 at 7:36






  • 2





    To the downvoter: If you do not explain/comment why the question is wrong, the downvote itself is meaningless.

    – yo'
    Jan 21 '18 at 20:39








3




3





Good question with a probably disappointing answer: the code for PARENS is a big collection of low level hacks and fixing that issue would mean add some more after a few days' work (assuming a solution can be found in a finite amount of time).

– egreg
Jan 19 '18 at 7:34





Good question with a probably disappointing answer: the code for PARENS is a big collection of low level hacks and fixing that issue would mean add some more after a few days' work (assuming a solution can be found in a finite amount of time).

– egreg
Jan 19 '18 at 7:34













Thanks a lot, always, for your comments. I never imagined that there were such problems.

– Sebastiano
Jan 19 '18 at 7:36





Thanks a lot, always, for your comments. I never imagined that there were such problems.

– Sebastiano
Jan 19 '18 at 7:36




2




2





To the downvoter: If you do not explain/comment why the question is wrong, the downvote itself is meaningless.

– yo'
Jan 21 '18 at 20:39





To the downvoter: If you do not explain/comment why the question is wrong, the downvote itself is meaningless.

– yo'
Jan 21 '18 at 20:39










1 Answer
1






active

oldest

votes


















0














The thickness just appears to be different (probably due to how each pixel is rendered on screen). It should be fine if you print them out.



The PARENS command puts its content in a vcenter, thus, it will ignore the positioning of the content’s baseline and the surrounding baseline. We can use some low-level box tricks to make the content symmetric with respect to the math axis, so that the two baselines are the same. The new command is called symmPARENS.



documentclass[12pt]{book}
usepackage{mathtools} % Load this early
%usepackage{times}
usepackage{newtxtext} % This is better :)
usepackage[lite]{mtpro2}

% Low-level hacks:
makeatletter
newsaveboxmtp@symm@box % The box to be made symmetric
% User level command:
newcommand*symmPARENS[1]{%
setboxmtp@symm@boxhbox{$m@thdisplaystyle#1$}%
dimen@dpmtp@symm@box
advancedimen@fontdimen22textfonttw@ % dimen@ is the length from the math axis to the bottom
dimen@iihtmtp@symm@box
advancedimen@ii-fontdimen22textfonttw@ % dimen@ii is the length from the math axis to the top
ifdimdimen@>dimen@ii
advancedimen@fontdimen22textfonttw@
htmtp@symm@boxdimen@ % Make mtp@symm@box higher
else
advancedimen@ii-fontdimen22textfonttw@
dpmtp@symm@boxdimen@ii % Make mtp@symm@box deeper
fi
PARENS{copymtp@symm@box}%
}
makeatother

begin{document}
noindent
With verb|PARENS|, not so good:
begin{equation}
wbar{F} = frac{d wbar{p}}{dt}
= frac{m}{sqrt{1-dfrac{u^2}{c^2}}} frac{d wbar{u}}{dt}
+ m wbar{u} PARENS{dfrac{1}{sqrt{1-dfrac{u^2}{c^2}}}}
end{equation}
With verb|symmPARENS|, centered, but not aesthetically pleasing:
begin{equation}
wbar{F} = frac{d wbar{p}}{dt}
= frac{m}{sqrt{1-dfrac{u^2}{c^2}}} frac{d wbar{u}}{dt}
+ m wbar{u} symmPARENS{dfrac{1}{sqrt{1-dfrac{u^2}{c^2}}}}
end{equation}
Why not:
begin{equation}
wbar{F} = frac{d wbar{p}}{dt}
= gamma m frac{d wbar{u}}{dt}
+ gamma m wbar{u},
quad text{where } gamma = dfrac{1}{sqrt{1-dfrac{u^2}{c^2}}}
end{equation}
Please don't abuse verb|symmPARENS|:
begin{equation}
frac{1}{2} f(xi) = frac{1}{2} symmPARENS{frac{displaystyleint_a^b f(x) , dx}{b-a}}
text{ versus }
frac{1}{2} f(xi) = frac{1}{2} symmPARENS{frac{1}{b-a} displaystyleint_a^b f(x) , dx}
end{equation}
end{document}



parens




Seriously, though, I would just write Eq. (3) instead.





share























    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%2f411095%2fusing-mt2pro-with-times-parens-vs-left-right%23new-answer', 'question_page');
    }
    );

    Post as a guest















    Required, but never shown

























    1 Answer
    1






    active

    oldest

    votes








    1 Answer
    1






    active

    oldest

    votes









    active

    oldest

    votes






    active

    oldest

    votes









    0














    The thickness just appears to be different (probably due to how each pixel is rendered on screen). It should be fine if you print them out.



    The PARENS command puts its content in a vcenter, thus, it will ignore the positioning of the content’s baseline and the surrounding baseline. We can use some low-level box tricks to make the content symmetric with respect to the math axis, so that the two baselines are the same. The new command is called symmPARENS.



    documentclass[12pt]{book}
    usepackage{mathtools} % Load this early
    %usepackage{times}
    usepackage{newtxtext} % This is better :)
    usepackage[lite]{mtpro2}

    % Low-level hacks:
    makeatletter
    newsaveboxmtp@symm@box % The box to be made symmetric
    % User level command:
    newcommand*symmPARENS[1]{%
    setboxmtp@symm@boxhbox{$m@thdisplaystyle#1$}%
    dimen@dpmtp@symm@box
    advancedimen@fontdimen22textfonttw@ % dimen@ is the length from the math axis to the bottom
    dimen@iihtmtp@symm@box
    advancedimen@ii-fontdimen22textfonttw@ % dimen@ii is the length from the math axis to the top
    ifdimdimen@>dimen@ii
    advancedimen@fontdimen22textfonttw@
    htmtp@symm@boxdimen@ % Make mtp@symm@box higher
    else
    advancedimen@ii-fontdimen22textfonttw@
    dpmtp@symm@boxdimen@ii % Make mtp@symm@box deeper
    fi
    PARENS{copymtp@symm@box}%
    }
    makeatother

    begin{document}
    noindent
    With verb|PARENS|, not so good:
    begin{equation}
    wbar{F} = frac{d wbar{p}}{dt}
    = frac{m}{sqrt{1-dfrac{u^2}{c^2}}} frac{d wbar{u}}{dt}
    + m wbar{u} PARENS{dfrac{1}{sqrt{1-dfrac{u^2}{c^2}}}}
    end{equation}
    With verb|symmPARENS|, centered, but not aesthetically pleasing:
    begin{equation}
    wbar{F} = frac{d wbar{p}}{dt}
    = frac{m}{sqrt{1-dfrac{u^2}{c^2}}} frac{d wbar{u}}{dt}
    + m wbar{u} symmPARENS{dfrac{1}{sqrt{1-dfrac{u^2}{c^2}}}}
    end{equation}
    Why not:
    begin{equation}
    wbar{F} = frac{d wbar{p}}{dt}
    = gamma m frac{d wbar{u}}{dt}
    + gamma m wbar{u},
    quad text{where } gamma = dfrac{1}{sqrt{1-dfrac{u^2}{c^2}}}
    end{equation}
    Please don't abuse verb|symmPARENS|:
    begin{equation}
    frac{1}{2} f(xi) = frac{1}{2} symmPARENS{frac{displaystyleint_a^b f(x) , dx}{b-a}}
    text{ versus }
    frac{1}{2} f(xi) = frac{1}{2} symmPARENS{frac{1}{b-a} displaystyleint_a^b f(x) , dx}
    end{equation}
    end{document}



    parens




    Seriously, though, I would just write Eq. (3) instead.





    share




























      0














      The thickness just appears to be different (probably due to how each pixel is rendered on screen). It should be fine if you print them out.



      The PARENS command puts its content in a vcenter, thus, it will ignore the positioning of the content’s baseline and the surrounding baseline. We can use some low-level box tricks to make the content symmetric with respect to the math axis, so that the two baselines are the same. The new command is called symmPARENS.



      documentclass[12pt]{book}
      usepackage{mathtools} % Load this early
      %usepackage{times}
      usepackage{newtxtext} % This is better :)
      usepackage[lite]{mtpro2}

      % Low-level hacks:
      makeatletter
      newsaveboxmtp@symm@box % The box to be made symmetric
      % User level command:
      newcommand*symmPARENS[1]{%
      setboxmtp@symm@boxhbox{$m@thdisplaystyle#1$}%
      dimen@dpmtp@symm@box
      advancedimen@fontdimen22textfonttw@ % dimen@ is the length from the math axis to the bottom
      dimen@iihtmtp@symm@box
      advancedimen@ii-fontdimen22textfonttw@ % dimen@ii is the length from the math axis to the top
      ifdimdimen@>dimen@ii
      advancedimen@fontdimen22textfonttw@
      htmtp@symm@boxdimen@ % Make mtp@symm@box higher
      else
      advancedimen@ii-fontdimen22textfonttw@
      dpmtp@symm@boxdimen@ii % Make mtp@symm@box deeper
      fi
      PARENS{copymtp@symm@box}%
      }
      makeatother

      begin{document}
      noindent
      With verb|PARENS|, not so good:
      begin{equation}
      wbar{F} = frac{d wbar{p}}{dt}
      = frac{m}{sqrt{1-dfrac{u^2}{c^2}}} frac{d wbar{u}}{dt}
      + m wbar{u} PARENS{dfrac{1}{sqrt{1-dfrac{u^2}{c^2}}}}
      end{equation}
      With verb|symmPARENS|, centered, but not aesthetically pleasing:
      begin{equation}
      wbar{F} = frac{d wbar{p}}{dt}
      = frac{m}{sqrt{1-dfrac{u^2}{c^2}}} frac{d wbar{u}}{dt}
      + m wbar{u} symmPARENS{dfrac{1}{sqrt{1-dfrac{u^2}{c^2}}}}
      end{equation}
      Why not:
      begin{equation}
      wbar{F} = frac{d wbar{p}}{dt}
      = gamma m frac{d wbar{u}}{dt}
      + gamma m wbar{u},
      quad text{where } gamma = dfrac{1}{sqrt{1-dfrac{u^2}{c^2}}}
      end{equation}
      Please don't abuse verb|symmPARENS|:
      begin{equation}
      frac{1}{2} f(xi) = frac{1}{2} symmPARENS{frac{displaystyleint_a^b f(x) , dx}{b-a}}
      text{ versus }
      frac{1}{2} f(xi) = frac{1}{2} symmPARENS{frac{1}{b-a} displaystyleint_a^b f(x) , dx}
      end{equation}
      end{document}



      parens




      Seriously, though, I would just write Eq. (3) instead.





      share


























        0












        0








        0







        The thickness just appears to be different (probably due to how each pixel is rendered on screen). It should be fine if you print them out.



        The PARENS command puts its content in a vcenter, thus, it will ignore the positioning of the content’s baseline and the surrounding baseline. We can use some low-level box tricks to make the content symmetric with respect to the math axis, so that the two baselines are the same. The new command is called symmPARENS.



        documentclass[12pt]{book}
        usepackage{mathtools} % Load this early
        %usepackage{times}
        usepackage{newtxtext} % This is better :)
        usepackage[lite]{mtpro2}

        % Low-level hacks:
        makeatletter
        newsaveboxmtp@symm@box % The box to be made symmetric
        % User level command:
        newcommand*symmPARENS[1]{%
        setboxmtp@symm@boxhbox{$m@thdisplaystyle#1$}%
        dimen@dpmtp@symm@box
        advancedimen@fontdimen22textfonttw@ % dimen@ is the length from the math axis to the bottom
        dimen@iihtmtp@symm@box
        advancedimen@ii-fontdimen22textfonttw@ % dimen@ii is the length from the math axis to the top
        ifdimdimen@>dimen@ii
        advancedimen@fontdimen22textfonttw@
        htmtp@symm@boxdimen@ % Make mtp@symm@box higher
        else
        advancedimen@ii-fontdimen22textfonttw@
        dpmtp@symm@boxdimen@ii % Make mtp@symm@box deeper
        fi
        PARENS{copymtp@symm@box}%
        }
        makeatother

        begin{document}
        noindent
        With verb|PARENS|, not so good:
        begin{equation}
        wbar{F} = frac{d wbar{p}}{dt}
        = frac{m}{sqrt{1-dfrac{u^2}{c^2}}} frac{d wbar{u}}{dt}
        + m wbar{u} PARENS{dfrac{1}{sqrt{1-dfrac{u^2}{c^2}}}}
        end{equation}
        With verb|symmPARENS|, centered, but not aesthetically pleasing:
        begin{equation}
        wbar{F} = frac{d wbar{p}}{dt}
        = frac{m}{sqrt{1-dfrac{u^2}{c^2}}} frac{d wbar{u}}{dt}
        + m wbar{u} symmPARENS{dfrac{1}{sqrt{1-dfrac{u^2}{c^2}}}}
        end{equation}
        Why not:
        begin{equation}
        wbar{F} = frac{d wbar{p}}{dt}
        = gamma m frac{d wbar{u}}{dt}
        + gamma m wbar{u},
        quad text{where } gamma = dfrac{1}{sqrt{1-dfrac{u^2}{c^2}}}
        end{equation}
        Please don't abuse verb|symmPARENS|:
        begin{equation}
        frac{1}{2} f(xi) = frac{1}{2} symmPARENS{frac{displaystyleint_a^b f(x) , dx}{b-a}}
        text{ versus }
        frac{1}{2} f(xi) = frac{1}{2} symmPARENS{frac{1}{b-a} displaystyleint_a^b f(x) , dx}
        end{equation}
        end{document}



        parens




        Seriously, though, I would just write Eq. (3) instead.





        share













        The thickness just appears to be different (probably due to how each pixel is rendered on screen). It should be fine if you print them out.



        The PARENS command puts its content in a vcenter, thus, it will ignore the positioning of the content’s baseline and the surrounding baseline. We can use some low-level box tricks to make the content symmetric with respect to the math axis, so that the two baselines are the same. The new command is called symmPARENS.



        documentclass[12pt]{book}
        usepackage{mathtools} % Load this early
        %usepackage{times}
        usepackage{newtxtext} % This is better :)
        usepackage[lite]{mtpro2}

        % Low-level hacks:
        makeatletter
        newsaveboxmtp@symm@box % The box to be made symmetric
        % User level command:
        newcommand*symmPARENS[1]{%
        setboxmtp@symm@boxhbox{$m@thdisplaystyle#1$}%
        dimen@dpmtp@symm@box
        advancedimen@fontdimen22textfonttw@ % dimen@ is the length from the math axis to the bottom
        dimen@iihtmtp@symm@box
        advancedimen@ii-fontdimen22textfonttw@ % dimen@ii is the length from the math axis to the top
        ifdimdimen@>dimen@ii
        advancedimen@fontdimen22textfonttw@
        htmtp@symm@boxdimen@ % Make mtp@symm@box higher
        else
        advancedimen@ii-fontdimen22textfonttw@
        dpmtp@symm@boxdimen@ii % Make mtp@symm@box deeper
        fi
        PARENS{copymtp@symm@box}%
        }
        makeatother

        begin{document}
        noindent
        With verb|PARENS|, not so good:
        begin{equation}
        wbar{F} = frac{d wbar{p}}{dt}
        = frac{m}{sqrt{1-dfrac{u^2}{c^2}}} frac{d wbar{u}}{dt}
        + m wbar{u} PARENS{dfrac{1}{sqrt{1-dfrac{u^2}{c^2}}}}
        end{equation}
        With verb|symmPARENS|, centered, but not aesthetically pleasing:
        begin{equation}
        wbar{F} = frac{d wbar{p}}{dt}
        = frac{m}{sqrt{1-dfrac{u^2}{c^2}}} frac{d wbar{u}}{dt}
        + m wbar{u} symmPARENS{dfrac{1}{sqrt{1-dfrac{u^2}{c^2}}}}
        end{equation}
        Why not:
        begin{equation}
        wbar{F} = frac{d wbar{p}}{dt}
        = gamma m frac{d wbar{u}}{dt}
        + gamma m wbar{u},
        quad text{where } gamma = dfrac{1}{sqrt{1-dfrac{u^2}{c^2}}}
        end{equation}
        Please don't abuse verb|symmPARENS|:
        begin{equation}
        frac{1}{2} f(xi) = frac{1}{2} symmPARENS{frac{displaystyleint_a^b f(x) , dx}{b-a}}
        text{ versus }
        frac{1}{2} f(xi) = frac{1}{2} symmPARENS{frac{1}{b-a} displaystyleint_a^b f(x) , dx}
        end{equation}
        end{document}



        parens




        Seriously, though, I would just write Eq. (3) instead.






        share











        share


        share










        answered 5 mins ago









        Ruixi ZhangRuixi Zhang

        5,613322




        5,613322






























            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%2f411095%2fusing-mt2pro-with-times-parens-vs-left-right%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

            El tren de la libertad Índice Antecedentes "Porque yo decido" Desarrollo de la...

            Castillo d'Acher Características Menú de navegación

            Connecting two nodes from the same mother node horizontallyTikZ: What EXACTLY does the the |- notation for...