Strange result with patch of overarc












3















Triying to use a patch for overarc from this answer
https://tex.stackexchange.com/a/409106/54817



I got this result



enter image description here



documentclass{article}

%usepackage{fix-cm}

usepackage{arcs}
usepackage{etoolbox}

makeatletter
patchcmd{over@under@arc}
{relsize{-10}}{renewcommandRSpercentTolerance{5}relsize{-10}}{}{fail}
makeatother

begin{document}
Huge

$$overarc{AB}$$

end{document}


Log file:
https://pastebin.com/T5NRMvtb










share|improve this question























  • The problem is just the same as explained by Ulrike: arcs tries larger sizes, but there aren't defined above Huge and the bug reappears.

    – egreg
    Feb 8 at 13:11











  • Same result without Huge .

    – Salim Bou
    Feb 8 at 13:15











  • Adding fix-cm package ( without the patch) I got the same thing

    – Salim Bou
    Feb 8 at 13:18











  • Looks as if you found an example which shows that @egreg patch is needed too ...

    – Ulrike Fischer
    Feb 8 at 13:37











  • My question is why those dimensions appear before overarc ?

    – Salim Bou
    Feb 8 at 13:51
















3















Triying to use a patch for overarc from this answer
https://tex.stackexchange.com/a/409106/54817



I got this result



enter image description here



documentclass{article}

%usepackage{fix-cm}

usepackage{arcs}
usepackage{etoolbox}

makeatletter
patchcmd{over@under@arc}
{relsize{-10}}{renewcommandRSpercentTolerance{5}relsize{-10}}{}{fail}
makeatother

begin{document}
Huge

$$overarc{AB}$$

end{document}


Log file:
https://pastebin.com/T5NRMvtb










share|improve this question























  • The problem is just the same as explained by Ulrike: arcs tries larger sizes, but there aren't defined above Huge and the bug reappears.

    – egreg
    Feb 8 at 13:11











  • Same result without Huge .

    – Salim Bou
    Feb 8 at 13:15











  • Adding fix-cm package ( without the patch) I got the same thing

    – Salim Bou
    Feb 8 at 13:18











  • Looks as if you found an example which shows that @egreg patch is needed too ...

    – Ulrike Fischer
    Feb 8 at 13:37











  • My question is why those dimensions appear before overarc ?

    – Salim Bou
    Feb 8 at 13:51














3












3








3


1






Triying to use a patch for overarc from this answer
https://tex.stackexchange.com/a/409106/54817



I got this result



enter image description here



documentclass{article}

%usepackage{fix-cm}

usepackage{arcs}
usepackage{etoolbox}

makeatletter
patchcmd{over@under@arc}
{relsize{-10}}{renewcommandRSpercentTolerance{5}relsize{-10}}{}{fail}
makeatother

begin{document}
Huge

$$overarc{AB}$$

end{document}


Log file:
https://pastebin.com/T5NRMvtb










share|improve this question














Triying to use a patch for overarc from this answer
https://tex.stackexchange.com/a/409106/54817



I got this result



enter image description here



documentclass{article}

%usepackage{fix-cm}

usepackage{arcs}
usepackage{etoolbox}

makeatletter
patchcmd{over@under@arc}
{relsize{-10}}{renewcommandRSpercentTolerance{5}relsize{-10}}{}{fail}
makeatother

begin{document}
Huge

$$overarc{AB}$$

end{document}


Log file:
https://pastebin.com/T5NRMvtb







macros errors patching






share|improve this question













share|improve this question











share|improve this question




share|improve this question










asked Feb 8 at 13:02









Salim BouSalim Bou

11.4k11442




