How can I display numbers like 2 over 2, but not have them as fractions?
I want to show how to simplify a fraction. Something like simplyfy 27/18 by dividing the top and bottom by 9. But I don't want to show the 9 on the top and bottom as the fraction 9/9. Is there a way?
fractions
New contributor
add a comment |
I want to show how to simplify a fraction. Something like simplyfy 27/18 by dividing the top and bottom by 9. But I don't want to show the 9 on the top and bottom as the fraction 9/9. Is there a way?
fractions
New contributor
What have you tried? What do you want, in a quick sketch?
– JouleV
5 hours ago
Also, how do you want the stack aligned, vertically, and horizontally?
– Steven B. Segletes
4 hours ago
With amsmath, you can use the genfrac command, as in tex.stackexchange.com/q/80497/107497
– Teepeemm
3 hours ago
add a comment |
I want to show how to simplify a fraction. Something like simplyfy 27/18 by dividing the top and bottom by 9. But I don't want to show the 9 on the top and bottom as the fraction 9/9. Is there a way?
fractions
New contributor
I want to show how to simplify a fraction. Something like simplyfy 27/18 by dividing the top and bottom by 9. But I don't want to show the 9 on the top and bottom as the fraction 9/9. Is there a way?
fractions
fractions
New contributor
New contributor
New contributor
asked 5 hours ago
user187635user187635
161
161
New contributor
New contributor
What have you tried? What do you want, in a quick sketch?
– JouleV
5 hours ago
Also, how do you want the stack aligned, vertically, and horizontally?
– Steven B. Segletes
4 hours ago
With amsmath, you can use the genfrac command, as in tex.stackexchange.com/q/80497/107497
– Teepeemm
3 hours ago
add a comment |
What have you tried? What do you want, in a quick sketch?
– JouleV
5 hours ago
Also, how do you want the stack aligned, vertically, and horizontally?
– Steven B. Segletes
4 hours ago
With amsmath, you can use the genfrac command, as in tex.stackexchange.com/q/80497/107497
– Teepeemm
3 hours ago
What have you tried? What do you want, in a quick sketch?
– JouleV
5 hours ago
What have you tried? What do you want, in a quick sketch?
– JouleV
5 hours ago
Also, how do you want the stack aligned, vertically, and horizontally?
– Steven B. Segletes
4 hours ago
Also, how do you want the stack aligned, vertically, and horizontally?
– Steven B. Segletes
4 hours ago
With amsmath, you can use the genfrac command, as in tex.stackexchange.com/q/80497/107497
– Teepeemm
3 hours ago
With amsmath, you can use the genfrac command, as in tex.stackexchange.com/q/80497/107497
– Teepeemm
3 hours ago
add a comment |
2 Answers
2
active
oldest
votes
documentclass{article}
usepackage{stackengine}
stackMath
newcommanddivby[1]{%
setstackgap{L}{1.1baselineskip}%
renewcommandstacktype{L}%
stackanchor{div#1}{div#1}%
}
begin{document}
[
frac{27}{18}divby{9} = frac{3}{2}
]
end{document}
add a comment |
With not too prominent divisors:
documentclass{article}
usepackage{amsmath,mathtools}
newcommand{fracdiv}[3]{%
frac{#1mathrlap{scriptstylediv#3}}
{#2mathrlap{scriptstylediv#3}}%
hphantom{scriptstylediv#3}%
}
begin{document}
[
fracdiv{27}{18}{9}=frac{3}{2}
]
end{document}
add a comment |
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
});
}
});
user187635 is a new contributor. Be nice, and check out our Code of Conduct.
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%2f487794%2fhow-can-i-display-numbers-like-2-over-2-but-not-have-them-as-fractions%23new-answer', 'question_page');
}
);
Post as a guest
Required, but never shown
2 Answers
2
active
oldest
votes
2 Answers
2
active
oldest
votes
active
oldest
votes
active
oldest
votes
documentclass{article}
usepackage{stackengine}
stackMath
newcommanddivby[1]{%
setstackgap{L}{1.1baselineskip}%
renewcommandstacktype{L}%
stackanchor{div#1}{div#1}%
}
begin{document}
[
frac{27}{18}divby{9} = frac{3}{2}
]
end{document}
add a comment |
documentclass{article}
usepackage{stackengine}
stackMath
newcommanddivby[1]{%
setstackgap{L}{1.1baselineskip}%
renewcommandstacktype{L}%
stackanchor{div#1}{div#1}%
}
begin{document}
[
frac{27}{18}divby{9} = frac{3}{2}
]
end{document}
add a comment |
documentclass{article}
usepackage{stackengine}
stackMath
newcommanddivby[1]{%
setstackgap{L}{1.1baselineskip}%
renewcommandstacktype{L}%
stackanchor{div#1}{div#1}%
}
begin{document}
[
frac{27}{18}divby{9} = frac{3}{2}
]
end{document}
documentclass{article}
usepackage{stackengine}
stackMath
newcommanddivby[1]{%
setstackgap{L}{1.1baselineskip}%
renewcommandstacktype{L}%
stackanchor{div#1}{div#1}%
}
begin{document}
[
frac{27}{18}divby{9} = frac{3}{2}
]
end{document}
answered 3 hours ago
Steven B. SegletesSteven B. Segletes
163k9208421
163k9208421
add a comment |
add a comment |
With not too prominent divisors:
documentclass{article}
usepackage{amsmath,mathtools}
newcommand{fracdiv}[3]{%
frac{#1mathrlap{scriptstylediv#3}}
{#2mathrlap{scriptstylediv#3}}%
hphantom{scriptstylediv#3}%
}
begin{document}
[
fracdiv{27}{18}{9}=frac{3}{2}
]
end{document}
add a comment |
With not too prominent divisors:
documentclass{article}
usepackage{amsmath,mathtools}
newcommand{fracdiv}[3]{%
frac{#1mathrlap{scriptstylediv#3}}
{#2mathrlap{scriptstylediv#3}}%
hphantom{scriptstylediv#3}%
}
begin{document}
[
fracdiv{27}{18}{9}=frac{3}{2}
]
end{document}
add a comment |
With not too prominent divisors:
documentclass{article}
usepackage{amsmath,mathtools}
newcommand{fracdiv}[3]{%
frac{#1mathrlap{scriptstylediv#3}}
{#2mathrlap{scriptstylediv#3}}%
hphantom{scriptstylediv#3}%
}
begin{document}
[
fracdiv{27}{18}{9}=frac{3}{2}
]
end{document}
With not too prominent divisors:
documentclass{article}
usepackage{amsmath,mathtools}
newcommand{fracdiv}[3]{%
frac{#1mathrlap{scriptstylediv#3}}
{#2mathrlap{scriptstylediv#3}}%
hphantom{scriptstylediv#3}%
}
begin{document}
[
fracdiv{27}{18}{9}=frac{3}{2}
]
end{document}
answered 43 mins ago
egregegreg
737k8919373265
737k8919373265
add a comment |
add a comment |
user187635 is a new contributor. Be nice, and check out our Code of Conduct.
user187635 is a new contributor. Be nice, and check out our Code of Conduct.
user187635 is a new contributor. Be nice, and check out our Code of Conduct.
user187635 is a new contributor. Be nice, and check out our Code of Conduct.
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.
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%2f487794%2fhow-can-i-display-numbers-like-2-over-2-but-not-have-them-as-fractions%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
What have you tried? What do you want, in a quick sketch?
– JouleV
5 hours ago
Also, how do you want the stack aligned, vertically, and horizontally?
– Steven B. Segletes
4 hours ago
With amsmath, you can use the genfrac command, as in tex.stackexchange.com/q/80497/107497
– Teepeemm
3 hours ago