How to define new environment, using proof-environmentntheorem with the [amsthm] option ignores styling of a...

Does my logo design convey the right feelings for a University Student's Council?

How to avoid being sexist when trying to employ someone to function in a very sexist environment?

Knowing when to use pictures over words

Is it a fallacy if someone claims they need an explanation for every word of your argument to the point where they don't understand common terms?

What to do when being responsible for data protection in your lab, yet advice is ignored?

What to do if authors don't respond to my serious concerns about their paper?

Issues with new Macs: hardware makes them difficult to use … what options might be available in the future?

How to join 2 tables in mysql but with different values in one of the tables

En Passant For Beginners

How should I handle players who ignore the session zero agreement?

Can I become debt free or should I file for bankruptcy? How do I manage my debt and finances?

What is the time complexity of enqueue and dequeue of a queue implemented with a singly linked list?

How to remove trailing forward slash

How did the original light saber work?

Why is working on the same position for more than 15 years not a red flag?

How can animals be objects of ethics without being subjects as well?

Does Windows 10's telemetry include sending *.doc files if Word crashed?

How to deal with an incendiary email that was recalled

Eww, those bytes are gross

Why do members of Congress in committee hearings ask witnesses the same question multiple times?

Why do neural networks need so many training examples to perform?

A starship is travelling at 0.9c and collides with a small rock. Will it leave a clean hole through, or will more happen?

Can we use the stored gravitational potential energy of a building to produce power?

What is this metal M-shaped device for?



How to define new environment, using proof-environment


ntheorem with the [amsthm] option ignores styling of a theorem environmentIncluding end mark in definitions and examples (using amsthm)Skipping line after “Proof” in proof environmentUsing docmute to import separate document as part of proof?How can I create a customized environment?ntheorem vs. amsthmDuplicating the amsthm proof environmentHow to make proof environment without amsthm?QED symbol after statements without proofNew theorem environment with manual theorem number













1















I'm using the package amsthm and I like to define my own proof environment, where the title proof is replaced by Beweis.



So far, I tried



newenvironment{bew}{begin{proof}[textsc{textbf{Beweis:}}]}{end{proof}}



and this works fine. But now I like to improve the environment so that the argument should stay between Beweis and :



For example



 begin{bew}[von Theorem 2.1]
Nice proof.
end{bew}


should look like




Beweis von Theorem 2.1: Nice proof.











share|improve this question

























  • The text "Proof" is provided by proofname, so all you need to do is renewcommand{proofname}{Beweis}. You should be able to change the font too, if you want to.

    – barbara beeton
    1 hour ago
















1















I'm using the package amsthm and I like to define my own proof environment, where the title proof is replaced by Beweis.



So far, I tried



newenvironment{bew}{begin{proof}[textsc{textbf{Beweis:}}]}{end{proof}}



and this works fine. But now I like to improve the environment so that the argument should stay between Beweis and :



For example



 begin{bew}[von Theorem 2.1]
Nice proof.
end{bew}


should look like




Beweis von Theorem 2.1: Nice proof.











share|improve this question

























  • The text "Proof" is provided by proofname, so all you need to do is renewcommand{proofname}{Beweis}. You should be able to change the font too, if you want to.

    – barbara beeton
    1 hour ago














1












1








1








I'm using the package amsthm and I like to define my own proof environment, where the title proof is replaced by Beweis.



So far, I tried



newenvironment{bew}{begin{proof}[textsc{textbf{Beweis:}}]}{end{proof}}



and this works fine. But now I like to improve the environment so that the argument should stay between Beweis and :



For example



 begin{bew}[von Theorem 2.1]
Nice proof.
end{bew}


should look like




Beweis von Theorem 2.1: Nice proof.











share|improve this question
















I'm using the package amsthm and I like to define my own proof environment, where the title proof is replaced by Beweis.



So far, I tried



newenvironment{bew}{begin{proof}[textsc{textbf{Beweis:}}]}{end{proof}}



and this works fine. But now I like to improve the environment so that the argument should stay between Beweis and :



For example



 begin{bew}[von Theorem 2.1]
Nice proof.
end{bew}


