Fractions common denominator












8














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
    Dec 8 at 14:50










  • They need to be normal, not handwritten-like.
    – Simeon Simeonov
    Dec 8 at 14:51










  • Do you need the curved lines below the numbers?
    – Sigur
    Dec 8 at 14:53










  • It would be nice.
    – Simeon Simeonov
    Dec 8 at 14:59


















8














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
    Dec 8 at 14:50










  • They need to be normal, not handwritten-like.
    – Simeon Simeonov
    Dec 8 at 14:51










  • Do you need the curved lines below the numbers?
    – Sigur
    Dec 8 at 14:53










  • It would be nice.
    – Simeon Simeonov
    Dec 8 at 14:59
















8












8








8


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 Dec 8 at 14:51

























asked Dec 8 at 14:06









Simeon Simeonov

1546




1546












  • Do they also have to be printed in such a handwritten-like font?
    – siracusa
    Dec 8 at 14:50










  • They need to be normal, not handwritten-like.
    – Simeon Simeonov
    Dec 8 at 14:51










  • Do you need the curved lines below the numbers?
    – Sigur
    Dec 8 at 14:53










  • It would be nice.
    – Simeon Simeonov
    Dec 8 at 14:59




















  • Do they also have to be printed in such a handwritten-like font?
    – siracusa
    Dec 8 at 14:50










  • They need to be normal, not handwritten-like.
    – Simeon Simeonov
    Dec 8 at 14:51










  • Do you need the curved lines below the numbers?
    – Sigur
    Dec 8 at 14:53










  • It would be nice.
    – Simeon Simeonov
    Dec 8 at 14:59


















Do they also have to be printed in such a handwritten-like font?
– siracusa
Dec 8 at 14:50




Do they also have to be printed in such a handwritten-like font?
– siracusa
Dec 8 at 14:50












They need to be normal, not handwritten-like.
– Simeon Simeonov
Dec 8 at 14:51




They need to be normal, not handwritten-like.
– Simeon Simeonov
Dec 8 at 14:51












Do you need the curved lines below the numbers?
– Sigur
Dec 8 at 14:53




Do you need the curved lines below the numbers?
– Sigur
Dec 8 at 14:53












It would be nice.
– Simeon Simeonov
Dec 8 at 14:59






It would be nice.
– Simeon Simeonov
Dec 8 at 14:59












4 Answers
4






active

oldest

votes


















10














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
    Dec 8 at 22:18










  • Conversely, why take the risk of an error in code? ;-)
    – R..
    Dec 9 at 3:48






  • 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
    Dec 9 at 12:02










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










  • Amazing. Can you remove the big bracket with number 300. I need only the fractions with the curves.
    – Simeon Simeonov
    Dec 9 at 12:54



















