How to do subexercises or exercise parts with the xsim package?
up vote
1
down vote
favorite
I quite often see, and myself create, exercises which consist of multiple subexercises or parts, like this:
# Exercise 1
Two cars are traveling in opposite directions.
They are 2.7km apart, driving 50km/h and 65km/h, respectively.
a) Write the equations of motion for the two cars.
b) Find the time t at which the two cars will meet.
c) Find the distance traveled by the cars when they meet.
As far as I can see, this is not a feature directly provided by the xsim package. Any recommendations on how to achieve this by other means?
A solution with the enumerate or itemize environment works, but maybe there are other ways.
documentclass{article}
usepackage{xsim}
begin{document}
begin{exercise}
Two cars travel ....
begin{enumerate}
item Write the equations ...
item Find the time ...
item Find the distance ...
end{enumerate}
end{exercise}
end{document}
If one uses a solution like the above one, one has to keep the subexercises or parts in the same order in both the exercise and solution environment manually.
exam xsim
add a comment |
up vote
1
down vote
favorite
I quite often see, and myself create, exercises which consist of multiple subexercises or parts, like this:
# Exercise 1
Two cars are traveling in opposite directions.
They are 2.7km apart, driving 50km/h and 65km/h, respectively.
a) Write the equations of motion for the two cars.
b) Find the time t at which the two cars will meet.
c) Find the distance traveled by the cars when they meet.
As far as I can see, this is not a feature directly provided by the xsim package. Any recommendations on how to achieve this by other means?
A solution with the enumerate or itemize environment works, but maybe there are other ways.
documentclass{article}
usepackage{xsim}
begin{document}
begin{exercise}
Two cars travel ....
begin{enumerate}
item Write the equations ...
item Find the time ...
item Find the distance ...
end{enumerate}
end{exercise}
end{document}
If one uses a solution like the above one, one has to keep the subexercises or parts in the same order in both the exercise and solution environment manually.
exam xsim
Which features of an xsim exercise do you need for your subexercises?
– TeXnician
yesterday
For my purpose it is mostly the automatic numbering and keeping exercises/solutions paired up correctly. If I change the order of my enumerate items in theexerciseenvironment, then I manually have to change them in the in thesolutionenvironment as well. Some people might want some points bookkeeping to work with subexercises/parts as well.
– Jonas Camillus Jeppesen
yesterday
add a comment |
up vote
1
down vote
favorite
up vote
1
down vote
favorite
I quite often see, and myself create, exercises which consist of multiple subexercises or parts, like this:
# Exercise 1
Two cars are traveling in opposite directions.
They are 2.7km apart, driving 50km/h and 65km/h, respectively.
a) Write the equations of motion for the two cars.
b) Find the time t at which the two cars will meet.
c) Find the distance traveled by the cars when they meet.
As far as I can see, this is not a feature directly provided by the xsim package. Any recommendations on how to achieve this by other means?
A solution with the enumerate or itemize environment works, but maybe there are other ways.
documentclass{article}
usepackage{xsim}
begin{document}
begin{exercise}
Two cars travel ....
begin{enumerate}
item Write the equations ...
item Find the time ...
item Find the distance ...
end{enumerate}
end{exercise}
end{document}
If one uses a solution like the above one, one has to keep the subexercises or parts in the same order in both the exercise and solution environment manually.
exam xsim
I quite often see, and myself create, exercises which consist of multiple subexercises or parts, like this:
# Exercise 1
Two cars are traveling in opposite directions.
They are 2.7km apart, driving 50km/h and 65km/h, respectively.
a) Write the equations of motion for the two cars.
b) Find the time t at which the two cars will meet.
c) Find the distance traveled by the cars when they meet.
As far as I can see, this is not a feature directly provided by the xsim package. Any recommendations on how to achieve this by other means?
A solution with the enumerate or itemize environment works, but maybe there are other ways.
documentclass{article}
usepackage{xsim}
begin{document}
begin{exercise}
Two cars travel ....
begin{enumerate}
item Write the equations ...
item Find the time ...
item Find the distance ...
end{enumerate}
end{exercise}
end{document}
If one uses a solution like the above one, one has to keep the subexercises or parts in the same order in both the exercise and solution environment manually.
exam xsim
exam xsim
asked yesterday
Jonas Camillus Jeppesen
133
133
Which features of an xsim exercise do you need for your subexercises?
– TeXnician
yesterday
For my purpose it is mostly the automatic numbering and keeping exercises/solutions paired up correctly. If I change the order of my enumerate items in theexerciseenvironment, then I manually have to change them in the in thesolutionenvironment as well. Some people might want some points bookkeeping to work with subexercises/parts as well.
– Jonas Camillus Jeppesen
yesterday
add a comment |
Which features of an xsim exercise do you need for your subexercises?
– TeXnician
yesterday
For my purpose it is mostly the automatic numbering and keeping exercises/solutions paired up correctly. If I change the order of my enumerate items in theexerciseenvironment, then I manually have to change them in the in thesolutionenvironment as well. Some people might want some points bookkeeping to work with subexercises/parts as well.
– Jonas Camillus Jeppesen
yesterday
Which features of an xsim exercise do you need for your subexercises?
– TeXnician
yesterday
Which features of an xsim exercise do you need for your subexercises?
– TeXnician
yesterday
For my purpose it is mostly the automatic numbering and keeping exercises/solutions paired up correctly. If I change the order of my enumerate items in the
exercise environment, then I manually have to change them in the in the solution environment as well. Some people might want some points bookkeeping to work with subexercises/parts as well.– Jonas Camillus Jeppesen
yesterday
For my purpose it is mostly the automatic numbering and keeping exercises/solutions paired up correctly. If I change the order of my enumerate items in the
exercise environment, then I manually have to change them in the in the solution environment as well. Some people might want some points bookkeeping to work with subexercises/parts as well.– Jonas Camillus Jeppesen
yesterday
add a comment |
active
oldest
votes
active
oldest
votes
active
oldest
votes
active
oldest
votes
active
oldest
votes
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%2f461072%2fhow-to-do-subexercises-or-exercise-parts-with-the-xsim-package%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
Which features of an xsim exercise do you need for your subexercises?
– TeXnician
yesterday
For my purpose it is mostly the automatic numbering and keeping exercises/solutions paired up correctly. If I change the order of my enumerate items in the
exerciseenvironment, then I manually have to change them in the in thesolutionenvironment as well. Some people might want some points bookkeeping to work with subexercises/parts as well.– Jonas Camillus Jeppesen
yesterday