11.4k11442













  • The problem is just the same as explained by Ulrike: arcs tries larger sizes, but there aren't defined above Huge and the bug reappears.

    – egreg
    Feb 8 at 13:11











  • Same result without Huge .

    – Salim Bou
    Feb 8 at 13:15











  • Adding fix-cm package ( without the patch) I got the same thing

    – Salim Bou
    Feb 8 at 13:18











  • Looks as if you found an example which shows that @egreg patch is needed too ...

    – Ulrike Fischer
    Feb 8 at 13:37











  • My question is why those dimensions appear before overarc ?

    – Salim Bou
    Feb 8 at 13:51



















  • The problem is just the same as explained by Ulrike: arcs tries larger sizes, but there aren't defined above Huge and the bug reappears.

    – egreg
    Feb 8 at 13:11











  • Same result without Huge .

    – Salim Bou
    Feb 8 at 13:15











  • Adding fix-cm package ( without the patch) I got the same thing

    – Salim Bou
    Feb 8 at 13:18











  • Looks as if you found an example which shows that @egreg patch is needed too ...

    – Ulrike Fischer
    Feb 8 at 13:37











  • My question is why those dimensions appear before overarc ?

    – Salim Bou
    Feb 8 at 13:51

















The problem is just the same as explained by Ulrike: arcs tries larger sizes, but there aren't defined above Huge and the bug reappears.

– egreg
Feb 8 at 13:11





The problem is just the same as explained by Ulrike: arcs tries larger sizes, but there aren't defined above Huge and the bug reappears.

– egreg
Feb 8 at 13:11













Same result without Huge .

– Salim Bou
Feb 8 at 13:15





Same result without Huge .

– Salim Bou
Feb 8 at 13:15













Adding fix-cm package ( without the patch) I got the same thing

– Salim Bou
Feb 8 at 13:18





Adding fix-cm package ( without the patch) I got the same thing

– Salim Bou
Feb 8 at 13:18













Looks as if you found an example which shows that @egreg patch is needed too ...

– Ulrike Fischer
Feb 8 at 13:37





Looks as if you found an example which shows that @egreg patch is needed too ...

– Ulrike Fischer
Feb 8 at 13:37













My question is why those dimensions appear before overarc ?

– Salim Bou
Feb 8 at 13:51





My question is why those dimensions appear before overarc ?

– Salim Bou
Feb 8 at 13:51










2 Answers
2






active

oldest

votes


















3














Different approach, based on Big tilde in math mode



documentclass{article}
usepackage{scalerel}
usepackage{stackengine}

