Fractions common denominator











up vote
8
down vote

favorite
2












I am trying to receive this look of fractions enter image description here



I need the red numbers, which are over the fractions.
*They need to be normal, not handwritten-like.
Here is my code



documentclass[10pt,oneside,a5paper]{article}
usepackage{amsmath}
begin{document}
$dfrac{13}{25}, dfrac{9}{20}, dfrac{3}{4},
dfrac{3}{4}, dfrac{3}{5}, dfrac{1}{6};$
end{document}









share|improve this question
























  • Do they also have to be printed in such a handwritten-like font?
    – siracusa
    2 days ago










  • They need to be normal, not handwritten-like.
    – Simeon Simeonov
    2 days ago










  • Do you need the curved lines below the numbers?
    – Sigur
    2 days ago










  • It would be nice.
    – Simeon Simeonov
    2 days ago

















up vote
8
down vote

favorite
2












I am trying to receive this look of fractions enter image description here



I need the red numbers, which are over the fractions.
*They need to be normal, not handwritten-like.
Here is my code



documentclass[10pt,oneside,a5paper]{article}
usepackage{amsmath}
begin{document}
$dfrac{13}{25}, dfrac{9}{20}, dfrac{3}{4},
dfrac{3}{4}, dfrac{3}{5}, dfrac{1}{6};$
end{document}









share|improve this question
























  • Do they also have to be printed in such a handwritten-like font?
    – siracusa
    2 days ago










  • They need to be normal, not handwritten-like.
    – Simeon Simeonov
    2 days ago










  • Do you need the curved lines below the numbers?
    – Sigur
    2 days ago










  • It would be nice.
    – Simeon Simeonov
    2 days ago















up vote
8
down vote

favorite
2









up vote
8
down vote

favorite
2






2





I am trying to receive this look of fractions enter image description here



I need the red numbers, which are over the fractions.
*They need to be normal, not handwritten-like.
Here is my code



documentclass[10pt,oneside,a5paper]{article}
usepackage{amsmath}
begin{document}
$dfrac{13}{25}, dfrac{9}{20}, dfrac{3}{4},
dfrac{3}{4}, dfrac{3}{5}, dfrac{1}{6};$
end{document}









share|improve this question















I am trying to receive this look of fractions enter image description here



I need the red numbers, which are over the fractions.
*They need to be normal, not handwritten-like.
Here is my code



documentclass[10pt,oneside,a5paper]{article}
usepackage{amsmath}
begin{document}
$dfrac{13}{25}, dfrac{9}{20}, dfrac{3}{4},
dfrac{3}{4}, dfrac{3}{5}, dfrac{1}{6};$
end{document}






fractions






share|improve this question















share|improve this question













share|improve this question




share|improve this question








edited 2 days ago

























asked 2 days ago









Simeon Simeonov

1255




1255












  • Do they also have to be printed in such a handwritten-like font?
    – siracusa
    2 days ago










  • They need to be normal, not handwritten-like.
    – Simeon Simeonov
    2 days ago










  • Do you need the curved lines below the numbers?
    – Sigur
    2 days ago










  • It would be nice.
    – Simeon Simeonov
    2 days ago




















  • Do they also have to be printed in such a handwritten-like font?
    – siracusa
    2 days ago










  • They need to be normal, not handwritten-like.
    – Simeon Simeonov
    2 days ago










  • Do you need the curved lines below the numbers?
    – Sigur
    2 days ago










  • It would be nice.
    – Simeon Simeonov
    2 days ago


















Do they also have to be printed in such a handwritten-like font?
– siracusa
2 days ago




Do they also have to be printed in such a handwritten-like font?
– siracusa
2 days ago












They need to be normal, not handwritten-like.
– Simeon Simeonov
2 days ago




They need to be normal, not handwritten-like.
– Simeon Simeonov
2 days ago












Do you need the curved lines below the numbers?
– Sigur
2 days ago




Do you need the curved lines below the numbers?
– Sigur
2 days ago












It would be nice.
– Simeon Simeonov
2 days ago






It would be nice.
– Simeon Simeonov
2 days ago












4 Answers
4






active

oldest

votes

















up vote
10
down vote



accepted










Why take the risk of an error in computing ?



documentclass{article}
usepackage{amsmath}
usepackage{xintgcd}

