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
Dec 30 '18 at 16:17
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
Dec 30 '18 at 16:18
1
Does any of the answers to this question help?
– marmot
Dec 30 '18 at 16:34
2
I see nothing strange.
– egreg
Dec 30 '18 at 16:36
1
If it was not for the negative spaces and the non-upright differential d, I'd agree with @egreg.
– marmot
Dec 30 '18 at 16:42
|
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 Dec 30 '18 at 16:14
Lele99_DDLele99_DD
947
947
What is awkward for you and how would you like it to look?
– TeXnician
Dec 30 '18 at 16:17
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
Dec 30 '18 at 16:18
1
Does any of the answers to this question help?
– marmot
Dec 30 '18 at 16:34
2
I see nothing strange.
– egreg
Dec 30 '18 at 16:36
1
If it was not for the negative spaces and the non-upright differential d, I'd agree with @egreg.
– marmot
Dec 30 '18 at 16:42
|
show 5 more comments
What is awkward for you and how would you like it to look?
– TeXnician
Dec 30 '18 at 16:17
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
Dec 30 '18 at 16:18
1
Does any of the answers to this question help?
– marmot
Dec 30 '18 at 16:34
2
I see nothing strange.
– egreg
Dec 30 '18 at 16:36
1
If it was not for the negative spaces and the non-upright differential d, I'd agree with @egreg.
– marmot
Dec 30 '18 at 16:42
What is awkward for you and how would you like it to look?
– TeXnician
Dec 30 '18 at 16:17
What is awkward for you and how would you like it to look?
– TeXnician
Dec 30 '18 at 16:17
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
Dec 30 '18 at 16:18
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
Dec 30 '18 at 16:18
1
1
Does any of the answers to this question help?
– marmot
Dec 30 '18 at 16:34
Does any of the answers to this question help?
– marmot
Dec 30 '18 at 16:34
2
2
I see nothing strange.
– egreg
Dec 30 '18 at 16:36
I see nothing strange.
– egreg
Dec 30 '18 at 16:36
1
1
If it was not for the negative spaces and the non-upright differential d, I'd agree with @egreg.
– marmot
Dec 30 '18 at 16:42
If it was not for the negative spaces and the non-upright differential d, I'd agree with @egreg.
– marmot
Dec 30 '18 at 16:42
|
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 Dec 30 '18 at 16:43
egregegreg
716k8619023191
716k8619023191
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 Dec 30 '18 at 16:57
marmotmarmot
96k4111212
96k4111212
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 Dec 30 '18 at 17:14
answered Dec 30 '18 at 17:09
Lele99_DDLele99_DD
947
947
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%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
Dec 30 '18 at 16:17
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
Dec 30 '18 at 16:18
1
Does any of the answers to this question help?
– marmot
Dec 30 '18 at 16:34
2
I see nothing strange.
– egreg
Dec 30 '18 at 16:36
1
If it was not for the negative spaces and the non-upright differential d, I'd agree with @egreg.
– marmot
Dec 30 '18 at 16:42