13














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





























    4














    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
      Dec 8 at 16:03










    • It should be curved up, like half circle.
      – Sigur
      Dec 8 at 18:00










    • I think they should be under and centered with the 1st row numbers. Lets see.
      – Sigur
      Dec 8 at 18:28










    • 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
      Dec 8 at 20:26



















    3














    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
      Dec 8 at 15:01











    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%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









    10














    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
      Dec 8 at 22:18










    • Conversely, why take the risk of an error in code? ;-)
      – R..
      Dec 9 at 3:48






    • 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
      Dec 9 at 12:02










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










    • Amazing. Can you remove the big bracket with number 300. I need only the fractions with the curves.
      – Simeon Simeonov
      Dec 9 at 12:54
















    10














    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
      Dec 8 at 22:18










    • Conversely, why take the risk of an error in code? ;-)
      – R..
      Dec 9 at 3:48






    • 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
      Dec 9 at 12:02










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










    • Amazing. Can you remove the big bracket with number 300. I need only the fractions with the curves.
      – Simeon Simeonov
      Dec 9 at 12:54














    10












    10








    10






    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 Dec 9 at 16:24

























    answered Dec 8 at 21:54









    jfbu

    45.9k66147




    45.9k66147












    • I was kind of expecting it. :-)
      – egreg
      Dec 8 at 22:18










    • Conversely, why take the risk of an error in code? ;-)
      – R..
      Dec 9 at 3:48






    • 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
      Dec 9 at 12:02










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










    • Amazing. Can you remove the big bracket with number 300. I need only the fractions with the curves.
      – Simeon Simeonov
      Dec 9 at 12:54


















    • I was kind of expecting it. :-)
      – egreg
      Dec 8 at 22:18










    • Conversely, why take the risk of an error in code? ;-)
      – R..
      Dec 9 at 3:48






    • 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
      Dec 9 at 12:02










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










    • Amazing. Can you remove the big bracket with number 300. I need only the fractions with the curves.
      – Simeon Simeonov
      Dec 9 at 12:54
















    I was kind of expecting it. :-)
    – egreg
    Dec 8 at 22:18




    I was kind of expecting it. :-)
    – egreg
    Dec 8 at 22:18












    Conversely, why take the risk of an error in code? ;-)
    – R..
    Dec 9 at 3:48




    Conversely, why take the risk of an error in code? ;-)
    – R..
    Dec 9 at 3:48




    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
    Dec 9 at 12:02




    @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
    Dec 9 at 12:02












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




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












    Amazing. Can you remove the big bracket with number 300. I need only the fractions with the curves.
    – Simeon Simeonov
    Dec 9 at 12:54




    Amazing. Can you remove the big bracket with number 300. I need only the fractions with the curves.
    – Simeon Simeonov
    Dec 9 at 12:54











    13














    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


























      13














      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
























        13












        13








        13






        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 Dec 8 at 19:06









        egreg

        706k8618773159




        706k8618773159























            4














            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
              Dec 8 at 16:03










            • It should be curved up, like half circle.
              – Sigur
              Dec 8 at 18:00










            • I think they should be under and centered with the 1st row numbers. Lets see.
              – Sigur
              Dec 8 at 18:28










            • 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
              Dec 8 at 20:26
















            4














            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
              Dec 8 at 16:03










            • It should be curved up, like half circle.
              – Sigur
              Dec 8 at 18:00










            • I think they should be under and centered with the 1st row numbers. Lets see.
              – Sigur
              Dec 8 at 18:28










            • 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
              Dec 8 at 20:26














            4












            4








            4






            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 Dec 8 at 18:41

























            answered Dec 8 at 15:53









            Fran

            51k6112175




            51k6112175












            • But I think that the mark should be below the top numbers, not above the 2nd row numbers.
              – Sigur
              Dec 8 at 16:03










            • It should be curved up, like half circle.
              – Sigur
              Dec 8 at 18:00










            • I think they should be under and centered with the 1st row numbers. Lets see.
              – Sigur
              Dec 8 at 18:28










            • 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
              Dec 8 at 20:26


















            • But I think that the mark should be below the top numbers, not above the 2nd row numbers.
              – Sigur
              Dec 8 at 16:03










            • It should be curved up, like half circle.
              – Sigur
              Dec 8 at 18:00










            • I think they should be under and centered with the 1st row numbers. Lets see.
              – Sigur
              Dec 8 at 18:28










            • 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
              Dec 8 at 20:26
















            But I think that the mark should be below the top numbers, not above the 2nd row numbers.
            – Sigur
            Dec 8 at 16:03




            But I think that the mark should be below the top numbers, not above the 2nd row numbers.
            – Sigur
            Dec 8 at 16:03












            It should be curved up, like half circle.
            – Sigur
            Dec 8 at 18:00




            It should be curved up, like half circle.
            – Sigur
            Dec 8 at 18:00












            I think they should be under and centered with the 1st row numbers. Lets see.
            – Sigur
            Dec 8 at 18:28




            I think they should be under and centered with the 1st row numbers. Lets see.
            – Sigur
            Dec 8 at 18:28












            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
            Dec 8 at 20:26




            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
            Dec 8 at 20:26











            3














            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
              Dec 8 at 15:01
















            3














            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
              Dec 8 at 15:01














            3












            3








            3






            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 Dec 8 at 14:55









            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
              Dec 8 at 15:01


















            • I like it. But I need the curved lines above. I don't know if it's possible.Thank you!
              – Simeon Simeonov
              Dec 8 at 15:01
















            I like it. But I need the curved lines above. I don't know if it's possible.Thank you!
            – Simeon Simeonov
            Dec 8 at 15:01




            I like it. But I need the curved lines above. I don't know if it's possible.Thank you!
            – Simeon Simeonov
            Dec 8 at 15:01


















            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

            flock() on closed filehandle LOCK_FILE at /usr/bin/apt-mirror

            Mangá

             ⁒  ․,‪⁊‑⁙ ⁖, ⁇‒※‌, †,⁖‗‌⁝    ‾‸⁘,‖⁔⁣,⁂‾
”‑,‥–,‬ ,⁀‹⁋‴⁑ ‒ ,‴⁋”‼ ⁨,‷⁔„ ‰′,‐‚ ‥‡‎“‷⁃⁨⁅⁣,⁔
⁇‘⁔⁡⁏⁌⁡‿‶‏⁨ ⁣⁕⁖⁨⁩⁥‽⁀  ‴‬⁜‟ ⁃‣‧⁕‮ …‍⁨‴ ⁩,⁚⁖‫ ,‵ ⁀,‮⁝‣‣ ⁑  ⁂– ․, ‾‽ ‏⁁“⁗‸ ‾… ‹‡⁌⁎‸‘ ‡⁏⁌‪ ‵⁛ ‎⁨ ―⁦⁤⁄⁕