newcommandreallywidetilde[1]{ThisStyle{%
setbox0=hbox{$SavedStyle#1$}%
stackengine{-.5LMpt}{$SavedStyle#1$}{%
stretchto{scaleto{SavedStylemkern.2mufrown}{.4wd0}}{.5ht0}%
}{O}{c}{F}{T}{S}%
}}

deftest#1{$%
reallywidetilde{#1},
scriptstylereallywidetilde{#1},
scriptscriptstylereallywidetilde{#1}
$par}

parskip 1ex
begin{document}

test{abcdefghijklm}
test{abcdefghijk}
test{abcdefghi}
test{abcdefg}
test{abcde}
test{abc}
test{ab}
end{document}


enter image description here






share|improve this answer
























  • Thank's for the answer but my question is on the patch explained in my question why those dimensions appear in front of overarc

    – Salim Bou
    Feb 8 at 16:27



















0














documentclass{article}

usepackage{arcs}
usepackage{etoolbox}

makeatletter
providecommand@gobblethree[3]{}
patchcmd{over@under@arc}
{@gobbletwo}
{@gobblethree}
{}{}
makeatother

begin{document}

$$overarc{AB}$$

end{document}


I also have the same problem. I have tried to add the above code and it works prefectly.



Refer to the link https://xetex.tug.narkive.com/pBGTS2zG/the-arcs-package#post14, it stated out the problem of the package arcs. To update the code in the package arcs, I refer the link overarc command from arcs package and xwatermark .






share|improve this answer








New contributor




Charissa is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.




















    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%2f473915%2fstrange-result-with-patch-of-overarc%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









    3














    Different approach, based on Big tilde in math mode



    documentclass{article}
    usepackage{scalerel}
    usepackage{stackengine}

    newcommandreallywidetilde[1]{ThisStyle{%
    setbox0=hbox{$SavedStyle#1$}%
    stackengine{-.5LMpt}{$SavedStyle#1$}{%
    stretchto{scaleto{SavedStylemkern.2mufrown}{.4wd0}}{.5ht0}%
    }{O}{c}{F}{T}{S}%
    }}

    deftest#1{$%
    reallywidetilde{#1},
    scriptstylereallywidetilde{#1},
    scriptscriptstylereallywidetilde{#1}
    $par}

    parskip 1ex
    begin{document}

    test{abcdefghijklm}
    test{abcdefghijk}
    test{abcdefghi}
    test{abcdefg}
    test{abcde}
    test{abc}
    test{ab}
    end{document}


    enter image description here






    share|improve this answer
























    • Thank's for the answer but my question is on the patch explained in my question why those dimensions appear in front of overarc

      – Salim Bou
      Feb 8 at 16:27
















    3














    Different approach, based on Big tilde in math mode



    documentclass{article}
    usepackage{scalerel}
    usepackage{stackengine}

    newcommandreallywidetilde[1]{ThisStyle{%
    setbox0=hbox{$SavedStyle#1$}%
    stackengine{-.5LMpt}{$SavedStyle#1$}{%
    stretchto{scaleto{SavedStylemkern.2mufrown}{.4wd0}}{.5ht0}%
    }{O}{c}{F}{T}{S}%
    }}

    deftest#1{$%
    reallywidetilde{#1},
    scriptstylereallywidetilde{#1},
    scriptscriptstylereallywidetilde{#1}
    $par}

    parskip 1ex
    begin{document}

    test{abcdefghijklm}
    test{abcdefghijk}
    test{abcdefghi}
    test{abcdefg}
    test{abcde}
    test{abc}
    test{ab}
    end{document}


    enter image description here






    share|improve this answer
























    • Thank's for the answer but my question is on the patch explained in my question why those dimensions appear in front of overarc

      – Salim Bou
      Feb 8 at 16:27














    3












    3








    3







    Different approach, based on Big tilde in math mode



    documentclass{article}
    usepackage{scalerel}
    usepackage{stackengine}

    newcommandreallywidetilde[1]{ThisStyle{%
    setbox0=hbox{$SavedStyle#1$}%
    stackengine{-.5LMpt}{$SavedStyle#1$}{%
    stretchto{scaleto{SavedStylemkern.2mufrown}{.4wd0}}{.5ht0}%
    }{O}{c}{F}{T}{S}%
    }}

    deftest#1{$%
    reallywidetilde{#1},
    scriptstylereallywidetilde{#1},
    scriptscriptstylereallywidetilde{#1}
    $par}

    parskip 1ex
    begin{document}

    test{abcdefghijklm}
    test{abcdefghijk}
    test{abcdefghi}
    test{abcdefg}
    test{abcde}
    test{abc}
    test{ab}
    end{document}


    enter image description here






    share|improve this answer













    Different approach, based on Big tilde in math mode



    documentclass{article}
    usepackage{scalerel}
    usepackage{stackengine}

    newcommandreallywidetilde[1]{ThisStyle{%
    setbox0=hbox{$SavedStyle#1$}%
    stackengine{-.5LMpt}{$SavedStyle#1$}{%
    stretchto{scaleto{SavedStylemkern.2mufrown}{.4wd0}}{.5ht0}%
    }{O}{c}{F}{T}{S}%
    }}

    deftest#1{$%
    reallywidetilde{#1},
    scriptstylereallywidetilde{#1},
    scriptscriptstylereallywidetilde{#1}
    $par}

    parskip 1ex
    begin{document}

    test{abcdefghijklm}
    test{abcdefghijk}
    test{abcdefghi}
    test{abcdefg}
    test{abcde}
    test{abc}
    test{ab}
    end{document}


    enter image description here







    share|improve this answer












    share|improve this answer



    share|improve this answer










    answered Feb 8 at 13:59









    Steven B. SegletesSteven B. Segletes

    155k9199409




    155k9199409













    • Thank's for the answer but my question is on the patch explained in my question why those dimensions appear in front of overarc

      – Salim Bou
      Feb 8 at 16:27



















    • Thank's for the answer but my question is on the patch explained in my question why those dimensions appear in front of overarc

      – Salim Bou
      Feb 8 at 16:27

















    Thank's for the answer but my question is on the patch explained in my question why those dimensions appear in front of overarc

    – Salim Bou
    Feb 8 at 16:27





    Thank's for the answer but my question is on the patch explained in my question why those dimensions appear in front of overarc

    – Salim Bou
    Feb 8 at 16:27











    0














    documentclass{article}

    usepackage{arcs}
    usepackage{etoolbox}

    makeatletter
    providecommand@gobblethree[3]{}
    patchcmd{over@under@arc}
    {@gobbletwo}
    {@gobblethree}
    {}{}
    makeatother

    begin{document}

    $$overarc{AB}$$

    end{document}


    I also have the same problem. I have tried to add the above code and it works prefectly.



    Refer to the link https://xetex.tug.narkive.com/pBGTS2zG/the-arcs-package#post14, it stated out the problem of the package arcs. To update the code in the package arcs, I refer the link overarc command from arcs package and xwatermark .






    share|improve this answer








    New contributor




    Charissa is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
    Check out our Code of Conduct.

























      0














      documentclass{article}

      usepackage{arcs}
      usepackage{etoolbox}

      makeatletter
      providecommand@gobblethree[3]{}
      patchcmd{over@under@arc}
      {@gobbletwo}
      {@gobblethree}
      {}{}
      makeatother

      begin{document}

      $$overarc{AB}$$

      end{document}


      I also have the same problem. I have tried to add the above code and it works prefectly.



      Refer to the link https://xetex.tug.narkive.com/pBGTS2zG/the-arcs-package#post14, it stated out the problem of the package arcs. To update the code in the package arcs, I refer the link overarc command from arcs package and xwatermark .






      share|improve this answer








      New contributor




      Charissa is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
      Check out our Code of Conduct.























        0












        0








        0







        documentclass{article}

        usepackage{arcs}
        usepackage{etoolbox}

        makeatletter
        providecommand@gobblethree[3]{}
        patchcmd{over@under@arc}
        {@gobbletwo}
        {@gobblethree}
        {}{}
        makeatother

        begin{document}

        $$overarc{AB}$$

        end{document}


        I also have the same problem. I have tried to add the above code and it works prefectly.



        Refer to the link https://xetex.tug.narkive.com/pBGTS2zG/the-arcs-package#post14, it stated out the problem of the package arcs. To update the code in the package arcs, I refer the link overarc command from arcs package and xwatermark .






        share|improve this answer








        New contributor




        Charissa is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
        Check out our Code of Conduct.










        documentclass{article}

        usepackage{arcs}
        usepackage{etoolbox}

        makeatletter
        providecommand@gobblethree[3]{}
        patchcmd{over@under@arc}
        {@gobbletwo}
        {@gobblethree}
        {}{}
        makeatother

        begin{document}

        $$overarc{AB}$$

        end{document}


        I also have the same problem. I have tried to add the above code and it works prefectly.



        Refer to the link https://xetex.tug.narkive.com/pBGTS2zG/the-arcs-package#post14, it stated out the problem of the package arcs. To update the code in the package arcs, I refer the link overarc command from arcs package and xwatermark .







        share|improve this answer








        New contributor




        Charissa is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
        Check out our Code of Conduct.









        share|improve this answer



        share|improve this answer






        New contributor




        Charissa is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
        Check out our Code of Conduct.









        answered 2 days ago









        CharissaCharissa

        1




        1




        New contributor




        Charissa is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
        Check out our Code of Conduct.





        New contributor





        Charissa is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
        Check out our Code of Conduct.






        Charissa is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
        Check out our Code of Conduct.






























            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%2f473915%2fstrange-result-with-patch-of-overarc%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

            How to send String Array data to Server using php in android

            Title Spacing in Bjornstrup Chapter, Removing Chapter Number From Contents

            Is anime1.com a legal site for watching anime?