How to give a line more vertical space / height
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 with the {2}
getting enough space to look like it's above the top n
in the denominator {n^n}^{2}
.
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.)
line-spacing
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 with the {2}
getting enough space to look like it's above the top n
in the denominator {n^n}^{2}
.
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.)
line-spacing
1
Could you please add a minimal example which reproduces your problem?
– CarLaTeX
2 hours ago
You can add additional space using{fboxrule=0pt fbox{...}}
– John Kormylo
2 hours ago
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 with the {2}
getting enough space to look like it's above the top n
in the denominator {n^n}^{2}
.
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.)
line-spacing
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 with the {2}
getting enough space to look like it's above the top n
in the denominator {n^n}^{2}
.
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.)
line-spacing
line-spacing
edited 2 hours ago
Mico
277k30380768
277k30380768
asked 2 hours ago
Pro QPro Q
1385
1385
1
Could you please add a minimal example which reproduces your problem?
– CarLaTeX
2 hours ago
You can add additional space using{fboxrule=0pt fbox{...}}
– John Kormylo
2 hours ago
add a comment |
1
Could you please add a minimal example which reproduces your problem?
– CarLaTeX
2 hours ago
You can add additional space using{fboxrule=0pt fbox{...}}
– John Kormylo
2 hours ago
1
1
Could you please add a minimal example which reproduces your problem?
– CarLaTeX
2 hours ago
Could you please add a minimal example which reproduces your problem?
– CarLaTeX
2 hours ago
You can add additional space using
{fboxrule=0pt fbox{...}}
– John Kormylo
2 hours ago
You can add additional space using
{fboxrule=0pt fbox{...}}
– John Kormylo
2 hours ago
add a comment |
2 Answers
2
active
oldest
votes
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}
Another idea: Switch from{n^n}^{2}
ton^{n^2}
. :-)
– Mico
5 mins ago
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}
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-a-line-more-vertical-space-height%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
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}
Another idea: Switch from{n^n}^{2}
ton^{n^2}
. :-)
– Mico
5 mins ago
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}
Another idea: Switch from{n^n}^{2}
ton^{n^2}
. :-)
– Mico
5 mins ago
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 1 hour ago
marmotmarmot
96.1k4111212
96.1k4111212
Another idea: Switch from{n^n}^{2}
ton^{n^2}
. :-)
– Mico
5 mins ago
add a comment |
Another idea: Switch from{n^n}^{2}
ton^{n^2}
. :-)
– Mico
5 mins ago
Another idea: Switch from
{n^n}^{2}
to n^{n^2}
. :-)– Mico
5 mins ago
Another idea: Switch from
{n^n}^{2}
to n^{n^2}
. :-)– Mico
5 mins ago
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}
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}
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 6 mins ago
answered 1 hour ago
MicoMico
277k30380768
277k30380768
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-a-line-more-vertical-space-height%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
1
Could you please add a minimal example which reproduces your problem?
– CarLaTeX
2 hours ago
You can add additional space using
{fboxrule=0pt fbox{...}}
– John Kormylo
2 hours ago