Can I change the dot to a colon after Proof in amsthm?
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
add a comment |
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
add a comment |
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
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
environments amsthm proof-package
edited Sep 22 '15 at 14:55
user11232
asked Sep 22 '15 at 14:43
Frode BjørdalFrode Bjørdal
1,17611226
1,17611226
add a comment |
add a comment |
3 Answers
3
active
oldest
votes
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}

If you want upright : use this:
makeatletter
xpatchcmd{proof}{@addpunct{.}}{normalfont,@addpunct{:}}{}{}
makeatother

add a comment |
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}
add a comment |
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}
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%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
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}

If you want upright : use this:
makeatletter
xpatchcmd{proof}{@addpunct{.}}{normalfont,@addpunct{:}}{}{}
makeatother

add a comment |
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}

If you want upright : use this:
makeatletter
xpatchcmd{proof}{@addpunct{.}}{normalfont,@addpunct{:}}{}{}
makeatother

add a comment |
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}

If you want upright : use this:
makeatletter
xpatchcmd{proof}{@addpunct{.}}{normalfont,@addpunct{:}}{}{}
makeatother

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}

If you want upright : use this:
makeatletter
xpatchcmd{proof}{@addpunct{.}}{normalfont,@addpunct{:}}{}{}
makeatother

answered Sep 22 '15 at 14:50
user11232
add a comment |
add a comment |
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}
add a comment |
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}
add a comment |
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}
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}
answered Sep 22 '15 at 14:51
DenisDenis
2,418520
2,418520
add a comment |
add a comment |
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}
add a comment |
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}
add a comment |
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}
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}
answered 5 mins ago
L. F.L. F.
1548
1548
add a comment |
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%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
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