Fractions common denominator
Multi tool use
up vote
8
down vote
favorite
I am trying to receive this look of fractions
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
add a comment |
up vote
8
down vote
favorite
I am trying to receive this look of fractions
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
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
add a comment |
up vote
8
down vote
favorite
up vote
8
down vote
favorite
I am trying to receive this look of fractions
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
I am trying to receive this look of fractions
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
fractions
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
add a comment |
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
add a comment |
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}
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}
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 thefracm
globally defined to use thexintiiQuo{simeonlcm}{#2}
operation. In this approach thefracm
should arguably be a macro whose usage is strictly restricted to insidefractionswithlcm
argument...
– jfbu
yesterday
@egreg your answer withoutexpl3
/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
|
show 5 more comments
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}
add a comment |
up vote
4
down vote
With widehat
instead of curves:
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
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}
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
add a comment |
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}
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
add a comment |
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}
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}
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 thefracm
globally defined to use thexintiiQuo{simeonlcm}{#2}
operation. In this approach thefracm
should arguably be a macro whose usage is strictly restricted to insidefractionswithlcm
argument...
– jfbu
yesterday
@egreg your answer withoutexpl3
/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
|
show 5 more comments
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}
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}
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 thefracm
globally defined to use thexintiiQuo{simeonlcm}{#2}
operation. In this approach thefracm
should arguably be a macro whose usage is strictly restricted to insidefractionswithlcm
argument...
– jfbu
yesterday
@egreg your answer withoutexpl3
/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
|
show 5 more comments
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}
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}
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}
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}
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 thefracm
globally defined to use thexintiiQuo{simeonlcm}{#2}
operation. In this approach thefracm
should arguably be a macro whose usage is strictly restricted to insidefractionswithlcm
argument...
– jfbu
yesterday
@egreg your answer withoutexpl3
/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
|
show 5 more comments
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 thefracm
globally defined to use thexintiiQuo{simeonlcm}{#2}
operation. In this approach thefracm
should arguably be a macro whose usage is strictly restricted to insidefractionswithlcm
argument...
– jfbu
yesterday
@egreg your answer withoutexpl3
/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
|
show 5 more comments
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}
add a comment |
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}
add a comment |
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}
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}
answered 2 days ago
egreg
703k8618753154
703k8618753154
add a comment |
add a comment |
up vote
4
down vote
With widehat
instead of curves:
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
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}
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
add a comment |
up vote
4
down vote
With widehat
instead of curves:
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
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}
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
add a comment |
up vote
4
down vote
up vote
4
down vote
With widehat
instead of curves:
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
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}
With widehat
instead of curves:
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
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}
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
add a comment |
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
add a comment |
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}
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
add a comment |
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}
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
add a comment |
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}
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}
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
add a comment |
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
add a comment |
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.
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
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
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
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
J SstuV6uT TCF7,5pWU QMtTg4jvvngpqAYEnShQzQltmZkfZHwc 5XkZruKCRcvW2jn3LWlF
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