How to remove the topsep of align* environment in proof environment?












2















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:
enter image description here



I want the formular to show on the same line where the words "proof" is in. Hope for your help and thanks in advance.










share|improve this question



























    2















    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:
    enter image description here



    I want the formular to show on the same line where the words "proof" is in. Hope for your help and thanks in advance.










    share|improve this question

























      2












      2








      2








      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:
      enter image description here



      I want the formular to show on the same line where the words "proof" is in. Hope for your help and thanks in advance.










      share|improve this question














      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:
      enter image description here



      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






      share|improve this question













      share|improve this question











      share|improve this question




      share|improve this question










      asked Feb 27 at 4:52









      Good boyGood boy

      1133




      1133






















          2 Answers
          2






          active

          oldest

          votes


















          2














          like this?



          enter image description here



          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}





          share|improve this answer































            0














            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}


            enter image description here






            share|improve this answer



















            • 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











            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
            });


            }
            });














            draft saved

            draft discarded


















            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









            2














            like this?



            enter image description here



            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}





            share|improve this answer




























              2














              like this?



              enter image description here



              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}





              share|improve this answer


























                2












                2








                2







                like this?



                enter image description here



                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}





                share|improve this answer













                like this?



                enter image description here



                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}






                share|improve this answer












                share|improve this answer



                share|improve this answer










                answered Feb 27 at 5:08









                ZarkoZarko

                126k868165




                126k868165























                    0














                    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}


                    enter image description here






                    share|improve this answer



















                    • 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
















                    0














                    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}


                    enter image description here






                    share|improve this answer



















                    • 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














                    0












                    0








                    0







                    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}


                    enter image description here






                    share|improve this answer













                    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}


                    enter image description here







                    share|improve this answer












                    share|improve this answer



                    share|improve this answer










                    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














                    • 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


















                    draft saved

                    draft discarded




















































                    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.




                    draft saved


                    draft discarded














                    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





















































                    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







                    Popular posts from this blog

                    mysqli_query(): Empty query in /home/lucindabrummitt/public_html/blog/wp-includes/wp-db.php on line 1924

                    How to change which sound is reproduced for terminal bell?

                    Can I use Tabulator js library in my java Spring + Thymeleaf project?