Bug in proof environment?












0















I am trying to give students an empty space for a proof. So it should start the with the word Proof then empty space, then the little square at the bottom of the empty space. When I specify the empty space (1cm in the example below), the Proof and qed symbol is put on the same line and I get the empty space before or after this line. Why does proof do this?



documentclass{article}

usepackage{amsthm}

begin{document}
Regular proof environment with space
begin{proof}
vspace{1cm}
end{proof}
The same but starting with tilde
begin{proof}
~vspace{1cm}
end{proof}
Some text after the proof
end{document}


enter image description here










share|improve this question


















  • 1





    vspace, when entered in horizontal mode, is deferred until the end of the paragraph. One way to get around this is to put something invisible in the proof: begin{proof} $ $par and then the vspace. (I'm putting this in a comment since I am unable to test, and I don't like to post untested answers.)

    – barbara beeton
    2 hours ago











  • Possible duplicate of How to add blank space in proof environment without changing the position of the word "proof"?

    – Herohtar
    42 mins ago
















0















I am trying to give students an empty space for a proof. So it should start the with the word Proof then empty space, then the little square at the bottom of the empty space. When I specify the empty space (1cm in the example below), the Proof and qed symbol is put on the same line and I get the empty space before or after this line. Why does proof do this?



documentclass{article}

usepackage{amsthm}

begin{document}
Regular proof environment with space
begin{proof}
vspace{1cm}
end{proof}
The same but starting with tilde
begin{proof}
~vspace{1cm}
end{proof}
Some text after the proof
end{document}


enter image description here










share|improve this question


















  • 1





    vspace, when entered in horizontal mode, is deferred until the end of the paragraph. One way to get around this is to put something invisible in the proof: begin{proof} $ $par and then the vspace. (I'm putting this in a comment since I am unable to test, and I don't like to post untested answers.)

    – barbara beeton
    2 hours ago











  • Possible duplicate of How to add blank space in proof environment without changing the position of the word "proof"?

    – Herohtar
    42 mins ago














0












0








0








I am trying to give students an empty space for a proof. So it should start the with the word Proof then empty space, then the little square at the bottom of the empty space. When I specify the empty space (1cm in the example below), the Proof and qed symbol is put on the same line and I get the empty space before or after this line. Why does proof do this?



documentclass{article}

usepackage{amsthm}

begin{document}
Regular proof environment with space
begin{proof}
vspace{1cm}
end{proof}
The same but starting with tilde
begin{proof}
~vspace{1cm}
end{proof}
Some text after the proof
end{document}


enter image description here










share|improve this question














I am trying to give students an empty space for a proof. So it should start the with the word Proof then empty space, then the little square at the bottom of the empty space. When I specify the empty space (1cm in the example below), the Proof and qed symbol is put on the same line and I get the empty space before or after this line. Why does proof do this?



documentclass{article}

usepackage{amsthm}

begin{document}
Regular proof environment with space
begin{proof}
vspace{1cm}
end{proof}
The same but starting with tilde
begin{proof}
~vspace{1cm}
end{proof}
Some text after the proof
end{document}


enter image description here







proof






share|improve this question













share|improve this question











share|improve this question




share|improve this question










asked 2 hours ago









Máté WierdlMáté Wierdl

51829




51829








  • 1





    vspace, when entered in horizontal mode, is deferred until the end of the paragraph. One way to get around this is to put something invisible in the proof: begin{proof} $ $par and then the vspace. (I'm putting this in a comment since I am unable to test, and I don't like to post untested answers.)

    – barbara beeton
    2 hours ago











  • Possible duplicate of How to add blank space in proof environment without changing the position of the word "proof"?

    – Herohtar
    42 mins ago














  • 1





    vspace, when entered in horizontal mode, is deferred until the end of the paragraph. One way to get around this is to put something invisible in the proof: begin{proof} $ $par and then the vspace. (I'm putting this in a comment since I am unable to test, and I don't like to post untested answers.)

    – barbara beeton
    2 hours ago











  • Possible duplicate of How to add blank space in proof environment without changing the position of the word "proof"?

    – Herohtar
    42 mins ago








