How to give the exponent terms in the denominator part of a frac expression more vertical space?
How can I give one line in LaTeX more vertical height so that something like
$frac{n^n}{{2}^{2n} * {n^n}^{2}}$
displays correctly? I mean, how to give the {2}
term more vertical displacement, so that it looks like it's above the top n
in the term {n^n}^{2}
in the denominator?
Note that increasing line spacing doesn't work because LaTeX does not fill the space with the characters. (When I searched for this ability, this was all that came up.)
fractions
add a comment |
How can I give one line in LaTeX more vertical height so that something like
$frac{n^n}{{2}^{2n} * {n^n}^{2}}$
displays correctly? I mean, how to give the {2}
term more vertical displacement, so that it looks like it's above the top n
in the term {n^n}^{2}
in the denominator?
Note that increasing line spacing doesn't work because LaTeX does not fill the space with the characters. (When I searched for this ability, this was all that came up.)
fractions
2
Could you please add a minimal example which reproduces your problem?
– CarLaTeX
Feb 1 at 4:13
You can add additional space using{fboxrule=0pt fbox{...}}
– John Kormylo
Feb 1 at 4:22
add a comment |
How can I give one line in LaTeX more vertical height so that something like
$frac{n^n}{{2}^{2n} * {n^n}^{2}}$
displays correctly? I mean, how to give the {2}
term more vertical displacement, so that it looks like it's above the top n
in the term {n^n}^{2}
in the denominator?
Note that increasing line spacing doesn't work because LaTeX does not fill the space with the characters. (When I searched for this ability, this was all that came up.)
fractions
How can I give one line in LaTeX more vertical height so that something like
$frac{n^n}{{2}^{2n} * {n^n}^{2}}$
displays correctly? I mean, how to give the {2}
term more vertical displacement, so that it looks like it's above the top n
in the term {n^n}^{2}
in the denominator?
Note that increasing line spacing doesn't work because LaTeX does not fill the space with the characters. (When I searched for this ability, this was all that came up.)
fractions
fractions
edited 3 mins ago
Mico
278k30380768
278k30380768
asked Feb 1 at 4:10
Pro QPro Q
1605
1605
2
Could you please add a minimal example which reproduces your problem?
– CarLaTeX
Feb 1 at 4:13
You can add additional space using{fboxrule=0pt fbox{...}}
– John Kormylo
Feb 1 at 4:22
add a comment |
2
Could you please add a minimal example which reproduces your problem?
– CarLaTeX
Feb 1 at 4:13
You can add additional space using{fboxrule=0pt fbox{...}}
– John Kormylo
Feb 1 at 4:22
2
2
Could you please add a minimal example which reproduces your problem?
– CarLaTeX
Feb 1 at 4:13
Could you please add a minimal example which reproduces your problem?
– CarLaTeX
Feb 1 at 4:13
You can add additional space using
{fboxrule=0pt fbox{...}}
– John Kormylo
Feb 1 at 4:22
You can add additional space using
{fboxrule=0pt fbox{...}}
– John Kormylo
Feb 1 at 4:22
add a comment |
2 Answers
2
active
oldest
votes
I think the denominator of your frac
expression suffers from two issues:
- a "cramped" look, i.e., the exponents are not raised much above the baseline
- first- and second-order exponents are raised to (very nearly) the same height
How to remedy these issues?
To address the first issue, switch to "uncramped" mode -- see the
ufrac
macro below.
To remedy the second issue, I suggest you switch from
{n^n}^2
ton^{n^2}
. (The two forms are the same, mathematically speaking, but they are quite differnt from a typographic point of view.) That, or use parentheses to visually "enclose" then^n
term.
Alternatively, consider switching from "standard"
frac
notation to inline-fraction notation.
Whatever else you do, please don't use the unnecessary *
multiplication symbol. If you can't do without an explicit multiplication symbol, do use cdot
, not *
.
documentclass{article}
%% "uncramped" frac macro:
%% (Source: @egreg [who else?!], https://tex.stackexchange.com/a/337334/5001)
makeatletter
newcommand{ufrac}[2]{%
frac{#1}{mathpaletteufrac@den{#2}}}
newcommand{ufrac@den}[2]{#1#2}
makeatother
begin{document}
inline math mode, verb+frac+ notation
$frac{n^n}{{2}^{2n} * {n^n}^{2}} % OP's expression
quad
ufrac{n^n}{2^{2n} n^{n^2}}
quad
ufrac{n^n}{2^{2n} (n^n)^2}$
bigskip
display math mode, verb+frac+ notation
smallskip
$displaystyle
frac{n^n}{2^{2n} n^{n^2}}
quad
ufrac{n^n}{2^{2n} n^{n^2}}
quad
ufrac{n^n}{2^{2n} (n^n)^2}$
bigskip
inline-frac notation
smallskip
$n^n/(2^{2n} n^{n^2})
quad
n^n/(2^{2n} (n^n)^2)$
end{document}
1
I specially like the 3rd option instead of the first one. We need more parentheses, but we guarantee not to destroy line spacing (and sometines it is visually better). Thanks for showing us the options!
– manooooh
Feb 1 at 7:10
add a comment |
Does this go in the right direction?
documentclass[fleqn]{article}
begin{document}
paragraph{Original:}
$frac{n^n}{{2}^{2n} * {n^n}^{2}}$
[frac{n^n}{{2}^{2n} * {n^n}^{2}}]
paragraph{Proposal:}
$frac{n^n}{{2}^{2n} * {mathstrut n^n}^{2}}$
[frac{n^n}{{2}^{2n} * {mathstrut n^n}^{2}}]
paragraph{With brackets:}
$frac{n^n}{{2}^{2n} * ( n^n)^{2}}$
[frac{n^n}{{2}^{2n} * (n^n)^{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
});
}
});
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%2f472826%2fhow-to-give-the-exponent-terms-in-the-denominator-part-of-a-frac-expression-mor%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
I think the denominator of your frac
expression suffers from two issues:
- a "cramped" look, i.e., the exponents are not raised much above the baseline
- first- and second-order exponents are raised to (very nearly) the same height
How to remedy these issues?
To address the first issue, switch to "uncramped" mode -- see the
ufrac
macro below.
To remedy the second issue, I suggest you switch from
{n^n}^2
ton^{n^2}
. (The two forms are the same, mathematically speaking, but they are quite differnt from a typographic point of view.) That, or use parentheses to visually "enclose" then^n
term.
Alternatively, consider switching from "standard"
frac
notation to inline-fraction notation.
Whatever else you do, please don't use the unnecessary *
multiplication symbol. If you can't do without an explicit multiplication symbol, do use cdot
, not *
.
documentclass{article}
%% "uncramped" frac macro:
%% (Source: @egreg [who else?!], https://tex.stackexchange.com/a/337334/5001)
makeatletter
newcommand{ufrac}[2]{%
frac{#1}{mathpaletteufrac@den{#2}}}
newcommand{ufrac@den}[2]{#1#2}
makeatother
begin{document}
inline math mode, verb+frac+ notation
$frac{n^n}{{2}^{2n} * {n^n}^{2}} % OP's expression
quad
ufrac{n^n}{2^{2n} n^{n^2}}
quad
ufrac{n^n}{2^{2n} (n^n)^2}$
bigskip
display math mode, verb+frac+ notation
smallskip
$displaystyle
frac{n^n}{2^{2n} n^{n^2}}
quad
ufrac{n^n}{2^{2n} n^{n^2}}
quad
ufrac{n^n}{2^{2n} (n^n)^2}$
bigskip
inline-frac notation
smallskip
$n^n/(2^{2n} n^{n^2})
quad
n^n/(2^{2n} (n^n)^2)$
end{document}
1
I specially like the 3rd option instead of the first one. We need more parentheses, but we guarantee not to destroy line spacing (and sometines it is visually better). Thanks for showing us the options!
– manooooh
Feb 1 at 7:10
add a comment |
I think the denominator of your frac
expression suffers from two issues:
- a "cramped" look, i.e., the exponents are not raised much above the baseline
- first- and second-order exponents are raised to (very nearly) the same height
How to remedy these issues?
To address the first issue, switch to "uncramped" mode -- see the
ufrac
macro below.
To remedy the second issue, I suggest you switch from
{n^n}^2
ton^{n^2}
. (The two forms are the same, mathematically speaking, but they are quite differnt from a typographic point of view.) That, or use parentheses to visually "enclose" then^n
term.
Alternatively, consider switching from "standard"
frac
notation to inline-fraction notation.
Whatever else you do, please don't use the unnecessary *
multiplication symbol. If you can't do without an explicit multiplication symbol, do use cdot
, not *
.
documentclass{article}
%% "uncramped" frac macro:
%% (Source: @egreg [who else?!], https://tex.stackexchange.com/a/337334/5001)
makeatletter
newcommand{ufrac}[2]{%
frac{#1}{mathpaletteufrac@den{#2}}}
newcommand{ufrac@den}[2]{#1#2}
makeatother
begin{document}
inline math mode, verb+frac+ notation
$frac{n^n}{{2}^{2n} * {n^n}^{2}} % OP's expression
quad
ufrac{n^n}{2^{2n} n^{n^2}}
quad
ufrac{n^n}{2^{2n} (n^n)^2}$
bigskip
display math mode, verb+frac+ notation
smallskip
$displaystyle
frac{n^n}{2^{2n} n^{n^2}}
quad
ufrac{n^n}{2^{2n} n^{n^2}}
quad
ufrac{n^n}{2^{2n} (n^n)^2}$
bigskip
inline-frac notation
smallskip
$n^n/(2^{2n} n^{n^2})
quad
n^n/(2^{2n} (n^n)^2)$
end{document}
1
I specially like the 3rd option instead of the first one. We need more parentheses, but we guarantee not to destroy line spacing (and sometines it is visually better). Thanks for showing us the options!
– manooooh
Feb 1 at 7:10
add a comment |
I think the denominator of your frac
expression suffers from two issues:
- a "cramped" look, i.e., the exponents are not raised much above the baseline
- first- and second-order exponents are raised to (very nearly) the same height
How to remedy these issues?
To address the first issue, switch to "uncramped" mode -- see the
ufrac
macro below.
To remedy the second issue, I suggest you switch from
{n^n}^2
ton^{n^2}
. (The two forms are the same, mathematically speaking, but they are quite differnt from a typographic point of view.) That, or use parentheses to visually "enclose" then^n
term.
Alternatively, consider switching from "standard"
frac
notation to inline-fraction notation.
Whatever else you do, please don't use the unnecessary *
multiplication symbol. If you can't do without an explicit multiplication symbol, do use cdot
, not *
.
documentclass{article}
%% "uncramped" frac macro:
%% (Source: @egreg [who else?!], https://tex.stackexchange.com/a/337334/5001)
makeatletter
newcommand{ufrac}[2]{%
frac{#1}{mathpaletteufrac@den{#2}}}
newcommand{ufrac@den}[2]{#1#2}
makeatother
begin{document}
inline math mode, verb+frac+ notation
$frac{n^n}{{2}^{2n} * {n^n}^{2}} % OP's expression
quad
ufrac{n^n}{2^{2n} n^{n^2}}
quad
ufrac{n^n}{2^{2n} (n^n)^2}$
bigskip
display math mode, verb+frac+ notation
smallskip
$displaystyle
frac{n^n}{2^{2n} n^{n^2}}
quad
ufrac{n^n}{2^{2n} n^{n^2}}
quad
ufrac{n^n}{2^{2n} (n^n)^2}$
bigskip
inline-frac notation
smallskip
$n^n/(2^{2n} n^{n^2})
quad
n^n/(2^{2n} (n^n)^2)$
end{document}
I think the denominator of your frac
expression suffers from two issues:
- a "cramped" look, i.e., the exponents are not raised much above the baseline
- first- and second-order exponents are raised to (very nearly) the same height
How to remedy these issues?
To address the first issue, switch to "uncramped" mode -- see the
ufrac
macro below.
To remedy the second issue, I suggest you switch from
{n^n}^2
ton^{n^2}
. (The two forms are the same, mathematically speaking, but they are quite differnt from a typographic point of view.) That, or use parentheses to visually "enclose" then^n
term.
Alternatively, consider switching from "standard"
frac
notation to inline-fraction notation.
Whatever else you do, please don't use the unnecessary *
multiplication symbol. If you can't do without an explicit multiplication symbol, do use cdot
, not *
.
documentclass{article}
%% "uncramped" frac macro:
%% (Source: @egreg [who else?!], https://tex.stackexchange.com/a/337334/5001)
makeatletter
newcommand{ufrac}[2]{%
frac{#1}{mathpaletteufrac@den{#2}}}
newcommand{ufrac@den}[2]{#1#2}
makeatother
begin{document}
inline math mode, verb+frac+ notation
$frac{n^n}{{2}^{2n} * {n^n}^{2}} % OP's expression
quad
ufrac{n^n}{2^{2n} n^{n^2}}
quad
ufrac{n^n}{2^{2n} (n^n)^2}$
bigskip
display math mode, verb+frac+ notation
smallskip
$displaystyle
frac{n^n}{2^{2n} n^{n^2}}
quad
ufrac{n^n}{2^{2n} n^{n^2}}
quad
ufrac{n^n}{2^{2n} (n^n)^2}$
bigskip
inline-frac notation
smallskip
$n^n/(2^{2n} n^{n^2})
quad
n^n/(2^{2n} (n^n)^2)$
end{document}
edited Feb 1 at 6:44
answered Feb 1 at 5:34
MicoMico
278k30380768
278k30380768
1
I specially like the 3rd option instead of the first one. We need more parentheses, but we guarantee not to destroy line spacing (and sometines it is visually better). Thanks for showing us the options!
– manooooh
Feb 1 at 7:10
add a comment |
1
I specially like the 3rd option instead of the first one. We need more parentheses, but we guarantee not to destroy line spacing (and sometines it is visually better). Thanks for showing us the options!
– manooooh
Feb 1 at 7:10
1
1
I specially like the 3rd option instead of the first one. We need more parentheses, but we guarantee not to destroy line spacing (and sometines it is visually better). Thanks for showing us the options!
– manooooh
Feb 1 at 7:10
I specially like the 3rd option instead of the first one. We need more parentheses, but we guarantee not to destroy line spacing (and sometines it is visually better). Thanks for showing us the options!
– manooooh
Feb 1 at 7:10
add a comment |
Does this go in the right direction?
documentclass[fleqn]{article}
begin{document}
paragraph{Original:}
$frac{n^n}{{2}^{2n} * {n^n}^{2}}$
[frac{n^n}{{2}^{2n} * {n^n}^{2}}]
paragraph{Proposal:}
$frac{n^n}{{2}^{2n} * {mathstrut n^n}^{2}}$
[frac{n^n}{{2}^{2n} * {mathstrut n^n}^{2}}]
paragraph{With brackets:}
$frac{n^n}{{2}^{2n} * ( n^n)^{2}}$
[frac{n^n}{{2}^{2n} * (n^n)^{2}}]
end{document}
add a comment |
Does this go in the right direction?
documentclass[fleqn]{article}
begin{document}
paragraph{Original:}
$frac{n^n}{{2}^{2n} * {n^n}^{2}}$
[frac{n^n}{{2}^{2n} * {n^n}^{2}}]
paragraph{Proposal:}
$frac{n^n}{{2}^{2n} * {mathstrut n^n}^{2}}$
[frac{n^n}{{2}^{2n} * {mathstrut n^n}^{2}}]
paragraph{With brackets:}
$frac{n^n}{{2}^{2n} * ( n^n)^{2}}$
[frac{n^n}{{2}^{2n} * (n^n)^{2}}]
end{document}
add a comment |
Does this go in the right direction?
documentclass[fleqn]{article}
begin{document}
paragraph{Original:}
$frac{n^n}{{2}^{2n} * {n^n}^{2}}$
[frac{n^n}{{2}^{2n} * {n^n}^{2}}]
paragraph{Proposal:}
$frac{n^n}{{2}^{2n} * {mathstrut n^n}^{2}}$
[frac{n^n}{{2}^{2n} * {mathstrut n^n}^{2}}]
paragraph{With brackets:}
$frac{n^n}{{2}^{2n} * ( n^n)^{2}}$
[frac{n^n}{{2}^{2n} * (n^n)^{2}}]
end{document}
Does this go in the right direction?
documentclass[fleqn]{article}
begin{document}
paragraph{Original:}
$frac{n^n}{{2}^{2n} * {n^n}^{2}}$
[frac{n^n}{{2}^{2n} * {n^n}^{2}}]
paragraph{Proposal:}
$frac{n^n}{{2}^{2n} * {mathstrut n^n}^{2}}$
[frac{n^n}{{2}^{2n} * {mathstrut n^n}^{2}}]
paragraph{With brackets:}
$frac{n^n}{{2}^{2n} * ( n^n)^{2}}$
[frac{n^n}{{2}^{2n} * (n^n)^{2}}]
end{document}
answered Feb 1 at 5:08
marmotmarmot
98.2k4113218
98.2k4113218
add a comment |
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.
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%2f472826%2fhow-to-give-the-exponent-terms-in-the-denominator-part-of-a-frac-expression-mor%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
2
Could you please add a minimal example which reproduces your problem?
– CarLaTeX
Feb 1 at 4:13
You can add additional space using
{fboxrule=0pt fbox{...}}
– John Kormylo
Feb 1 at 4:22