newsaveboxmybox
newcommand{fractionswithlcm}[1]{%
sboxmybox{gdefsimeondenominators{}%
deffracm##1##2{xdefsimeondenominators{simeondenominators{##2}}}%
$#1$}%
edefsimeonlcm{xintLCMof{simeondenominators}}%
{underbrace{#1}_{displaystylesimeonlcm}}%
}
newcommand{fracm}[2]{%
overset{xintiiQuo{simeonlcm}{#2}}%
{overset{displaystylesmile}{frac{#1}{#2}}}%
}

begin{document}

[
fractionswithlcm{
fracm{13}{25},
fracm{9}{20},
fracm{3}{4},
fracm{3}{5},
fracm{1}{6}
}
]

end{document}


enter image description here





As per OP request in a comment, here is with only the numbers on top but not anymore the big underbrace.



documentclass{article}
usepackage{amsmath}
usepackage{xintgcd}

newsaveboxmybox
newcommand{fractionswithlcm}[1]{%
sboxmybox{gdefsimeondenominators{}%
deffracm##1##2{xdefsimeondenominators{simeondenominators{##2}}}%
$#1$}%
edefsimeonlcm{xintLCMof{simeondenominators}}%
#1%
}
newcommand{fracm}[2]{%
overset{xintiiQuo{simeonlcm}{#2}}%
{overset{displaystylesmile}{frac{#1}{#2}}}%
}

begin{document}

[
fractionswithlcm{
fracm{13}{25},
fracm{9}{20},
fracm{3}{4},
fracm{3}{5},
fracm{1}{6}
}
]

end{document}


enter image description here






share|improve this answer























  • I was kind of expecting it. :-)
    – egreg
    2 days ago










  • Conversely, why take the risk of an error in code? ;-)
    – R..
    yesterday






  • 1




    @R.. there is indeed a risk here as I should probably not have the fracm globally defined to use the xintiiQuo{simeonlcm}{#2} operation. In this approach the fracm should arguably be a macro whose usage is strictly restricted to inside fractionswithlcm argument...
    – jfbu
    yesterday










  • @egreg your answer without expl3/xparse demonstrates indeed that one can vanquish addictions :) ... I am not as strong !
    – jfbu
    yesterday










  • Amazing. Can you remove the big bracket with number 300. I need only the fractions with the curves.
    – Simeon Simeonov
    yesterday


















up vote
13
down vote













For the curved symbol you can use smile:



documentclass{article}
usepackage{amsmath}

newcommand{fractionswithlcm}[2]{%
{underbrace{#1}_{displaystyle#2}}%
}
newcommand{fracm}[3]{%
overset{#1}{overset{displaystylesmile}{frac{#2}{#3}}}%
}

begin{document}

[
fractionswithlcm{
fracm{12}{13}{25},
fracm{15}{9}{20},
fracm{75}{3}{4},
fracm{60}{3}{5},
fracm{50}{1}{6}
}{300}
]

end{document}


enter image description here






share|improve this answer




























    up vote
    4
    down vote













    With widehat instead of curves:



    mew



    documentclass{article}
    usepackage{amsmath}
    begin{document}
    $overset{underbrace{
    underset{widehat{dfrac{13}{25},}}{12}
    underset{widehat{dfrac{9}{20}},}{15}
    underset{widehat{dfrac{3}{4}}, }{75}
    underset{widehat{dfrac{1}{6}}, }{60}
    underset{widehat{dfrac{3}{5}} }{50}
    }}{300}$
    end{document}


    Edit: Ok, with curves



    mwe



    documentclass{article}
    usepackage{amsmath}
    % https://tex.stackexchange.com/a/191042/11604
    makeatletter
    defwidebreve#1{mathop{vbox{m@thialign{##crcrnoalign{kern3p@}%
    brevefillcrcrnoalign{kern3p@nointerlineskip}%
    $hfildisplaystyle{#1}hfil$crcr}}}limits}

    defbrevefill{$m@th setboxz@hbox{$braceld$}%
    braceluleadersvrule @heighthtz@ @depthz@hfillbraceru$}
    makeatletter

    begin{document}
    $overset{underbrace{
    underset{widebreve{dfrac{13}{makebox[1em]{25}}},}{12}
    underset{widebreve{dfrac{9}{makebox[1em]{20}}},}{15}
    underset{widebreve{dfrac{3}{makebox[1em]{4}}},}{75}
    underset{widebreve{dfrac{1}{makebox[1em]{6}}},}{60}
    underset{widebreve{dfrac{3}{makebox[1em]{5}}}}{50}
    }}{300}$
    end{document}





    share|improve this answer























    • But I think that the mark should be below the top numbers, not above the 2nd row numbers.
      – Sigur
      2 days ago










    • It should be curved up, like half circle.
      – Sigur
      2 days ago










    • I think they should be under and centered with the 1st row numbers. Lets see.
      – Sigur
      2 days ago










    • BTW not relevant to the TeX part, but in this answer 3/5 and 1/6 are switched relative to the question (while the numbers above are not).
      – ShreevatsaR
      2 days ago


















    up vote
    3
    down vote













    What about this?



    documentclass[10pt,oneside,a5paper]{article}
    usepackage{amsmath}
    newcommand{myfrac}[3]{overset{#1}{dfrac{#2}{#3}}}

    begin{document}
    $myfrac{12}{13}{25}, myfrac{15}{9}{20}, myfrac{75}{3}{4}, myfrac{60}{3}{5}, myfrac{50}{1}{6}$
    end{document}


    enter image description here






    share|improve this answer





















    • I like it. But I need the curved lines above. I don't know if it's possible.Thank you!
      – Simeon Simeonov
      2 days ago











    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',
    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%2f463816%2ffractions-common-denominator%23new-answer', 'question_page');
    }
    );

    Post as a guest















    Required, but never shown

























    4 Answers
    4






    active

    oldest

    votes








    4 Answers
    4






    active

    oldest

    votes









    active

    oldest

    votes






    active

    oldest

    votes








    up vote
    10
    down vote



    accepted










    Why take the risk of an error in computing ?



    documentclass{article}
    usepackage{amsmath}
    usepackage{xintgcd}

    newsaveboxmybox
    newcommand{fractionswithlcm}[1]{%
    sboxmybox{gdefsimeondenominators{}%
    deffracm##1##2{xdefsimeondenominators{simeondenominators{##2}}}%
    $#1$}%
    edefsimeonlcm{xintLCMof{simeondenominators}}%
    {underbrace{#1}_{displaystylesimeonlcm}}%
    }
    newcommand{fracm}[2]{%
    overset{xintiiQuo{simeonlcm}{#2}}%
    {overset{displaystylesmile}{frac{#1}{#2}}}%
    }

    begin{document}

    [
    fractionswithlcm{
    fracm{13}{25},
    fracm{9}{20},
    fracm{3}{4},
    fracm{3}{5},
    fracm{1}{6}
    }
    ]

    end{document}


    enter image description here





    As per OP request in a comment, here is with only the numbers on top but not anymore the big underbrace.



    documentclass{article}
    usepackage{amsmath}
    usepackage{xintgcd}

    newsaveboxmybox
    newcommand{fractionswithlcm}[1]{%
    sboxmybox{gdefsimeondenominators{}%
    deffracm##1##2{xdefsimeondenominators{simeondenominators{##2}}}%
    $#1$}%
    edefsimeonlcm{xintLCMof{simeondenominators}}%
    #1%
    }
    newcommand{fracm}[2]{%
    overset{xintiiQuo{simeonlcm}{#2}}%
    {overset{displaystylesmile}{frac{#1}{#2}}}%
    }

    begin{document}

    [
    fractionswithlcm{
    fracm{13}{25},
    fracm{9}{20},
    fracm{3}{4},
    fracm{3}{5},
    fracm{1}{6}
    }
    ]

    end{document}


    enter image description here






    share|improve this answer























    • I was kind of expecting it. :-)
      – egreg
      2 days ago










    • Conversely, why take the risk of an error in code? ;-)
      – R..
      yesterday






    • 1




      @R.. there is indeed a risk here as I should probably not have the fracm globally defined to use the xintiiQuo{simeonlcm}{#2} operation. In this approach the fracm should arguably be a macro whose usage is strictly restricted to inside fractionswithlcm argument...
      – jfbu
      yesterday










    • @egreg your answer without expl3/xparse demonstrates indeed that one can vanquish addictions :) ... I am not as strong !
      – jfbu
      yesterday










    • Amazing. Can you remove the big bracket with number 300. I need only the fractions with the curves.
      – Simeon Simeonov
      yesterday















    up vote
    10
    down vote



    accepted










    Why take the risk of an error in computing ?



    documentclass{article}
    usepackage{amsmath}
    usepackage{xintgcd}

    newsaveboxmybox
    newcommand{fractionswithlcm}[1]{%
    sboxmybox{gdefsimeondenominators{}%
    deffracm##1##2{xdefsimeondenominators{simeondenominators{##2}}}%
    $#1$}%
    edefsimeonlcm{xintLCMof{simeondenominators}}%
    {underbrace{#1}_{displaystylesimeonlcm}}%
    }
    newcommand{fracm}[2]{%
    overset{xintiiQuo{simeonlcm}{#2}}%
    {overset{displaystylesmile}{frac{#1}{#2}}}%
    }

    begin{document}

    [
    fractionswithlcm{
    fracm{13}{25},
    fracm{9}{20},
    fracm{3}{4},
    fracm{3}{5},
    fracm{1}{6}
    }
    ]

    end{document}


    enter image description here





    As per OP request in a comment, here is with only the numbers on top but not anymore the big underbrace.



    documentclass{article}
    usepackage{amsmath}
    usepackage{xintgcd}

    newsaveboxmybox
    newcommand{fractionswithlcm}[1]{%
    sboxmybox{gdefsimeondenominators{}%
    deffracm##1##2{xdefsimeondenominators{simeondenominators{##2}}}%
    $#1$}%
    edefsimeonlcm{xintLCMof{simeondenominators}}%
    #1%
    }
    newcommand{fracm}[2]{%
    overset{xintiiQuo{simeonlcm}{#2}}%
    {overset{displaystylesmile}{frac{#1}{#2}}}%
    }

    begin{document}

    [
    fractionswithlcm{
    fracm{13}{25},
    fracm{9}{20},
    fracm{3}{4},
    fracm{3}{5},
    fracm{1}{6}
    }
    ]

    end{document}


    enter image description here






    share|improve this answer























    • I was kind of expecting it. :-)
      – egreg
      2 days ago










    • Conversely, why take the risk of an error in code? ;-)
      – R..
      yesterday






    • 1




      @R.. there is indeed a risk here as I should probably not have the fracm globally defined to use the xintiiQuo{simeonlcm}{#2} operation. In this approach the fracm should arguably be a macro whose usage is strictly restricted to inside fractionswithlcm argument...
      – jfbu
      yesterday










    • @egreg your answer without expl3/xparse demonstrates indeed that one can vanquish addictions :) ... I am not as strong !
      – jfbu
      yesterday










    • Amazing. Can you remove the big bracket with number 300. I need only the fractions with the curves.
      – Simeon Simeonov
      yesterday













    up vote
    10
    down vote



    accepted







    up vote
    10
    down vote



    accepted






    Why take the risk of an error in computing ?



    documentclass{article}
    usepackage{amsmath}
    usepackage{xintgcd}

    newsaveboxmybox
    newcommand{fractionswithlcm}[1]{%
    sboxmybox{gdefsimeondenominators{}%
    deffracm##1##2{xdefsimeondenominators{simeondenominators{##2}}}%
    $#1$}%
    edefsimeonlcm{xintLCMof{simeondenominators}}%
    {underbrace{#1}_{displaystylesimeonlcm}}%
    }
    newcommand{fracm}[2]{%
    overset{xintiiQuo{simeonlcm}{#2}}%
    {overset{displaystylesmile}{frac{#1}{#2}}}%
    }

    begin{document}

    [
    fractionswithlcm{
    fracm{13}{25},
    fracm{9}{20},
    fracm{3}{4},
    fracm{3}{5},
    fracm{1}{6}
    }
    ]

    end{document}


    enter image description here





    As per OP request in a comment, here is with only the numbers on top but not anymore the big underbrace.



    documentclass{article}
    usepackage{amsmath}
    usepackage{xintgcd}

    newsaveboxmybox
    newcommand{fractionswithlcm}[1]{%
    sboxmybox{gdefsimeondenominators{}%
    deffracm##1##2{xdefsimeondenominators{simeondenominators{##2}}}%
    $#1$}%
    edefsimeonlcm{xintLCMof{simeondenominators}}%
    #1%
    }
    newcommand{fracm}[2]{%
    overset{xintiiQuo{simeonlcm}{#2}}%
    {overset{displaystylesmile}{frac{#1}{#2}}}%
    }

    begin{document}

    [
    fractionswithlcm{
    fracm{13}{25},
    fracm{9}{20},
    fracm{3}{4},
    fracm{3}{5},
    fracm{1}{6}
    }
    ]

    end{document}


    enter image description here






    share|improve this answer














    Why take the risk of an error in computing ?



    documentclass{article}
    usepackage{amsmath}
    usepackage{xintgcd}

    newsaveboxmybox
    newcommand{fractionswithlcm}[1]{%
    sboxmybox{gdefsimeondenominators{}%
    deffracm##1##2{xdefsimeondenominators{simeondenominators{##2}}}%
    $#1$}%
    edefsimeonlcm{xintLCMof{simeondenominators}}%
    {underbrace{#1}_{displaystylesimeonlcm}}%
    }
    newcommand{fracm}[2]{%
    overset{xintiiQuo{simeonlcm}{#2}}%
    {overset{displaystylesmile}{frac{#1}{#2}}}%
    }

    begin{document}

    [
    fractionswithlcm{
    fracm{13}{25},
    fracm{9}{20},
    fracm{3}{4},
    fracm{3}{5},
    fracm{1}{6}
    }
    ]

    end{document}


    enter image description here





    As per OP request in a comment, here is with only the numbers on top but not anymore the big underbrace.



    documentclass{article}
    usepackage{amsmath}
    usepackage{xintgcd}

    newsaveboxmybox
    newcommand{fractionswithlcm}[1]{%
    sboxmybox{gdefsimeondenominators{}%
    deffracm##1##2{xdefsimeondenominators{simeondenominators{##2}}}%
    $#1$}%
    edefsimeonlcm{xintLCMof{simeondenominators}}%
    #1%
    }
    newcommand{fracm}[2]{%
    overset{xintiiQuo{simeonlcm}{#2}}%
    {overset{displaystylesmile}{frac{#1}{#2}}}%
    }

    begin{document}

    [
    fractionswithlcm{
    fracm{13}{25},
    fracm{9}{20},
    fracm{3}{4},
    fracm{3}{5},
    fracm{1}{6}
    }
    ]

    end{document}


    enter image description here







    share|improve this answer














    share|improve this answer



    share|improve this answer








    edited yesterday

























    answered 2 days ago









    jfbu

    45.6k65146




    45.6k65146












    • I was kind of expecting it. :-)
      – egreg
      2 days ago










    • Conversely, why take the risk of an error in code? ;-)
      – R..
      yesterday






    • 1




      @R.. there is indeed a risk here as I should probably not have the fracm globally defined to use the xintiiQuo{simeonlcm}{#2} operation. In this approach the fracm should arguably be a macro whose usage is strictly restricted to inside fractionswithlcm argument...
      – jfbu
      yesterday










    • @egreg your answer without expl3/xparse demonstrates indeed that one can vanquish addictions :) ... I am not as strong !
      – jfbu
      yesterday










    • Amazing. Can you remove the big bracket with number 300. I need only the fractions with the curves.
      – Simeon Simeonov
      yesterday


















    • I was kind of expecting it. :-)
      – egreg
      2 days ago










    • Conversely, why take the risk of an error in code? ;-)
      – R..
      yesterday






    • 1




      @R.. there is indeed a risk here as I should probably not have the fracm globally defined to use the xintiiQuo{simeonlcm}{#2} operation. In this approach the fracm should arguably be a macro whose usage is strictly restricted to inside fractionswithlcm argument...
      – jfbu
      yesterday










    • @egreg your answer without expl3/xparse demonstrates indeed that one can vanquish addictions :) ... I am not as strong !
      – jfbu
      yesterday










    • Amazing. Can you remove the big bracket with number 300. I need only the fractions with the curves.
      – Simeon Simeonov
      yesterday
















    I was kind of expecting it. :-)
    – egreg
    2 days ago




    I was kind of expecting it. :-)
    – egreg
    2 days ago












    Conversely, why take the risk of an error in code? ;-)
    – R..
    yesterday




    Conversely, why take the risk of an error in code? ;-)
    – R..
    yesterday




    1




    1




    @R.. there is indeed a risk here as I should probably not have the fracm globally defined to use the xintiiQuo{simeonlcm}{#2} operation. In this approach the fracm should arguably be a macro whose usage is strictly restricted to inside fractionswithlcm argument...
    – jfbu
    yesterday




    @R.. there is indeed a risk here as I should probably not have the fracm globally defined to use the xintiiQuo{simeonlcm}{#2} operation. In this approach the fracm should arguably be a macro whose usage is strictly restricted to inside fractionswithlcm argument...
    – jfbu
    yesterday












    @egreg your answer without expl3/xparse demonstrates indeed that one can vanquish addictions :) ... I am not as strong !
    – jfbu
    yesterday




    @egreg your answer without expl3/xparse demonstrates indeed that one can vanquish addictions :) ... I am not as strong !
    – jfbu
    yesterday












    Amazing. Can you remove the big bracket with number 300. I need only the fractions with the curves.
    – Simeon Simeonov
    yesterday




    Amazing. Can you remove the big bracket with number 300. I need only the fractions with the curves.
    – Simeon Simeonov
    yesterday










    up vote
    13
    down vote













    For the curved symbol you can use smile:



    documentclass{article}
    usepackage{amsmath}

    newcommand{fractionswithlcm}[2]{%
    {underbrace{#1}_{displaystyle#2}}%
    }
    newcommand{fracm}[3]{%
    overset{#1}{overset{displaystylesmile}{frac{#2}{#3}}}%
    }

    begin{document}

    [
    fractionswithlcm{
    fracm{12}{13}{25},
    fracm{15}{9}{20},
    fracm{75}{3}{4},
    fracm{60}{3}{5},
    fracm{50}{1}{6}
    }{300}
    ]

    end{document}


    enter image description here






    share|improve this answer

























      up vote
      13
      down vote













      For the curved symbol you can use smile:



      documentclass{article}
      usepackage{amsmath}

      newcommand{fractionswithlcm}[2]{%
      {underbrace{#1}_{displaystyle#2}}%
      }
      newcommand{fracm}[3]{%
      overset{#1}{overset{displaystylesmile}{frac{#2}{#3}}}%
      }

      begin{document}

      [
      fractionswithlcm{
      fracm{12}{13}{25},
      fracm{15}{9}{20},
      fracm{75}{3}{4},
      fracm{60}{3}{5},
      fracm{50}{1}{6}
      }{300}
      ]

      end{document}


      enter image description here






      share|improve this answer























        up vote
        13
        down vote










        up vote
        13
        down vote









        For the curved symbol you can use smile:



        documentclass{article}
        usepackage{amsmath}

        newcommand{fractionswithlcm}[2]{%
        {underbrace{#1}_{displaystyle#2}}%
        }
        newcommand{fracm}[3]{%
        overset{#1}{overset{displaystylesmile}{frac{#2}{#3}}}%
        }

        begin{document}

        [
        fractionswithlcm{
        fracm{12}{13}{25},
        fracm{15}{9}{20},
        fracm{75}{3}{4},
        fracm{60}{3}{5},
        fracm{50}{1}{6}
        }{300}
        ]

        end{document}


        enter image description here






        share|improve this answer












        For the curved symbol you can use smile:



        documentclass{article}
        usepackage{amsmath}

        newcommand{fractionswithlcm}[2]{%
        {underbrace{#1}_{displaystyle#2}}%
        }
        newcommand{fracm}[3]{%
        overset{#1}{overset{displaystylesmile}{frac{#2}{#3}}}%
        }

        begin{document}

        [
        fractionswithlcm{
        fracm{12}{13}{25},
        fracm{15}{9}{20},
        fracm{75}{3}{4},
        fracm{60}{3}{5},
        fracm{50}{1}{6}
        }{300}
        ]

        end{document}


        enter image description here







        share|improve this answer












        share|improve this answer



        share|improve this answer










        answered 2 days ago









        egreg

        703k8618753154




        703k8618753154






















            up vote
            4
            down vote













            With widehat instead of curves:



            mew



            documentclass{article}
            usepackage{amsmath}
            begin{document}
            $overset{underbrace{
            underset{widehat{dfrac{13}{25},}}{12}
            underset{widehat{dfrac{9}{20}},}{15}
            underset{widehat{dfrac{3}{4}}, }{75}
            underset{widehat{dfrac{1}{6}}, }{60}
            underset{widehat{dfrac{3}{5}} }{50}
            }}{300}$
            end{document}


            Edit: Ok, with curves



            mwe



            documentclass{article}
            usepackage{amsmath}
            % https://tex.stackexchange.com/a/191042/11604
            makeatletter
            defwidebreve#1{mathop{vbox{m@thialign{##crcrnoalign{kern3p@}%
            brevefillcrcrnoalign{kern3p@nointerlineskip}%
            $hfildisplaystyle{#1}hfil$crcr}}}limits}

            defbrevefill{$m@th setboxz@hbox{$braceld$}%
            braceluleadersvrule @heighthtz@ @depthz@hfillbraceru$}
            makeatletter

            begin{document}
            $overset{underbrace{
            underset{widebreve{dfrac{13}{makebox[1em]{25}}},}{12}
            underset{widebreve{dfrac{9}{makebox[1em]{20}}},}{15}
            underset{widebreve{dfrac{3}{makebox[1em]{4}}},}{75}
            underset{widebreve{dfrac{1}{makebox[1em]{6}}},}{60}
            underset{widebreve{dfrac{3}{makebox[1em]{5}}}}{50}
            }}{300}$
            end{document}





            share|improve this answer























            • But I think that the mark should be below the top numbers, not above the 2nd row numbers.
              – Sigur
              2 days ago










            • It should be curved up, like half circle.
              – Sigur
              2 days ago










            • I think they should be under and centered with the 1st row numbers. Lets see.
              – Sigur
              2 days ago










            • BTW not relevant to the TeX part, but in this answer 3/5 and 1/6 are switched relative to the question (while the numbers above are not).
              – ShreevatsaR
              2 days ago















            up vote
            4
            down vote













            With widehat instead of curves:



            mew



            documentclass{article}
            usepackage{amsmath}
            begin{document}
            $overset{underbrace{
            underset{widehat{dfrac{13}{25},}}{12}
            underset{widehat{dfrac{9}{20}},}{15}
            underset{widehat{dfrac{3}{4}}, }{75}
            underset{widehat{dfrac{1}{6}}, }{60}
            underset{widehat{dfrac{3}{5}} }{50}
            }}{300}$
            end{document}


            Edit: Ok, with curves



            mwe



            documentclass{article}
            usepackage{amsmath}
            % https://tex.stackexchange.com/a/191042/11604
            makeatletter
            defwidebreve#1{mathop{vbox{m@thialign{##crcrnoalign{kern3p@}%
            brevefillcrcrnoalign{kern3p@nointerlineskip}%
            $hfildisplaystyle{#1}hfil$crcr}}}limits}

            defbrevefill{$m@th setboxz@hbox{$braceld$}%
            braceluleadersvrule @heighthtz@ @depthz@hfillbraceru$}
            makeatletter

            begin{document}
            $overset{underbrace{
            underset{widebreve{dfrac{13}{makebox[1em]{25}}},}{12}
            underset{widebreve{dfrac{9}{makebox[1em]{20}}},}{15}
            underset{widebreve{dfrac{3}{makebox[1em]{4}}},}{75}
            underset{widebreve{dfrac{1}{makebox[1em]{6}}},}{60}
            underset{widebreve{dfrac{3}{makebox[1em]{5}}}}{50}
            }}{300}$
            end{document}





            share|improve this answer























            • But I think that the mark should be below the top numbers, not above the 2nd row numbers.
              – Sigur
              2 days ago










            • It should be curved up, like half circle.
              – Sigur
              2 days ago










            • I think they should be under and centered with the 1st row numbers. Lets see.
              – Sigur
              2 days ago










            • BTW not relevant to the TeX part, but in this answer 3/5 and 1/6 are switched relative to the question (while the numbers above are not).
              – ShreevatsaR
              2 days ago













            up vote
            4
            down vote










            up vote
            4
            down vote









            With widehat instead of curves:



            mew



            documentclass{article}
            usepackage{amsmath}
            begin{document}
            $overset{underbrace{
            underset{widehat{dfrac{13}{25},}}{12}
            underset{widehat{dfrac{9}{20}},}{15}
            underset{widehat{dfrac{3}{4}}, }{75}
            underset{widehat{dfrac{1}{6}}, }{60}
            underset{widehat{dfrac{3}{5}} }{50}
            }}{300}$
            end{document}


            Edit: Ok, with curves



            mwe



            documentclass{article}
            usepackage{amsmath}
            % https://tex.stackexchange.com/a/191042/11604
            makeatletter
            defwidebreve#1{mathop{vbox{m@thialign{##crcrnoalign{kern3p@}%
            brevefillcrcrnoalign{kern3p@nointerlineskip}%
            $hfildisplaystyle{#1}hfil$crcr}}}limits}

            defbrevefill{$m@th setboxz@hbox{$braceld$}%
            braceluleadersvrule @heighthtz@ @depthz@hfillbraceru$}
            makeatletter

            begin{document}
            $overset{underbrace{
            underset{widebreve{dfrac{13}{makebox[1em]{25}}},}{12}
            underset{widebreve{dfrac{9}{makebox[1em]{20}}},}{15}
            underset{widebreve{dfrac{3}{makebox[1em]{4}}},}{75}
            underset{widebreve{dfrac{1}{makebox[1em]{6}}},}{60}
            underset{widebreve{dfrac{3}{makebox[1em]{5}}}}{50}
            }}{300}$
            end{document}





            share|improve this answer














            With widehat instead of curves:



            mew



            documentclass{article}
            usepackage{amsmath}
            begin{document}
            $overset{underbrace{
            underset{widehat{dfrac{13}{25},}}{12}
            underset{widehat{dfrac{9}{20}},}{15}
            underset{widehat{dfrac{3}{4}}, }{75}
            underset{widehat{dfrac{1}{6}}, }{60}
            underset{widehat{dfrac{3}{5}} }{50}
            }}{300}$
            end{document}


            Edit: Ok, with curves



            mwe



            documentclass{article}
            usepackage{amsmath}
            % https://tex.stackexchange.com/a/191042/11604
            makeatletter
            defwidebreve#1{mathop{vbox{m@thialign{##crcrnoalign{kern3p@}%
            brevefillcrcrnoalign{kern3p@nointerlineskip}%
            $hfildisplaystyle{#1}hfil$crcr}}}limits}

            defbrevefill{$m@th setboxz@hbox{$braceld$}%
            braceluleadersvrule @heighthtz@ @depthz@hfillbraceru$}
            makeatletter

            begin{document}
            $overset{underbrace{
            underset{widebreve{dfrac{13}{makebox[1em]{25}}},}{12}
            underset{widebreve{dfrac{9}{makebox[1em]{20}}},}{15}
            underset{widebreve{dfrac{3}{makebox[1em]{4}}},}{75}
            underset{widebreve{dfrac{1}{makebox[1em]{6}}},}{60}
            underset{widebreve{dfrac{3}{makebox[1em]{5}}}}{50}
            }}{300}$
            end{document}






            share|improve this answer














            share|improve this answer



            share|improve this answer








            edited 2 days ago

























            answered 2 days ago









            Fran

            50.4k6111174




            50.4k6111174












            • But I think that the mark should be below the top numbers, not above the 2nd row numbers.
              – Sigur
              2 days ago










            • It should be curved up, like half circle.
              – Sigur
              2 days ago










            • I think they should be under and centered with the 1st row numbers. Lets see.
              – Sigur
              2 days ago










            • BTW not relevant to the TeX part, but in this answer 3/5 and 1/6 are switched relative to the question (while the numbers above are not).
              – ShreevatsaR
              2 days ago


















            • But I think that the mark should be below the top numbers, not above the 2nd row numbers.
              – Sigur
              2 days ago










            • It should be curved up, like half circle.
              – Sigur
              2 days ago










            • I think they should be under and centered with the 1st row numbers. Lets see.
              – Sigur
              2 days ago










            • BTW not relevant to the TeX part, but in this answer 3/5 and 1/6 are switched relative to the question (while the numbers above are not).
              – ShreevatsaR
              2 days ago
















            But I think that the mark should be below the top numbers, not above the 2nd row numbers.
            – Sigur
            2 days ago




            But I think that the mark should be below the top numbers, not above the 2nd row numbers.
            – Sigur
            2 days ago












            It should be curved up, like half circle.
            – Sigur
            2 days ago




            It should be curved up, like half circle.
            – Sigur
            2 days ago












            I think they should be under and centered with the 1st row numbers. Lets see.
            – Sigur
            2 days ago




            I think they should be under and centered with the 1st row numbers. Lets see.
            – Sigur
            2 days ago












            BTW not relevant to the TeX part, but in this answer 3/5 and 1/6 are switched relative to the question (while the numbers above are not).
            – ShreevatsaR
            2 days ago




            BTW not relevant to the TeX part, but in this answer 3/5 and 1/6 are switched relative to the question (while the numbers above are not).
            – ShreevatsaR
            2 days ago










            up vote
            3
            down vote













            What about this?



            documentclass[10pt,oneside,a5paper]{article}
            usepackage{amsmath}
            newcommand{myfrac}[3]{overset{#1}{dfrac{#2}{#3}}}

            begin{document}
            $myfrac{12}{13}{25}, myfrac{15}{9}{20}, myfrac{75}{3}{4}, myfrac{60}{3}{5}, myfrac{50}{1}{6}$
            end{document}


            enter image description here






            share|improve this answer





















            • I like it. But I need the curved lines above. I don't know if it's possible.Thank you!
              – Simeon Simeonov
              2 days ago















            up vote
            3
            down vote













            What about this?



            documentclass[10pt,oneside,a5paper]{article}
            usepackage{amsmath}
            newcommand{myfrac}[3]{overset{#1}{dfrac{#2}{#3}}}

            begin{document}
            $myfrac{12}{13}{25}, myfrac{15}{9}{20}, myfrac{75}{3}{4}, myfrac{60}{3}{5}, myfrac{50}{1}{6}$
            end{document}


            enter image description here






            share|improve this answer





















            • I like it. But I need the curved lines above. I don't know if it's possible.Thank you!
              – Simeon Simeonov
              2 days ago













            up vote
            3
            down vote










            up vote
            3
            down vote









            What about this?



            documentclass[10pt,oneside,a5paper]{article}
            usepackage{amsmath}
            newcommand{myfrac}[3]{overset{#1}{dfrac{#2}{#3}}}

            begin{document}
            $myfrac{12}{13}{25}, myfrac{15}{9}{20}, myfrac{75}{3}{4}, myfrac{60}{3}{5}, myfrac{50}{1}{6}$
            end{document}


            enter image description here






            share|improve this answer












            What about this?



            documentclass[10pt,oneside,a5paper]{article}
            usepackage{amsmath}
            newcommand{myfrac}[3]{overset{#1}{dfrac{#2}{#3}}}

            begin{document}
            $myfrac{12}{13}{25}, myfrac{15}{9}{20}, myfrac{75}{3}{4}, myfrac{60}{3}{5}, myfrac{50}{1}{6}$
            end{document}


            enter image description here







            share|improve this answer












            share|improve this answer



            share|improve this answer










            answered 2 days ago









            Sigur

            23.7k355136




            23.7k355136












            • I like it. But I need the curved lines above. I don't know if it's possible.Thank you!
              – Simeon Simeonov
              2 days ago


















            • I like it. But I need the curved lines above. I don't know if it's possible.Thank you!
              – Simeon Simeonov
              2 days ago
















            I like it. But I need the curved lines above. I don't know if it's possible.Thank you!
            – Simeon Simeonov
            2 days ago




            I like it. But I need the curved lines above. I don't know if it's possible.Thank you!
            – Simeon Simeonov
            2 days ago


















            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.





            Some of your past answers have not been well-received, and you're in danger of being blocked from answering.


            Please pay close attention to the following guidance:


            • 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%2f463816%2ffractions-common-denominator%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

            Plaza Victoria

            In PowerPoint, is there a keyboard shortcut for bulleted / numbered list?

            How to put 3 figures in Latex with 2 figures side by side and 1 below these side by side images but in...