Integral with fraction and square root produces wrong vertical alignment
This code produces an ankward vertical alignment which involves the integral symbol and the fraction with the square root at the denominator. Why? How can I fix this?
documentclass[a4paper]{article}
usepackage{amsmath}
usepackage{amssymb}
usepackage{amsthm}
usepackage{mathtools}
begin{document}
[
int_{x_0}^{x(t)} ! ! ! frac{1}{sqrt{frac{2}{m}bigl
(E_0-V(x)bigr)}} , dx = t-t_0
]
end{document}
spacing vertical-alignment fractions integral sqrt
|
show 5 more comments
This code produces an ankward vertical alignment which involves the integral symbol and the fraction with the square root at the denominator. Why? How can I fix this?
documentclass[a4paper]{article}
usepackage{amsmath}
usepackage{amssymb}
usepackage{amsthm}
usepackage{mathtools}
begin{document}
[
int_{x_0}^{x(t)} ! ! ! frac{1}{sqrt{frac{2}{m}bigl
(E_0-V(x)bigr)}} , dx = t-t_0
]
end{document}
spacing vertical-alignment fractions integral sqrt
What is awkward for you and how would you like it to look?
– TeXnician
2 hours ago
I've also tried using the "bigints" package to get a bigger integral symbol, but it doesn't do the job, in fact the symbol won't get aligned properly anyway... Answering TeXnician: the integral symbol should be vertically aligned with the square root symbol at the denominator.
– Lele99_DD
2 hours ago
1
Does any of the answers to this question help?
– marmot
2 hours ago
2
I see nothing strange.
– egreg
2 hours ago
1
If it was not for the negative spaces and the non-upright differential d, I'd agree with @egreg.
– marmot
2 hours ago
|
show 5 more comments
This code produces an ankward vertical alignment which involves the integral symbol and the fraction with the square root at the denominator. Why? How can I fix this?
documentclass[a4paper]{article}
usepackage{amsmath}
usepackage{amssymb}
usepackage{amsthm}
usepackage{mathtools}
begin{document}
[
int_{x_0}^{x(t)} ! ! ! frac{1}{sqrt{frac{2}{m}bigl
(E_0-V(x)bigr)}} , dx = t-t_0
]
end{document}
spacing vertical-alignment fractions integral sqrt
This code produces an ankward vertical alignment which involves the integral symbol and the fraction with the square root at the denominator. Why? How can I fix this?
documentclass[a4paper]{article}
usepackage{amsmath}
usepackage{amssymb}
usepackage{amsthm}
usepackage{mathtools}
begin{document}
[
int_{x_0}^{x(t)} ! ! ! frac{1}{sqrt{frac{2}{m}bigl
(E_0-V(x)bigr)}} , dx = t-t_0
]
end{document}
spacing vertical-alignment fractions integral sqrt
spacing vertical-alignment fractions integral sqrt
asked 2 hours ago
Lele99_DD
795
795
What is awkward for you and how would you like it to look?
– TeXnician
2 hours ago
I've also tried using the "bigints" package to get a bigger integral symbol, but it doesn't do the job, in fact the symbol won't get aligned properly anyway... Answering TeXnician: the integral symbol should be vertically aligned with the square root symbol at the denominator.
– Lele99_DD
2 hours ago
1
Does any of the answers to this question help?
– marmot
2 hours ago
2
I see nothing strange.
– egreg
2 hours ago
1
If it was not for the negative spaces and the non-upright differential d, I'd agree with @egreg.
– marmot
2 hours ago
|
show 5 more comments
What is awkward for you and how would you like it to look?
– TeXnician
2 hours ago
I've also tried using the "bigints" package to get a bigger integral symbol, but it doesn't do the job, in fact the symbol won't get aligned properly anyway... Answering TeXnician: the integral symbol should be vertically aligned with the square root symbol at the denominator.
– Lele99_DD
2 hours ago
1
Does any of the answers to this question help?
– marmot
2 hours ago
2
I see nothing strange.
– egreg
2 hours ago
1
If it was not for the negative spaces and the non-upright differential d, I'd agree with @egreg.
– marmot
2 hours ago
What is awkward for you and how would you like it to look?
– TeXnician
2 hours ago
What is awkward for you and how would you like it to look?
– TeXnician
2 hours ago
I've also tried using the "bigints" package to get a bigger integral symbol, but it doesn't do the job, in fact the symbol won't get aligned properly anyway... Answering TeXnician: the integral symbol should be vertically aligned with the square root symbol at the denominator.
– Lele99_DD
2 hours ago
I've also tried using the "bigints" package to get a bigger integral symbol, but it doesn't do the job, in fact the symbol won't get aligned properly anyway... Answering TeXnician: the integral symbol should be vertically aligned with the square root symbol at the denominator.
– Lele99_DD
2 hours ago
1
1
Does any of the answers to this question help?
– marmot
2 hours ago
Does any of the answers to this question help?
– marmot
2 hours ago
2
2
I see nothing strange.
– egreg
2 hours ago
I see nothing strange.
– egreg
2 hours ago
1
1
If it was not for the negative spaces and the non-upright differential d, I'd agree with @egreg.
– marmot
2 hours ago
If it was not for the negative spaces and the non-upright differential d, I'd agree with @egreg.
– marmot
2 hours ago
|
show 5 more comments
3 Answers
3
active
oldest
votes
That's how it's supposed to be typeset.
Growing the integral symbol is out of the question, in my opinion. Moving it down is similarly disgraceful.
documentclass[a4paper]{article}
usepackage{amsmath}
usepackage{amssymb}
usepackage{amsthm}
usepackage{mathtools}
begin{document}
noindent
No square root
[
int_{x_0}^{x(t)}
biggl(frac{2}{m}bigl(E_0-V(x)bigr)biggr)^{!-1/2}, dx = t-t_0
]
Smashed square root
[
int_{x_0}^{x(t)}
frac{1}{sqrt{smash[b]{frac{2}{m}}(E_0-V(x))}} , dx = t-t_0
]
Normal
[
int_{x_0}^{x(t)}
frac{1}{sqrt{frac{2}{m}bigl(E_0-V(x)bigr)}} , dx = t-t_0
]
end{document}
add a comment |
I probably would do
documentclass[a4paper]{article}
usepackage{amsmath}
begin{document}
[
intlimits_{x_0}^{x(t)} frac{1}{sqrt{frac{2}{m}bigl
(E_0-V(xi)bigr)}} , mathrm{d}xi = t-t_0
]
end{document}
to avoid confusion between the upper limit of the integral, x(t)
, and the integration variable as well between some quantity d
(like a diameter, say) and the differential d
. intlimits
makes the integral symbol look higher.
add a comment |
As marmot suggested, I tried using the scalerel package and I like the outcome. It's not perfect, but I think it's acceptable. The integral symbol is finally aligned with the bottom of the fraction.
documentclass[a4paper]{article}
usepackage{amsmath}
usepackage{amssymb}
usepackage{amsthm}
usepackage{mathtools}
usepackage{scalerel}
begin{document}
defx{frac{1}{sqrt{frac{2}{m}bigl(E_0-V
(xi)bigr)}}}
[
{scalerel*[2.2ex]{int}{x}}_{!!!x_0}^{,x(t)}x,,
dxi , = , t-t_0
]
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%2f467920%2fintegral-with-fraction-and-square-root-produces-wrong-vertical-alignment%23new-answer', 'question_page');
}
);
Post as a guest
Required, but never shown
3 Answers
3
active
oldest
votes
3 Answers
3
active
oldest
votes
active
oldest
votes
active
oldest
votes
That's how it's supposed to be typeset.
Growing the integral symbol is out of the question, in my opinion. Moving it down is similarly disgraceful.
documentclass[a4paper]{article}
usepackage{amsmath}
usepackage{amssymb}
usepackage{amsthm}
usepackage{mathtools}
begin{document}
noindent
No square root
[
int_{x_0}^{x(t)}
biggl(frac{2}{m}bigl(E_0-V(x)bigr)biggr)^{!-1/2}, dx = t-t_0
]
Smashed square root
[
int_{x_0}^{x(t)}
frac{1}{sqrt{smash[b]{frac{2}{m}}(E_0-V(x))}} , dx = t-t_0
]
Normal
[
int_{x_0}^{x(t)}
frac{1}{sqrt{frac{2}{m}bigl(E_0-V(x)bigr)}} , dx = t-t_0
]
end{document}
add a comment |
That's how it's supposed to be typeset.
Growing the integral symbol is out of the question, in my opinion. Moving it down is similarly disgraceful.
documentclass[a4paper]{article}
usepackage{amsmath}
usepackage{amssymb}
usepackage{amsthm}
usepackage{mathtools}
begin{document}
noindent
No square root
[
int_{x_0}^{x(t)}
biggl(frac{2}{m}bigl(E_0-V(x)bigr)biggr)^{!-1/2}, dx = t-t_0
]
Smashed square root
[
int_{x_0}^{x(t)}
frac{1}{sqrt{smash[b]{frac{2}{m}}(E_0-V(x))}} , dx = t-t_0
]
Normal
[
int_{x_0}^{x(t)}
frac{1}{sqrt{frac{2}{m}bigl(E_0-V(x)bigr)}} , dx = t-t_0
]
end{document}
add a comment |
That's how it's supposed to be typeset.
Growing the integral symbol is out of the question, in my opinion. Moving it down is similarly disgraceful.
documentclass[a4paper]{article}
usepackage{amsmath}
usepackage{amssymb}
usepackage{amsthm}
usepackage{mathtools}
begin{document}
noindent
No square root
[
int_{x_0}^{x(t)}
biggl(frac{2}{m}bigl(E_0-V(x)bigr)biggr)^{!-1/2}, dx = t-t_0
]
Smashed square root
[
int_{x_0}^{x(t)}
frac{1}{sqrt{smash[b]{frac{2}{m}}(E_0-V(x))}} , dx = t-t_0
]
Normal
[
int_{x_0}^{x(t)}
frac{1}{sqrt{frac{2}{m}bigl(E_0-V(x)bigr)}} , dx = t-t_0
]
end{document}
That's how it's supposed to be typeset.
Growing the integral symbol is out of the question, in my opinion. Moving it down is similarly disgraceful.
documentclass[a4paper]{article}
usepackage{amsmath}
usepackage{amssymb}
usepackage{amsthm}
usepackage{mathtools}
begin{document}
noindent
No square root
[
int_{x_0}^{x(t)}
biggl(frac{2}{m}bigl(E_0-V(x)bigr)biggr)^{!-1/2}, dx = t-t_0
]
Smashed square root
[
int_{x_0}^{x(t)}
frac{1}{sqrt{smash[b]{frac{2}{m}}(E_0-V(x))}} , dx = t-t_0
]
Normal
[
int_{x_0}^{x(t)}
frac{1}{sqrt{frac{2}{m}bigl(E_0-V(x)bigr)}} , dx = t-t_0
]
end{document}
answered 2 hours ago
egreg
708k8618823164
708k8618823164
add a comment |
add a comment |
I probably would do
documentclass[a4paper]{article}
usepackage{amsmath}
begin{document}
[
intlimits_{x_0}^{x(t)} frac{1}{sqrt{frac{2}{m}bigl
(E_0-V(xi)bigr)}} , mathrm{d}xi = t-t_0
]
end{document}
to avoid confusion between the upper limit of the integral, x(t)
, and the integration variable as well between some quantity d
(like a diameter, say) and the differential d
. intlimits
makes the integral symbol look higher.
add a comment |
I probably would do
documentclass[a4paper]{article}
usepackage{amsmath}
begin{document}
[
intlimits_{x_0}^{x(t)} frac{1}{sqrt{frac{2}{m}bigl
(E_0-V(xi)bigr)}} , mathrm{d}xi = t-t_0
]
end{document}
to avoid confusion between the upper limit of the integral, x(t)
, and the integration variable as well between some quantity d
(like a diameter, say) and the differential d
. intlimits
makes the integral symbol look higher.
add a comment |
I probably would do
documentclass[a4paper]{article}
usepackage{amsmath}
begin{document}
[
intlimits_{x_0}^{x(t)} frac{1}{sqrt{frac{2}{m}bigl
(E_0-V(xi)bigr)}} , mathrm{d}xi = t-t_0
]
end{document}
to avoid confusion between the upper limit of the integral, x(t)
, and the integration variable as well between some quantity d
(like a diameter, say) and the differential d
. intlimits
makes the integral symbol look higher.
I probably would do
documentclass[a4paper]{article}
usepackage{amsmath}
begin{document}
[
intlimits_{x_0}^{x(t)} frac{1}{sqrt{frac{2}{m}bigl
(E_0-V(xi)bigr)}} , mathrm{d}xi = t-t_0
]
end{document}
to avoid confusion between the upper limit of the integral, x(t)
, and the integration variable as well between some quantity d
(like a diameter, say) and the differential d
. intlimits
makes the integral symbol look higher.
answered 2 hours ago
marmot
87.1k4100187
87.1k4100187
add a comment |
add a comment |
As marmot suggested, I tried using the scalerel package and I like the outcome. It's not perfect, but I think it's acceptable. The integral symbol is finally aligned with the bottom of the fraction.
documentclass[a4paper]{article}
usepackage{amsmath}
usepackage{amssymb}
usepackage{amsthm}
usepackage{mathtools}
usepackage{scalerel}
begin{document}
defx{frac{1}{sqrt{frac{2}{m}bigl(E_0-V
(xi)bigr)}}}
[
{scalerel*[2.2ex]{int}{x}}_{!!!x_0}^{,x(t)}x,,
dxi , = , t-t_0
]
end{document}
add a comment |
As marmot suggested, I tried using the scalerel package and I like the outcome. It's not perfect, but I think it's acceptable. The integral symbol is finally aligned with the bottom of the fraction.
documentclass[a4paper]{article}
usepackage{amsmath}
usepackage{amssymb}
usepackage{amsthm}
usepackage{mathtools}
usepackage{scalerel}
begin{document}
defx{frac{1}{sqrt{frac{2}{m}bigl(E_0-V
(xi)bigr)}}}
[
{scalerel*[2.2ex]{int}{x}}_{!!!x_0}^{,x(t)}x,,
dxi , = , t-t_0
]
end{document}
add a comment |
As marmot suggested, I tried using the scalerel package and I like the outcome. It's not perfect, but I think it's acceptable. The integral symbol is finally aligned with the bottom of the fraction.
documentclass[a4paper]{article}
usepackage{amsmath}
usepackage{amssymb}
usepackage{amsthm}
usepackage{mathtools}
usepackage{scalerel}
begin{document}
defx{frac{1}{sqrt{frac{2}{m}bigl(E_0-V
(xi)bigr)}}}
[
{scalerel*[2.2ex]{int}{x}}_{!!!x_0}^{,x(t)}x,,
dxi , = , t-t_0
]
end{document}
As marmot suggested, I tried using the scalerel package and I like the outcome. It's not perfect, but I think it's acceptable. The integral symbol is finally aligned with the bottom of the fraction.
documentclass[a4paper]{article}
usepackage{amsmath}
usepackage{amssymb}
usepackage{amsthm}
usepackage{mathtools}
usepackage{scalerel}
begin{document}
defx{frac{1}{sqrt{frac{2}{m}bigl(E_0-V
(xi)bigr)}}}
[
{scalerel*[2.2ex]{int}{x}}_{!!!x_0}^{,x(t)}x,,
dxi , = , t-t_0
]
end{document}
edited 1 hour ago
answered 1 hour ago
Lele99_DD
795
795
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.
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%2f467920%2fintegral-with-fraction-and-square-root-produces-wrong-vertical-alignment%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 is awkward for you and how would you like it to look?
– TeXnician
2 hours ago
I've also tried using the "bigints" package to get a bigger integral symbol, but it doesn't do the job, in fact the symbol won't get aligned properly anyway... Answering TeXnician: the integral symbol should be vertically aligned with the square root symbol at the denominator.
– Lele99_DD
2 hours ago
1
Does any of the answers to this question help?
– marmot
2 hours ago
2
I see nothing strange.
– egreg
2 hours ago
1
If it was not for the negative spaces and the non-upright differential d, I'd agree with @egreg.
– marmot
2 hours ago