1




1





vspace, when entered in horizontal mode, is deferred until the end of the paragraph. One way to get around this is to put something invisible in the proof: begin{proof} $ $par and then the vspace. (I'm putting this in a comment since I am unable to test, and I don't like to post untested answers.)

– barbara beeton
2 hours ago





vspace, when entered in horizontal mode, is deferred until the end of the paragraph. One way to get around this is to put something invisible in the proof: begin{proof} $ $par and then the vspace. (I'm putting this in a comment since I am unable to test, and I don't like to post untested answers.)

– barbara beeton
2 hours ago













Possible duplicate of How to add blank space in proof environment without changing the position of the word "proof"?

– Herohtar
42 mins ago





Possible duplicate of How to add blank space in proof environment without changing the position of the word "proof"?

– Herohtar
42 mins ago










1 Answer
1






active

oldest

votes


















0














As @barbara mentioned, I also think the proof environment is actually a list and you need to set the list entry (have a look in How to add blank space in proof environment)



So you can use a "placeholder" or a empty box and after that paragraph call the vspace:



documentclass{article}
usepackage{amsthm}

begin{document}

Prove that...
begin{proof}
mbox{}par
vspace{3cm}
end{proof}

end{document}


enter image description here






share|improve this answer























    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%2f481611%2fbug-in-proof-environment%23new-answer', 'question_page');
    }
    );

    Post as a guest















    Required, but never shown

























    1 Answer
    1






    active

    oldest

    votes








    1 Answer
    1






    active

    oldest

    votes









    active

    oldest

    votes






    active

    oldest

    votes









    0














    As @barbara mentioned, I also think the proof environment is actually a list and you need to set the list entry (have a look in How to add blank space in proof environment)



    So you can use a "placeholder" or a empty box and after that paragraph call the vspace:



    documentclass{article}
    usepackage{amsthm}

    begin{document}

    Prove that...
    begin{proof}
    mbox{}par
    vspace{3cm}
    end{proof}

    end{document}


    enter image description here






    share|improve this answer




























      0














      As @barbara mentioned, I also think the proof environment is actually a list and you need to set the list entry (have a look in How to add blank space in proof environment)



      So you can use a "placeholder" or a empty box and after that paragraph call the vspace:



      documentclass{article}
      usepackage{amsthm}

      begin{document}

      Prove that...
      begin{proof}
      mbox{}par
      vspace{3cm}
      end{proof}

      end{document}


      enter image description here






      share|improve this answer


























        0












        0








        0







        As @barbara mentioned, I also think the proof environment is actually a list and you need to set the list entry (have a look in How to add blank space in proof environment)



        So you can use a "placeholder" or a empty box and after that paragraph call the vspace:



        documentclass{article}
        usepackage{amsthm}

        begin{document}

        Prove that...
        begin{proof}
        mbox{}par
        vspace{3cm}
        end{proof}

        end{document}


        enter image description here






        share|improve this answer













        As @barbara mentioned, I also think the proof environment is actually a list and you need to set the list entry (have a look in How to add blank space in proof environment)



        So you can use a "placeholder" or a empty box and after that paragraph call the vspace:



        documentclass{article}
        usepackage{amsthm}

        begin{document}

        Prove that...
        begin{proof}
        mbox{}par
        vspace{3cm}
        end{proof}

        end{document}


        enter image description here







        share|improve this answer












        share|improve this answer



        share|improve this answer










        answered 1 hour ago









        Majid AbdolshahMajid Abdolshah

        58328




        58328






























            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%2f481611%2fbug-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

            A CLEAN and SIMPLE way to add appendices to Table of Contents and bookmarks

            Calculate evaluation metrics using cross_val_predict sklearn

            Insert data from modal to MySQL (multiple modal on website)