Why there is no space left after the answer header?Exercises in lecture notes without predetermined...
Bash script to truncate subject line of incoming email
Square Root Distance from Integers
What makes papers publishable in top-tier journals?
Is a new boolean field better than null reference when a value can be meaningfully absent?
Why do we have to make "peinlich" start with a capital letter and also end with -s in this sentence?
Why is Agricola named as such?
Is there a verb that means to inject with poison?
Current across a wire with zero potential difference
What is the wife of a henpecked husband called?
How do you funnel food off a cutting board?
Non-Cancer terminal illness that can affect young (age 10-13) girls?
How should I handle players who ignore the session zero agreement?
In Linux what happens if 1000 files in a directory are moved to another location while another 300 files were added to the source directory?
How do I prevent a homebrew Grappling Hook feature from trivializing Tomb of Annihilation?
Does diversity provide anything that meritocracy does not?
Is "the fire consumed everything on its way" correct?
Separate environment for personal and development use under macOS
A curious equality of integrals involving the prime counting function?
After checking in online, how do I know whether I need to go show my passport at airport check-in?
Plausible reason for gold-digging ant
Cat is tipping over bed-side lamps during the night
Explanation of a regular pattern only occuring for prime numbers
Do authors have to be politically correct in article-writing?
Identify KNO3 and KH2PO4 at home
Why there is no space left after the answer header?
Exercises in lecture notes without predetermined placementCreating my own sectioning command for exercisesExercises in lecture notes without predetermined placement (Follow-up)An in line Exercise environmentHow to duplicate content/vboxes?Environment to “postpone” text portions?Math book: how to write Exercise and AnswersExercise Package: Align Exercise Header, Exercise, Answer Header and AnswerBad math operators space after left. in aligned equationsNeed to modify exercise style mentioned code for using as MCQ type questions and other question seperately
I redefined the exercise and the answer headers of exercise
package in the same way.
After the exercise header there is correctly some space left, after the answer header no.
Of course, I can put it manually in the definition of the answer header, but I'm wondering if it is a bug of the package or something I did wrong.
documentclass{book}
usepackage{amsmath}
usepackage[lastexercise]{exercise}
setlength{ExerciseSkipBefore}{baselineskip}
setlength{ExerciseSkipAfter}{1baselineskip}
setlength{AnswerSkipBefore}{0baselineskip}
setlength{AnswerSkipAfter}{1.2baselineskip}
renewcounter{Exercise}[chapter]
renewcommand{ExerciseHeader}{noindentbfseriesExerciseName thechapter.ExerciseHeaderNB.}
renewcommand{AnswerName}{Solution}
renewcommand{AnswerHeader}{noindentbfseriesAnswerName thechapter.ExerciseHeaderNB.}
begin{document}
chapter{My first chapter}
section{Problems}
begin{Exercise}
Text of the 1st problem
end{Exercise}
begin{Answer}
Text of the solution of the 1st problem
end{Answer}
begin{Exercise}
Text of the 2nd problem
end{Exercise}
begin{Answer}
Text of the solution of the 2nd problem
end{Answer}
begin{Exercise}
Text of the 3rd problem
end{Exercise}
begin{Answer}
Text of the solution of the 3rd problem
end{Answer}
end{document}
horizontal-alignment exercises
add a comment |
I redefined the exercise and the answer headers of exercise
package in the same way.
After the exercise header there is correctly some space left, after the answer header no.
Of course, I can put it manually in the definition of the answer header, but I'm wondering if it is a bug of the package or something I did wrong.
documentclass{book}
usepackage{amsmath}
usepackage[lastexercise]{exercise}
setlength{ExerciseSkipBefore}{baselineskip}
setlength{ExerciseSkipAfter}{1baselineskip}
setlength{AnswerSkipBefore}{0baselineskip}
setlength{AnswerSkipAfter}{1.2baselineskip}
renewcounter{Exercise}[chapter]
renewcommand{ExerciseHeader}{noindentbfseriesExerciseName thechapter.ExerciseHeaderNB.}
renewcommand{AnswerName}{Solution}
renewcommand{AnswerHeader}{noindentbfseriesAnswerName thechapter.ExerciseHeaderNB.}
begin{document}
chapter{My first chapter}
section{Problems}
begin{Exercise}
Text of the 1st problem
end{Exercise}
begin{Answer}
Text of the solution of the 1st problem
end{Answer}
begin{Exercise}
Text of the 2nd problem
end{Exercise}
begin{Answer}
Text of the solution of the 2nd problem
end{Answer}
begin{Exercise}
Text of the 3rd problem
end{Exercise}
begin{Answer}
Text of the solution of the 3rd problem
end{Answer}
end{document}
horizontal-alignment exercises
add a comment |
I redefined the exercise and the answer headers of exercise
package in the same way.
After the exercise header there is correctly some space left, after the answer header no.
Of course, I can put it manually in the definition of the answer header, but I'm wondering if it is a bug of the package or something I did wrong.
documentclass{book}
usepackage{amsmath}
usepackage[lastexercise]{exercise}
setlength{ExerciseSkipBefore}{baselineskip}
setlength{ExerciseSkipAfter}{1baselineskip}
setlength{AnswerSkipBefore}{0baselineskip}
setlength{AnswerSkipAfter}{1.2baselineskip}
renewcounter{Exercise}[chapter]
renewcommand{ExerciseHeader}{noindentbfseriesExerciseName thechapter.ExerciseHeaderNB.}
renewcommand{AnswerName}{Solution}
renewcommand{AnswerHeader}{noindentbfseriesAnswerName thechapter.ExerciseHeaderNB.}
begin{document}
chapter{My first chapter}
section{Problems}
begin{Exercise}
Text of the 1st problem
end{Exercise}
begin{Answer}
Text of the solution of the 1st problem
end{Answer}
begin{Exercise}
Text of the 2nd problem
end{Exercise}
begin{Answer}
Text of the solution of the 2nd problem
end{Answer}
begin{Exercise}
Text of the 3rd problem
end{Exercise}
begin{Answer}
Text of the solution of the 3rd problem
end{Answer}
end{document}
horizontal-alignment exercises
I redefined the exercise and the answer headers of exercise
package in the same way.
After the exercise header there is correctly some space left, after the answer header no.
Of course, I can put it manually in the definition of the answer header, but I'm wondering if it is a bug of the package or something I did wrong.
documentclass{book}
usepackage{amsmath}
usepackage[lastexercise]{exercise}
setlength{ExerciseSkipBefore}{baselineskip}
setlength{ExerciseSkipAfter}{1baselineskip}
setlength{AnswerSkipBefore}{0baselineskip}
setlength{AnswerSkipAfter}{1.2baselineskip}
renewcounter{Exercise}[chapter]
renewcommand{ExerciseHeader}{noindentbfseriesExerciseName thechapter.ExerciseHeaderNB.}
renewcommand{AnswerName}{Solution}
renewcommand{AnswerHeader}{noindentbfseriesAnswerName thechapter.ExerciseHeaderNB.}
begin{document}
chapter{My first chapter}
section{Problems}
begin{Exercise}
Text of the 1st problem
end{Exercise}
begin{Answer}
Text of the solution of the 1st problem
end{Answer}
begin{Exercise}
Text of the 2nd problem
end{Exercise}
begin{Answer}
Text of the solution of the 2nd problem
end{Answer}
begin{Exercise}
Text of the 3rd problem
end{Exercise}
begin{Answer}
Text of the solution of the 3rd problem
end{Answer}
end{document}
horizontal-alignment exercises
horizontal-alignment exercises
asked 4 mins ago
CarLaTeXCarLaTeX
32k551133
32k551133
add a comment |
add a comment |
0
active
oldest
votes
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%2f476878%2fwhy-there-is-no-space-left-after-the-answer-header%23new-answer', 'question_page');
}
);
Post as a guest
Required, but never shown
0
active
oldest
votes
0
active
oldest
votes
active
oldest
votes
active
oldest
votes
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%2f476878%2fwhy-there-is-no-space-left-after-the-answer-header%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