How to remove the topsep of align* environment in proof environment?
Here is my code:
documentclass{article}
usepackage{amsthm,amsmath}
begin{document}
begin{proof}
begin{align*}
F(x) & = P(Xle x)\
& = P(g^{-1}(X)le g^{-1}(x))
end{align*}
end{proof}
begin{proof}
I want the formular to show on the same line with textit{proof.}
begin{align*}
F(x) & = P(Xle x)\
& = P(g^{-1}(X)le g^{-1}(x))
end{align*}
end{proof}
end{document}
Here is the output:
I want the formular to show on the same line where the words "proof" is in. Hope for your help and thanks in advance.
spacing vertical-alignment align
add a comment |
Here is my code:
documentclass{article}
usepackage{amsthm,amsmath}
begin{document}
begin{proof}
begin{align*}
F(x) & = P(Xle x)\
& = P(g^{-1}(X)le g^{-1}(x))
end{align*}
end{proof}
begin{proof}
I want the formular to show on the same line with textit{proof.}
begin{align*}
F(x) & = P(Xle x)\
& = P(g^{-1}(X)le g^{-1}(x))
end{align*}
end{proof}
end{document}
Here is the output:
I want the formular to show on the same line where the words "proof" is in. Hope for your help and thanks in advance.
spacing vertical-alignment align
add a comment |
Here is my code:
documentclass{article}
usepackage{amsthm,amsmath}
begin{document}
begin{proof}
begin{align*}
F(x) & = P(Xle x)\
& = P(g^{-1}(X)le g^{-1}(x))
end{align*}
end{proof}
begin{proof}
I want the formular to show on the same line with textit{proof.}
begin{align*}
F(x) & = P(Xle x)\
& = P(g^{-1}(X)le g^{-1}(x))
end{align*}
end{proof}
end{document}
Here is the output:
I want the formular to show on the same line where the words "proof" is in. Hope for your help and thanks in advance.
spacing vertical-alignment align
Here is my code:
documentclass{article}
usepackage{amsthm,amsmath}
begin{document}
begin{proof}
begin{align*}
F(x) & = P(Xle x)\
& = P(g^{-1}(X)le g^{-1}(x))
end{align*}
end{proof}
begin{proof}
I want the formular to show on the same line with textit{proof.}
begin{align*}
F(x) & = P(Xle x)\
& = P(g^{-1}(X)le g^{-1}(x))
end{align*}
end{proof}
end{document}
Here is the output:
I want the formular to show on the same line where the words "proof" is in. Hope for your help and thanks in advance.
spacing vertical-alignment align
spacing vertical-alignment align
asked Feb 27 at 4:52
Good boyGood boy
1133
1133
add a comment |
add a comment |
2 Answers
2
active
oldest
votes
like this?
documentclass{article}
usepackage{amsthm,amsmath}
begin{document}
begin{proof}hfil $begin{aligned}[t]
F(x) & = P(Xle x)\
& = P(g^{-1}(X)le g^{-1}(x))
end{aligned}$
vskip-baselineskip % needed to align `qed` to bottom equation
end{proof}
end{document}
add a comment |
You may consider the ntheorem
package:
documentclass{article}
usepackage{amsmath,amssymb}
usepackage[amsmath,thmmarks]{ntheorem}
begingroup
theoremstyle{nonumberplain}
theoremheaderfont{itshape}
theorembodyfont{normalfont}
theoremsymbol{mbox{$Box$}}
newtheorem{proof}{Proof}
endgroup
begin{document}
begin{proof}
The proof of this theorem is very simple:
begin{align*}
1 + 1 & = 2 \
10 + 10 & = 20
end{align*}
end{proof}
end{document}
1
Hmm, I don't think this really helps here. What OP wants does not consist of "The proof of this theorem is very simple:".
– JouleV
Feb 27 at 8:08
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%2f476871%2fhow-to-remove-the-topsep-of-align-environment-in-proof-environment%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
like this?
documentclass{article}
usepackage{amsthm,amsmath}
begin{document}
begin{proof}hfil $begin{aligned}[t]
F(x) & = P(Xle x)\
& = P(g^{-1}(X)le g^{-1}(x))
end{aligned}$
vskip-baselineskip % needed to align `qed` to bottom equation
end{proof}
end{document}
add a comment |
like this?
documentclass{article}
usepackage{amsthm,amsmath}
begin{document}
begin{proof}hfil $begin{aligned}[t]
F(x) & = P(Xle x)\
& = P(g^{-1}(X)le g^{-1}(x))
end{aligned}$
vskip-baselineskip % needed to align `qed` to bottom equation
end{proof}
end{document}
add a comment |
like this?
documentclass{article}
usepackage{amsthm,amsmath}
begin{document}
begin{proof}hfil $begin{aligned}[t]
F(x) & = P(Xle x)\
& = P(g^{-1}(X)le g^{-1}(x))
end{aligned}$
vskip-baselineskip % needed to align `qed` to bottom equation
end{proof}
end{document}
like this?
documentclass{article}
usepackage{amsthm,amsmath}
begin{document}
begin{proof}hfil $begin{aligned}[t]
F(x) & = P(Xle x)\
& = P(g^{-1}(X)le g^{-1}(x))
end{aligned}$
vskip-baselineskip % needed to align `qed` to bottom equation
end{proof}
end{document}
answered Feb 27 at 5:08
ZarkoZarko
126k868165
126k868165
add a comment |
add a comment |
You may consider the ntheorem
package:
documentclass{article}
usepackage{amsmath,amssymb}
usepackage[amsmath,thmmarks]{ntheorem}
begingroup
theoremstyle{nonumberplain}
theoremheaderfont{itshape}
theorembodyfont{normalfont}
theoremsymbol{mbox{$Box$}}
newtheorem{proof}{Proof}
endgroup
begin{document}
begin{proof}
The proof of this theorem is very simple:
begin{align*}
1 + 1 & = 2 \
10 + 10 & = 20
end{align*}
end{proof}
end{document}
1
Hmm, I don't think this really helps here. What OP wants does not consist of "The proof of this theorem is very simple:".
– JouleV
Feb 27 at 8:08
add a comment |
You may consider the ntheorem
package:
documentclass{article}
usepackage{amsmath,amssymb}
usepackage[amsmath,thmmarks]{ntheorem}
begingroup
theoremstyle{nonumberplain}
theoremheaderfont{itshape}
theorembodyfont{normalfont}
theoremsymbol{mbox{$Box$}}
newtheorem{proof}{Proof}
endgroup
begin{document}
begin{proof}
The proof of this theorem is very simple:
begin{align*}
1 + 1 & = 2 \
10 + 10 & = 20
end{align*}
end{proof}
end{document}
1
Hmm, I don't think this really helps here. What OP wants does not consist of "The proof of this theorem is very simple:".
– JouleV
Feb 27 at 8:08
add a comment |
You may consider the ntheorem
package:
documentclass{article}
usepackage{amsmath,amssymb}
usepackage[amsmath,thmmarks]{ntheorem}
begingroup
theoremstyle{nonumberplain}
theoremheaderfont{itshape}
theorembodyfont{normalfont}
theoremsymbol{mbox{$Box$}}
newtheorem{proof}{Proof}
endgroup
begin{document}
begin{proof}
The proof of this theorem is very simple:
begin{align*}
1 + 1 & = 2 \
10 + 10 & = 20
end{align*}
end{proof}
end{document}
You may consider the ntheorem
package:
documentclass{article}
usepackage{amsmath,amssymb}
usepackage[amsmath,thmmarks]{ntheorem}
begingroup
theoremstyle{nonumberplain}
theoremheaderfont{itshape}
theorembodyfont{normalfont}
theoremsymbol{mbox{$Box$}}
newtheorem{proof}{Proof}
endgroup
begin{document}
begin{proof}
The proof of this theorem is very simple:
begin{align*}
1 + 1 & = 2 \
10 + 10 & = 20
end{align*}
end{proof}
end{document}
answered Feb 27 at 5:19
stone-zengstone-zeng
1,295417
1,295417
1
Hmm, I don't think this really helps here. What OP wants does not consist of "The proof of this theorem is very simple:".
– JouleV
Feb 27 at 8:08
add a comment |
1
Hmm, I don't think this really helps here. What OP wants does not consist of "The proof of this theorem is very simple:".
– JouleV
Feb 27 at 8:08
1
1
Hmm, I don't think this really helps here. What OP wants does not consist of "The proof of this theorem is very simple:".
– JouleV
Feb 27 at 8:08
Hmm, I don't think this really helps here. What OP wants does not consist of "The proof of this theorem is very simple:".
– JouleV
Feb 27 at 8:08
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%2f476871%2fhow-to-remove-the-topsep-of-align-environment-in-proof-environment%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