should look like




Beweis von Theorem 2.1: Nice proof.








theorems amsthm






share|improve this question















share|improve this question













share|improve this question




share|improve this question








edited 51 mins ago









Bernard

172k775203




172k775203










asked 1 hour ago









Mundron SchmidtMundron Schmidt

1255




1255













  • The text "Proof" is provided by proofname, so all you need to do is renewcommand{proofname}{Beweis}. You should be able to change the font too, if you want to.

    – barbara beeton
    1 hour ago



















  • The text "Proof" is provided by proofname, so all you need to do is renewcommand{proofname}{Beweis}. You should be able to change the font too, if you want to.

    – barbara beeton
    1 hour ago

















The text "Proof" is provided by proofname, so all you need to do is renewcommand{proofname}{Beweis}. You should be able to change the font too, if you want to.

– barbara beeton
1 hour ago





The text "Proof" is provided by proofname, so all you need to do is renewcommand{proofname}{Beweis}. You should be able to change the font too, if you want to.

– barbara beeton
1 hour ago










1 Answer
1






active

oldest

votes


















4














What you need is just changing the period with a colon. Unfortunately, amsmath hardwires the period, so we need to patch proof in order to remove the dependency.



The name will switch to “Beweis” as soon as you load babel with an option for German, usually ngerman if you adhere to the “neue Rechtschreibung”.



documentclass{article}
usepackage[T1]{fontenc}
usepackage[ngerman]{babel}

usepackage{amsthm}
usepackage{xpatch}

% we need to substitute . with a generic command
xpatchcmd{proof}{.}{proofpunctuation}{}{}

newcommand{proofpunctuation}{:} % change to your liking

begin{document}

begin{proof}
Das ist ein schöner Beweis.
end{proof}

end{document}


enter image description here



The input



begin{proof}[Beweis von Satz 1]
Das ist ein schöner Beweis.
end{proof}


will produce the expected result.



If you prefer boldface, another patch is in order.



documentclass{article}
usepackage[T1]{fontenc}
usepackage[ngerman]{babel}

usepackage{amsthm}
usepackage{xpatch}

% we need to substitute . with a generic command
xpatchcmd{proof}{.}{proofpunctuation}{}{}
xpatchcmd{proof}{itshape}{prooffont}{}{}

newcommand{proofpunctuation}{:}
newcommand{prooffont}{bfseries}

begin{document}

begin{proof}
Das ist ein schöner Beweis.
end{proof}

begin{proof}[Beweis von Satz 1]
Das ist ein schöner Beweis.
end{proof}

end{document}


enter image description here



If your font supports boldface small caps (few fonts do), you can say



newcommand{prooffont}{scshapebfseries}


A syntax such as begin{proof}[von Satz 1] to automatically supply “Beweis” could be done too, but I'd not do it.



documentclass{article}
usepackage[T1]{fontenc}
usepackage[ngerman]{babel}

usepackage{amsthm}
usepackage{xpatch}

