Can I change the dot to a colon after Proof in amsthm?












1















I want to write Proof: in front of a proof instead of Proof. How may I achieve this?



Here is a MWE for the set up I have now:



documentclass{article}
usepackage{amsthm}
begin{document}
begin{proof}
end{proof}
end{document}









share|improve this question





























    1















    I want to write Proof: in front of a proof instead of Proof. How may I achieve this?



    Here is a MWE for the set up I have now:



    documentclass{article}
    usepackage{amsthm}
    begin{document}
    begin{proof}
    end{proof}
    end{document}









    share|improve this question



























      1












      1








      1








      I want to write Proof: in front of a proof instead of Proof. How may I achieve this?



      Here is a MWE for the set up I have now:



      documentclass{article}
      usepackage{amsthm}
      begin{document}
      begin{proof}
      end{proof}
      end{document}









      share|improve this question
















      I want to write Proof: in front of a proof instead of Proof. How may I achieve this?



      Here is a MWE for the set up I have now:



      documentclass{article}
      usepackage{amsthm}
      begin{document}
      begin{proof}
      end{proof}
      end{document}






      environments amsthm proof-package






      share|improve this question















      share|improve this question













      share|improve this question




      share|improve this question








      edited Sep 22 '15 at 14:55







      user11232

















      asked Sep 22 '15 at 14:43









      Frode BjørdalFrode Bjørdal

      1,17611226




      1,17611226






















          3 Answers
          3






          active

          oldest

          votes


















          3














          amsthm uses @addpunct{.} to put the period. You can patch the proof using xpatch to replace dot by :



          documentclass{article}
          usepackage{amsthm}
          usepackage{xpatch}
          makeatletter
          xpatchcmd{proof}{@addpunct{.}}{@addpunct{:}}{}{}
          makeatother
          begin{document}
          begin{proof}
          end{proof}
          end{document}


          enter image description here



          If you want upright : use this:



          makeatletter
          xpatchcmd{proof}{@addpunct{.}}{normalfont,@addpunct{:}}{}{}
          makeatother


          enter image description here






          share|improve this answer































            2














            From page 11 of the documentation. You can use



            documentclass[a4paper,12pt]{article}
            usepackage{amsmath,amsthm}
            makeatletter
            renewenvironment{proof}[1][proofname]{par
            pushQED{qed}%
            normalfont topsep6p@@plus6p@relax
            trivlist
            itemrelax
            {itshape
            #1@addpunct{:}}hspacelabelsepignorespaces
            }{%
            popQEDendtrivlist@endpefalse
            }
            makeatother
            begin{document}
            begin{proof}
            Here comes the proof.
            end{proof}
            end{document}





            share|improve this answer































              0














              Why not use nopunct? This is the official way to do this.



              documentclass{article}
              usepackage{amsthm}
              begin{document}
              begin{proof}[Proof:nopunct]
              end{proof}
              end{document}




              share























                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%2f268912%2fcan-i-change-the-dot-to-a-colon-after-proof-in-amsthm%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









                3














                amsthm uses @addpunct{.} to put the period. You can patch the proof using xpatch to replace dot by :



                documentclass{article}
                usepackage{amsthm}
                usepackage{xpatch}
                makeatletter
                xpatchcmd{proof}{@addpunct{.}}{@addpunct{:}}{}{}
                makeatother
                begin{document}
                begin{proof}
                end{proof}
                end{document}


                enter image description here



                If you want upright : use this:



                makeatletter
                xpatchcmd{proof}{@addpunct{.}}{normalfont,@addpunct{:}}{}{}
                makeatother


                enter image description here






                share|improve this answer




























                  3














                  amsthm uses @addpunct{.} to put the period. You can patch the proof using xpatch to replace dot by :



                  documentclass{article}
                  usepackage{amsthm}
                  usepackage{xpatch}
                  makeatletter
                  xpatchcmd{proof}{@addpunct{.}}{@addpunct{:}}{}{}
                  makeatother
                  begin{document}
                  begin{proof}
                  end{proof}
                  end{document}


                  enter image description here



                  If you want upright : use this:



                  makeatletter
                  xpatchcmd{proof}{@addpunct{.}}{normalfont,@addpunct{:}}{}{}
                  makeatother


                  enter image description here






                  share|improve this answer


























                    3












                    3








                    3







                    amsthm uses @addpunct{.} to put the period. You can patch the proof using xpatch to replace dot by :



                    documentclass{article}
                    usepackage{amsthm}
                    usepackage{xpatch}
                    makeatletter
                    xpatchcmd{proof}{@addpunct{.}}{@addpunct{:}}{}{}
                    makeatother
                    begin{document}
                    begin{proof}
                    end{proof}
                    end{document}


                    enter image description here



                    If you want upright : use this:



                    makeatletter
                    xpatchcmd{proof}{@addpunct{.}}{normalfont,@addpunct{:}}{}{}
                    makeatother


                    enter image description here






                    share|improve this answer













                    amsthm uses @addpunct{.} to put the period. You can patch the proof using xpatch to replace dot by :



                    documentclass{article}
                    usepackage{amsthm}
                    usepackage{xpatch}
                    makeatletter
                    xpatchcmd{proof}{@addpunct{.}}{@addpunct{:}}{}{}
                    makeatother
                    begin{document}
                    begin{proof}
                    end{proof}
                    end{document}


                    enter image description here



                    If you want upright : use this:



                    makeatletter
                    xpatchcmd{proof}{@addpunct{.}}{normalfont,@addpunct{:}}{}{}
                    makeatother


                    enter image description here







                    share|improve this answer












                    share|improve this answer



                    share|improve this answer










                    answered Sep 22 '15 at 14:50







                    user11232






























                        2














                        From page 11 of the documentation. You can use



                        documentclass[a4paper,12pt]{article}
                        usepackage{amsmath,amsthm}
                        makeatletter
                        renewenvironment{proof}[1][proofname]{par
                        pushQED{qed}%
                        normalfont topsep6p@@plus6p@relax
                        trivlist
                        itemrelax
                        {itshape
                        #1@addpunct{:}}hspacelabelsepignorespaces
                        }{%
                        popQEDendtrivlist@endpefalse
                        }
                        makeatother
                        begin{document}
                        begin{proof}
                        Here comes the proof.
                        end{proof}
                        end{document}





                        share|improve this answer




























                          2














                          From page 11 of the documentation. You can use



                          documentclass[a4paper,12pt]{article}
                          usepackage{amsmath,amsthm}
                          makeatletter
                          renewenvironment{proof}[1][proofname]{par
                          pushQED{qed}%
                          normalfont topsep6p@@plus6p@relax
                          trivlist
                          itemrelax
                          {itshape
                          #1@addpunct{:}}hspacelabelsepignorespaces
                          }{%
                          popQEDendtrivlist@endpefalse
                          }
                          makeatother
                          begin{document}
                          begin{proof}
                          Here comes the proof.
                          end{proof}
                          end{document}





                          share|improve this answer


























                            2












                            2








                            2







                            From page 11 of the documentation. You can use



                            documentclass[a4paper,12pt]{article}
                            usepackage{amsmath,amsthm}
                            makeatletter
                            renewenvironment{proof}[1][proofname]{par
                            pushQED{qed}%
                            normalfont topsep6p@@plus6p@relax
                            trivlist
                            itemrelax
                            {itshape
                            #1@addpunct{:}}hspacelabelsepignorespaces
                            }{%
                            popQEDendtrivlist@endpefalse
                            }
                            makeatother
                            begin{document}
                            begin{proof}
                            Here comes the proof.
                            end{proof}
                            end{document}





                            share|improve this answer













                            From page 11 of the documentation. You can use



                            documentclass[a4paper,12pt]{article}
                            usepackage{amsmath,amsthm}
                            makeatletter
                            renewenvironment{proof}[1][proofname]{par
                            pushQED{qed}%
                            normalfont topsep6p@@plus6p@relax
                            trivlist
                            itemrelax
                            {itshape
                            #1@addpunct{:}}hspacelabelsepignorespaces
                            }{%
                            popQEDendtrivlist@endpefalse
                            }
                            makeatother
                            begin{document}
                            begin{proof}
                            Here comes the proof.
                            end{proof}
                            end{document}






                            share|improve this answer












                            share|improve this answer



                            share|improve this answer










                            answered Sep 22 '15 at 14:51









                            DenisDenis

                            2,418520




                            2,418520























                                0














                                Why not use nopunct? This is the official way to do this.



                                documentclass{article}
                                usepackage{amsthm}
                                begin{document}
                                begin{proof}[Proof:nopunct]
                                end{proof}
                                end{document}




                                share




























                                  0














                                  Why not use nopunct? This is the official way to do this.



                                  documentclass{article}
                                  usepackage{amsthm}
                                  begin{document}
                                  begin{proof}[Proof:nopunct]
                                  end{proof}
                                  end{document}




                                  share


























                                    0












                                    0








                                    0







                                    Why not use nopunct? This is the official way to do this.



                                    documentclass{article}
                                    usepackage{amsthm}
                                    begin{document}
                                    begin{proof}[Proof:nopunct]
                                    end{proof}
                                    end{document}




                                    share













                                    Why not use nopunct? This is the official way to do this.



                                    documentclass{article}
                                    usepackage{amsthm}
                                    begin{document}
                                    begin{proof}[Proof:nopunct]
                                    end{proof}
                                    end{document}





                                    share











                                    share


                                    share










                                    answered 5 mins ago









                                    L. F.L. F.

                                    1548




                                    1548






























                                        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%2f268912%2fcan-i-change-the-dot-to-a-colon-after-proof-in-amsthm%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

                                        Lallio

                                        Futebolista

                                        Jornalista