Skip to main content
Logo image

Derivatives and Integrals An Annotated Discourse

Worksheet 35.10 Worksheet with an exercise with tasks

View Source for worksheet
<worksheet>
  <title>Worksheet with an exercise with tasks</title>
  <introduction>
    <p>
      Page breaking between tasks in a single exercise can be tricky.
      This is a test for that.
    </p>
  </introduction>
  <exercise>
    <introduction>
      <p>
        Here are multiple tasks with just enough workspace to cause a page break after the third one.
      </p>
    </introduction>
    <task workspace="2in">
      <statement>
        <p>
          The first tasks.
        </p>
      </statement>
    </task>
    <task workspace="2in">
      <statement>
        <p>
          The second task.
        </p>
      </statement>
    </task>
    <task workspace="2in">
      <statement>
        <p>
          The third task.
        </p>
      </statement>
    </task>
    <task workspace="2in">
      <statement>
        <p>
          The fourth task.
        </p>
      </statement>
    </task>
  </exercise>
  <exercise workspace="3in">
    <statement>
      <p>
        An exercise without any tasks but some workspace.
      </p>
    </statement>
  </exercise>
</worksheet>
Page breaking between tasks in a single exercise can be tricky. This is a test for that.

1.

View Source for exercise
<exercise>
  <introduction>
    <p>
      Here are multiple tasks with just enough workspace to cause a page break after the third one.
    </p>
  </introduction>
  <task workspace="2in">
    <statement>
      <p>
        The first tasks.
      </p>
    </statement>
  </task>
  <task workspace="2in">
    <statement>
      <p>
        The second task.
      </p>
    </statement>
  </task>
  <task workspace="2in">
    <statement>
      <p>
        The third task.
      </p>
    </statement>
  </task>
  <task workspace="2in">
    <statement>
      <p>
        The fourth task.
      </p>
    </statement>
  </task>
</exercise>
Here are multiple tasks with just enough workspace to cause a page break after the third one.
(a)
View Source for task
<task workspace="2in">
  <statement>
    <p>
      The first tasks.
    </p>
  </statement>
</task>
The first tasks.
(b)
View Source for task
<task workspace="2in">
  <statement>
    <p>
      The second task.
    </p>
  </statement>
</task>
The second task.
(c)
View Source for task
<task workspace="2in">
  <statement>
    <p>
      The third task.
    </p>
  </statement>
</task>
The third task.
(d)
View Source for task
<task workspace="2in">
  <statement>
    <p>
      The fourth task.
    </p>
  </statement>
</task>
The fourth task.

2.

View Source for exercise
<exercise workspace="3in">
  <statement>
    <p>
      An exercise without any tasks but some workspace.
    </p>
  </statement>
</exercise>
An exercise without any tasks but some workspace.