environment - solution environment for exercises (different than proof environment)Duplicating the amsthm proof environmentDefining a new LaTeX environment for numbered two-column proofsAutomatic indentation/framing of nested theorems/proofshide proof environment for restructuringHow can I create a customized environment?Making boxed “problem” environment and a solution environmentProof environment on LaTeXHow to define a proof environment which can be displayed/hidden? [combining two TeX solutions]Is it possible to make LaTeX check that some environment is in each part of a document?Define a new environment based on “proof”Custom environment with variable indentation and auto-line breaking?
categorizing a variable turns it from insignificant to significant
Why does the frost depth increase when the surface temperature warms up?
What is the meaning of "You've never met a graph you didn't like?"
Make a Bowl of Alphabet Soup
Reason why a kingside attack is not justified
"Oh no!" in Latin
Does capillary rise violate hydrostatic paradox?
Why is indicated airspeed rather than ground speed used during the takeoff roll?
How to test the sharpness of a knife?
1 John in Luther’s Bibel
Showing mass murder in a kid's book
Non-Borel set in arbitrary metric space
Pre-Employment Background Check With Consent For Future Checks
Writing in a Christian voice
Output visual diagram of picture
Why does a 97 / 92 key piano exist by Bosendorfer?
A seasonal riddle
How do you justify more code being written by following clean code practices?
Why would five hundred and five same as one?
Extract substring according to regexp with sed or grep
Can you take a "free object interaction" while incapacitated?
Would this string work as string?
What properties make a magic weapon befit a Rogue more than a DEX-based Fighter?
Is there a distance limit for minecart tracks?
environment - solution environment for exercises (different than proof environment)
Duplicating the amsthm proof environmentDefining a new LaTeX environment for numbered two-column proofsAutomatic indentation/framing of nested theorems/proofshide proof environment for restructuringHow can I create a customized environment?Making boxed “problem” environment and a solution environmentProof environment on LaTeXHow to define a proof environment which can be displayed/hidden? [combining two TeX solutions]Is it possible to make LaTeX check that some environment is in each part of a document?Define a new environment based on “proof”Custom environment with variable indentation and auto-line breaking?
I am typing up solutions to a variety of problems in a textbook, and I want to use the proof environment for proofs but a similar environment for solutions. The link here
Duplicating the amsthm proof environment
shows how I can make my own solution environment, but I want the indication for the end of a solution to be slightly different than that of a proof. I'd like solutions to end with the QED as blackbox whereas I want the proof environment to stay as it is (white box to indicate QED). Is there an easy way to make this happen?
environments
add a comment |
I am typing up solutions to a variety of problems in a textbook, and I want to use the proof environment for proofs but a similar environment for solutions. The link here
Duplicating the amsthm proof environment
shows how I can make my own solution environment, but I want the indication for the end of a solution to be slightly different than that of a proof. I'd like solutions to end with the QED as blackbox whereas I want the proof environment to stay as it is (white box to indicate QED). Is there an easy way to make this happen?
environments
add a comment |
I am typing up solutions to a variety of problems in a textbook, and I want to use the proof environment for proofs but a similar environment for solutions. The link here
Duplicating the amsthm proof environment
shows how I can make my own solution environment, but I want the indication for the end of a solution to be slightly different than that of a proof. I'd like solutions to end with the QED as blackbox whereas I want the proof environment to stay as it is (white box to indicate QED). Is there an easy way to make this happen?
environments
I am typing up solutions to a variety of problems in a textbook, and I want to use the proof environment for proofs but a similar environment for solutions. The link here
Duplicating the amsthm proof environment
shows how I can make my own solution environment, but I want the indication for the end of a solution to be slightly different than that of a proof. I'd like solutions to end with the QED as blackbox whereas I want the proof environment to stay as it is (white box to indicate QED). Is there an easy way to make this happen?
environments
environments
edited Apr 13 '17 at 12:34
Community♦
1
1
asked Nov 8 '14 at 12:30
Daniel W. FarlowDaniel W. Farlow
4872823
4872823
add a comment |
add a comment |
3 Answers
3
active
oldest
votes
You also can do that very simply with ntheorem
. Its advantage is an automatic placement of endmarks even if the environment ends in a display math environment:
documentclass[leqno]article
usepackage[utf8]inputenc
usepackage[T1]fontenc
usepackagefourier
usepackageheuristica
usepackageamsmath
usepackage[thmmarks, amsmath, thref]ntheorem
theoremstylenonumberplain
theoremheaderfontitshape
theorembodyfontupshape
theoremseparator.
theoremsymbolensuremathsquare
newtheoremproofProof
theoremsymbolensuremathblacksquare
newtheoremsolutionSolution
theoremseparator. ---
theoremsymbolmboxtexttt;o)
newtheoremvarsolSolution (variant)
begindocument
beginproofSince something is true, we have
[ A = B. ]
endproof
beginsolution[of some exercise]
This is a very intricate solution.
beginalign*
a & = b \ c & = d.
endalign*
endsolution
beginvarsol
This solution is so very simple that it’s not even worth writing it. Just pure thought:
beginequationlabelvoid
endequation
endvarsol
enddocument
add a comment |
Gonzalo's answer can be easily modified to do this. Just add renewcommandqedsymbol$blacksquare$
to the definition
documentclassarticle
usepackageamsthm,amssymb
newenvironmentsolution
renewcommandqedsymbol$blacksquare$beginproof[Solution]
endproof
begindocument
beginproof
test.
endproof
beginsolution
test.
endsolution
beginproof
test.
endproof
enddocument
What are the dimensions of the regular QED symbol? I'd like my black square to look exactly like that--I know you have 3mm and it looks like 2.5mm fits better, but I'm not sure of the exact size.
– Daniel W. Farlow
Nov 8 '14 at 12:48
add a comment |
please can anybody help with the brute force knn algorithm in latex
New contributor
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%2f211136%2fenvironment-solution-environment-for-exercises-different-than-proof-environme%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
You also can do that very simply with ntheorem
. Its advantage is an automatic placement of endmarks even if the environment ends in a display math environment:
documentclass[leqno]article
usepackage[utf8]inputenc
usepackage[T1]fontenc
usepackagefourier
usepackageheuristica
usepackageamsmath
usepackage[thmmarks, amsmath, thref]ntheorem
theoremstylenonumberplain
theoremheaderfontitshape
theorembodyfontupshape
theoremseparator.
theoremsymbolensuremathsquare
newtheoremproofProof
theoremsymbolensuremathblacksquare
newtheoremsolutionSolution
theoremseparator. ---
theoremsymbolmboxtexttt;o)
newtheoremvarsolSolution (variant)
begindocument
beginproofSince something is true, we have
[ A = B. ]
endproof
beginsolution[of some exercise]
This is a very intricate solution.
beginalign*
a & = b \ c & = d.
endalign*
endsolution
beginvarsol
This solution is so very simple that it’s not even worth writing it. Just pure thought:
beginequationlabelvoid
endequation
endvarsol
enddocument
add a comment |
You also can do that very simply with ntheorem
. Its advantage is an automatic placement of endmarks even if the environment ends in a display math environment:
documentclass[leqno]article
usepackage[utf8]inputenc
usepackage[T1]fontenc
usepackagefourier
usepackageheuristica
usepackageamsmath
usepackage[thmmarks, amsmath, thref]ntheorem
theoremstylenonumberplain
theoremheaderfontitshape
theorembodyfontupshape
theoremseparator.
theoremsymbolensuremathsquare
newtheoremproofProof
theoremsymbolensuremathblacksquare
newtheoremsolutionSolution
theoremseparator. ---
theoremsymbolmboxtexttt;o)
newtheoremvarsolSolution (variant)
begindocument
beginproofSince something is true, we have
[ A = B. ]
endproof
beginsolution[of some exercise]
This is a very intricate solution.
beginalign*
a & = b \ c & = d.
endalign*
endsolution
beginvarsol
This solution is so very simple that it’s not even worth writing it. Just pure thought:
beginequationlabelvoid
endequation
endvarsol
enddocument
add a comment |
You also can do that very simply with ntheorem
. Its advantage is an automatic placement of endmarks even if the environment ends in a display math environment:
documentclass[leqno]article
usepackage[utf8]inputenc
usepackage[T1]fontenc
usepackagefourier
usepackageheuristica
usepackageamsmath
usepackage[thmmarks, amsmath, thref]ntheorem
theoremstylenonumberplain
theoremheaderfontitshape
theorembodyfontupshape
theoremseparator.
theoremsymbolensuremathsquare
newtheoremproofProof
theoremsymbolensuremathblacksquare
newtheoremsolutionSolution
theoremseparator. ---
theoremsymbolmboxtexttt;o)
newtheoremvarsolSolution (variant)
begindocument
beginproofSince something is true, we have
[ A = B. ]
endproof
beginsolution[of some exercise]
This is a very intricate solution.
beginalign*
a & = b \ c & = d.
endalign*
endsolution
beginvarsol
This solution is so very simple that it’s not even worth writing it. Just pure thought:
beginequationlabelvoid
endequation
endvarsol
enddocument
You also can do that very simply with ntheorem
. Its advantage is an automatic placement of endmarks even if the environment ends in a display math environment:
documentclass[leqno]article
usepackage[utf8]inputenc
usepackage[T1]fontenc
usepackagefourier
usepackageheuristica
usepackageamsmath
usepackage[thmmarks, amsmath, thref]ntheorem
theoremstylenonumberplain
theoremheaderfontitshape
theorembodyfontupshape
theoremseparator.
theoremsymbolensuremathsquare
newtheoremproofProof
theoremsymbolensuremathblacksquare
newtheoremsolutionSolution
theoremseparator. ---
theoremsymbolmboxtexttt;o)
newtheoremvarsolSolution (variant)
begindocument
beginproofSince something is true, we have
[ A = B. ]
endproof
beginsolution[of some exercise]
This is a very intricate solution.
beginalign*
a & = b \ c & = d.
endalign*
endsolution
beginvarsol
This solution is so very simple that it’s not even worth writing it. Just pure thought:
beginequationlabelvoid
endequation
endvarsol
enddocument
answered Nov 8 '14 at 13:40
BernardBernard
173k776205
173k776205
add a comment |
add a comment |
Gonzalo's answer can be easily modified to do this. Just add renewcommandqedsymbol$blacksquare$
to the definition
documentclassarticle
usepackageamsthm,amssymb
newenvironmentsolution
renewcommandqedsymbol$blacksquare$beginproof[Solution]
endproof
begindocument
beginproof
test.
endproof
beginsolution
test.
endsolution
beginproof
test.
endproof
enddocument
What are the dimensions of the regular QED symbol? I'd like my black square to look exactly like that--I know you have 3mm and it looks like 2.5mm fits better, but I'm not sure of the exact size.
– Daniel W. Farlow
Nov 8 '14 at 12:48
add a comment |
Gonzalo's answer can be easily modified to do this. Just add renewcommandqedsymbol$blacksquare$
to the definition
documentclassarticle
usepackageamsthm,amssymb
newenvironmentsolution
renewcommandqedsymbol$blacksquare$beginproof[Solution]
endproof
begindocument
beginproof
test.
endproof
beginsolution
test.
endsolution
beginproof
test.
endproof
enddocument
What are the dimensions of the regular QED symbol? I'd like my black square to look exactly like that--I know you have 3mm and it looks like 2.5mm fits better, but I'm not sure of the exact size.
– Daniel W. Farlow
Nov 8 '14 at 12:48
add a comment |
Gonzalo's answer can be easily modified to do this. Just add renewcommandqedsymbol$blacksquare$
to the definition
documentclassarticle
usepackageamsthm,amssymb
newenvironmentsolution
renewcommandqedsymbol$blacksquare$beginproof[Solution]
endproof
begindocument
beginproof
test.
endproof
beginsolution
test.
endsolution
beginproof
test.
endproof
enddocument
Gonzalo's answer can be easily modified to do this. Just add renewcommandqedsymbol$blacksquare$
to the definition
documentclassarticle
usepackageamsthm,amssymb
newenvironmentsolution
renewcommandqedsymbol$blacksquare$beginproof[Solution]
endproof
begindocument
beginproof
test.
endproof
beginsolution
test.
endsolution
beginproof
test.
endproof
enddocument
edited Nov 8 '14 at 13:13
answered Nov 8 '14 at 12:42
user11232
What are the dimensions of the regular QED symbol? I'd like my black square to look exactly like that--I know you have 3mm and it looks like 2.5mm fits better, but I'm not sure of the exact size.
– Daniel W. Farlow
Nov 8 '14 at 12:48
add a comment |
What are the dimensions of the regular QED symbol? I'd like my black square to look exactly like that--I know you have 3mm and it looks like 2.5mm fits better, but I'm not sure of the exact size.
– Daniel W. Farlow
Nov 8 '14 at 12:48
What are the dimensions of the regular QED symbol? I'd like my black square to look exactly like that--I know you have 3mm and it looks like 2.5mm fits better, but I'm not sure of the exact size.
– Daniel W. Farlow
Nov 8 '14 at 12:48
What are the dimensions of the regular QED symbol? I'd like my black square to look exactly like that--I know you have 3mm and it looks like 2.5mm fits better, but I'm not sure of the exact size.
– Daniel W. Farlow
Nov 8 '14 at 12:48
add a comment |
please can anybody help with the brute force knn algorithm in latex
New contributor
add a comment |
please can anybody help with the brute force knn algorithm in latex
New contributor
add a comment |
please can anybody help with the brute force knn algorithm in latex
New contributor
please can anybody help with the brute force knn algorithm in latex
New contributor
New contributor
answered 8 mins ago
lawallawal
1
1
New contributor
New contributor
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%2f211136%2fenvironment-solution-environment-for-exercises-different-than-proof-environme%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