% we need to substitute . with a generic command
xpatchcmd{proof}{.}{proofpunctuation}{}{}
xpatchcmd{proof}{itshape}{prooffont}{}{}
xpatchcmd{proof}{#1}{proofnameifxproofname#1else #1fi}{}{}

newcommand{proofpunctuation}{:}
newcommand{prooffont}{bfseries}

begin{document}

begin{proof}
Das ist ein schöner Beweis.
end{proof}

begin{proof}[von Satz 1]
Das ist ein schöner Beweis.
end{proof}

end{document}


You can also do with a new environment, which avoids patching.



documentclass{article}
usepackage[T1]{fontenc}
usepackage[ngerman]{babel}

usepackage{amsthm}
usepackage{xparse}

NewDocumentEnvironment{bew}{o}
{proof[normalfontbfseriesproofnameIfValueT{#1}{ #1}:]}
{endproof}

begin{document}

begin{bew}
Das ist ein schöner Beweis.
end{bew}

begin{bew}[von Satz 1]
Das ist ein schöner Beweis.
end{bew}

end{document}





share|improve this answer


























  • I really like your last example, because in that case I don't have to change all my enviroments :-) But begin{bew}[von Satz 1] give Beweis von Satz 1:. Somehow I get a point after the doublepoint.

    – Mundron Schmidt
    49 mins ago











  • @MundronSchmidt I can only guess you tampered with space factor codes. This will happen if you set (or a package/class you load does) sfcode`:=1000. But in that case you would get the period also without the optional argument.

    – egreg
    46 mins ago













  • Not sure, because a use copied a lot of code. But in that case I will use the first version. That works well. I thank you!

    – Mundron Schmidt
    36 mins ago











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%2f477475%2fhow-to-define-new-environment-using-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









4














What you need is just changing the period with a colon. Unfortunately, amsmath hardwires the period, so we need to patch proof in order to remove the dependency.



The name will switch to “Beweis” as soon as you load babel with an option for German, usually ngerman if you adhere to the “neue Rechtschreibung”.



documentclass{article}
usepackage[T1]{fontenc}
usepackage[ngerman]{babel}

usepackage{amsthm}
usepackage{xpatch}

% we need to substitute . with a generic command
xpatchcmd{proof}{.}{proofpunctuation}{}{}

newcommand{proofpunctuation}{:} % change to your liking

begin{document}

begin{proof}
Das ist ein schöner Beweis.
end{proof}

end{document}


enter image description here



The input



begin{proof}[Beweis von Satz 1]
Das ist ein schöner Beweis.
end{proof}


will produce the expected result.



If you prefer boldface, another patch is in order.



documentclass{article}
usepackage[T1]{fontenc}
usepackage[ngerman]{babel}

usepackage{amsthm}
usepackage{xpatch}

% we need to substitute . with a generic command
xpatchcmd{proof}{.}{proofpunctuation}{}{}
xpatchcmd{proof}{itshape}{prooffont}{}{}

newcommand{proofpunctuation}{:}
newcommand{prooffont}{bfseries}

begin{document}

begin{proof}
Das ist ein schöner Beweis.
end{proof}

begin{proof}[Beweis von Satz 1]
Das ist ein schöner Beweis.
end{proof}

end{document}


enter image description here



If your font supports boldface small caps (few fonts do), you can say



newcommand{prooffont}{scshapebfseries}


A syntax such as begin{proof}[von Satz 1] to automatically supply “Beweis” could be done too, but I'd not do it.



documentclass{article}
usepackage[T1]{fontenc}
usepackage[ngerman]{babel}

usepackage{amsthm}
usepackage{xpatch}

% we need to substitute . with a generic command
xpatchcmd{proof}{.}{proofpunctuation}{}{}
xpatchcmd{proof}{itshape}{prooffont}{}{}
xpatchcmd{proof}{#1}{proofnameifxproofname#1else #1fi}{}{}

newcommand{proofpunctuation}{:}
newcommand{prooffont}{bfseries}

begin{document}

begin{proof}
Das ist ein schöner Beweis.
end{proof}

begin{proof}[von Satz 1]
Das ist ein schöner Beweis.
end{proof}

end{document}


You can also do with a new environment, which avoids patching.



documentclass{article}
usepackage[T1]{fontenc}
usepackage[ngerman]{babel}

usepackage{amsthm}
usepackage{xparse}

NewDocumentEnvironment{bew}{o}
{proof[normalfontbfseriesproofnameIfValueT{#1}{ #1}:]}
{endproof}

begin{document}

begin{bew}
Das ist ein schöner Beweis.
end{bew}

begin{bew}[von Satz 1]
Das ist ein schöner Beweis.
end{bew}

end{document}





share|improve this answer


























  • I really like your last example, because in that case I don't have to change all my enviroments :-) But begin{bew}[von Satz 1] give Beweis von Satz 1:. Somehow I get a point after the doublepoint.

    – Mundron Schmidt
    49 mins ago











  • @MundronSchmidt I can only guess you tampered with space factor codes. This will happen if you set (or a package/class you load does) sfcode`:=1000. But in that case you would get the period also without the optional argument.

    – egreg
    46 mins ago













  • Not sure, because a use copied a lot of code. But in that case I will use the first version. That works well. I thank you!

    – Mundron Schmidt
    36 mins ago
















4














What you need is just changing the period with a colon. Unfortunately, amsmath hardwires the period, so we need to patch proof in order to remove the dependency.



The name will switch to “Beweis” as soon as you load babel with an option for German, usually ngerman if you adhere to the “neue Rechtschreibung”.



documentclass{article}
usepackage[T1]{fontenc}
usepackage[ngerman]{babel}

usepackage{amsthm}
usepackage{xpatch}

% we need to substitute . with a generic command
xpatchcmd{proof}{.}{proofpunctuation}{}{}

newcommand{proofpunctuation}{:} % change to your liking

begin{document}

begin{proof}
Das ist ein schöner Beweis.
end{proof}

end{document}


enter image description here



The input



begin{proof}[Beweis von Satz 1]
Das ist ein schöner Beweis.
end{proof}


will produce the expected result.



If you prefer boldface, another patch is in order.



documentclass{article}
usepackage[T1]{fontenc}
usepackage[ngerman]{babel}

usepackage{amsthm}
usepackage{xpatch}

% we need to substitute . with a generic command
xpatchcmd{proof}{.}{proofpunctuation}{}{}
xpatchcmd{proof}{itshape}{prooffont}{}{}

newcommand{proofpunctuation}{:}
newcommand{prooffont}{bfseries}

begin{document}

begin{proof}
Das ist ein schöner Beweis.
end{proof}

begin{proof}[Beweis von Satz 1]
Das ist ein schöner Beweis.
end{proof}

end{document}


enter image description here



If your font supports boldface small caps (few fonts do), you can say



newcommand{prooffont}{scshapebfseries}


A syntax such as begin{proof}[von Satz 1] to automatically supply “Beweis” could be done too, but I'd not do it.



documentclass{article}
usepackage[T1]{fontenc}
usepackage[ngerman]{babel}

usepackage{amsthm}
usepackage{xpatch}

% we need to substitute . with a generic command
xpatchcmd{proof}{.}{proofpunctuation}{}{}
xpatchcmd{proof}{itshape}{prooffont}{}{}
xpatchcmd{proof}{#1}{proofnameifxproofname#1else #1fi}{}{}

newcommand{proofpunctuation}{:}
newcommand{prooffont}{bfseries}

begin{document}

begin{proof}
Das ist ein schöner Beweis.
end{proof}

begin{proof}[von Satz 1]
Das ist ein schöner Beweis.
end{proof}

end{document}


You can also do with a new environment, which avoids patching.



documentclass{article}
usepackage[T1]{fontenc}
usepackage[ngerman]{babel}

usepackage{amsthm}
usepackage{xparse}

NewDocumentEnvironment{bew}{o}
{proof[normalfontbfseriesproofnameIfValueT{#1}{ #1}:]}
{endproof}

begin{document}

begin{bew}
Das ist ein schöner Beweis.
end{bew}

begin{bew}[von Satz 1]
Das ist ein schöner Beweis.
end{bew}

end{document}





share|improve this answer


























  • I really like your last example, because in that case I don't have to change all my enviroments :-) But begin{bew}[von Satz 1] give Beweis von Satz 1:. Somehow I get a point after the doublepoint.

    – Mundron Schmidt
    49 mins ago











  • @MundronSchmidt I can only guess you tampered with space factor codes. This will happen if you set (or a package/class you load does) sfcode`:=1000. But in that case you would get the period also without the optional argument.

    – egreg
    46 mins ago













  • Not sure, because a use copied a lot of code. But in that case I will use the first version. That works well. I thank you!

    – Mundron Schmidt
    36 mins ago














4












4








4







What you need is just changing the period with a colon. Unfortunately, amsmath hardwires the period, so we need to patch proof in order to remove the dependency.



The name will switch to “Beweis” as soon as you load babel with an option for German, usually ngerman if you adhere to the “neue Rechtschreibung”.



documentclass{article}
usepackage[T1]{fontenc}
usepackage[ngerman]{babel}

usepackage{amsthm}
usepackage{xpatch}

% we need to substitute . with a generic command
xpatchcmd{proof}{.}{proofpunctuation}{}{}

newcommand{proofpunctuation}{:} % change to your liking

begin{document}

begin{proof}
Das ist ein schöner Beweis.
end{proof}

end{document}


enter image description here



The input



begin{proof}[Beweis von Satz 1]
Das ist ein schöner Beweis.
end{proof}


will produce the expected result.



If you prefer boldface, another patch is in order.



documentclass{article}
usepackage[T1]{fontenc}
usepackage[ngerman]{babel}

usepackage{amsthm}
usepackage{xpatch}

% we need to substitute . with a generic command
xpatchcmd{proof}{.}{proofpunctuation}{}{}
xpatchcmd{proof}{itshape}{prooffont}{}{}

newcommand{proofpunctuation}{:}
newcommand{prooffont}{bfseries}

begin{document}

begin{proof}
Das ist ein schöner Beweis.
end{proof}

begin{proof}[Beweis von Satz 1]
Das ist ein schöner Beweis.
end{proof}

end{document}


enter image description here



If your font supports boldface small caps (few fonts do), you can say



newcommand{prooffont}{scshapebfseries}


A syntax such as begin{proof}[von Satz 1] to automatically supply “Beweis” could be done too, but I'd not do it.



documentclass{article}
usepackage[T1]{fontenc}
usepackage[ngerman]{babel}

usepackage{amsthm}
usepackage{xpatch}

% we need to substitute . with a generic command
xpatchcmd{proof}{.}{proofpunctuation}{}{}
xpatchcmd{proof}{itshape}{prooffont}{}{}
xpatchcmd{proof}{#1}{proofnameifxproofname#1else #1fi}{}{}

newcommand{proofpunctuation}{:}
newcommand{prooffont}{bfseries}

begin{document}

begin{proof}
Das ist ein schöner Beweis.
end{proof}

begin{proof}[von Satz 1]
Das ist ein schöner Beweis.
end{proof}

end{document}


You can also do with a new environment, which avoids patching.



documentclass{article}
usepackage[T1]{fontenc}
usepackage[ngerman]{babel}

usepackage{amsthm}
usepackage{xparse}

NewDocumentEnvironment{bew}{o}
{proof[normalfontbfseriesproofnameIfValueT{#1}{ #1}:]}
{endproof}

begin{document}

begin{bew}
Das ist ein schöner Beweis.
end{bew}

begin{bew}[von Satz 1]
Das ist ein schöner Beweis.
end{bew}

end{document}





share|improve this answer















What you need is just changing the period with a colon. Unfortunately, amsmath hardwires the period, so we need to patch proof in order to remove the dependency.



The name will switch to “Beweis” as soon as you load babel with an option for German, usually ngerman if you adhere to the “neue Rechtschreibung”.



documentclass{article}
usepackage[T1]{fontenc}
usepackage[ngerman]{babel}

usepackage{amsthm}
usepackage{xpatch}

% we need to substitute . with a generic command
xpatchcmd{proof}{.}{proofpunctuation}{}{}

newcommand{proofpunctuation}{:} % change to your liking

begin{document}

begin{proof}
Das ist ein schöner Beweis.
end{proof}

end{document}


enter image description here



The input



begin{proof}[Beweis von Satz 1]
Das ist ein schöner Beweis.
end{proof}


will produce the expected result.



If you prefer boldface, another patch is in order.



documentclass{article}
usepackage[T1]{fontenc}
usepackage[ngerman]{babel}

usepackage{amsthm}
usepackage{xpatch}

% we need to substitute . with a generic command
xpatchcmd{proof}{.}{proofpunctuation}{}{}
xpatchcmd{proof}{itshape}{prooffont}{}{}

newcommand{proofpunctuation}{:}
newcommand{prooffont}{bfseries}

begin{document}

begin{proof}
Das ist ein schöner Beweis.
end{proof}

begin{proof}[Beweis von Satz 1]
Das ist ein schöner Beweis.
end{proof}

end{document}


enter image description here



If your font supports boldface small caps (few fonts do), you can say



newcommand{prooffont}{scshapebfseries}


A syntax such as begin{proof}[von Satz 1] to automatically supply “Beweis” could be done too, but I'd not do it.



documentclass{article}
usepackage[T1]{fontenc}
usepackage[ngerman]{babel}

usepackage{amsthm}
usepackage{xpatch}

% we need to substitute . with a generic command
xpatchcmd{proof}{.}{proofpunctuation}{}{}
xpatchcmd{proof}{itshape}{prooffont}{}{}
xpatchcmd{proof}{#1}{proofnameifxproofname#1else #1fi}{}{}

newcommand{proofpunctuation}{:}
newcommand{prooffont}{bfseries}

begin{document}

begin{proof}
Das ist ein schöner Beweis.
end{proof}

begin{proof}[von Satz 1]
Das ist ein schöner Beweis.
end{proof}

end{document}


You can also do with a new environment, which avoids patching.



documentclass{article}
usepackage[T1]{fontenc}
usepackage[ngerman]{babel}

usepackage{amsthm}
usepackage{xparse}

NewDocumentEnvironment{bew}{o}
{proof[normalfontbfseriesproofnameIfValueT{#1}{ #1}:]}
{endproof}

begin{document}

begin{bew}
Das ist ein schöner Beweis.
end{bew}

begin{bew}[von Satz 1]
Das ist ein schöner Beweis.
end{bew}

end{document}






share|improve this answer














share|improve this answer



share|improve this answer








edited 57 mins ago

























answered 1 hour ago









egregegreg

723k8819173221




723k8819173221













  • I really like your last example, because in that case I don't have to change all my enviroments :-) But begin{bew}[von Satz 1] give Beweis von Satz 1:. Somehow I get a point after the doublepoint.

    – Mundron Schmidt
    49 mins ago











  • @MundronSchmidt I can only guess you tampered with space factor codes. This will happen if you set (or a package/class you load does) sfcode`:=1000. But in that case you would get the period also without the optional argument.

    – egreg
    46 mins ago













  • Not sure, because a use copied a lot of code. But in that case I will use the first version. That works well. I thank you!

    – Mundron Schmidt
    36 mins ago



















  • I really like your last example, because in that case I don't have to change all my enviroments :-) But begin{bew}[von Satz 1] give Beweis von Satz 1:. Somehow I get a point after the doublepoint.

    – Mundron Schmidt
    49 mins ago











  • @MundronSchmidt I can only guess you tampered with space factor codes. This will happen if you set (or a package/class you load does) sfcode`:=1000. But in that case you would get the period also without the optional argument.

    – egreg
    46 mins ago













  • Not sure, because a use copied a lot of code. But in that case I will use the first version. That works well. I thank you!

    – Mundron Schmidt
    36 mins ago

















I really like your last example, because in that case I don't have to change all my enviroments :-) But begin{bew}[von Satz 1] give Beweis von Satz 1:. Somehow I get a point after the doublepoint.

– Mundron Schmidt
49 mins ago





I really like your last example, because in that case I don't have to change all my enviroments :-) But begin{bew}[von Satz 1] give Beweis von Satz 1:. Somehow I get a point after the doublepoint.

– Mundron Schmidt
49 mins ago













@MundronSchmidt I can only guess you tampered with space factor codes. This will happen if you set (or a package/class you load does) sfcode`:=1000. But in that case you would get the period also without the optional argument.

– egreg
46 mins ago







@MundronSchmidt I can only guess you tampered with space factor codes. This will happen if you set (or a package/class you load does) sfcode`:=1000. But in that case you would get the period also without the optional argument.

– egreg
46 mins ago















Not sure, because a use copied a lot of code. But in that case I will use the first version. That works well. I thank you!

– Mundron Schmidt
36 mins ago





Not sure, because a use copied a lot of code. But in that case I will use the first version. That works well. I thank you!

– Mundron Schmidt
36 mins ago


















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%2f477475%2fhow-to-define-new-environment-using-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 phrase ”follow into" in a context The 2019 Stack Overflow Developer Survey Results Are...

1960s short story making fun of James Bond-style spy fiction The 2019 Stack Overflow Developer...