Skip to main content
Logo image

Section 4 An Interesting Corollary

View Source for section
<section xml:id="interesting-corollary" label="section-interesting-corollary">
    <title>An Interesting Corollary</title>
    <objectives xml:id="objectives-structures">
      <title>Fundamental Structures</title>
      <introduction>
        <p>
          This is an <tag>objectives</tag> element you are reading,
          and this is its introduction.
          This early section has really grown and tries to accomplish many things.
          Not all of them are listed here.
        </p>
      </introduction>
      <ol>
        <li xml:id="objective-structure">
          Display various
          <q>blocks</q>, fundamental units of the flow.
        </li>
        <li>More.</li>
        <li>Evermore.</li>
      </ol>
      <conclusion>
        <p>
          This concludes the (incomplete) objectives for this section,
          so now we can carry-on as before.
        </p>
      </conclusion>
    </objectives>
    <introduction>
      <p>
        This is a cross-reference to one of the objectives above,
        forced to use the <c>phrase-global</c> form of the text.
        It should describe the objective as belonging to the <em>section</em>
        (rather than the <em>objectives</em>),
        since objectives are one-per-subdivision and are numbered based upon the containing division:
        <xref ref="objective-structure" text="phrase-global" />.
        For comparison this is the (forced) <c>type-global</c> cross-reference:
        <xref ref="objective-structure" text="type-global" />.
      </p>
      <p>
        The Fundamental Theorem comes in two flavors,
        where usually one is a corollary of the other.
      </p>
    </introduction>
    <subsection xml:id="subsection-second-FTC">
      <title>Second Version of <acro>FTC</acro></title>

      <corollary xml:id="corollary-FTC-derivative">
        <creator>Leibniz, Newton</creator>
        <idx><h>Fundamental Theorem of Calculus</h><h>Corollary</h></idx>
        <statement>
          <p>
            Suppose <m>f(x)</m> is a continuous function.
            Then
            <men xml:id="equation-alternate-FTC">
              \frac{d}{dx}\definiteintegral{a}{x}{f(t)}{t}=f(x)
            </men>.
          </p>
        </statement>
        <proof xml:id="proof-FTC-corollary">
          <p>
            We simply take the indicated derivative,
            applying Theorem<nbsp /><xref ref="theorem-FTC" /> at <xref ref="equation-use-FTC" />
            <mdn>
              <mrow xml:id="equation-use-FTC">\frac{d}{dx}\definiteintegral{a}{x}{f(t)}{t}&amp;=\frac{d}{dx}\left(F(x)-F(a)\right)</mrow>
              <mrow number="no">&amp;=\frac{d}{dx}F(x)-\frac{d}{dx}F(a)</mrow>
              <mrow xml:id="equation-conclude">&amp;=f(x)-0 = f(x)</mrow>
            </mdn>.
          </p>
        </proof>
        <justification>
        <p>
          A justification, which is one of the variants of a proof.
        </p>
        </justification>





        <proof>
          <title>Alternate Proof</title>
          <p>
            You can have multiple proofs,
            and they can have titles which replace the word
            <q>Proof</q>
            as a heading.
            Here we just exercise displayed math with no automatic numbering,
            and an elective number on the middle equation.
            <md>
              <mrow>\frac{d}{dx}\definiteintegral{a}{x}{f(t)}{t}&amp;=\frac{d}{dx}\left(F(x)-F(a)\right)</mrow>
              <mrow number="yes">&amp;=\frac{d}{dx}F(x)-\frac{d}{dx}F(a)</mrow>
              <mrow>&amp;=f(x)-0 = f(x)</mrow>
            </md>
          </p>
        </proof>
      </corollary>
      <p>
        The alternative version of the Fundamental Theorem (<acro>FTC</acro>) in <xref ref="equation-alternate-FTC" /> is a compact way to express the result.
      </p>
      <p>
        For testing purposes, there is a simple bare Sage Cell here.
      </p>
<sage>
<input>
c = 832
c
</input>
</sage>
      <example xml:id="example-mysterious">
        <title>A Mysterious Derivative!</title>
        <p>
          So if we define a function with its variable employed as a limit of integration, like so
          <me>
            K(z)=\definiteintegral{345}{z}{x^4\sin(x^2)}{x}
          </me>
          then we get the derivative of that function so easily it seems like a mystery,
          <me>
            \frac{d}{dz}K(z)=z^4\sin(z^2)
          </me>.
          That's it.
        </p>
        <p>
          For testing purposes, there is a simple Sage Cell here,
          buried inside an example that should be a knowl
          (embedded in the page).
        </p>
<sage>
<input>2+2</input>
</sage>
        <p>
          We test a Sage cell inside a knowl,
          which should set the value of a variable that will be available to subsequent cells within the knowl.
        </p>
<sage>
<input>
a = 6
a
</input>
</sage>
<sage>
<input>
b = a + 10
b
</input>
</sage>
        <p>
          Even if you ran the cell at the top of this page,
          within this knowl the value of the variable <c>c</c> is not known,
          so the next cell will cause an error.
        </p>
<sage>
<input>
c + 400
</input>
</sage>
      </example>
      <p>
        The Sage cells on a page will
        <q>remember</q>
        results computed elsewhere on the page.
        If you rely on this feature,
        remind your readers to evaluate all the necessary cells and that they perhaps need to be evaluated in a certain order.
      </p>
<sage>
<input>
c/2
</input>
</sage>
      <p>
        There are some Sage cells in the previous (knowled) <tag>example</tag>.
        The results there are restricted to the knowl.
        In other words, the scope of those cells is the knowl.
        So if you opened the example and executed the Sage cells there,
        or if you skipped the example entirely, the next cell should not
        <q>know</q>
        the values of those variables and will raise an error.
      </p>
<sage>
<input>
a + b
</input>
</sage>
      <p>
        We cross-reference the example just prior,
        <xref ref="example-mysterious" text="type-global" />,
        to test the simple Sage cells that will now be part of a cross-reference knowl
        (an external file).
      </p>
      <claim xml:id="claim-with-cases">
        <title>An Equivalent Claim</title>
        <statement>
          <p>
            This claim is an equivalence:
            it is true if and only if it is correct.
          </p>
        </statement>
        <proof>
          <p>
            Our purpose here is to show how you can structure a proof with cases,
            such as an equivalence structured with the arrows typically used to demonstrate the two
            <q>directions</q>
            involved in the proof,
            by using the <attr>direction</attr> attribute on a <tag>case</tag> element.
          </p>
          <case direction="forward">
            <p>
              Nulla non lectus suscipit, bibendum leo quis, dignissim justo.
              In urna turpis, tincidunt id elementum id, faucibus ac tellus.
            </p>
          </case>
          <case direction="backward">
            <p>
              Quisque auctor ligula turpis,
              ut aliquam urna consectetur hendrerit.
              Aenean porta dolor et justo facilisis feugiat in sed sapien.
              Nullam porta ex et commodo semper.
            </p>
          </case>
          <case xml:id="inductive-step">
            <title>Case 3b: The inductive step</title>
            <p>
              A case may also have a <c>title</c>,
              whose formatting and structure is entirely up to the author.
              This then becomes the text of a cross-reference, as well.
            </p>
          </case>
          <case xml:id="questioning-case">
            <title>Why Not Try This?</title>
            <p>
              A <tag>case</tag>
              (or any other element with a default title)
              did not always handle title-ending punctuation correctly.
              So we try an example title with a question mark.
            </p>
          </case>
          <case direction="forward" xml:id="forward">
            <title>Necessity</title>
            <p>
              If you like, you can have both indications.
            </p>
          </case>
          <case xml:id="empty-case">
            <p>
              No direction, no title, then just a generic title.
            </p>
          </case>
        </proof>
        <proof>
          <title>Exciting Proof!</title>
          <p>
            We test here that punctuation at the end of the title of a proof is handled correctly.
          </p>
        </proof>
        <proof>
          <title>Exact Proof</title>
          <p>
            This proof should fill exactly three lines
            (as of defaults in place 2018-12-31)
            and so the tombstone/Halmos should be on a fourth line,
            and then <em>flush right</em>. xxx xxx xxx xxx xxx xxx xxx xxx xxx xxx xxx xxx xxx xxx xxx.
          </p>
        </proof>
      </claim>
      <claim xml:id="claim-with-tfae-cases">
        <title>A List of Equivalent Statements</title>
        <statement>
          <p>
            The following are equivalent.
            <ol marker="(i)">
              <li>This statement is equivalent to all those below.</li>
              <li>
                This statement is equivalent to the statement above and to all those below.
              </li>
              <li>
                This statement is equivalent to the two statements above and to the statement below.
              </li>
              <li>This statement is equivalent to all those above.</li>
            </ol>
          </p>
        </statement>
        <proof>
          <p>
            Our purpose here is to show how you can structure a proof with cases to address the circular logic required to prove the equivalence of a list of statements,
            by using the <attr>direction</attr> attribute on a <tag>case</tag> element.
            You should order the list of statements in the order that you would like to prove ``this statement implies the next.''
          </p>
          <case direction="cycle">
            <p>
              Here we would prove that the first statement implies the second.
            </p>
          </case>
          <case direction="cycle">
            <p>
              Here we would prove that the second statement implies the third.
            </p>
          </case>
          <case direction="cycle" xml:id="cycle">
            <title>The trickiest case</title>
            <p>
              This time we include a title to describe the nature of this case.
              But we would still need to prove that the third statement implies the last.
            </p>
          </case>
          <case direction="cycle">
            <title>Wrap-around</title>
            <p>
              Finally, we would complete the cycle of logic by proving that the last statement implies the first.
            </p>
          </case>
        </proof>
      </claim>
      <p>
        We can also use <attr>direction</attr> set to <c>cycle</c> in a stand-alone proof of our TFAE claim.
        If we include a <attr>ref</attr> on the <tag>proof</tag> that points to the original claim,
        then the formatting of the markers on the statement list will be honored in our cases.
      </p>
      <proof ref="claim-with-tfae-cases">
        <p>
          Once again we will prove that the four statements in <xref ref="claim-with-tfae-cases" /> are equivalent.
        </p>
        <case direction="cycle">
          <p>
            Another argument that the first statement implies the second.
          </p>
        </case>
        <case direction="cycle">
          <p>
            And another argument that the second statement implies the third.
          </p>
        </case>
        <case direction="cycle">
          <title>Not so tricky this time</title>
          <p>
            Why did we find it so difficult before to prove that the third statement implies the last?
          </p>
        </case>
        <case direction="cycle">
          <title>Wrap-around</title>
          <p>
            And once more we complete the cycle of logic.
          </p>
        </case>
      </proof>
      <p>
        A couple more times to check that the default list markers get applied to the directional cases properly.
      </p>
      <claim xml:id="another-claim-with-tfae-cases">
        <title>Another List of Equivalent Statements</title>
        <statement>
          <p>
            The <tag>ol</tag> that creates the list below does not have <attr>marker</attr>.
            <ol>
              <li>This statement is equivalent to the two below.</li>
              <li>
                This statement is equivalent to both the statement above and to the statement below.
              </li>
              <li>This statement is equivalent to the two above.</li>
            </ol>
          </p>
        </statement>
        <proof>
          <p>
            You know the drill by now.
          </p>
          <case direction="cycle">
            <p>
              Does the first statement imply the second?
            </p>
          </case>
          <case direction="cycle">
            <title>The
            <q>middle</q>
            case</title>
            <p>
              Does the second statement imply the third?
            </p>
          </case>
          <case direction="cycle">
            <p>
              And finally, does the third imply the first?
            </p>
          </case>
        </proof>
      </claim>
      <p>
        This proof includes a <attr>ref</attr> to the preceding claim.
      </p>
      <proof ref="another-claim-with-tfae-cases">
        <case direction="cycle">
          <p>
            Does the first statement imply the second?
          </p>
        </case>
        <case direction="cycle">
          <title>The
          <q>middle</q>
          case</title>
          <p>
            Does the second statement imply the third?
          </p>
        </case>
        <case direction="cycle">
          <p>
            And finally, does the third imply the first?
          </p>
        </case>
      </proof>
      <p>
        This proof does not include a <attr>ref</attr>,
        and so the direction indicators get default markers.
      </p>
      <proof>
        <case direction="cycle">
          <p>
            Does the first statement imply the second?
          </p>
        </case>
        <case direction="cycle">
          <p>
            And finally, does the second imply the first?
          </p>
        </case>
      </proof>
    </subsection>

    <subsection>
      <title>A Pedagogical Note about <xref ref="subsection-second-FTC" text="type-global" /></title>
      <subsubsection xml:id="subsubsection-different-integrals">
        <title>Symbolic and Numerical Integrals</title>
        <p>
          The Fundamental Theorem explains why we use the same notation for a definite integral,
          which is a numerical calculation,<fn>
          Which I think sometimes students lose sight of.
          </fn> and an antiderivative,
          which is a symbolic expression.
        </p>
        <exercise xml:id="exercise-essay">
          <title>Essay Question: Compare and Contrast</title>
          <statement>
            <p>
              Write a short paragraph which compares,
              and contrasts, the definite and indefinite integral.
              This is an exercise which sits in the midst of the narrative,
              so is formatted more like an example or a remark.
              It can have a hint and a solution, but this one does not.
              It can have a title, which this one does.
            </p>
          </statement>
          <hint>
            <p>
              Start writing!
            </p>
          </hint>


        </exercise>
      </subsubsection>
      <subsubsection>
        <title>Advice</title>
        <p>
          Using an
          <q>integral sign</q>
          for an antiderivative
          (aka indefinite integral)
          would seem to make the Fundamental Theorem a <foreign xml:lang="fr-FR">fait accompli</foreign>.
          So I would suggest not conflating the notation for two very different things until the Fundamental Theorem exposes them as being highly related.
        </p>
        <example xml:id="example-structured">
          <title>An Example of Structure</title>
          <statement>
            <p>
              This is an example of an example with a bit more structure.
              Specifically,
              the example has a <c>title</c>,
              as usual,
              but then has a <c>statement</c>,
              which is separate from the <c>solution</c>.
              Why did we implement an example in two ways?
            </p>
          </statement>
          <solution>
            <p>
              Authors asked for it and it seemed a very natural thing to do,
              even if we only had an unstructured version for a long time.
            </p>
          </solution>
        </example>
        <question xml:id="sample-question">
          <title>An Example of a Question</title>
          <statement>
            <p>
              Any kind of question can be marked as such with <tag>question</tag>.
              Or similarly, as a <tag>problem</tag>.
              They behave identically to <c>example</c> s, such as the one preceding and are numbered along with theorems,
              examples. etc.
            </p>
          </statement>
          <solution>
            <p>
              You can have a solution.
              Or several, even if you don't ask a question.
            </p>
          </solution>
          <solution>
            <p>
              See?
            </p>
          </solution>
        </question>
        <exercise xml:id="inline-exercise">
          <title>An Inline Exercise</title>
          <statement>
            <p>
              There are lots of exercises in this sample article,
              but mostly they are in special exercise sections.
              Sometimes you just want to sprinkle some exercises through the narrative.
              We call these <term>inline exercises</term>,
              in contrast to <term>divisional exercises</term>.
              The inline exercises look a bit more like a theorem or definition,
              with titles and fully-qualified numbers.
            </p>
            <p>
              These may also have hints, answers and solutions.
            </p>
          </statement>
          <hint>
            <p>
              A good hint.
            </p>
          </hint>
          <answer>
            <p>
              42.
            </p>
          </answer>
          <solution>
            <p>
              If your exercise feels like proving a theorem,
              then you might want to make some comments,
              but also clearly delineate which part of the solution is a the complete proof.
            </p>
            <proof>
              <p>
                Lorem ipsum dolor sit amet, consectetur adipiscing elit.
                Proin lorem diam, convallis in nulla sed, accumsan fermentum urna.
                Pellentesque aliquet leo elit,
                ut consequat nunc dapibus ac.
                Sed lobortis leo tincidunt, vulputate nunc at, ultricies leo.
                Vivamus purus diam,
                tristique laoreet purus eget, mollis gravida sapien.
                Nunc vulputate nisl ac mauris hendrerit cursus.
                Sed vel molestie velit.
                Suspendisse sem sem, elementum at vehicula id, volutpat ac mi.
                Nullam ullamcorper fringilla purus in accumsan.
                Mauris at nunc accumsan orci dictum vulputate id id augue.
                Suspendisse at dignissim elit, non euismod nunc.
                Aliquam faucibus magna ac molestie semper.
                Aliquam hendrerit sem sit amet metus congue tempor.
                Donec laoreet laoreet metus, id interdum purus mattis vulputate.
                Proin condimentum vitae erat varius mollis.
                Donec venenatis libero sed turpis pretium tempor.
              </p>
              <p>
                Praesent rutrum scelerisque felis sit amet adipiscing.
                Phasellus in mollis velit.
                Nunc malesuada felis sit amet massa cursus,
                eget elementum neque viverra.
                Integer sagittis dictum turpis vel aliquet.
                Fusce ut suscipit dolor, nec tristique nisl.
                Aenean luctus, leo et ornare fermentum,
                nibh dui vulputate leo, nec tincidunt augue ipsum sed odio.
                Nunc non erat sollicitudin, iaculis eros consequat, dapibus eros.
              </p>
            </proof>
          </solution>


        </exercise>
        <example xml:id="example-math-title">
          <title>An Example of with <m>\frac12</m> math formula <m>\displaystyle{\int e^x \, dx}</m> in the title</title>
          <statement>
            <p>
              Just for testing math in knowls,
              and also extra whitespace in a <tag>p</tag>.
            </p>
          </statement>
        </example>
        <p>
          There are many different blocks you can employ,
          and they mostly behave the same way.
          A <tag>project</tag>
              <idx><h>project</h></idx>
          is very similar to a <tag>question</tag>
              <idx><h>question</h></idx>
          or <tag>problem</tag>
              <idx><h>problem</h></idx>
        </p>
        <project>
          <title>Start Exploring <pretext /></title>
          <p>
            You could grab the <c>minimal.xml</c> file from the <c>examples/minimal</c> directory and experiment with that.
          </p>
          <p>
            Projects get their own independent numbering scheme,
            since they may be central to your textbook, workbook, or lab manual.
            If you process this sample article with level for project numbering set to <c>0</c> then you will get consecutive numbers from the beginning of your book,
            starting with 1.
          </p>
        </project>
        <exploration>
          <title>Exploring Explorations</title>
          <statement>
            <p>
              This is an <tag>exploration</tag>.
                  <idx><h>exploration</h></idx>
              Other similar possibilities are <tag>project</tag>,
                  <idx><h>project</h></idx>
              <tag>activity</tag>,
                  <idx><h>activity</h></idx>
              <tag>task</tag>,
                  <idx><h>task</h></idx>
              and <tag>investigation</tag>.
                  <idx><h>investigation</h></idx>
            </p>
            <p>
              Note that projects, activities, explorations,
              tasks and investigations <em>share</em>
              the independent numbering scheme,
              so it is really only intended you use one of these.
              If you want a variant of the name (<eg />
              <q>Directed Activity</q>
              ) you can use the <tag>rename</tag>
                  <idx><h>rename an environment</h></idx>
              facility
              (<xref ref="rename-facility" text="type-global" />).
            </p>
          </statement>
          <solution>
            <p>
              This is a
              <q>solution</q>
              to the exploration.
              In practice,
              you might choose to not make this visible for students,
              but instead include it as part of some guidance you might provide to instructors
              (<eg /> an
              <pubtitle>Instructor's Manual</pubtitle>).
            </p>
          </solution>
        </exploration>
        <activity xml:id="activity-with-hint-answer-solution">
          <title>Hints, Answers, Solutions</title>
          <prelude>
            <p>
              This is quite the activity upcoming.
              This is a <c>prelude</c> authored within the <c>activity</c> element,
              but visually just prior.
            </p>
          </prelude>
          <statement>
            <p>
              Another variant of these project-like items is to possibly include a <tag>hint</tag> and an <tag>answer</tag> before the <tag>solution</tag>.
            </p>
          </statement>
          <hint>
            <p>
              Just a little help.
            </p>
          </hint>
          <answer>
            <p>
              The result, but no help in getting there.
            </p>
          </answer>
          <solution>
            <p>
              Everything to get it all done, in detail.
            </p>
          </solution>
          <postlude>
            <p>
              This was quite the activity just now.
              This is a <c>postlude</c> authored within the <c>activity</c> element,
              but visually just after.
            </p>
          </postlude>
        </activity>
        <note xml:id="note-remark">
          <title>A Note on Remarks</title>
          <p>
            <tag>remark</tag>, <tag>convention</tag>, <tag>note</tag>,
            <tag>observation</tag> and <tag>warning</tag> are designed to hold very simple contents,
            with no additional structure
            (no proofs, no solutions, <etc />).
          </p>
          <p>
            But they do carry a title and a number,
            can be the target of a cross-reference,
            and may be optionally knowlized in HTML with the <c>html.knowl.remark</c> processing switch.
          </p>
          <p>
            And distinctly different from a <tag>note</tag> in a <tag>biblio</tag><fn>
            A gratuitous footnote to test prior bug confusing this with a <tag>note</tag> in a <tag>biblio</tag>.
            </fn>.
          </p>
        </note>
        <aside xml:id="an-aside">
          <title>An Aside with a <em>Formatted</em> Title</title>
          <idx>aside</idx>
          <p>
            An <tag>aside</tag> is similar to a remark,
            but is not as critical to the narrative.
            It is not numbered, and so requires a title.
            It can be the target of a cross-reference.
            They are meant to be short,
            and so are not knowlized at their first appearance.
            If the content is appropriate,
            these can be marked as <tag>historical</tag> or <tag>biographical</tag>,
            though longer items should use subdivisions (<eg /> sections,
            subsections) instead.
          </p>
        </aside>
        <p>
          An <tag>exercise</tag> can be structured with <tag>task</tag>.
        </p>
        <exercise xml:id="exercise-structured">
          <title>A very structured exercise</title>
          <introduction>
            <p>
              This is an over-arching introduction to the whole exercise.
              We follow with some tasks.
              In interdum suscipit ullamcorper.
              Morbi sit amet malesuada augue, id vestibulum magna.
              Nulla blandit dui metus, malesuada mollis sapien ullamcorper sit amet.
              Nulla at neque nisi.
              Integer vel porta felis.
            </p>
          </introduction>
          <task>
            <title>A super-simple task</title>
            <p>
              This first task is very simple, just a paragraph.
              In interdum suscipit ullamcorper.
              Morbi sit amet malesuada augue, id vestibulum magna.
              Nulla blandit dui metus, malesuada mollis sapien ullamcorper sit amet.
              Nulla at neque nisi.
              Integer vel porta felis.
            </p>
          </task>
          <task>
            <p>
              Now three paragraphs.
              In interdum suscipit ullamcorper.
              Morbi sit amet malesuada augue, id vestibulum magna.
              Nulla blandit dui metus, malesuada mollis sapien ullamcorper sit amet.
              Nulla at neque nisi.
              Integer vel porta felis.
            </p>
            <p>
              In interdum suscipit ullamcorper.
              Morbi sit amet malesuada augue, id vestibulum magna.
              Nulla blandit dui metus, malesuada mollis sapien ullamcorper sit amet.
              Nulla at neque nisi.
              Integer vel porta felis.
            </p>
            <p>
              In interdum suscipit ullamcorper.
              Morbi sit amet malesuada augue, id vestibulum magna.
              Nulla blandit dui metus, malesuada mollis sapien ullamcorper sit amet.
              Nulla at neque nisi.
              Integer vel porta felis.
            </p>
          </task>
          <task>
            <title>A title of a task that has a subtask with an <tag>answer</tag> for the Solutions</title>
            <introduction>
              <p>
                This second task is further divided by more tasks.
                This is its introduction.
                In interdum suscipit ullamcorper.
                Morbi sit amet malesuada augue, id vestibulum magna.
                Nulla blandit dui metus, malesuada mollis sapien ullamcorper sit amet.
                Nulla at neque nisi.
                Integer vel porta felis.
              </p>
              <p>
                In interdum suscipit ullamcorper.
                Morbi sit amet malesuada augue, id vestibulum magna.
                Nulla blandit dui metus, malesuada mollis sapien ullamcorper sit amet.
                Nulla at neque nisi.
                Integer vel porta felis.
              </p>
            </introduction>
            <task>
              <title>A task with a title and an <tag>answer</tag> for the Solutions</title>
              <statement>
                <p>
                  A really simple subtask.
                  In interdum suscipit ullamcorper.
                  Morbi sit amet malesuada augue, id vestibulum magna.
                  Nulla blandit dui metus, malesuada mollis sapien ullamcorper sit amet.
                  Nulla at neque nisi.
                  Integer vel porta felis.
                </p>
                <p>
                  A short paragraph, before an answer.
                </p>
              </statement>
              <answer>
                <p>
                  With a proof.
                </p>
                <proof>
                  <p>
                    In interdum suscipit ullamcorper.
                    Morbi sit amet malesuada augue, id vestibulum magna.
                    Nulla blandit dui metus, malesuada mollis sapien ullamcorper sit amet.
                    Nulla at neque nisi.
                    Integer vel porta felis.
                  </p>
                </proof>
                <p>
                  And a bit more to say.
                </p>
              </answer>
            </task>
            <task>
              <statement>
                <p>
                  A subtask with an answer.
                  In interdum suscipit ullamcorper.
                  Morbi sit amet malesuada augue, id vestibulum magna.
                  Nulla blandit dui metus, malesuada mollis sapien ullamcorper sit amet.
                  Nulla at neque nisi.
                  Integer vel porta felis.
                </p>
              </statement>
              <answer>
                <p>
                  Right!
                  In interdum suscipit ullamcorper.
                  Morbi sit amet malesuada augue, id vestibulum magna.
                  Nulla blandit dui metus, malesuada mollis sapien ullamcorper sit amet.
                  Nulla at neque nisi.
                  Integer vel porta felis.
                </p>
              </answer>
            </task>
            <task>
              <introduction>
                <p>
                  Three simple sub-sub-tasks.
                  In interdum suscipit ullamcorper.
                  Morbi sit amet malesuada augue, id vestibulum magna.
                  Nulla blandit dui metus, malesuada mollis sapien ullamcorper sit amet.
                  Nulla at neque nisi.
                  Integer vel porta felis.
                </p>
              </introduction>
              <task>
                <p>
                  First subsubtask.
                  Short paragraph.
                </p>
              </task>
              <task>
                <title>A second three-deep subsubtask!</title>
                <p>
                  Second subsubtask.
                  In interdum suscipit ullamcorper.
                  Morbi sit amet malesuada augue, id vestibulum magna.
                  Nulla blandit dui metus, malesuada mollis sapien ullamcorper sit amet.
                  Nulla at neque nisi.
                  Integer vel porta felis.
                </p>
                <p>
                  In interdum suscipit ullamcorper.
                  Morbi sit amet malesuada augue, id vestibulum magna.
                  Nulla blandit dui metus, malesuada mollis sapien ullamcorper sit amet.
                  Nulla at neque nisi.
                  Integer vel porta felis.
                </p>
              </task>
              <task>
                <p>
                  Third subsubtask.
                  In interdum suscipit ullamcorper.
                  Morbi sit amet malesuada augue, id vestibulum magna.
                  Nulla blandit dui metus, malesuada mollis sapien ullamcorper sit amet.
                  Nulla at neque nisi.
                  Integer vel porta felis.
                </p>
                <p>
                  In interdum suscipit ullamcorper
                </p>
                <p>
                  In interdum suscipit ullamcorper.
                  Morbi sit amet malesuada augue, id vestibulum magna.
                  Nulla blandit dui metus, malesuada mollis sapien ullamcorper sit amet.
                  Nulla at neque nisi.
                  Integer vel porta felis.
                </p>
              </task>
              <conclusion>
                <p>
                  The conclusion of the structured subtask.
                  In interdum suscipit ullamcorper.
                  Morbi sit amet malesuada augue, id vestibulum magna.
                  Nulla blandit dui metus, malesuada mollis sapien ullamcorper sit amet.
                  Nulla at neque nisi.
                  Integer vel porta felis.
                </p>
              </conclusion>
            </task>
            <task>
              <p>
                A simple task as the last subtask.
                In interdum suscipit ullamcorper.
                Morbi sit amet malesuada augue, id vestibulum magna.
                Nulla blandit dui metus, malesuada mollis sapien ullamcorper sit amet.
                Nulla at neque nisi.
                Integer vel porta felis.
              </p>
            </task>
            <conclusion>
              <p>
                This concludes our structured second task.
                In interdum suscipit ullamcorper.
                Morbi sit amet malesuada augue, id vestibulum magna.
                Nulla blandit dui metus, malesuada mollis sapien ullamcorper sit amet.
                Nulla at neque nisi.
                Integer vel porta felis.
              </p>
            </conclusion>
          </task>
          <task>
            <statement>
              <p>
                This third top-level task is intermediate in complexity,
                you are reading the <c>statement</c>,
                which is followed by more items.
                In interdum suscipit ullamcorper.
                Morbi sit amet malesuada augue, id vestibulum magna.
                Nulla blandit dui metus, malesuada mollis sapien ullamcorper sit amet.
                Nulla at neque nisi.
                Integer vel porta felis.
              </p>
            </statement>
            <hint>
              <p>
                One hint.
                In interdum suscipit ullamcorper.
                Morbi sit amet malesuada augue, id vestibulum magna.
                Nulla blandit dui metus, malesuada mollis sapien ullamcorper sit amet.
                Nulla at neque nisi.
                Integer vel porta felis.
              </p>
              <p>
                In interdum suscipit ullamcorper.
                Morbi sit amet malesuada augue, id vestibulum magna.
                Nulla blandit dui metus, malesuada mollis sapien ullamcorper sit amet.
                Nulla at neque nisi.
                Integer vel porta felis.
              </p>
            </hint>
            <answer>
              <p>
                First answer.
                In interdum suscipit ullamcorper.
              </p>
            </answer>
            <answer>
              <p>
                Second answer.
                In interdum suscipit ullamcorper.
                Morbi sit amet malesuada augue, id vestibulum magna.
                Nulla blandit dui metus, malesuada mollis sapien ullamcorper sit amet.
                Nulla at neque nisi.
                Integer vel porta felis.
              </p>
              <p>
                In interdum suscipit ullamcorper.
                Morbi sit amet malesuada augue, id vestibulum magna.
                Nulla blandit dui metus, malesuada mollis sapien ullamcorper sit amet.
                Nulla at neque nisi.
                Integer vel porta felis.
              </p>
              <p>
                In interdum suscipit ullamcorper.
                Morbi sit amet malesuada augue, id vestibulum magna.
                Nulla blandit dui metus, malesuada mollis sapien ullamcorper sit amet.
                Nulla at neque nisi.
                Integer vel porta felis.
              </p>
            </answer>
            <solution>
              <p>
                At last, the solution.
                In interdum suscipit ullamcorper.
                Morbi sit amet malesuada augue, id vestibulum magna.
                Nulla blandit dui metus, malesuada mollis sapien ullamcorper sit amet.
                Nulla at neque nisi.
                Integer vel porta felis.
              </p>
            </solution>
          </task>
          <conclusion>
            <p>
              This is a conclusion where you could summarize the exercise.
              In interdum suscipit ullamcorper.
              Morbi sit amet malesuada augue, id vestibulum magna.
              Nulla blandit dui metus, malesuada mollis sapien ullamcorper sit amet.
              Nulla at neque nisi.
              Integer vel porta felis.
            </p>
          </conclusion>
        </exercise>
        <p>
          The following <tag>project</tag> is nearly identical to the preceding <tag>exercise</tag>.
        </p>
        <project xml:id="project-structured">
          <title>A very structured project</title>
          <prelude>
            <p>
              The next block is a project,
              demonstrating the use of the <c>task</c> element to structure its parts.
              You are reading the <c>prelude</c> now.
              The project has lots of nonsense words,
              so we can test spacing the nested items.
              In interdum suscipit ullamcorper.
              Morbi sit amet malesuada augue, id vestibulum magna.
              Nulla blandit dui metus, malesuada mollis sapien ullamcorper sit amet.
              Nulla at neque nisi.
              Integer vel porta felis.
            </p>
            <p>
              In interdum suscipit ullamcorper.
              Morbi sit amet malesuada augue, id vestibulum magna.
              Nulla blandit dui metus, malesuada mollis sapien ullamcorper sit amet.
              Nulla at neque nisi.
              Integer vel porta felis.
            </p>
          </prelude>
          <introduction>
            <p>
              This is an over-arching introduction to the whole project.
              We follow with some tasks.
              In interdum suscipit ullamcorper.
              Morbi sit amet malesuada augue, id vestibulum magna.
              Nulla blandit dui metus, malesuada mollis sapien ullamcorper sit amet.
              Nulla at neque nisi.
              Integer vel porta felis.
            </p>
          </introduction>
          <task>
            <p>
              This first task is very simple, just a paragraph.
              In interdum suscipit ullamcorper.
              Morbi sit amet malesuada augue, id vestibulum magna.
              Nulla blandit dui metus, malesuada mollis sapien ullamcorper sit amet.
              Nulla at neque nisi.
              Integer vel porta felis.
            </p>
          </task>
          <task>
            <p>
              Now three paragraphs.
              In interdum suscipit ullamcorper.
              Morbi sit amet malesuada augue, id vestibulum magna.
              Nulla blandit dui metus, malesuada mollis sapien ullamcorper sit amet.
              Nulla at neque nisi.
              Integer vel porta felis.
            </p>
            <p>
              In interdum suscipit ullamcorper.
              Morbi sit amet malesuada augue, id vestibulum magna.
              Nulla blandit dui metus, malesuada mollis sapien ullamcorper sit amet.
              Nulla at neque nisi.
              Integer vel porta felis.
            </p>
            <p>
              In interdum suscipit ullamcorper.
              Morbi sit amet malesuada augue, id vestibulum magna.
              Nulla blandit dui metus, malesuada mollis sapien ullamcorper sit amet.
              Nulla at neque nisi.
              Integer vel porta felis.
            </p>
          </task>
          <task>
            <introduction>
              <p>
                This second task is further divided by more tasks.
                This is its introduction.
                In interdum suscipit ullamcorper.
                Morbi sit amet malesuada augue, id vestibulum magna.
                Nulla blandit dui metus, malesuada mollis sapien ullamcorper sit amet.
                Nulla at neque nisi.
                Integer vel porta felis.
              </p>
              <p>
                In interdum suscipit ullamcorper.
                Morbi sit amet malesuada augue, id vestibulum magna.
                Nulla blandit dui metus, malesuada mollis sapien ullamcorper sit amet.
                Nulla at neque nisi.
                Integer vel porta felis.
              </p>
            </introduction>
            <task>
              <statement>
                <p>
                  A really simple subtask.
                  In interdum suscipit ullamcorper.
                  Morbi sit amet malesuada augue, id vestibulum magna.
                  Nulla blandit dui metus, malesuada mollis sapien ullamcorper sit amet.
                  Nulla at neque nisi.
                  Integer vel porta felis.
                </p>
                <p>
                  A short paragraph, before an answer.
                </p>
              </statement>
              <answer>
                <p>
                  With a proof.
                </p>
                <proof>
                  <p>
                    In interdum suscipit ullamcorper.
                    Morbi sit amet malesuada augue, id vestibulum magna.
                    Nulla blandit dui metus, malesuada mollis sapien ullamcorper sit amet.
                    Nulla at neque nisi.
                    Integer vel porta felis.
                  </p>
                </proof>
                <p>
                  And a bit more to say.
                </p>
              </answer>
            </task>
            <task>
              <statement>
                <p>
                  A subtask with an answer.
                  In interdum suscipit ullamcorper.
                  Morbi sit amet malesuada augue, id vestibulum magna.
                  Nulla blandit dui metus, malesuada mollis sapien ullamcorper sit amet.
                  Nulla at neque nisi.
                  Integer vel porta felis.
                </p>
              </statement>
              <answer>
                <p>
                  Right!
                  In interdum suscipit ullamcorper.
                  Morbi sit amet malesuada augue, id vestibulum magna.
                  Nulla blandit dui metus, malesuada mollis sapien ullamcorper sit amet.
                  Nulla at neque nisi.
                  Integer vel porta felis.
                </p>
              </answer>
            </task>
            <task xml:id="project-task-level-two">
              <introduction>
                <p>
                  Two simple sub-sub-tasks.
                  In interdum suscipit ullamcorper.
                  Morbi sit amet malesuada augue, id vestibulum magna.
                  Nulla blandit dui metus, malesuada mollis sapien ullamcorper sit amet.
                  Nulla at neque nisi.
                  Integer vel porta felis.
                </p>
              </introduction>
              <task>
                <p>
                  First subsubtask.
                  Short paragraph.
                </p>
              </task>
              <task>
                <p>
                  Second subsubtask.
                  In interdum suscipit ullamcorper.
                  Morbi sit amet malesuada augue, id vestibulum magna.
                  Nulla blandit dui metus, malesuada mollis sapien ullamcorper sit amet.
                  Nulla at neque nisi.
                  Integer vel porta felis.
                </p>
                <p>
                  In interdum suscipit ullamcorper.
                  Morbi sit amet malesuada augue, id vestibulum magna.
                  Nulla blandit dui metus, malesuada mollis sapien ullamcorper sit amet.
                  Nulla at neque nisi.
                  Integer vel porta felis.
                </p>
              </task>



              <task xml:id="deep-terminal-task">
                <statement>
                  <p>
                    Third subsubtask.
                    In interdum suscipit ullamcorper.
                    Morbi sit amet malesuada augue, id vestibulum magna.
                    Nulla blandit dui metus, malesuada mollis sapien ullamcorper sit amet.
                    Nulla at neque nisi.
                    Integer vel porta felis.
                  </p>
                  <p>
                    In interdum suscipit ullamcorper
                  </p>
                  <p>
                    In interdum suscipit ullamcorper.
                    Morbi sit amet malesuada augue, id vestibulum magna.
                    Nulla blandit dui metus, malesuada mollis sapien ullamcorper sit amet.
                    Nulla at neque nisi.
                    Integer vel porta felis.
                  </p>
                </statement>
              </task>
              <conclusion>
                <p>
                  The conclusion of the structured subtask.
                  In interdum suscipit ullamcorper.
                  Morbi sit amet malesuada augue, id vestibulum magna.
                  Nulla blandit dui metus, malesuada mollis sapien ullamcorper sit amet.
                  Nulla at neque nisi.
                  Integer vel porta felis.
                </p>
              </conclusion>
            </task>
            <task>
              <p>
                A simple task as the last subtask.
                In interdum suscipit ullamcorper.
                Morbi sit amet malesuada augue, id vestibulum magna.
                Nulla blandit dui metus, malesuada mollis sapien ullamcorper sit amet.
                Nulla at neque nisi.
                Integer vel porta felis.
              </p>
            </task>
            <conclusion>
              <p>
                This concludes our structured second task.
                In interdum suscipit ullamcorper.
                Morbi sit amet malesuada augue, id vestibulum magna.
                Nulla blandit dui metus, malesuada mollis sapien ullamcorper sit amet.
                Nulla at neque nisi.
                Integer vel porta felis.
              </p>
            </conclusion>
          </task>
          <task>
            <statement>
              <p>
                This third top-level task is intermediate in complexity,
                you are reading the <c>statement</c>,
                which is followed by more items.
                In interdum suscipit ullamcorper.
                Morbi sit amet malesuada augue, id vestibulum magna.
                Nulla blandit dui metus, malesuada mollis sapien ullamcorper sit amet.
                Nulla at neque nisi.
                Integer vel porta felis.
              </p>
            </statement>
            <hint>
              <p>
                One hint.
                In interdum suscipit ullamcorper.
                Morbi sit amet malesuada augue, id vestibulum magna.
                Nulla blandit dui metus, malesuada mollis sapien ullamcorper sit amet.
                Nulla at neque nisi.
                Integer vel porta felis.
              </p>
              <p>
                In interdum suscipit ullamcorper.
                Morbi sit amet malesuada augue, id vestibulum magna.
                Nulla blandit dui metus, malesuada mollis sapien ullamcorper sit amet.
                Nulla at neque nisi.
                Integer vel porta felis.
              </p>
            </hint>
            <answer>
              <p>
                First answer.
                In interdum suscipit ullamcorper.
              </p>
            </answer>
            <answer>
              <p>
                Second answer.
                In interdum suscipit ullamcorper.
                Morbi sit amet malesuada augue, id vestibulum magna.
                Nulla blandit dui metus, malesuada mollis sapien ullamcorper sit amet.
                Nulla at neque nisi.
                Integer vel porta felis.
              </p>
              <p>
                In interdum suscipit ullamcorper.
                Morbi sit amet malesuada augue, id vestibulum magna.
                Nulla blandit dui metus, malesuada mollis sapien ullamcorper sit amet.
                Nulla at neque nisi.
                Integer vel porta felis.
              </p>
              <p>
                In interdum suscipit ullamcorper.
                Morbi sit amet malesuada augue, id vestibulum magna.
                Nulla blandit dui metus, malesuada mollis sapien ullamcorper sit amet.
                Nulla at neque nisi.
                Integer vel porta felis.
              </p>
            </answer>
            <solution>
              <p>
                At last, the solution.
                In interdum suscipit ullamcorper.
                Morbi sit amet malesuada augue, id vestibulum magna.
                Nulla blandit dui metus, malesuada mollis sapien ullamcorper sit amet.
                Nulla at neque nisi.
                Integer vel porta felis.
              </p>
            </solution>
          </task>
          <conclusion>
            <p>
              This is a conclusion where you could summarize the project.
              In interdum suscipit ullamcorper.
              Morbi sit amet malesuada augue, id vestibulum magna.
              Nulla blandit dui metus, malesuada mollis sapien ullamcorper sit amet.
              Nulla at neque nisi.
              Integer vel porta felis.
            </p>
          </conclusion>
          <postlude>
            <p>
              This postlude appears visually outside the project,
              but is authored within, to make clear its attachment to the project.
              In interdum suscipit ullamcorper.
              Morbi sit amet malesuada augue, id vestibulum magna.
              Nulla blandit dui metus, malesuada mollis sapien ullamcorper sit amet.
              Nulla at neque nisi.
              Integer vel porta felis.
            </p>
          </postlude>
        </project>
        <example xml:id="example-structured-with-task">
          <title>Notation mathématique 2</title>
          <prelude>
            <p>
              The following <tag>example</tag>,
              from Elise Desgreniers, is structured with <tag>task</tag>.
            </p>
          </prelude>
          <introduction>
            <p>
              Écrivez chacun des exemples suivants avec les conditions pertinentes.
            </p>
          </introduction>
          <task>
            <statement>
              <p>
                Soit l'ensemble <m>A=\lbrace 1,2,3,4,5\rbrace</m>.
              </p>
              <p>
                On constate que cet ensemble contient uniquement des entiers positifs allant de 1 à 5.
              </p>
              <p>
                Donc, on peut écrire <m>A=\lbrace x\mid x\in\mathbb{N}\text{ et } 1\leq x\leq 5\rbrace</m>.
              </p>
            </statement>
          </task>
          <task>
            <statement>
              <p>
                <m>\{3,6,9,12,15,\ldots,27,30\}</m>
              </p>
            </statement>
            <hint>
              <p>
                Ce sont des multiples de 3.
              </p>
            </hint>
            <answer>
              <p>
                <m>\{x\mid x=3y \text{ et } 1\leq y\leq 10 \text{ et } y\in\mathbb{N}\}</m>
              </p>
            </answer>
          </task>
          <task>
            <statement>
              <p>
                <m>\{1,3,5,7,9,11,\ldots\}</m>
              </p>
            </statement>
            <hint>
              <p>
                Ce sont des nombres impairs.
              </p>
            </hint>
            <answer>
              <p>
                <m>\{x\mid x\mod 2=1 \text{ et } x\in\mathbb{N}\}</m>
              </p>
            </answer>
          </task>
          <task>
            <statement>
              <p>
                <m>\{2,3,5,7,11,13,17,19,23,\ldots\}</m>
              </p>
            </statement>
            <hint>
              <p>
                Ce sont des nombres premiers.
              </p>
            </hint>
            <answer>
              <p>
                <m>\{x\mid x\text{ est un nombre premier positif}\}</m>
              </p>
            </answer>
          </task>
          <task>
            <statement>
              <p>
                <m>\{1,4,9,16,25,36,\ldots,961\}</m>
              </p>
            </statement>
            <hint>
              <p>
                Ce sont des carrés parfaits.
              </p>
            </hint>
            <answer>
              <p>
                <m>\{x\mid x=y^2 \text{ et } 1\leq y\leq 31\text{ et } y\in\mathbb{N}\}</m>
              </p>
            </answer>
          </task>
          <task>
            <statement>
              <p>
                <m>\{1,8,27,64,125,\ldots\}</m>
              </p>
            </statement>
            <hint>
              <p>
                Ce sont des cubes parfaits.
              </p>
            </hint>
            <answer>
              <p>
                <m>\{x\mid x=y^3 \text{ et } y\in\mathbb{N^*}\}</m>
              </p>
            </answer>
          </task>
        </example>
        <p>
          Notes or examples related to computation or technology can go in blocks of the same name.
        </p>
        <technology>
          <title>Sample Use of Sage</title>
          <p>
            This would be a good place to talk about Sage, including a cell or two.
          </p>
<sage>
<input>diff(x^4, x)</input>
<output>4*x^3</output>
</sage>
          <p>
            But you might want to describe how to use some other calculator,
            or maybe some numerical method.
          </p>
        </technology>
        <paragraphs>
          <title>A <tag>paragraphs</tag> with a <tag>project</tag> with an <tag>answer</tag></title>
          <p>
            The solutions to a project
            (and similar)
            once did not migrate to the automatically-generated solutions.
          </p>
          <project>
            <statement>
              <p>
                A simple project, no tasks, just an answer.
              </p>
            </statement>
            <answer>
              <p>
                Here's the answer we are looking for.
              </p>
            </answer>
          </project>
        </paragraphs>
      </subsubsection>
      <exercises xml:id="exercises-subsection-solo" label="exercises-subsection-solo">
        <exercise xml:id="exercise-test-number">
          <statement>
            <p>
              This is an exercise in an
              <q>Exercises</q>
              subdivision at the level of a subsubsection.
              There is no question other than if the numbering is appropriate.
              Here is a self-referential link: Exercise<nbsp /><xref ref="exercise-test-number" />.
            </p>
            <p>
              The subsubsection has no title in the source,
              so one is provided automatically,
              and will adjust according to the language of the document.
            </p>
          </statement>
          <solution>
            <p>
              This solution will migrate to a list of solutions in the backmatter.
              We include a <c>sidebyside</c> as a test.
            </p>
            <sidebyside width="30%">
              <p>
                This is a skinny paragraph which should be just 30% of the width.
              </p>
              <p>
                And another skinny paragraph which should also be just 30% of the width.
              </p>
            </sidebyside>
          </solution>
        </exercise>
        <exercise xml:id="exercise-with-tasks">
          <introduction>
            <p>
              An <tag>exercise</tag> can be structured with parts, called <tag>task</tag>.
              This is the <tag>introduction</tag>.
            </p>
          </introduction>
          <task>
            <p>
              Do this.
            </p>
          </task>
          <task>
            <p>
              And the other thing.
            </p>
          </task>
        </exercise>
      </exercises>
      <reading-questions>
        <introduction>
          <idx>reading questions</idx>
          <p>
            A set of reading questions may have an <tag>introduction</tag>,
            perhaps for preparatory explanation.
          </p>
          <p>
            If a student has logged in to the HTML version,
            then they can answer the reading questions directly in the book.
            Inline math LaTeX can be entered using <c>$</c>...<c>$</c> or <c>\(</c>...<c>\)</c> delimiters,
            and inline AsciiMath using backticks <c>`</c>...<c>`</c> as delimiters.
            Here are some `gratuitous backticks` to check that AsciiMath is only active in the answers to reading questions.
          </p>
        </introduction>
        <exercise xml:id="first-reading">
          <p>
            This is a <term>reading question</term>
            that you might have a student answer prior to a class session,
            based on reading part of the book.
            A quick glance before class can help you tailor class time to the specific needs of your students.
            The perfect reading question will reveal whether the student has read and understood the material,
            and will be difficult to answer if they have not.
            What do you think of that?
          </p>
        </exercise>
        <exercise>
          <p>
            And a second one,
            with a cross-reference to the first, as a check on numbering:
            <xref ref="first-reading" text="type-global" />.
            Reading questions are allowed to have answers,
            but providing answers misses the point of a reading question,
            and the answer knowl interacts poorly with the mechanism used to allow students to answer directly in the book.
            Do you think the schema should ban answers to reading questions?
          </p>
        </exercise>
        <conclusion>
          <p>
            And for symmetry, a <tag>conclusion</tag>.
          </p>
        </conclusion>
      </reading-questions>
      <glossary xml:id="glossary-specialized">
      <idx>glossary</idx>
      <headnote>
      <p>
        A glossary may have a <tag>headnote</tag>,
        perhaps with some explanation.
        This glossary is a specialized division within a section.
        Placement in the back matter is another option,
        see the <xref ref="glossary-backmatter" text="title" />.
      </p>
      </headnote>
      <gi>
      <title>bar</title>
      <p>
        A part of <term>foobar</term>.
        See <xref ref="foobar-defined" text="title" />.
      </p>
      </gi>
      <gi xml:id="foobar-defined">
      <title>foobar</title>
      <p>
        A synonym for the acronym <acro>FUBAR</acro>.
      </p>
      </gi>
      </glossary>
      <solutions xml:id="solutions-subsection" inline="hint solution answer" divisional="hint solution answer" project="hint solution answer">
        <title>Solutions for This Subsection</title>
        <idx><h>solutions</h><h>for a division</h></idx>
        <introduction>
          <p>
            This is an introduction,
            where you might explain that this division of this subsection contains various hints, answers,
            solutions of inline exercises,
            divisional exercises, and/or project-like blocks.
            See the source to see just how this solutions division was built.
          </p>
        </introduction>

        <conclusion>
          <p>
            And a conclusion to this solutions division,
            which may not be readily apparent as distinct from the final division's worth of solutions,
            but since it is not prefixed with a number,
            it may be different enough.
          </p>
        </conclusion>
      </solutions>
    </subsection>
    <subsection>
      <title>Theorem-Like Environments</title>
      <p>
        There are a variety of pre-defined environments in <pretext />.
        All take a title, and must have a statement.
        Some have proofs (theorems,
        corollaries, <etc />), while some do not have proofs
        (conjectures, axioms, principles).
      </p>
      <principle xml:id="principle-principle">
        <title>The Title Principle</title>
        <statement>
          <p>
            It is a fundamental principle that many elements can have a title.
            Try it and see.
            If you get better formatting,
            then it is being recognized.
            If it looks very plain,
            check the documentation and perhaps make a feature request.
          </p>
        </statement>
      </principle>
      <p>
        More precisely, <tag>theorem</tag>,
        <tag>corollary</tag>, <tag>lemma</tag>,
        <tag>algorithm</tag>, <tag>proposition</tag>,
        <tag>claim</tag>, <tag>fact</tag>,
        and <tag>identity</tag>, all behave exactly the same, requiring a statement
        (as a sequence of paragraphs)
        followed by an optional proof,
        and may have an optional title.
        The elements <tag>axiom</tag>, <tag>conjecture</tag>,
        <tag>principle</tag>, <tag>heuristic</tag>, <tag>hypothesis</tag>,
        and <tag>assumption</tag> are functionally the same, barring a proof
        (since they would never have one!).
        Definitions are an exception,
        as it is natural to place <tag>notation</tag> within<mdash />see the source for Definition<nbsp /><xref ref="definition-indefinite-integral" /> for an example.
      </p>
    </subsection>
    <subsection>
      <title>Linking Sage Cells</title>
      <idx><h>Sage cells</h><h>linking</h></idx>
      <p>
        Sage cells share their results on a per-webpage basis,
        or a per-knowl basis, so if you move to a new chapter,
        section, or subsection that happens to be on another webpage,
        your Sage computations are gone and you start fresh.
        But maybe you need some results from elsewhere.
        As an author,
        you can make an exact copy of a cell in another location by placing the code in an external file,
        which is pure text, freed from any need to format for XML processing.
        So, in particular,
        there is no need to escape ampersands and angle brackets,
        nor is there employment of the <c>CDATA</c> mechanism.
        But the real value is that there is just one version to edit,
        and any changes will be reflected in both copies.
        We demonstrate this in the sample book,
        since it has the <c>xinclude</c> mechanism in place.
        In the chapter on groups,
        find the section on Sage and then find the discussion of subgroups,
        and you will find an example of two identical Sage cells produced from one source file.
      </p>
      <p>
        You can also specify certain cells to be auto-evaluated,
        by setting the <attr>auto-evaluate</attr> attribute to <c>yes</c>.
        The resulting cell will not have a button for evaluation
        (so editing it would be pointless).
        See the source of this sample article for the two examples below.
      </p>
      <p>
        2023-08-17: support just now is for the use case of a small portion of code,
        not a huge library of helper routines.
      </p>
      <p>
        Two cells with the default language <c>sage</c>.
      </p>
<sage auto-evaluate="yes">
<input>k = 404</input>
</sage>
<sage>
<input>2*k</input>
</sage>
      <p>
        Two cells with language <c>python</c>.
      </p>
<sage language="python" auto-evaluate="yes">
<input>
k = 4112
print("Assigned an initial value to the variable k")
</input>
</sage>
<sage language="python">
<input>
k = 2*k
print(k)
</input>
</sage>
    </subsection>
    <subsection>
      <title>Hierarchy</title>
      <paragraphs xml:id="hierarchy-structure">
        <title>Structure</title>
        <p>
          This section of this article has subsections and subsubsections.
          In a book you can have chapters enclosing multiple sections.
          There is one finer subdivision,
          it is achieved with the <c>paragraphs</c> element.
        </p>
        <p>
          It is basically a sequence of paragraphs,
          where the first one gets an inline title.
          You are reading the second, and final,
          paragraph of one right now.
          It is useful for organizing very short documents,
          where numbered subdivisions might be overkill.
        </p>
      </paragraphs>
      <paragraphs>
        <title>A Second Paragraphs</title>
        <p>
          This is a second consecutive <c>paragraphs</c> element,
          so should seem related to its title,
          but distinct from the two paragraphs in the grouping with the title
          <q>Structure</q>
          immediately prior.
        </p>
      </paragraphs>
      <assemblage xml:id="assemblage-basics">
        <title>Assemblages: Collections and Summaries</title>
        <p>
          An <tag>assemblage</tag> is a collection,
          or summary, that does not have much structure to it.
          So you are limited to paragraphs and friends (<c>p</c>,
          <c>blockquote</c>,
          <c>pre</c>) and side-by-sides that do not contain captioned items
          (<c>sidebyside</c>,
          <c>sbsgroup</c>).
          The intent is that contents are not numbered,
          so cannot be cross-referenced individually,
          and so also do not become knowls.
          You may place <tag>image</tag>, <tag>tabular</tag>,
          and <tag>program</tag> inside a <tag>sidebyside</tag>,
          in addition to other objects that do not have captions.
          Note that <c>p</c> may by extension contain lists
          (<c>ol</c>,
          <c>ul</c>,
          <c>dl</c>).
          Despite limited structure, the presentation should draw attention to it,
          because the contents should be seen as more important in some way.
          It should be
          <q>highlighted</q>
          in some manner.
          If you need to connect the entire assemblage with material elsewhere,
          you can do that with the usual <c>xref/xml:id</c> mechanism.
              <idx><h>assemblage</h></idx>
        </p>
        <p>
          What have we seen so far in this (disorganized) sample?
          <ul>
            <li>
              <p>
                Theorems, definitions and corollaries. (<xref ref="section-fundamental-theorem" text="type-global" />)
              </p>
            </li>
            <li>
              <p>
                Sage cells, including with R. (<xref ref="section-sage-cells" text="type-global" />)
              </p>
            </li>
            <li>
              <p>
                Lots of document structure, like introductions and conclusions
                (next). (<xref ref="interesting-corollary" text="type-global" />)
              </p>
            </li>
          </ul>
        </p>
        <p>
          A sample table,
          as a <c>tabular</c> inside a <c>sidebyside</c> with no caption, follows.
        </p>
        <tabular>
          <row>
            <cell>A</cell>
            <cell>B</cell>
            <cell>C</cell>
          </row>
          <row>
            <cell>Uno</cell>
            <cell>Dos</cell>
            <cell>Tres</cell>
          </row>
        </tabular>
      </assemblage>
      <assemblage>
        <p>
          This is a small <c>assemblage</c> with no title,
          simply to make sure the surrounding box behaves properly,
          especially for <latex /> output.
        </p>
      </assemblage>
      <assemblage>
        <title>Assemblages containing <m>\mu \forall \tau \mathbb{H} = \emptyset \kappa</m></title>
        <p>
          It is acceptable for an assemblage to contain mathematical content,
          even in its title.
        </p>
      </assemblage>
    </subsection>
    <subsection xml:id="subsection-intro-conclude">
      <title>Introductions and Conclusions</title>
      <introduction>
        <title>An Introductory Introduction</title>
        <p>
          Any subdivision may have a sequence of paragraphs within an <tag>introduction</tag> that precedes subsequent further subdivisions.
          You are reading one now.
          They are always leaves of the document structure,
          so are rendered on some pages that reference the following subdivisions.
        </p>
        <p>
          An introduction or conclusion is an extremely restrictive container with simple presentation.
          A title is optional
          (and probably not advisable).
          Content is meant to be short and unstructured,
          in particular, nothing that can be numbered is allowed.
          If this feels <em>too</em> restrictive,
          then place your content in an initial numbered subdivision and perhaps title it
          <q>Introduction</q>. Or make your entire subdivion unstructured and place whatever you want into it.
        </p>
        <p>
          This ends this introduction to introductions.
        </p>
      </introduction>
      <subsubsection>
        <title>Test One</title>
        <p>
          An intervening subsubsection just after an introduction.
        </p>
      </subsubsection>
      <subsubsection>
        <title>Test Two</title>
        <p>
          An intervening subsection section which contains an <tag>exercises</tag> division which must be at the level of a Subsubsubsection.
        </p>
        <exercise>
          <statement>
            <p>
              An inline exercise to examine any clash with divisional exercises below.
            </p>
          </statement>
          <answer>
            <p>
              An answer so there is something to appear in a <tag>solutions</tag>.
            </p>
          </answer>
        </exercise>
        <reading-questions>
          <title>What Did You Learn?</title>
          <exercise>
            <statement>
              <p>
                A mock exercise to appease validation.
              </p>
            </statement>
            <answer>
              <p>
                An answer so there is something to appear in a <tag>solutions</tag>.
              </p>
            </answer>
          </exercise>
          <exercise>
            <statement>
              <p>
                And a second to help with formatting the division heading.
              </p>
            </statement>
          </exercise>
        </reading-questions>
        <exercises>
          <exercise>
            <statement>
              <p>
                A mock exercise to appease validation.
              </p>
            </statement>
            <answer>
              <p>
                An answer so there is something to appear in a <tag>solutions</tag>.
              </p>
            </answer>
          </exercise>
          <exercise>
            <statement>
              <p>
                And a second to help with formatting the division heading.
              </p>
            </statement>
          </exercise>
        </exercises>
      </subsubsection>
      <subsubsection>
        <title>Test Three</title>
        <p>
          An intervening subsubsection just before a conclusion.
        </p>
      </subsubsection>
      <conclusion>
        <p>
          Entirely analogous to introductions are conclusions.
          Any subdivision may have a sequence of paragraphs within a <tag>conclusion</tag> that follows previous further subdivisions.
          You are reading one now.
          They are always leaves of the document structure,
          so are rendered on some pages that reference the preceding subdivisions.
        </p>
        <p>
          This concludes this conclusion
          (and this subsection and this section).
        </p>
      </conclusion>
    </subsection>
    <subsection xml:id="subsection-paragraph-markup">
      <title>Some Paragraph-Level Markup</title>
      <p>
        Text within a paragraph may be <em>emphasized</em>
            <idx><h>em</h><h>emphasis</h></idx>
            <idx><h>styling words</h><h>em</h></idx>
            <idx><h>styling words</h><h>emphasis</h></idx>
        with <tag>em</tag> or if you want to take it to the next level you can identify the text as an
        <alert>alert</alert>
            <idx>alert</idx>
            <idx><h>styling words</h><h>alert</h></idx>
        with <tag>alert</tag>.
      </p>
      <p>
        Similarly, within a paragraph,
        you can identify edits between versions as <insert>inserted text that has been added</insert><idx><h>styling words</h><h>insert</h></idx> with <tag>insert</tag> or as <delete>deleted text that has been removed</delete><idx><h>styling words</h><h>delete</h></idx> with <tag>delete</tag>.
        Note that these identified edits are slightly different than <stale>stale text that you want to retain,
        but which is no longer relevant</stale>,
            <idx><h>styling words</h><h>stale</h></idx>
        which is accomplished with <tag>stale</tag>.
        The original request for stale text came from an instructor with an online list of student topics for presentations,
        and as students claimed topics they were marked as no longer available for other students.
      </p>
      <p>
        If you need a
        <q>fill-in blank</q>, like this <fillin />, it can be obtained with an empty <tag>fillin</tag> element that defaults to roughly a 10-character width.
        You can use the <attr>characters</attr> attribute to make the rule longer or shorter,
        such as a 40-character blank:
        <fillin characters="40" />.
        The character count is approximate,
        based on typical character widths within a proportional font carrying English language text.
        Adjust to suit,
        or request a language-specific adjustment if it is critical.
      </p>
      <p>
        This paragraph is intended to make a <tag>fillin</tag> appear right at the start of <fillin characters="20" /> the second line in print and then the next paragraph has nothing but a <tag>fillin</tag>.
        Both are for testing purposes.
      </p>
      <p>
        <fillin characters="5" />
      </p>
      <p>
        The following are <tag>fillin</tag> with <attr>rows</attr> and/or <attr>cols</attr> attributes (at least one of which is greater than 1):
        <fillin rows="2" />, <fillin cols="3" />, <fillin rows="2" cols="3" />.
      </p>
      <p>
        Long after we started this mess,
        we added <pretext /> tags to mark up tags and attributes.
        The elements are: <tag>tag</tag>,
        <tag>tage</tag>, <tag>attr</tag>.
        Examples of how these render are (respectively):
        <tag>section</tag>, <tage>hash</tage>, <attr>width</attr>.
        Perhaps this document will make greater use of these tags.
      </p>
      <p>
        We supply two provisional cross-references for testing purposes only:
        <xref provisional="a first incomplete cross-reference" />,
        <xref provisional="a second incomplete cross-reference" />.
      </p>
    </subsection>
    <conclusion>
      <p>
        A conclusion here, which we fill with some numbering tests.
      </p>
      <p>
        This is a cross-reference to one of the outcomes,
        forced to use the <c>type-global</c> form of the text.
        It should describe the outcome as belonging to the <em>section</em>
        (rather than the <em>outcomes</em>),
        since outcomes are one-per-subdivision and are numbered based upon the containing division:
        <xref ref="outcome-structure" text="phrase-global" />.
        For comparison this is the (forced) <c>type-global</c> cross-reference:
        <xref ref="outcome-structure" text="type-global" />.
      </p>
    </conclusion>
    <outcomes xml:id="outcomes-structures">
      <title>Fundamental Structures, Revisited</title>
      <introduction>
        <p>
          This is a <tag>outcomes</tag> element you are reading,
          and this is its introduction.
          This early section has really grown and we have tried to accomplish many things.
          Not all of them are listed here.
        </p>
      </introduction>
      <ol>
        <li>
          Display various
          <q>blocks</q>, fundamental units of the flow.
        </li>
        <li xml:id="outcome-structure">
          More, and this is what the cross-references above are pointing to.
        </li>
        <li>Evermore.</li>
      </ol>
      <conclusion>
        <p>
          This concludes the (incomplete) outcomes for this section,
          so now we can carry-on to the next section.
        </p>
      </conclusion>
    </outcomes>
  </section>
This is a cross-reference to one of the objectives above, forced to use the phrase-global form of the text. It should describe the objective as belonging to the section (rather than the objectives), since objectives are one-per-subdivision and are numbered based upon the containing division: Objective 1 of Section 4. For comparison this is the (forced) type-global cross-reference: Objective 4.1.
The Fundamental Theorem comes in two flavors, where usually one is a corollary of the other.

Subsection 4.1 Second Version of FTC

View Source for subsection
<subsection xml:id="subsection-second-FTC">
      <title>Second Version of <acro>FTC</acro></title>

      <corollary xml:id="corollary-FTC-derivative">
        <creator>Leibniz, Newton</creator>
        <idx><h>Fundamental Theorem of Calculus</h><h>Corollary</h></idx>
        <statement>
          <p>
            Suppose <m>f(x)</m> is a continuous function.
            Then
            <men xml:id="equation-alternate-FTC">
              \frac{d}{dx}\definiteintegral{a}{x}{f(t)}{t}=f(x)
            </men>.
          </p>
        </statement>
        <proof xml:id="proof-FTC-corollary">
          <p>
            We simply take the indicated derivative,
            applying Theorem<nbsp /><xref ref="theorem-FTC" /> at <xref ref="equation-use-FTC" />
            <mdn>
              <mrow xml:id="equation-use-FTC">\frac{d}{dx}\definiteintegral{a}{x}{f(t)}{t}&amp;=\frac{d}{dx}\left(F(x)-F(a)\right)</mrow>
              <mrow number="no">&amp;=\frac{d}{dx}F(x)-\frac{d}{dx}F(a)</mrow>
              <mrow xml:id="equation-conclude">&amp;=f(x)-0 = f(x)</mrow>
            </mdn>.
          </p>
        </proof>
        <justification>
        <p>
          A justification, which is one of the variants of a proof.
        </p>
        </justification>





        <proof>
          <title>Alternate Proof</title>
          <p>
            You can have multiple proofs,
            and they can have titles which replace the word
            <q>Proof</q>
            as a heading.
            Here we just exercise displayed math with no automatic numbering,
            and an elective number on the middle equation.
            <md>
              <mrow>\frac{d}{dx}\definiteintegral{a}{x}{f(t)}{t}&amp;=\frac{d}{dx}\left(F(x)-F(a)\right)</mrow>
              <mrow number="yes">&amp;=\frac{d}{dx}F(x)-\frac{d}{dx}F(a)</mrow>
              <mrow>&amp;=f(x)-0 = f(x)</mrow>
            </md>
          </p>
        </proof>
      </corollary>
      <p>
        The alternative version of the Fundamental Theorem (<acro>FTC</acro>) in <xref ref="equation-alternate-FTC" /> is a compact way to express the result.
      </p>
      <p>
        For testing purposes, there is a simple bare Sage Cell here.
      </p>
<sage>
<input>
c = 832
c
</input>
</sage>
      <example xml:id="example-mysterious">
        <title>A Mysterious Derivative!</title>
        <p>
          So if we define a function with its variable employed as a limit of integration, like so
          <me>
            K(z)=\definiteintegral{345}{z}{x^4\sin(x^2)}{x}
          </me>
          then we get the derivative of that function so easily it seems like a mystery,
          <me>
            \frac{d}{dz}K(z)=z^4\sin(z^2)
          </me>.
          That's it.
        </p>
        <p>
          For testing purposes, there is a simple Sage Cell here,
          buried inside an example that should be a knowl
          (embedded in the page).
        </p>
<sage>
<input>2+2</input>
</sage>
        <p>
          We test a Sage cell inside a knowl,
          which should set the value of a variable that will be available to subsequent cells within the knowl.
        </p>
<sage>
<input>
a = 6
a
</input>
</sage>
<sage>
<input>
b = a + 10
b
</input>
</sage>
        <p>
          Even if you ran the cell at the top of this page,
          within this knowl the value of the variable <c>c</c> is not known,
          so the next cell will cause an error.
        </p>
<sage>
<input>
c + 400
</input>
</sage>
      </example>
      <p>
        The Sage cells on a page will
        <q>remember</q>
        results computed elsewhere on the page.
        If you rely on this feature,
        remind your readers to evaluate all the necessary cells and that they perhaps need to be evaluated in a certain order.
      </p>
<sage>
<input>
c/2
</input>
</sage>
      <p>
        There are some Sage cells in the previous (knowled) <tag>example</tag>.
        The results there are restricted to the knowl.
        In other words, the scope of those cells is the knowl.
        So if you opened the example and executed the Sage cells there,
        or if you skipped the example entirely, the next cell should not
        <q>know</q>
        the values of those variables and will raise an error.
      </p>
<sage>
<input>
a + b
</input>
</sage>
      <p>
        We cross-reference the example just prior,
        <xref ref="example-mysterious" text="type-global" />,
        to test the simple Sage cells that will now be part of a cross-reference knowl
        (an external file).
      </p>
      <claim xml:id="claim-with-cases">
        <title>An Equivalent Claim</title>
        <statement>
          <p>
            This claim is an equivalence:
            it is true if and only if it is correct.
          </p>
        </statement>
        <proof>
          <p>
            Our purpose here is to show how you can structure a proof with cases,
            such as an equivalence structured with the arrows typically used to demonstrate the two
            <q>directions</q>
            involved in the proof,
            by using the <attr>direction</attr> attribute on a <tag>case</tag> element.
          </p>
          <case direction="forward">
            <p>
              Nulla non lectus suscipit, bibendum leo quis, dignissim justo.
              In urna turpis, tincidunt id elementum id, faucibus ac tellus.
            </p>
          </case>
          <case direction="backward">
            <p>
              Quisque auctor ligula turpis,
              ut aliquam urna consectetur hendrerit.
              Aenean porta dolor et justo facilisis feugiat in sed sapien.
              Nullam porta ex et commodo semper.
            </p>
          </case>
          <case xml:id="inductive-step">
            <title>Case 3b: The inductive step</title>
            <p>
              A case may also have a <c>title</c>,
              whose formatting and structure is entirely up to the author.
              This then becomes the text of a cross-reference, as well.
            </p>
          </case>
          <case xml:id="questioning-case">
            <title>Why Not Try This?</title>
            <p>
              A <tag>case</tag>
              (or any other element with a default title)
              did not always handle title-ending punctuation correctly.
              So we try an example title with a question mark.
            </p>
          </case>
          <case direction="forward" xml:id="forward">
            <title>Necessity</title>
            <p>
              If you like, you can have both indications.
            </p>
          </case>
          <case xml:id="empty-case">
            <p>
              No direction, no title, then just a generic title.
            </p>
          </case>
        </proof>
        <proof>
          <title>Exciting Proof!</title>
          <p>
            We test here that punctuation at the end of the title of a proof is handled correctly.
          </p>
        </proof>
        <proof>
          <title>Exact Proof</title>
          <p>
            This proof should fill exactly three lines
            (as of defaults in place 2018-12-31)
            and so the tombstone/Halmos should be on a fourth line,
            and then <em>flush right</em>. xxx xxx xxx xxx xxx xxx xxx xxx xxx xxx xxx xxx xxx xxx xxx.
          </p>
        </proof>
      </claim>
      <claim xml:id="claim-with-tfae-cases">
        <title>A List of Equivalent Statements</title>
        <statement>
          <p>
            The following are equivalent.
            <ol marker="(i)">
              <li>This statement is equivalent to all those below.</li>
              <li>
                This statement is equivalent to the statement above and to all those below.
              </li>
              <li>
                This statement is equivalent to the two statements above and to the statement below.
              </li>
              <li>This statement is equivalent to all those above.</li>
            </ol>
          </p>
        </statement>
        <proof>
          <p>
            Our purpose here is to show how you can structure a proof with cases to address the circular logic required to prove the equivalence of a list of statements,
            by using the <attr>direction</attr> attribute on a <tag>case</tag> element.
            You should order the list of statements in the order that you would like to prove ``this statement implies the next.''
          </p>
          <case direction="cycle">
            <p>
              Here we would prove that the first statement implies the second.
            </p>
          </case>
          <case direction="cycle">
            <p>
              Here we would prove that the second statement implies the third.
            </p>
          </case>
          <case direction="cycle" xml:id="cycle">
            <title>The trickiest case</title>
            <p>
              This time we include a title to describe the nature of this case.
              But we would still need to prove that the third statement implies the last.
            </p>
          </case>
          <case direction="cycle">
            <title>Wrap-around</title>
            <p>
              Finally, we would complete the cycle of logic by proving that the last statement implies the first.
            </p>
          </case>
        </proof>
      </claim>
      <p>
        We can also use <attr>direction</attr> set to <c>cycle</c> in a stand-alone proof of our TFAE claim.
        If we include a <attr>ref</attr> on the <tag>proof</tag> that points to the original claim,
        then the formatting of the markers on the statement list will be honored in our cases.
      </p>
      <proof ref="claim-with-tfae-cases">
        <p>
          Once again we will prove that the four statements in <xref ref="claim-with-tfae-cases" /> are equivalent.
        </p>
        <case direction="cycle">
          <p>
            Another argument that the first statement implies the second.
          </p>
        </case>
        <case direction="cycle">
          <p>
            And another argument that the second statement implies the third.
          </p>
        </case>
        <case direction="cycle">
          <title>Not so tricky this time</title>
          <p>
            Why did we find it so difficult before to prove that the third statement implies the last?
          </p>
        </case>
        <case direction="cycle">
          <title>Wrap-around</title>
          <p>
            And once more we complete the cycle of logic.
          </p>
        </case>
      </proof>
      <p>
        A couple more times to check that the default list markers get applied to the directional cases properly.
      </p>
      <claim xml:id="another-claim-with-tfae-cases">
        <title>Another List of Equivalent Statements</title>
        <statement>
          <p>
            The <tag>ol</tag> that creates the list below does not have <attr>marker</attr>.
            <ol>
              <li>This statement is equivalent to the two below.</li>
              <li>
                This statement is equivalent to both the statement above and to the statement below.
              </li>
              <li>This statement is equivalent to the two above.</li>
            </ol>
          </p>
        </statement>
        <proof>
          <p>
            You know the drill by now.
          </p>
          <case direction="cycle">
            <p>
              Does the first statement imply the second?
            </p>
          </case>
          <case direction="cycle">
            <title>The
            <q>middle</q>
            case</title>
            <p>
              Does the second statement imply the third?
            </p>
          </case>
          <case direction="cycle">
            <p>
              And finally, does the third imply the first?
            </p>
          </case>
        </proof>
      </claim>
      <p>
        This proof includes a <attr>ref</attr> to the preceding claim.
      </p>
      <proof ref="another-claim-with-tfae-cases">
        <case direction="cycle">
          <p>
            Does the first statement imply the second?
          </p>
        </case>
        <case direction="cycle">
          <title>The
          <q>middle</q>
          case</title>
          <p>
            Does the second statement imply the third?
          </p>
        </case>
        <case direction="cycle">
          <p>
            And finally, does the third imply the first?
          </p>
        </case>
      </proof>
      <p>
        This proof does not include a <attr>ref</attr>,
        and so the direction indicators get default markers.
      </p>
      <proof>
        <case direction="cycle">
          <p>
            Does the first statement imply the second?
          </p>
        </case>
        <case direction="cycle">
          <p>
            And finally, does the second imply the first?
          </p>
        </case>
      </proof>
    </subsection>

Proof.

View Source for proof
<proof xml:id="proof-FTC-corollary">
  <p>
    We simply take the indicated derivative,
    applying Theorem<nbsp /><xref ref="theorem-FTC" /> at <xref ref="equation-use-FTC" />
    <mdn>
      <mrow xml:id="equation-use-FTC">\frac{d}{dx}\definiteintegral{a}{x}{f(t)}{t}&amp;=\frac{d}{dx}\left(F(x)-F(a)\right)</mrow>
      <mrow number="no">&amp;=\frac{d}{dx}F(x)-\frac{d}{dx}F(a)</mrow>
      <mrow xml:id="equation-conclude">&amp;=f(x)-0 = f(x)</mrow>
    </mdn>.
  </p>
</proof>
We simply take the indicated derivative, applying Theorem 2.1 at (4.2)
\begin{align} \frac{d}{dx}\definiteintegral{a}{x}{f(t)}{t}&=\frac{d}{dx}\left(F(x)-F(a)\right)\tag{4.2}\\ &=\frac{d}{dx}F(x)-\frac{d}{dx}F(a)\notag\\ &=f(x)-0 = f(x)\text{.}\tag{4.3} \end{align}

Justification.

View Source for justification
<justification>
<p>
  A justification, which is one of the variants of a proof.
</p>
</justification>
A justification, which is one of the variants of a proof.

Alternate Proof.

View Source for proof
<proof>
  <title>Alternate Proof</title>
  <p>
    You can have multiple proofs,
    and they can have titles which replace the word
    <q>Proof</q>
    as a heading.
    Here we just exercise displayed math with no automatic numbering,
    and an elective number on the middle equation.
    <md>
      <mrow>\frac{d}{dx}\definiteintegral{a}{x}{f(t)}{t}&amp;=\frac{d}{dx}\left(F(x)-F(a)\right)</mrow>
      <mrow number="yes">&amp;=\frac{d}{dx}F(x)-\frac{d}{dx}F(a)</mrow>
      <mrow>&amp;=f(x)-0 = f(x)</mrow>
    </md>
  </p>
</proof>
You can have multiple proofs, and they can have titles which replace the word “Proof” as a heading. Here we just exercise displayed math with no automatic numbering, and an elective number on the middle equation.
\begin{align} \frac{d}{dx}\definiteintegral{a}{x}{f(t)}{t}&=\frac{d}{dx}\left(F(x)-F(a)\right)\notag\\ &=\frac{d}{dx}F(x)-\frac{d}{dx}F(a)\tag{4.4}\\ &=f(x)-0 = f(x)\notag \end{align}
The alternative version of the Fundamental Theorem (FTC) in (4.1) is a compact way to express the result.
For testing purposes, there is a simple bare Sage Cell here.

Example 4.2. A Mysterious Derivative!

View Source for example
<example xml:id="example-mysterious">
        <title>A Mysterious Derivative!</title>
        <p>
          So if we define a function with its variable employed as a limit of integration, like so
          <me>
            K(z)=\definiteintegral{345}{z}{x^4\sin(x^2)}{x}
          </me>
          then we get the derivative of that function so easily it seems like a mystery,
          <me>
            \frac{d}{dz}K(z)=z^4\sin(z^2)
          </me>.
          That's it.
        </p>
        <p>
          For testing purposes, there is a simple Sage Cell here,
          buried inside an example that should be a knowl
          (embedded in the page).
        </p>
<sage>
<input>2+2</input>
</sage>
        <p>
          We test a Sage cell inside a knowl,
          which should set the value of a variable that will be available to subsequent cells within the knowl.
        </p>
<sage>
<input>
a = 6
a
</input>
</sage>
<sage>
<input>
b = a + 10
b
</input>
</sage>
        <p>
          Even if you ran the cell at the top of this page,
          within this knowl the value of the variable <c>c</c> is not known,
          so the next cell will cause an error.
        </p>
<sage>
<input>
c + 400
</input>
</sage>
      </example>
So if we define a function with its variable employed as a limit of integration, like so
\begin{equation*} K(z)=\definiteintegral{345}{z}{x^4\sin(x^2)}{x} \end{equation*}
then we get the derivative of that function so easily it seems like a mystery,
\begin{equation*} \frac{d}{dz}K(z)=z^4\sin(z^2)\text{.} \end{equation*}
That’s it.
For testing purposes, there is a simple Sage Cell here, buried inside an example that should be a knowl (embedded in the page).
We test a Sage cell inside a knowl, which should set the value of a variable that will be available to subsequent cells within the knowl.
Even if you ran the cell at the top of this page, within this knowl the value of the variable c is not known, so the next cell will cause an error.
The Sage cells on a page will “remember” results computed elsewhere on the page. If you rely on this feature, remind your readers to evaluate all the necessary cells and that they perhaps need to be evaluated in a certain order.
There are some Sage cells in the previous (knowled) <example>. The results there are restricted to the knowl. In other words, the scope of those cells is the knowl. So if you opened the example and executed the Sage cells there, or if you skipped the example entirely, the next cell should not “know” the values of those variables and will raise an error.
We cross-reference the example just prior, Example 4.2, to test the simple Sage cells that will now be part of a cross-reference knowl (an external file).

Proof.

View Source for proof
<proof>
  <p>
    Our purpose here is to show how you can structure a proof with cases,
    such as an equivalence structured with the arrows typically used to demonstrate the two
    <q>directions</q>
    involved in the proof,
    by using the <attr>direction</attr> attribute on a <tag>case</tag> element.
  </p>
  <case direction="forward">
    <p>
      Nulla non lectus suscipit, bibendum leo quis, dignissim justo.
      In urna turpis, tincidunt id elementum id, faucibus ac tellus.
    </p>
  </case>
  <case direction="backward">
    <p>
      Quisque auctor ligula turpis,
      ut aliquam urna consectetur hendrerit.
      Aenean porta dolor et justo facilisis feugiat in sed sapien.
      Nullam porta ex et commodo semper.
    </p>
  </case>
  <case xml:id="inductive-step">
    <title>Case 3b: The inductive step</title>
    <p>
      A case may also have a <c>title</c>,
      whose formatting and structure is entirely up to the author.
      This then becomes the text of a cross-reference, as well.
    </p>
  </case>
  <case xml:id="questioning-case">
    <title>Why Not Try This?</title>
    <p>
      A <tag>case</tag>
      (or any other element with a default title)
      did not always handle title-ending punctuation correctly.
      So we try an example title with a question mark.
    </p>
  </case>
  <case direction="forward" xml:id="forward">
    <title>Necessity</title>
    <p>
      If you like, you can have both indications.
    </p>
  </case>
  <case xml:id="empty-case">
    <p>
      No direction, no title, then just a generic title.
    </p>
  </case>
</proof>
Our purpose here is to show how you can structure a proof with cases, such as an equivalence structured with the arrows typically used to demonstrate the two “directions” involved in the proof, by using the @direction attribute on a <case> element.
(⇒) 
View Source for case
<case direction="forward">
  <p>
    Nulla non lectus suscipit, bibendum leo quis, dignissim justo.
    In urna turpis, tincidunt id elementum id, faucibus ac tellus.
  </p>
</case>
Nulla non lectus suscipit, bibendum leo quis, dignissim justo. In urna turpis, tincidunt id elementum id, faucibus ac tellus.
(⇐) 
View Source for case
<case direction="backward">
  <p>
    Quisque auctor ligula turpis,
    ut aliquam urna consectetur hendrerit.
    Aenean porta dolor et justo facilisis feugiat in sed sapien.
    Nullam porta ex et commodo semper.
  </p>
</case>
Quisque auctor ligula turpis, ut aliquam urna consectetur hendrerit. Aenean porta dolor et justo facilisis feugiat in sed sapien. Nullam porta ex et commodo semper.
Case 3b: The inductive step.
View Source for case
<case xml:id="inductive-step">
  <title>Case 3b: The inductive step</title>
  <p>
    A case may also have a <c>title</c>,
    whose formatting and structure is entirely up to the author.
    This then becomes the text of a cross-reference, as well.
  </p>
</case>
A case may also have a title, whose formatting and structure is entirely up to the author. This then becomes the text of a cross-reference, as well.
Why Not Try This?
View Source for case
<case xml:id="questioning-case">
  <title>Why Not Try This?</title>
  <p>
    A <tag>case</tag>
    (or any other element with a default title)
    did not always handle title-ending punctuation correctly.
    So we try an example title with a question mark.
  </p>
</case>
A <case> (or any other element with a default title) did not always handle title-ending punctuation correctly. So we try an example title with a question mark.
(⇒) Necessity.
View Source for case
<case direction="forward" xml:id="forward">
  <title>Necessity</title>
  <p>
    If you like, you can have both indications.
  </p>
</case>
If you like, you can have both indications.
Case.
View Source for case
<case xml:id="empty-case">
  <p>
    No direction, no title, then just a generic title.
  </p>
</case>
No direction, no title, then just a generic title.

Exciting Proof!

View Source for proof
<proof>
  <title>Exciting Proof!</title>
  <p>
    We test here that punctuation at the end of the title of a proof is handled correctly.
  </p>
</proof>
We test here that punctuation at the end of the title of a proof is handled correctly.

Exact Proof.

View Source for proof
<proof>
  <title>Exact Proof</title>
  <p>
    This proof should fill exactly three lines
    (as of defaults in place 2018-12-31)
    and so the tombstone/Halmos should be on a fourth line,
    and then <em>flush right</em>. xxx xxx xxx xxx xxx xxx xxx xxx xxx xxx xxx xxx xxx xxx xxx.
  </p>
</proof>
This proof should fill exactly three lines (as of defaults in place 2018-12-31) and so the tombstone/Halmos should be on a fourth line, and then flush right. xxx xxx xxx xxx xxx xxx xxx xxx xxx xxx xxx xxx xxx xxx xxx.

Proof.

View Source for proof
<proof>
  <p>
    Our purpose here is to show how you can structure a proof with cases to address the circular logic required to prove the equivalence of a list of statements,
    by using the <attr>direction</attr> attribute on a <tag>case</tag> element.
    You should order the list of statements in the order that you would like to prove ``this statement implies the next.''
  </p>
  <case direction="cycle">
    <p>
      Here we would prove that the first statement implies the second.
    </p>
  </case>
  <case direction="cycle">
    <p>
      Here we would prove that the second statement implies the third.
    </p>
  </case>
  <case direction="cycle" xml:id="cycle">
    <title>The trickiest case</title>
    <p>
      This time we include a title to describe the nature of this case.
      But we would still need to prove that the third statement implies the last.
    </p>
  </case>
  <case direction="cycle">
    <title>Wrap-around</title>
    <p>
      Finally, we would complete the cycle of logic by proving that the last statement implies the first.
    </p>
  </case>
</proof>
Our purpose here is to show how you can structure a proof with cases to address the circular logic required to prove the equivalence of a list of statements, by using the @direction attribute on a <case> element. You should order the list of statements in the order that you would like to prove ``this statement implies the next.’’
( ⁠(i) ⇒ (ii) ⁠) 
View Source for case
<case direction="cycle">
  <p>
    Here we would prove that the first statement implies the second.
  </p>
</case>
Here we would prove that the first statement implies the second.
( ⁠(ii) ⇒ (iii) ⁠) 
View Source for case
<case direction="cycle">
  <p>
    Here we would prove that the second statement implies the third.
  </p>
</case>
Here we would prove that the second statement implies the third.
( ⁠(iii) ⇒ (iv) ⁠) The trickiest case.
View Source for case
<case direction="cycle" xml:id="cycle">
  <title>The trickiest case</title>
  <p>
    This time we include a title to describe the nature of this case.
    But we would still need to prove that the third statement implies the last.
  </p>
</case>
This time we include a title to describe the nature of this case. But we would still need to prove that the third statement implies the last.
( ⁠(iv) ⇒ (i) ⁠) Wrap-around.
View Source for case
<case direction="cycle">
  <title>Wrap-around</title>
  <p>
    Finally, we would complete the cycle of logic by proving that the last statement implies the first.
  </p>
</case>
Finally, we would complete the cycle of logic by proving that the last statement implies the first.
We can also use @direction set to cycle in a stand-alone proof of our TFAE claim. If we include a @ref on the <proof> that points to the original claim, then the formatting of the markers on the statement list will be honored in our cases.

Proof. (4.4)

View Source for proof
<proof ref="claim-with-tfae-cases">
  <p>
    Once again we will prove that the four statements in <xref ref="claim-with-tfae-cases" /> are equivalent.
  </p>
  <case direction="cycle">
    <p>
      Another argument that the first statement implies the second.
    </p>
  </case>
  <case direction="cycle">
    <p>
      And another argument that the second statement implies the third.
    </p>
  </case>
  <case direction="cycle">
    <title>Not so tricky this time</title>
    <p>
      Why did we find it so difficult before to prove that the third statement implies the last?
    </p>
  </case>
  <case direction="cycle">
    <title>Wrap-around</title>
    <p>
      And once more we complete the cycle of logic.
    </p>
  </case>
</proof>
4.4
Once again we will prove that the four statements in 4.4 are equivalent.

( ⁠(i) ⇒ (ii) ⁠) 

View Source for case
<case direction="cycle">
  <p>
    Another argument that the first statement implies the second.
  </p>
</case>
Another argument that the first statement implies the second.

( ⁠(ii) ⇒ (iii) ⁠) 

View Source for case
<case direction="cycle">
  <p>
    And another argument that the second statement implies the third.
  </p>
</case>
And another argument that the second statement implies the third.

( ⁠(iii) ⇒ (iv) ⁠) Not so tricky this time.

View Source for case
<case direction="cycle">
  <title>Not so tricky this time</title>
  <p>
    Why did we find it so difficult before to prove that the third statement implies the last?
  </p>
</case>
Why did we find it so difficult before to prove that the third statement implies the last?

( ⁠(iv) ⇒ (i) ⁠) Wrap-around.

View Source for case
<case direction="cycle">
  <title>Wrap-around</title>
  <p>
    And once more we complete the cycle of logic.
  </p>
</case>
And once more we complete the cycle of logic.
A couple more times to check that the default list markers get applied to the directional cases properly.

Proof.

View Source for proof
<proof>
  <p>
    You know the drill by now.
  </p>
  <case direction="cycle">
    <p>
      Does the first statement imply the second?
    </p>
  </case>
  <case direction="cycle">
    <title>The
    <q>middle</q>
    case</title>
    <p>
      Does the second statement imply the third?
    </p>
  </case>
  <case direction="cycle">
    <p>
      And finally, does the third imply the first?
    </p>
  </case>
</proof>
You know the drill by now.
( ⁠1 ⇒ 2 ⁠) 
View Source for case
<case direction="cycle">
  <p>
    Does the first statement imply the second?
  </p>
</case>
Does the first statement imply the second?
( ⁠2 ⇒ 3 ⁠) The “middle” case.
View Source for case
<case direction="cycle">
  <title>The
  <q>middle</q>
  case</title>
  <p>
    Does the second statement imply the third?
  </p>
</case>
Does the second statement imply the third?
( ⁠3 ⇒ 1 ⁠) 
View Source for case
<case direction="cycle">
  <p>
    And finally, does the third imply the first?
  </p>
</case>
And finally, does the third imply the first?
This proof includes a @ref to the preceding claim.

Proof. (4.5)

View Source for proof
<proof ref="another-claim-with-tfae-cases">
  <case direction="cycle">
    <p>
      Does the first statement imply the second?
    </p>
  </case>
  <case direction="cycle">
    <title>The
    <q>middle</q>
    case</title>
    <p>
      Does the second statement imply the third?
    </p>
  </case>
  <case direction="cycle">
    <p>
      And finally, does the third imply the first?
    </p>
  </case>
</proof>
4.5

( ⁠1 ⇒ 2 ⁠) 

View Source for case
<case direction="cycle">
  <p>
    Does the first statement imply the second?
  </p>
</case>
Does the first statement imply the second?

( ⁠2 ⇒ 3 ⁠) The “middle” case.

View Source for case
<case direction="cycle">
  <title>The
  <q>middle</q>
  case</title>
  <p>
    Does the second statement imply the third?
  </p>
</case>
Does the second statement imply the third?

( ⁠3 ⇒ 1 ⁠) 

View Source for case
<case direction="cycle">
  <p>
    And finally, does the third imply the first?
  </p>
</case>
And finally, does the third imply the first?
This proof does not include a @ref, and so the direction indicators get default markers.

Proof.

View Source for proof
<proof>
  <case direction="cycle">
    <p>
      Does the first statement imply the second?
    </p>
  </case>
  <case direction="cycle">
    <p>
      And finally, does the second imply the first?
    </p>
  </case>
</proof>

( ⁠1 ⇒ 2 ⁠) 

View Source for case
<case direction="cycle">
  <p>
    Does the first statement imply the second?
  </p>
</case>
Does the first statement imply the second?

( ⁠2 ⇒ 1 ⁠) 

View Source for case
<case direction="cycle">
  <p>
    And finally, does the second imply the first?
  </p>
</case>
And finally, does the second imply the first?

Subsection 4.2 A Pedagogical Note about Subsection 4.1

View Source for subsection
<subsection>
      <title>A Pedagogical Note about <xref ref="subsection-second-FTC" text="type-global" /></title>
      <subsubsection xml:id="subsubsection-different-integrals">
        <title>Symbolic and Numerical Integrals</title>
        <p>
          The Fundamental Theorem explains why we use the same notation for a definite integral,
          which is a numerical calculation,<fn>
          Which I think sometimes students lose sight of.
          </fn> and an antiderivative,
          which is a symbolic expression.
        </p>
        <exercise xml:id="exercise-essay">
          <title>Essay Question: Compare and Contrast</title>
          <statement>
            <p>
              Write a short paragraph which compares,
              and contrasts, the definite and indefinite integral.
              This is an exercise which sits in the midst of the narrative,
              so is formatted more like an example or a remark.
              It can have a hint and a solution, but this one does not.
              It can have a title, which this one does.
            </p>
          </statement>
          <hint>
            <p>
              Start writing!
            </p>
          </hint>


        </exercise>
      </subsubsection>
      <subsubsection>
        <title>Advice</title>
        <p>
          Using an
          <q>integral sign</q>
          for an antiderivative
          (aka indefinite integral)
          would seem to make the Fundamental Theorem a <foreign xml:lang="fr-FR">fait accompli</foreign>.
          So I would suggest not conflating the notation for two very different things until the Fundamental Theorem exposes them as being highly related.
        </p>
        <example xml:id="example-structured">
          <title>An Example of Structure</title>
          <statement>
            <p>
              This is an example of an example with a bit more structure.
              Specifically,
              the example has a <c>title</c>,
              as usual,
              but then has a <c>statement</c>,
              which is separate from the <c>solution</c>.
              Why did we implement an example in two ways?
            </p>
          </statement>
          <solution>
            <p>
              Authors asked for it and it seemed a very natural thing to do,
              even if we only had an unstructured version for a long time.
            </p>
          </solution>
        </example>
        <question xml:id="sample-question">
          <title>An Example of a Question</title>
          <statement>
            <p>
              Any kind of question can be marked as such with <tag>question</tag>.
              Or similarly, as a <tag>problem</tag>.
              They behave identically to <c>example</c> s, such as the one preceding and are numbered along with theorems,
              examples. etc.
            </p>
          </statement>
          <solution>
            <p>
              You can have a solution.
              Or several, even if you don't ask a question.
            </p>
          </solution>
          <solution>
            <p>
              See?
            </p>
          </solution>
        </question>
        <exercise xml:id="inline-exercise">
          <title>An Inline Exercise</title>
          <statement>
            <p>
              There are lots of exercises in this sample article,
              but mostly they are in special exercise sections.
              Sometimes you just want to sprinkle some exercises through the narrative.
              We call these <term>inline exercises</term>,
              in contrast to <term>divisional exercises</term>.
              The inline exercises look a bit more like a theorem or definition,
              with titles and fully-qualified numbers.
            </p>
            <p>
              These may also have hints, answers and solutions.
            </p>
          </statement>
          <hint>
            <p>
              A good hint.
            </p>
          </hint>
          <answer>
            <p>
              42.
            </p>
          </answer>
          <solution>
            <p>
              If your exercise feels like proving a theorem,
              then you might want to make some comments,
              but also clearly delineate which part of the solution is a the complete proof.
            </p>
            <proof>
              <p>
                Lorem ipsum dolor sit amet, consectetur adipiscing elit.
                Proin lorem diam, convallis in nulla sed, accumsan fermentum urna.
                Pellentesque aliquet leo elit,
                ut consequat nunc dapibus ac.
                Sed lobortis leo tincidunt, vulputate nunc at, ultricies leo.
                Vivamus purus diam,
                tristique laoreet purus eget, mollis gravida sapien.
                Nunc vulputate nisl ac mauris hendrerit cursus.
                Sed vel molestie velit.
                Suspendisse sem sem, elementum at vehicula id, volutpat ac mi.
                Nullam ullamcorper fringilla purus in accumsan.
                Mauris at nunc accumsan orci dictum vulputate id id augue.
                Suspendisse at dignissim elit, non euismod nunc.
                Aliquam faucibus magna ac molestie semper.
                Aliquam hendrerit sem sit amet metus congue tempor.
                Donec laoreet laoreet metus, id interdum purus mattis vulputate.
                Proin condimentum vitae erat varius mollis.
                Donec venenatis libero sed turpis pretium tempor.
              </p>
              <p>
                Praesent rutrum scelerisque felis sit amet adipiscing.
                Phasellus in mollis velit.
                Nunc malesuada felis sit amet massa cursus,
                eget elementum neque viverra.
                Integer sagittis dictum turpis vel aliquet.
                Fusce ut suscipit dolor, nec tristique nisl.
                Aenean luctus, leo et ornare fermentum,
                nibh dui vulputate leo, nec tincidunt augue ipsum sed odio.
                Nunc non erat sollicitudin, iaculis eros consequat, dapibus eros.
              </p>
            </proof>
          </solution>


        </exercise>
        <example xml:id="example-math-title">
          <title>An Example of with <m>\frac12</m> math formula <m>\displaystyle{\int e^x \, dx}</m> in the title</title>
          <statement>
            <p>
              Just for testing math in knowls,
              and also extra whitespace in a <tag>p</tag>.
            </p>
          </statement>
        </example>
        <p>
          There are many different blocks you can employ,
          and they mostly behave the same way.
          A <tag>project</tag>
              <idx><h>project</h></idx>
          is very similar to a <tag>question</tag>
              <idx><h>question</h></idx>
          or <tag>problem</tag>
              <idx><h>problem</h></idx>
        </p>
        <project>
          <title>Start Exploring <pretext /></title>
          <p>
            You could grab the <c>minimal.xml</c> file from the <c>examples/minimal</c> directory and experiment with that.
          </p>
          <p>
            Projects get their own independent numbering scheme,
            since they may be central to your textbook, workbook, or lab manual.
            If you process this sample article with level for project numbering set to <c>0</c> then you will get consecutive numbers from the beginning of your book,
            starting with 1.
          </p>
        </project>
        <exploration>
          <title>Exploring Explorations</title>
          <statement>
            <p>
              This is an <tag>exploration</tag>.
                  <idx><h>exploration</h></idx>
              Other similar possibilities are <tag>project</tag>,
                  <idx><h>project</h></idx>
              <tag>activity</tag>,
                  <idx><h>activity</h></idx>
              <tag>task</tag>,
                  <idx><h>task</h></idx>
              and <tag>investigation</tag>.
                  <idx><h>investigation</h></idx>
            </p>
            <p>
              Note that projects, activities, explorations,
              tasks and investigations <em>share</em>
              the independent numbering scheme,
              so it is really only intended you use one of these.
              If you want a variant of the name (<eg />
              <q>Directed Activity</q>
              ) you can use the <tag>rename</tag>
                  <idx><h>rename an environment</h></idx>
              facility
              (<xref ref="rename-facility" text="type-global" />).
            </p>
          </statement>
          <solution>
            <p>
              This is a
              <q>solution</q>
              to the exploration.
              In practice,
              you might choose to not make this visible for students,
              but instead include it as part of some guidance you might provide to instructors
              (<eg /> an
              <pubtitle>Instructor's Manual</pubtitle>).
            </p>
          </solution>
        </exploration>
        <activity xml:id="activity-with-hint-answer-solution">
          <title>Hints, Answers, Solutions</title>
          <prelude>
            <p>
              This is quite the activity upcoming.
              This is a <c>prelude</c> authored within the <c>activity</c> element,
              but visually just prior.
            </p>
          </prelude>
          <statement>
            <p>
              Another variant of these project-like items is to possibly include a <tag>hint</tag> and an <tag>answer</tag> before the <tag>solution</tag>.
            </p>
          </statement>
          <hint>
            <p>
              Just a little help.
            </p>
          </hint>
          <answer>
            <p>
              The result, but no help in getting there.
            </p>
          </answer>
          <solution>
            <p>
              Everything to get it all done, in detail.
            </p>
          </solution>
          <postlude>
            <p>
              This was quite the activity just now.
              This is a <c>postlude</c> authored within the <c>activity</c> element,
              but visually just after.
            </p>
          </postlude>
        </activity>
        <note xml:id="note-remark">
          <title>A Note on Remarks</title>
          <p>
            <tag>remark</tag>, <tag>convention</tag>, <tag>note</tag>,
            <tag>observation</tag> and <tag>warning</tag> are designed to hold very simple contents,
            with no additional structure
            (no proofs, no solutions, <etc />).
          </p>
          <p>
            But they do carry a title and a number,
            can be the target of a cross-reference,
            and may be optionally knowlized in HTML with the <c>html.knowl.remark</c> processing switch.
          </p>
          <p>
            And distinctly different from a <tag>note</tag> in a <tag>biblio</tag><fn>
            A gratuitous footnote to test prior bug confusing this with a <tag>note</tag> in a <tag>biblio</tag>.
            </fn>.
          </p>
        </note>
        <aside xml:id="an-aside">
          <title>An Aside with a <em>Formatted</em> Title</title>
          <idx>aside</idx>
          <p>
            An <tag>aside</tag> is similar to a remark,
            but is not as critical to the narrative.
            It is not numbered, and so requires a title.
            It can be the target of a cross-reference.
            They are meant to be short,
            and so are not knowlized at their first appearance.
            If the content is appropriate,
            these can be marked as <tag>historical</tag> or <tag>biographical</tag>,
            though longer items should use subdivisions (<eg /> sections,
            subsections) instead.
          </p>
        </aside>
        <p>
          An <tag>exercise</tag> can be structured with <tag>task</tag>.
        </p>
        <exercise xml:id="exercise-structured">
          <title>A very structured exercise</title>
          <introduction>
            <p>
              This is an over-arching introduction to the whole exercise.
              We follow with some tasks.
              In interdum suscipit ullamcorper.
              Morbi sit amet malesuada augue, id vestibulum magna.
              Nulla blandit dui metus, malesuada mollis sapien ullamcorper sit amet.
              Nulla at neque nisi.
              Integer vel porta felis.
            </p>
          </introduction>
          <task>
            <title>A super-simple task</title>
            <p>
              This first task is very simple, just a paragraph.
              In interdum suscipit ullamcorper.
              Morbi sit amet malesuada augue, id vestibulum magna.
              Nulla blandit dui metus, malesuada mollis sapien ullamcorper sit amet.
              Nulla at neque nisi.
              Integer vel porta felis.
            </p>
          </task>
          <task>
            <p>
              Now three paragraphs.
              In interdum suscipit ullamcorper.
              Morbi sit amet malesuada augue, id vestibulum magna.
              Nulla blandit dui metus, malesuada mollis sapien ullamcorper sit amet.
              Nulla at neque nisi.
              Integer vel porta felis.
            </p>
            <p>
              In interdum suscipit ullamcorper.
              Morbi sit amet malesuada augue, id vestibulum magna.
              Nulla blandit dui metus, malesuada mollis sapien ullamcorper sit amet.
              Nulla at neque nisi.
              Integer vel porta felis.
            </p>
            <p>
              In interdum suscipit ullamcorper.
              Morbi sit amet malesuada augue, id vestibulum magna.
              Nulla blandit dui metus, malesuada mollis sapien ullamcorper sit amet.
              Nulla at neque nisi.
              Integer vel porta felis.
            </p>
          </task>
          <task>
            <title>A title of a task that has a subtask with an <tag>answer</tag> for the Solutions</title>
            <introduction>
              <p>
                This second task is further divided by more tasks.
                This is its introduction.
                In interdum suscipit ullamcorper.
                Morbi sit amet malesuada augue, id vestibulum magna.
                Nulla blandit dui metus, malesuada mollis sapien ullamcorper sit amet.
                Nulla at neque nisi.
                Integer vel porta felis.
              </p>
              <p>
                In interdum suscipit ullamcorper.
                Morbi sit amet malesuada augue, id vestibulum magna.
                Nulla blandit dui metus, malesuada mollis sapien ullamcorper sit amet.
                Nulla at neque nisi.
                Integer vel porta felis.
              </p>
            </introduction>
            <task>
              <title>A task with a title and an <tag>answer</tag> for the Solutions</title>
              <statement>
                <p>
                  A really simple subtask.
                  In interdum suscipit ullamcorper.
                  Morbi sit amet malesuada augue, id vestibulum magna.
                  Nulla blandit dui metus, malesuada mollis sapien ullamcorper sit amet.
                  Nulla at neque nisi.
                  Integer vel porta felis.
                </p>
                <p>
                  A short paragraph, before an answer.
                </p>
              </statement>
              <answer>
                <p>
                  With a proof.
                </p>
                <proof>
                  <p>
                    In interdum suscipit ullamcorper.
                    Morbi sit amet malesuada augue, id vestibulum magna.
                    Nulla blandit dui metus, malesuada mollis sapien ullamcorper sit amet.
                    Nulla at neque nisi.
                    Integer vel porta felis.
                  </p>
                </proof>
                <p>
                  And a bit more to say.
                </p>
              </answer>
            </task>
            <task>
              <statement>
                <p>
                  A subtask with an answer.
                  In interdum suscipit ullamcorper.
                  Morbi sit amet malesuada augue, id vestibulum magna.
                  Nulla blandit dui metus, malesuada mollis sapien ullamcorper sit amet.
                  Nulla at neque nisi.
                  Integer vel porta felis.
                </p>
              </statement>
              <answer>
                <p>
                  Right!
                  In interdum suscipit ullamcorper.
                  Morbi sit amet malesuada augue, id vestibulum magna.
                  Nulla blandit dui metus, malesuada mollis sapien ullamcorper sit amet.
                  Nulla at neque nisi.
                  Integer vel porta felis.
                </p>
              </answer>
            </task>
            <task>
              <introduction>
                <p>
                  Three simple sub-sub-tasks.
                  In interdum suscipit ullamcorper.
                  Morbi sit amet malesuada augue, id vestibulum magna.
                  Nulla blandit dui metus, malesuada mollis sapien ullamcorper sit amet.
                  Nulla at neque nisi.
                  Integer vel porta felis.
                </p>
              </introduction>
              <task>
                <p>
                  First subsubtask.
                  Short paragraph.
                </p>
              </task>
              <task>
                <title>A second three-deep subsubtask!</title>
                <p>
                  Second subsubtask.
                  In interdum suscipit ullamcorper.
                  Morbi sit amet malesuada augue, id vestibulum magna.
                  Nulla blandit dui metus, malesuada mollis sapien ullamcorper sit amet.
                  Nulla at neque nisi.
                  Integer vel porta felis.
                </p>
                <p>
                  In interdum suscipit ullamcorper.
                  Morbi sit amet malesuada augue, id vestibulum magna.
                  Nulla blandit dui metus, malesuada mollis sapien ullamcorper sit amet.
                  Nulla at neque nisi.
                  Integer vel porta felis.
                </p>
              </task>
              <task>
                <p>
                  Third subsubtask.
                  In interdum suscipit ullamcorper.
                  Morbi sit amet malesuada augue, id vestibulum magna.
                  Nulla blandit dui metus, malesuada mollis sapien ullamcorper sit amet.
                  Nulla at neque nisi.
                  Integer vel porta felis.
                </p>
                <p>
                  In interdum suscipit ullamcorper
                </p>
                <p>
                  In interdum suscipit ullamcorper.
                  Morbi sit amet malesuada augue, id vestibulum magna.
                  Nulla blandit dui metus, malesuada mollis sapien ullamcorper sit amet.
                  Nulla at neque nisi.
                  Integer vel porta felis.
                </p>
              </task>
              <conclusion>
                <p>
                  The conclusion of the structured subtask.
                  In interdum suscipit ullamcorper.
                  Morbi sit amet malesuada augue, id vestibulum magna.
                  Nulla blandit dui metus, malesuada mollis sapien ullamcorper sit amet.
                  Nulla at neque nisi.
                  Integer vel porta felis.
                </p>
              </conclusion>
            </task>
            <task>
              <p>
                A simple task as the last subtask.
                In interdum suscipit ullamcorper.
                Morbi sit amet malesuada augue, id vestibulum magna.
                Nulla blandit dui metus, malesuada mollis sapien ullamcorper sit amet.
                Nulla at neque nisi.
                Integer vel porta felis.
              </p>
            </task>
            <conclusion>
              <p>
                This concludes our structured second task.
                In interdum suscipit ullamcorper.
                Morbi sit amet malesuada augue, id vestibulum magna.
                Nulla blandit dui metus, malesuada mollis sapien ullamcorper sit amet.
                Nulla at neque nisi.
                Integer vel porta felis.
              </p>
            </conclusion>
          </task>
          <task>
            <statement>
              <p>
                This third top-level task is intermediate in complexity,
                you are reading the <c>statement</c>,
                which is followed by more items.
                In interdum suscipit ullamcorper.
                Morbi sit amet malesuada augue, id vestibulum magna.
                Nulla blandit dui metus, malesuada mollis sapien ullamcorper sit amet.
                Nulla at neque nisi.
                Integer vel porta felis.
              </p>
            </statement>
            <hint>
              <p>
                One hint.
                In interdum suscipit ullamcorper.
                Morbi sit amet malesuada augue, id vestibulum magna.
                Nulla blandit dui metus, malesuada mollis sapien ullamcorper sit amet.
                Nulla at neque nisi.
                Integer vel porta felis.
              </p>
              <p>
                In interdum suscipit ullamcorper.
                Morbi sit amet malesuada augue, id vestibulum magna.
                Nulla blandit dui metus, malesuada mollis sapien ullamcorper sit amet.
                Nulla at neque nisi.
                Integer vel porta felis.
              </p>
            </hint>
            <answer>
              <p>
                First answer.
                In interdum suscipit ullamcorper.
              </p>
            </answer>
            <answer>
              <p>
                Second answer.
                In interdum suscipit ullamcorper.
                Morbi sit amet malesuada augue, id vestibulum magna.
                Nulla blandit dui metus, malesuada mollis sapien ullamcorper sit amet.
                Nulla at neque nisi.
                Integer vel porta felis.
              </p>
              <p>
                In interdum suscipit ullamcorper.
                Morbi sit amet malesuada augue, id vestibulum magna.
                Nulla blandit dui metus, malesuada mollis sapien ullamcorper sit amet.
                Nulla at neque nisi.
                Integer vel porta felis.
              </p>
              <p>
                In interdum suscipit ullamcorper.
                Morbi sit amet malesuada augue, id vestibulum magna.
                Nulla blandit dui metus, malesuada mollis sapien ullamcorper sit amet.
                Nulla at neque nisi.
                Integer vel porta felis.
              </p>
            </answer>
            <solution>
              <p>
                At last, the solution.
                In interdum suscipit ullamcorper.
                Morbi sit amet malesuada augue, id vestibulum magna.
                Nulla blandit dui metus, malesuada mollis sapien ullamcorper sit amet.
                Nulla at neque nisi.
                Integer vel porta felis.
              </p>
            </solution>
          </task>
          <conclusion>
            <p>
              This is a conclusion where you could summarize the exercise.
              In interdum suscipit ullamcorper.
              Morbi sit amet malesuada augue, id vestibulum magna.
              Nulla blandit dui metus, malesuada mollis sapien ullamcorper sit amet.
              Nulla at neque nisi.
              Integer vel porta felis.
            </p>
          </conclusion>
        </exercise>
        <p>
          The following <tag>project</tag> is nearly identical to the preceding <tag>exercise</tag>.
        </p>
        <project xml:id="project-structured">
          <title>A very structured project</title>
          <prelude>
            <p>
              The next block is a project,
              demonstrating the use of the <c>task</c> element to structure its parts.
              You are reading the <c>prelude</c> now.
              The project has lots of nonsense words,
              so we can test spacing the nested items.
              In interdum suscipit ullamcorper.
              Morbi sit amet malesuada augue, id vestibulum magna.
              Nulla blandit dui metus, malesuada mollis sapien ullamcorper sit amet.
              Nulla at neque nisi.
              Integer vel porta felis.
            </p>
            <p>
              In interdum suscipit ullamcorper.
              Morbi sit amet malesuada augue, id vestibulum magna.
              Nulla blandit dui metus, malesuada mollis sapien ullamcorper sit amet.
              Nulla at neque nisi.
              Integer vel porta felis.
            </p>
          </prelude>
          <introduction>
            <p>
              This is an over-arching introduction to the whole project.
              We follow with some tasks.
              In interdum suscipit ullamcorper.
              Morbi sit amet malesuada augue, id vestibulum magna.
              Nulla blandit dui metus, malesuada mollis sapien ullamcorper sit amet.
              Nulla at neque nisi.
              Integer vel porta felis.
            </p>
          </introduction>
          <task>
            <p>
              This first task is very simple, just a paragraph.
              In interdum suscipit ullamcorper.
              Morbi sit amet malesuada augue, id vestibulum magna.
              Nulla blandit dui metus, malesuada mollis sapien ullamcorper sit amet.
              Nulla at neque nisi.
              Integer vel porta felis.
            </p>
          </task>
          <task>
            <p>
              Now three paragraphs.
              In interdum suscipit ullamcorper.
              Morbi sit amet malesuada augue, id vestibulum magna.
              Nulla blandit dui metus, malesuada mollis sapien ullamcorper sit amet.
              Nulla at neque nisi.
              Integer vel porta felis.
            </p>
            <p>
              In interdum suscipit ullamcorper.
              Morbi sit amet malesuada augue, id vestibulum magna.
              Nulla blandit dui metus, malesuada mollis sapien ullamcorper sit amet.
              Nulla at neque nisi.
              Integer vel porta felis.
            </p>
            <p>
              In interdum suscipit ullamcorper.
              Morbi sit amet malesuada augue, id vestibulum magna.
              Nulla blandit dui metus, malesuada mollis sapien ullamcorper sit amet.
              Nulla at neque nisi.
              Integer vel porta felis.
            </p>
          </task>
          <task>
            <introduction>
              <p>
                This second task is further divided by more tasks.
                This is its introduction.
                In interdum suscipit ullamcorper.
                Morbi sit amet malesuada augue, id vestibulum magna.
                Nulla blandit dui metus, malesuada mollis sapien ullamcorper sit amet.
                Nulla at neque nisi.
                Integer vel porta felis.
              </p>
              <p>
                In interdum suscipit ullamcorper.
                Morbi sit amet malesuada augue, id vestibulum magna.
                Nulla blandit dui metus, malesuada mollis sapien ullamcorper sit amet.
                Nulla at neque nisi.
                Integer vel porta felis.
              </p>
            </introduction>
            <task>
              <statement>
                <p>
                  A really simple subtask.
                  In interdum suscipit ullamcorper.
                  Morbi sit amet malesuada augue, id vestibulum magna.
                  Nulla blandit dui metus, malesuada mollis sapien ullamcorper sit amet.
                  Nulla at neque nisi.
                  Integer vel porta felis.
                </p>
                <p>
                  A short paragraph, before an answer.
                </p>
              </statement>
              <answer>
                <p>
                  With a proof.
                </p>
                <proof>
                  <p>
                    In interdum suscipit ullamcorper.
                    Morbi sit amet malesuada augue, id vestibulum magna.
                    Nulla blandit dui metus, malesuada mollis sapien ullamcorper sit amet.
                    Nulla at neque nisi.
                    Integer vel porta felis.
                  </p>
                </proof>
                <p>
                  And a bit more to say.
                </p>
              </answer>
            </task>
            <task>
              <statement>
                <p>
                  A subtask with an answer.
                  In interdum suscipit ullamcorper.
                  Morbi sit amet malesuada augue, id vestibulum magna.
                  Nulla blandit dui metus, malesuada mollis sapien ullamcorper sit amet.
                  Nulla at neque nisi.
                  Integer vel porta felis.
                </p>
              </statement>
              <answer>
                <p>
                  Right!
                  In interdum suscipit ullamcorper.
                  Morbi sit amet malesuada augue, id vestibulum magna.
                  Nulla blandit dui metus, malesuada mollis sapien ullamcorper sit amet.
                  Nulla at neque nisi.
                  Integer vel porta felis.
                </p>
              </answer>
            </task>
            <task xml:id="project-task-level-two">
              <introduction>
                <p>
                  Two simple sub-sub-tasks.
                  In interdum suscipit ullamcorper.
                  Morbi sit amet malesuada augue, id vestibulum magna.
                  Nulla blandit dui metus, malesuada mollis sapien ullamcorper sit amet.
                  Nulla at neque nisi.
                  Integer vel porta felis.
                </p>
              </introduction>
              <task>
                <p>
                  First subsubtask.
                  Short paragraph.
                </p>
              </task>
              <task>
                <p>
                  Second subsubtask.
                  In interdum suscipit ullamcorper.
                  Morbi sit amet malesuada augue, id vestibulum magna.
                  Nulla blandit dui metus, malesuada mollis sapien ullamcorper sit amet.
                  Nulla at neque nisi.
                  Integer vel porta felis.
                </p>
                <p>
                  In interdum suscipit ullamcorper.
                  Morbi sit amet malesuada augue, id vestibulum magna.
                  Nulla blandit dui metus, malesuada mollis sapien ullamcorper sit amet.
                  Nulla at neque nisi.
                  Integer vel porta felis.
                </p>
              </task>



              <task xml:id="deep-terminal-task">
                <statement>
                  <p>
                    Third subsubtask.
                    In interdum suscipit ullamcorper.
                    Morbi sit amet malesuada augue, id vestibulum magna.
                    Nulla blandit dui metus, malesuada mollis sapien ullamcorper sit amet.
                    Nulla at neque nisi.
                    Integer vel porta felis.
                  </p>
                  <p>
                    In interdum suscipit ullamcorper
                  </p>
                  <p>
                    In interdum suscipit ullamcorper.
                    Morbi sit amet malesuada augue, id vestibulum magna.
                    Nulla blandit dui metus, malesuada mollis sapien ullamcorper sit amet.
                    Nulla at neque nisi.
                    Integer vel porta felis.
                  </p>
                </statement>
              </task>
              <conclusion>
                <p>
                  The conclusion of the structured subtask.
                  In interdum suscipit ullamcorper.
                  Morbi sit amet malesuada augue, id vestibulum magna.
                  Nulla blandit dui metus, malesuada mollis sapien ullamcorper sit amet.
                  Nulla at neque nisi.
                  Integer vel porta felis.
                </p>
              </conclusion>
            </task>
            <task>
              <p>
                A simple task as the last subtask.
                In interdum suscipit ullamcorper.
                Morbi sit amet malesuada augue, id vestibulum magna.
                Nulla blandit dui metus, malesuada mollis sapien ullamcorper sit amet.
                Nulla at neque nisi.
                Integer vel porta felis.
              </p>
            </task>
            <conclusion>
              <p>
                This concludes our structured second task.
                In interdum suscipit ullamcorper.
                Morbi sit amet malesuada augue, id vestibulum magna.
                Nulla blandit dui metus, malesuada mollis sapien ullamcorper sit amet.
                Nulla at neque nisi.
                Integer vel porta felis.
              </p>
            </conclusion>
          </task>
          <task>
            <statement>
              <p>
                This third top-level task is intermediate in complexity,
                you are reading the <c>statement</c>,
                which is followed by more items.
                In interdum suscipit ullamcorper.
                Morbi sit amet malesuada augue, id vestibulum magna.
                Nulla blandit dui metus, malesuada mollis sapien ullamcorper sit amet.
                Nulla at neque nisi.
                Integer vel porta felis.
              </p>
            </statement>
            <hint>
              <p>
                One hint.
                In interdum suscipit ullamcorper.
                Morbi sit amet malesuada augue, id vestibulum magna.
                Nulla blandit dui metus, malesuada mollis sapien ullamcorper sit amet.
                Nulla at neque nisi.
                Integer vel porta felis.
              </p>
              <p>
                In interdum suscipit ullamcorper.
                Morbi sit amet malesuada augue, id vestibulum magna.
                Nulla blandit dui metus, malesuada mollis sapien ullamcorper sit amet.
                Nulla at neque nisi.
                Integer vel porta felis.
              </p>
            </hint>
            <answer>
              <p>
                First answer.
                In interdum suscipit ullamcorper.
              </p>
            </answer>
            <answer>
              <p>
                Second answer.
                In interdum suscipit ullamcorper.
                Morbi sit amet malesuada augue, id vestibulum magna.
                Nulla blandit dui metus, malesuada mollis sapien ullamcorper sit amet.
                Nulla at neque nisi.
                Integer vel porta felis.
              </p>
              <p>
                In interdum suscipit ullamcorper.
                Morbi sit amet malesuada augue, id vestibulum magna.
                Nulla blandit dui metus, malesuada mollis sapien ullamcorper sit amet.
                Nulla at neque nisi.
                Integer vel porta felis.
              </p>
              <p>
                In interdum suscipit ullamcorper.
                Morbi sit amet malesuada augue, id vestibulum magna.
                Nulla blandit dui metus, malesuada mollis sapien ullamcorper sit amet.
                Nulla at neque nisi.
                Integer vel porta felis.
              </p>
            </answer>
            <solution>
              <p>
                At last, the solution.
                In interdum suscipit ullamcorper.
                Morbi sit amet malesuada augue, id vestibulum magna.
                Nulla blandit dui metus, malesuada mollis sapien ullamcorper sit amet.
                Nulla at neque nisi.
                Integer vel porta felis.
              </p>
            </solution>
          </task>
          <conclusion>
            <p>
              This is a conclusion where you could summarize the project.
              In interdum suscipit ullamcorper.
              Morbi sit amet malesuada augue, id vestibulum magna.
              Nulla blandit dui metus, malesuada mollis sapien ullamcorper sit amet.
              Nulla at neque nisi.
              Integer vel porta felis.
            </p>
          </conclusion>
          <postlude>
            <p>
              This postlude appears visually outside the project,
              but is authored within, to make clear its attachment to the project.
              In interdum suscipit ullamcorper.
              Morbi sit amet malesuada augue, id vestibulum magna.
              Nulla blandit dui metus, malesuada mollis sapien ullamcorper sit amet.
              Nulla at neque nisi.
              Integer vel porta felis.
            </p>
          </postlude>
        </project>
        <example xml:id="example-structured-with-task">
          <title>Notation mathématique 2</title>
          <prelude>
            <p>
              The following <tag>example</tag>,
              from Elise Desgreniers, is structured with <tag>task</tag>.
            </p>
          </prelude>
          <introduction>
            <p>
              Écrivez chacun des exemples suivants avec les conditions pertinentes.
            </p>
          </introduction>
          <task>
            <statement>
              <p>
                Soit l'ensemble <m>A=\lbrace 1,2,3,4,5\rbrace</m>.
              </p>
              <p>
                On constate que cet ensemble contient uniquement des entiers positifs allant de 1 à 5.
              </p>
              <p>
                Donc, on peut écrire <m>A=\lbrace x\mid x\in\mathbb{N}\text{ et } 1\leq x\leq 5\rbrace</m>.
              </p>
            </statement>
          </task>
          <task>
            <statement>
              <p>
                <m>\{3,6,9,12,15,\ldots,27,30\}</m>
              </p>
            </statement>
            <hint>
              <p>
                Ce sont des multiples de 3.
              </p>
            </hint>
            <answer>
              <p>
                <m>\{x\mid x=3y \text{ et } 1\leq y\leq 10 \text{ et } y\in\mathbb{N}\}</m>
              </p>
            </answer>
          </task>
          <task>
            <statement>
              <p>
                <m>\{1,3,5,7,9,11,\ldots\}</m>
              </p>
            </statement>
            <hint>
              <p>
                Ce sont des nombres impairs.
              </p>
            </hint>
            <answer>
              <p>
                <m>\{x\mid x\mod 2=1 \text{ et } x\in\mathbb{N}\}</m>
              </p>
            </answer>
          </task>
          <task>
            <statement>
              <p>
                <m>\{2,3,5,7,11,13,17,19,23,\ldots\}</m>
              </p>
            </statement>
            <hint>
              <p>
                Ce sont des nombres premiers.
              </p>
            </hint>
            <answer>
              <p>
                <m>\{x\mid x\text{ est un nombre premier positif}\}</m>
              </p>
            </answer>
          </task>
          <task>
            <statement>
              <p>
                <m>\{1,4,9,16,25,36,\ldots,961\}</m>
              </p>
            </statement>
            <hint>
              <p>
                Ce sont des carrés parfaits.
              </p>
            </hint>
            <answer>
              <p>
                <m>\{x\mid x=y^2 \text{ et } 1\leq y\leq 31\text{ et } y\in\mathbb{N}\}</m>
              </p>
            </answer>
          </task>
          <task>
            <statement>
              <p>
                <m>\{1,8,27,64,125,\ldots\}</m>
              </p>
            </statement>
            <hint>
              <p>
                Ce sont des cubes parfaits.
              </p>
            </hint>
            <answer>
              <p>
                <m>\{x\mid x=y^3 \text{ et } y\in\mathbb{N^*}\}</m>
              </p>
            </answer>
          </task>
        </example>
        <p>
          Notes or examples related to computation or technology can go in blocks of the same name.
        </p>
        <technology>
          <title>Sample Use of Sage</title>
          <p>
            This would be a good place to talk about Sage, including a cell or two.
          </p>
<sage>
<input>diff(x^4, x)</input>
<output>4*x^3</output>
</sage>
          <p>
            But you might want to describe how to use some other calculator,
            or maybe some numerical method.
          </p>
        </technology>
        <paragraphs>
          <title>A <tag>paragraphs</tag> with a <tag>project</tag> with an <tag>answer</tag></title>
          <p>
            The solutions to a project
            (and similar)
            once did not migrate to the automatically-generated solutions.
          </p>
          <project>
            <statement>
              <p>
                A simple project, no tasks, just an answer.
              </p>
            </statement>
            <answer>
              <p>
                Here's the answer we are looking for.
              </p>
            </answer>
          </project>
        </paragraphs>
      </subsubsection>
      <exercises xml:id="exercises-subsection-solo" label="exercises-subsection-solo">
        <exercise xml:id="exercise-test-number">
          <statement>
            <p>
              This is an exercise in an
              <q>Exercises</q>
              subdivision at the level of a subsubsection.
              There is no question other than if the numbering is appropriate.
              Here is a self-referential link: Exercise<nbsp /><xref ref="exercise-test-number" />.
            </p>
            <p>
              The subsubsection has no title in the source,
              so one is provided automatically,
              and will adjust according to the language of the document.
            </p>
          </statement>
          <solution>
            <p>
              This solution will migrate to a list of solutions in the backmatter.
              We include a <c>sidebyside</c> as a test.
            </p>
            <sidebyside width="30%">
              <p>
                This is a skinny paragraph which should be just 30% of the width.
              </p>
              <p>
                And another skinny paragraph which should also be just 30% of the width.
              </p>
            </sidebyside>
          </solution>
        </exercise>
        <exercise xml:id="exercise-with-tasks">
          <introduction>
            <p>
              An <tag>exercise</tag> can be structured with parts, called <tag>task</tag>.
              This is the <tag>introduction</tag>.
            </p>
          </introduction>
          <task>
            <p>
              Do this.
            </p>
          </task>
          <task>
            <p>
              And the other thing.
            </p>
          </task>
        </exercise>
      </exercises>
      <reading-questions>
        <introduction>
          <idx>reading questions</idx>
          <p>
            A set of reading questions may have an <tag>introduction</tag>,
            perhaps for preparatory explanation.
          </p>
          <p>
            If a student has logged in to the HTML version,
            then they can answer the reading questions directly in the book.
            Inline math LaTeX can be entered using <c>$</c>...<c>$</c> or <c>\(</c>...<c>\)</c> delimiters,
            and inline AsciiMath using backticks <c>`</c>...<c>`</c> as delimiters.
            Here are some `gratuitous backticks` to check that AsciiMath is only active in the answers to reading questions.
          </p>
        </introduction>
        <exercise xml:id="first-reading">
          <p>
            This is a <term>reading question</term>
            that you might have a student answer prior to a class session,
            based on reading part of the book.
            A quick glance before class can help you tailor class time to the specific needs of your students.
            The perfect reading question will reveal whether the student has read and understood the material,
            and will be difficult to answer if they have not.
            What do you think of that?
          </p>
        </exercise>
        <exercise>
          <p>
            And a second one,
            with a cross-reference to the first, as a check on numbering:
            <xref ref="first-reading" text="type-global" />.
            Reading questions are allowed to have answers,
            but providing answers misses the point of a reading question,
            and the answer knowl interacts poorly with the mechanism used to allow students to answer directly in the book.
            Do you think the schema should ban answers to reading questions?
          </p>
        </exercise>
        <conclusion>
          <p>
            And for symmetry, a <tag>conclusion</tag>.
          </p>
        </conclusion>
      </reading-questions>
      <glossary xml:id="glossary-specialized">
      <idx>glossary</idx>
      <headnote>
      <p>
        A glossary may have a <tag>headnote</tag>,
        perhaps with some explanation.
        This glossary is a specialized division within a section.
        Placement in the back matter is another option,
        see the <xref ref="glossary-backmatter" text="title" />.
      </p>
      </headnote>
      <gi>
      <title>bar</title>
      <p>
        A part of <term>foobar</term>.
        See <xref ref="foobar-defined" text="title" />.
      </p>
      </gi>
      <gi xml:id="foobar-defined">
      <title>foobar</title>
      <p>
        A synonym for the acronym <acro>FUBAR</acro>.
      </p>
      </gi>
      </glossary>
      <solutions xml:id="solutions-subsection" inline="hint solution answer" divisional="hint solution answer" project="hint solution answer">
        <title>Solutions for This Subsection</title>
        <idx><h>solutions</h><h>for a division</h></idx>
        <introduction>
          <p>
            This is an introduction,
            where you might explain that this division of this subsection contains various hints, answers,
            solutions of inline exercises,
            divisional exercises, and/or project-like blocks.
            See the source to see just how this solutions division was built.
          </p>
        </introduction>

        <conclusion>
          <p>
            And a conclusion to this solutions division,
            which may not be readily apparent as distinct from the final division's worth of solutions,
            but since it is not prefixed with a number,
            it may be different enough.
          </p>
        </conclusion>
      </solutions>
    </subsection>

Subsubsection 4.2.1 Symbolic and Numerical Integrals

View Source for subsubsection
<subsubsection xml:id="subsubsection-different-integrals">
  <title>Symbolic and Numerical Integrals</title>
  <p>
    The Fundamental Theorem explains why we use the same notation for a definite integral,
    which is a numerical calculation,<fn>
    Which I think sometimes students lose sight of.
    </fn> and an antiderivative,
    which is a symbolic expression.
  </p>
  <exercise xml:id="exercise-essay">
    <title>Essay Question: Compare and Contrast</title>
    <statement>
      <p>
        Write a short paragraph which compares,
        and contrasts, the definite and indefinite integral.
        This is an exercise which sits in the midst of the narrative,
        so is formatted more like an example or a remark.
        It can have a hint and a solution, but this one does not.
        It can have a title, which this one does.
      </p>
    </statement>
    <hint>
      <p>
        Start writing!
      </p>
    </hint>


  </exercise>
</subsubsection>
The Fundamental Theorem explains why we use the same notation for a definite integral, which is a numerical calculation,
 1 
Which I think sometimes students lose sight of.
and an antiderivative, which is a symbolic expression.
Checkpoint 4.6. Essay Question: Compare and Contrast.
View Source for exercise
<exercise xml:id="exercise-essay">
  <title>Essay Question: Compare and Contrast</title>
  <statement>
    <p>
      Write a short paragraph which compares,
      and contrasts, the definite and indefinite integral.
      This is an exercise which sits in the midst of the narrative,
      so is formatted more like an example or a remark.
      It can have a hint and a solution, but this one does not.
      It can have a title, which this one does.
    </p>
  </statement>
  <hint>
    <p>
      Start writing!
    </p>
  </hint>


</exercise>
Write a short paragraph which compares, and contrasts, the definite and indefinite integral. This is an exercise which sits in the midst of the narrative, so is formatted more like an example or a remark. It can have a hint and a solution, but this one does not. It can have a title, which this one does.
Hint.
View Source for hint
<hint>
  <p>
    Start writing!
  </p>
</hint>
Start writing!

Subsubsection 4.2.2 Advice

View Source for subsubsection
<subsubsection>
        <title>Advice</title>
        <p>
          Using an
          <q>integral sign</q>
          for an antiderivative
          (aka indefinite integral)
          would seem to make the Fundamental Theorem a <foreign xml:lang="fr-FR">fait accompli</foreign>.
          So I would suggest not conflating the notation for two very different things until the Fundamental Theorem exposes them as being highly related.
        </p>
        <example xml:id="example-structured">
          <title>An Example of Structure</title>
          <statement>
            <p>
              This is an example of an example with a bit more structure.
              Specifically,
              the example has a <c>title</c>,
              as usual,
              but then has a <c>statement</c>,
              which is separate from the <c>solution</c>.
              Why did we implement an example in two ways?
            </p>
          </statement>
          <solution>
            <p>
              Authors asked for it and it seemed a very natural thing to do,
              even if we only had an unstructured version for a long time.
            </p>
          </solution>
        </example>
        <question xml:id="sample-question">
          <title>An Example of a Question</title>
          <statement>
            <p>
              Any kind of question can be marked as such with <tag>question</tag>.
              Or similarly, as a <tag>problem</tag>.
              They behave identically to <c>example</c> s, such as the one preceding and are numbered along with theorems,
              examples. etc.
            </p>
          </statement>
          <solution>
            <p>
              You can have a solution.
              Or several, even if you don't ask a question.
            </p>
          </solution>
          <solution>
            <p>
              See?
            </p>
          </solution>
        </question>
        <exercise xml:id="inline-exercise">
          <title>An Inline Exercise</title>
          <statement>
            <p>
              There are lots of exercises in this sample article,
              but mostly they are in special exercise sections.
              Sometimes you just want to sprinkle some exercises through the narrative.
              We call these <term>inline exercises</term>,
              in contrast to <term>divisional exercises</term>.
              The inline exercises look a bit more like a theorem or definition,
              with titles and fully-qualified numbers.
            </p>
            <p>
              These may also have hints, answers and solutions.
            </p>
          </statement>
          <hint>
            <p>
              A good hint.
            </p>
          </hint>
          <answer>
            <p>
              42.
            </p>
          </answer>
          <solution>
            <p>
              If your exercise feels like proving a theorem,
              then you might want to make some comments,
              but also clearly delineate which part of the solution is a the complete proof.
            </p>
            <proof>
              <p>
                Lorem ipsum dolor sit amet, consectetur adipiscing elit.
                Proin lorem diam, convallis in nulla sed, accumsan fermentum urna.
                Pellentesque aliquet leo elit,
                ut consequat nunc dapibus ac.
                Sed lobortis leo tincidunt, vulputate nunc at, ultricies leo.
                Vivamus purus diam,
                tristique laoreet purus eget, mollis gravida sapien.
                Nunc vulputate nisl ac mauris hendrerit cursus.
                Sed vel molestie velit.
                Suspendisse sem sem, elementum at vehicula id, volutpat ac mi.
                Nullam ullamcorper fringilla purus in accumsan.
                Mauris at nunc accumsan orci dictum vulputate id id augue.
                Suspendisse at dignissim elit, non euismod nunc.
                Aliquam faucibus magna ac molestie semper.
                Aliquam hendrerit sem sit amet metus congue tempor.
                Donec laoreet laoreet metus, id interdum purus mattis vulputate.
                Proin condimentum vitae erat varius mollis.
                Donec venenatis libero sed turpis pretium tempor.
              </p>
              <p>
                Praesent rutrum scelerisque felis sit amet adipiscing.
                Phasellus in mollis velit.
                Nunc malesuada felis sit amet massa cursus,
                eget elementum neque viverra.
                Integer sagittis dictum turpis vel aliquet.
                Fusce ut suscipit dolor, nec tristique nisl.
                Aenean luctus, leo et ornare fermentum,
                nibh dui vulputate leo, nec tincidunt augue ipsum sed odio.
                Nunc non erat sollicitudin, iaculis eros consequat, dapibus eros.
              </p>
            </proof>
          </solution>


        </exercise>
        <example xml:id="example-math-title">
          <title>An Example of with <m>\frac12</m> math formula <m>\displaystyle{\int e^x \, dx}</m> in the title</title>
          <statement>
            <p>
              Just for testing math in knowls,
              and also extra whitespace in a <tag>p</tag>.
            </p>
          </statement>
        </example>
        <p>
          There are many different blocks you can employ,
          and they mostly behave the same way.
          A <tag>project</tag>
              <idx><h>project</h></idx>
          is very similar to a <tag>question</tag>
              <idx><h>question</h></idx>
          or <tag>problem</tag>
              <idx><h>problem</h></idx>
        </p>
        <project>
          <title>Start Exploring <pretext /></title>
          <p>
            You could grab the <c>minimal.xml</c> file from the <c>examples/minimal</c> directory and experiment with that.
          </p>
          <p>
            Projects get their own independent numbering scheme,
            since they may be central to your textbook, workbook, or lab manual.
            If you process this sample article with level for project numbering set to <c>0</c> then you will get consecutive numbers from the beginning of your book,
            starting with 1.
          </p>
        </project>
        <exploration>
          <title>Exploring Explorations</title>
          <statement>
            <p>
              This is an <tag>exploration</tag>.
                  <idx><h>exploration</h></idx>
              Other similar possibilities are <tag>project</tag>,
                  <idx><h>project</h></idx>
              <tag>activity</tag>,
                  <idx><h>activity</h></idx>
              <tag>task</tag>,
                  <idx><h>task</h></idx>
              and <tag>investigation</tag>.
                  <idx><h>investigation</h></idx>
            </p>
            <p>
              Note that projects, activities, explorations,
              tasks and investigations <em>share</em>
              the independent numbering scheme,
              so it is really only intended you use one of these.
              If you want a variant of the name (<eg />
              <q>Directed Activity</q>
              ) you can use the <tag>rename</tag>
                  <idx><h>rename an environment</h></idx>
              facility
              (<xref ref="rename-facility" text="type-global" />).
            </p>
          </statement>
          <solution>
            <p>
              This is a
              <q>solution</q>
              to the exploration.
              In practice,
              you might choose to not make this visible for students,
              but instead include it as part of some guidance you might provide to instructors
              (<eg /> an
              <pubtitle>Instructor's Manual</pubtitle>).
            </p>
          </solution>
        </exploration>
        <activity xml:id="activity-with-hint-answer-solution">
          <title>Hints, Answers, Solutions</title>
          <prelude>
            <p>
              This is quite the activity upcoming.
              This is a <c>prelude</c> authored within the <c>activity</c> element,
              but visually just prior.
            </p>
          </prelude>
          <statement>
            <p>
              Another variant of these project-like items is to possibly include a <tag>hint</tag> and an <tag>answer</tag> before the <tag>solution</tag>.
            </p>
          </statement>
          <hint>
            <p>
              Just a little help.
            </p>
          </hint>
          <answer>
            <p>
              The result, but no help in getting there.
            </p>
          </answer>
          <solution>
            <p>
              Everything to get it all done, in detail.
            </p>
          </solution>
          <postlude>
            <p>
              This was quite the activity just now.
              This is a <c>postlude</c> authored within the <c>activity</c> element,
              but visually just after.
            </p>
          </postlude>
        </activity>
        <note xml:id="note-remark">
          <title>A Note on Remarks</title>
          <p>
            <tag>remark</tag>, <tag>convention</tag>, <tag>note</tag>,
            <tag>observation</tag> and <tag>warning</tag> are designed to hold very simple contents,
            with no additional structure
            (no proofs, no solutions, <etc />).
          </p>
          <p>
            But they do carry a title and a number,
            can be the target of a cross-reference,
            and may be optionally knowlized in HTML with the <c>html.knowl.remark</c> processing switch.
          </p>
          <p>
            And distinctly different from a <tag>note</tag> in a <tag>biblio</tag><fn>
            A gratuitous footnote to test prior bug confusing this with a <tag>note</tag> in a <tag>biblio</tag>.
            </fn>.
          </p>
        </note>
        <aside xml:id="an-aside">
          <title>An Aside with a <em>Formatted</em> Title</title>
          <idx>aside</idx>
          <p>
            An <tag>aside</tag> is similar to a remark,
            but is not as critical to the narrative.
            It is not numbered, and so requires a title.
            It can be the target of a cross-reference.
            They are meant to be short,
            and so are not knowlized at their first appearance.
            If the content is appropriate,
            these can be marked as <tag>historical</tag> or <tag>biographical</tag>,
            though longer items should use subdivisions (<eg /> sections,
            subsections) instead.
          </p>
        </aside>
        <p>
          An <tag>exercise</tag> can be structured with <tag>task</tag>.
        </p>
        <exercise xml:id="exercise-structured">
          <title>A very structured exercise</title>
          <introduction>
            <p>
              This is an over-arching introduction to the whole exercise.
              We follow with some tasks.
              In interdum suscipit ullamcorper.
              Morbi sit amet malesuada augue, id vestibulum magna.
              Nulla blandit dui metus, malesuada mollis sapien ullamcorper sit amet.
              Nulla at neque nisi.
              Integer vel porta felis.
            </p>
          </introduction>
          <task>
            <title>A super-simple task</title>
            <p>
              This first task is very simple, just a paragraph.
              In interdum suscipit ullamcorper.
              Morbi sit amet malesuada augue, id vestibulum magna.
              Nulla blandit dui metus, malesuada mollis sapien ullamcorper sit amet.
              Nulla at neque nisi.
              Integer vel porta felis.
            </p>
          </task>
          <task>
            <p>
              Now three paragraphs.
              In interdum suscipit ullamcorper.
              Morbi sit amet malesuada augue, id vestibulum magna.
              Nulla blandit dui metus, malesuada mollis sapien ullamcorper sit amet.
              Nulla at neque nisi.
              Integer vel porta felis.
            </p>
            <p>
              In interdum suscipit ullamcorper.
              Morbi sit amet malesuada augue, id vestibulum magna.
              Nulla blandit dui metus, malesuada mollis sapien ullamcorper sit amet.
              Nulla at neque nisi.
              Integer vel porta felis.
            </p>
            <p>
              In interdum suscipit ullamcorper.
              Morbi sit amet malesuada augue, id vestibulum magna.
              Nulla blandit dui metus, malesuada mollis sapien ullamcorper sit amet.
              Nulla at neque nisi.
              Integer vel porta felis.
            </p>
          </task>
          <task>
            <title>A title of a task that has a subtask with an <tag>answer</tag> for the Solutions</title>
            <introduction>
              <p>
                This second task is further divided by more tasks.
                This is its introduction.
                In interdum suscipit ullamcorper.
                Morbi sit amet malesuada augue, id vestibulum magna.
                Nulla blandit dui metus, malesuada mollis sapien ullamcorper sit amet.
                Nulla at neque nisi.
                Integer vel porta felis.
              </p>
              <p>
                In interdum suscipit ullamcorper.
                Morbi sit amet malesuada augue, id vestibulum magna.
                Nulla blandit dui metus, malesuada mollis sapien ullamcorper sit amet.
                Nulla at neque nisi.
                Integer vel porta felis.
              </p>
            </introduction>
            <task>
              <title>A task with a title and an <tag>answer</tag> for the Solutions</title>
              <statement>
                <p>
                  A really simple subtask.
                  In interdum suscipit ullamcorper.
                  Morbi sit amet malesuada augue, id vestibulum magna.
                  Nulla blandit dui metus, malesuada mollis sapien ullamcorper sit amet.
                  Nulla at neque nisi.
                  Integer vel porta felis.
                </p>
                <p>
                  A short paragraph, before an answer.
                </p>
              </statement>
              <answer>
                <p>
                  With a proof.
                </p>
                <proof>
                  <p>
                    In interdum suscipit ullamcorper.
                    Morbi sit amet malesuada augue, id vestibulum magna.
                    Nulla blandit dui metus, malesuada mollis sapien ullamcorper sit amet.
                    Nulla at neque nisi.
                    Integer vel porta felis.
                  </p>
                </proof>
                <p>
                  And a bit more to say.
                </p>
              </answer>
            </task>
            <task>
              <statement>
                <p>
                  A subtask with an answer.
                  In interdum suscipit ullamcorper.
                  Morbi sit amet malesuada augue, id vestibulum magna.
                  Nulla blandit dui metus, malesuada mollis sapien ullamcorper sit amet.
                  Nulla at neque nisi.
                  Integer vel porta felis.
                </p>
              </statement>
              <answer>
                <p>
                  Right!
                  In interdum suscipit ullamcorper.
                  Morbi sit amet malesuada augue, id vestibulum magna.
                  Nulla blandit dui metus, malesuada mollis sapien ullamcorper sit amet.
                  Nulla at neque nisi.
                  Integer vel porta felis.
                </p>
              </answer>
            </task>
            <task>
              <introduction>
                <p>
                  Three simple sub-sub-tasks.
                  In interdum suscipit ullamcorper.
                  Morbi sit amet malesuada augue, id vestibulum magna.
                  Nulla blandit dui metus, malesuada mollis sapien ullamcorper sit amet.
                  Nulla at neque nisi.
                  Integer vel porta felis.
                </p>
              </introduction>
              <task>
                <p>
                  First subsubtask.
                  Short paragraph.
                </p>
              </task>
              <task>
                <title>A second three-deep subsubtask!</title>
                <p>
                  Second subsubtask.
                  In interdum suscipit ullamcorper.
                  Morbi sit amet malesuada augue, id vestibulum magna.
                  Nulla blandit dui metus, malesuada mollis sapien ullamcorper sit amet.
                  Nulla at neque nisi.
                  Integer vel porta felis.
                </p>
                <p>
                  In interdum suscipit ullamcorper.
                  Morbi sit amet malesuada augue, id vestibulum magna.
                  Nulla blandit dui metus, malesuada mollis sapien ullamcorper sit amet.
                  Nulla at neque nisi.
                  Integer vel porta felis.
                </p>
              </task>
              <task>
                <p>
                  Third subsubtask.
                  In interdum suscipit ullamcorper.
                  Morbi sit amet malesuada augue, id vestibulum magna.
                  Nulla blandit dui metus, malesuada mollis sapien ullamcorper sit amet.
                  Nulla at neque nisi.
                  Integer vel porta felis.
                </p>
                <p>
                  In interdum suscipit ullamcorper
                </p>
                <p>
                  In interdum suscipit ullamcorper.
                  Morbi sit amet malesuada augue, id vestibulum magna.
                  Nulla blandit dui metus, malesuada mollis sapien ullamcorper sit amet.
                  Nulla at neque nisi.
                  Integer vel porta felis.
                </p>
              </task>
              <conclusion>
                <p>
                  The conclusion of the structured subtask.
                  In interdum suscipit ullamcorper.
                  Morbi sit amet malesuada augue, id vestibulum magna.
                  Nulla blandit dui metus, malesuada mollis sapien ullamcorper sit amet.
                  Nulla at neque nisi.
                  Integer vel porta felis.
                </p>
              </conclusion>
            </task>
            <task>
              <p>
                A simple task as the last subtask.
                In interdum suscipit ullamcorper.
                Morbi sit amet malesuada augue, id vestibulum magna.
                Nulla blandit dui metus, malesuada mollis sapien ullamcorper sit amet.
                Nulla at neque nisi.
                Integer vel porta felis.
              </p>
            </task>
            <conclusion>
              <p>
                This concludes our structured second task.
                In interdum suscipit ullamcorper.
                Morbi sit amet malesuada augue, id vestibulum magna.
                Nulla blandit dui metus, malesuada mollis sapien ullamcorper sit amet.
                Nulla at neque nisi.
                Integer vel porta felis.
              </p>
            </conclusion>
          </task>
          <task>
            <statement>
              <p>
                This third top-level task is intermediate in complexity,
                you are reading the <c>statement</c>,
                which is followed by more items.
                In interdum suscipit ullamcorper.
                Morbi sit amet malesuada augue, id vestibulum magna.
                Nulla blandit dui metus, malesuada mollis sapien ullamcorper sit amet.
                Nulla at neque nisi.
                Integer vel porta felis.
              </p>
            </statement>
            <hint>
              <p>
                One hint.
                In interdum suscipit ullamcorper.
                Morbi sit amet malesuada augue, id vestibulum magna.
                Nulla blandit dui metus, malesuada mollis sapien ullamcorper sit amet.
                Nulla at neque nisi.
                Integer vel porta felis.
              </p>
              <p>
                In interdum suscipit ullamcorper.
                Morbi sit amet malesuada augue, id vestibulum magna.
                Nulla blandit dui metus, malesuada mollis sapien ullamcorper sit amet.
                Nulla at neque nisi.
                Integer vel porta felis.
              </p>
            </hint>
            <answer>
              <p>
                First answer.
                In interdum suscipit ullamcorper.
              </p>
            </answer>
            <answer>
              <p>
                Second answer.
                In interdum suscipit ullamcorper.
                Morbi sit amet malesuada augue, id vestibulum magna.
                Nulla blandit dui metus, malesuada mollis sapien ullamcorper sit amet.
                Nulla at neque nisi.
                Integer vel porta felis.
              </p>
              <p>
                In interdum suscipit ullamcorper.
                Morbi sit amet malesuada augue, id vestibulum magna.
                Nulla blandit dui metus, malesuada mollis sapien ullamcorper sit amet.
                Nulla at neque nisi.
                Integer vel porta felis.
              </p>
              <p>
                In interdum suscipit ullamcorper.
                Morbi sit amet malesuada augue, id vestibulum magna.
                Nulla blandit dui metus, malesuada mollis sapien ullamcorper sit amet.
                Nulla at neque nisi.
                Integer vel porta felis.
              </p>
            </answer>
            <solution>
              <p>
                At last, the solution.
                In interdum suscipit ullamcorper.
                Morbi sit amet malesuada augue, id vestibulum magna.
                Nulla blandit dui metus, malesuada mollis sapien ullamcorper sit amet.
                Nulla at neque nisi.
                Integer vel porta felis.
              </p>
            </solution>
          </task>
          <conclusion>
            <p>
              This is a conclusion where you could summarize the exercise.
              In interdum suscipit ullamcorper.
              Morbi sit amet malesuada augue, id vestibulum magna.
              Nulla blandit dui metus, malesuada mollis sapien ullamcorper sit amet.
              Nulla at neque nisi.
              Integer vel porta felis.
            </p>
          </conclusion>
        </exercise>
        <p>
          The following <tag>project</tag> is nearly identical to the preceding <tag>exercise</tag>.
        </p>
        <project xml:id="project-structured">
          <title>A very structured project</title>
          <prelude>
            <p>
              The next block is a project,
              demonstrating the use of the <c>task</c> element to structure its parts.
              You are reading the <c>prelude</c> now.
              The project has lots of nonsense words,
              so we can test spacing the nested items.
              In interdum suscipit ullamcorper.
              Morbi sit amet malesuada augue, id vestibulum magna.
              Nulla blandit dui metus, malesuada mollis sapien ullamcorper sit amet.
              Nulla at neque nisi.
              Integer vel porta felis.
            </p>
            <p>
              In interdum suscipit ullamcorper.
              Morbi sit amet malesuada augue, id vestibulum magna.
              Nulla blandit dui metus, malesuada mollis sapien ullamcorper sit amet.
              Nulla at neque nisi.
              Integer vel porta felis.
            </p>
          </prelude>
          <introduction>
            <p>
              This is an over-arching introduction to the whole project.
              We follow with some tasks.
              In interdum suscipit ullamcorper.
              Morbi sit amet malesuada augue, id vestibulum magna.
              Nulla blandit dui metus, malesuada mollis sapien ullamcorper sit amet.
              Nulla at neque nisi.
              Integer vel porta felis.
            </p>
          </introduction>
          <task>
            <p>
              This first task is very simple, just a paragraph.
              In interdum suscipit ullamcorper.
              Morbi sit amet malesuada augue, id vestibulum magna.
              Nulla blandit dui metus, malesuada mollis sapien ullamcorper sit amet.
              Nulla at neque nisi.
              Integer vel porta felis.
            </p>
          </task>
          <task>
            <p>
              Now three paragraphs.
              In interdum suscipit ullamcorper.
              Morbi sit amet malesuada augue, id vestibulum magna.
              Nulla blandit dui metus, malesuada mollis sapien ullamcorper sit amet.
              Nulla at neque nisi.
              Integer vel porta felis.
            </p>
            <p>
              In interdum suscipit ullamcorper.
              Morbi sit amet malesuada augue, id vestibulum magna.
              Nulla blandit dui metus, malesuada mollis sapien ullamcorper sit amet.
              Nulla at neque nisi.
              Integer vel porta felis.
            </p>
            <p>
              In interdum suscipit ullamcorper.
              Morbi sit amet malesuada augue, id vestibulum magna.
              Nulla blandit dui metus, malesuada mollis sapien ullamcorper sit amet.
              Nulla at neque nisi.
              Integer vel porta felis.
            </p>
          </task>
          <task>
            <introduction>
              <p>
                This second task is further divided by more tasks.
                This is its introduction.
                In interdum suscipit ullamcorper.
                Morbi sit amet malesuada augue, id vestibulum magna.
                Nulla blandit dui metus, malesuada mollis sapien ullamcorper sit amet.
                Nulla at neque nisi.
                Integer vel porta felis.
              </p>
              <p>
                In interdum suscipit ullamcorper.
                Morbi sit amet malesuada augue, id vestibulum magna.
                Nulla blandit dui metus, malesuada mollis sapien ullamcorper sit amet.
                Nulla at neque nisi.
                Integer vel porta felis.
              </p>
            </introduction>
            <task>
              <statement>
                <p>
                  A really simple subtask.
                  In interdum suscipit ullamcorper.
                  Morbi sit amet malesuada augue, id vestibulum magna.
                  Nulla blandit dui metus, malesuada mollis sapien ullamcorper sit amet.
                  Nulla at neque nisi.
                  Integer vel porta felis.
                </p>
                <p>
                  A short paragraph, before an answer.
                </p>
              </statement>
              <answer>
                <p>
                  With a proof.
                </p>
                <proof>
                  <p>
                    In interdum suscipit ullamcorper.
                    Morbi sit amet malesuada augue, id vestibulum magna.
                    Nulla blandit dui metus, malesuada mollis sapien ullamcorper sit amet.
                    Nulla at neque nisi.
                    Integer vel porta felis.
                  </p>
                </proof>
                <p>
                  And a bit more to say.
                </p>
              </answer>
            </task>
            <task>
              <statement>
                <p>
                  A subtask with an answer.
                  In interdum suscipit ullamcorper.
                  Morbi sit amet malesuada augue, id vestibulum magna.
                  Nulla blandit dui metus, malesuada mollis sapien ullamcorper sit amet.
                  Nulla at neque nisi.
                  Integer vel porta felis.
                </p>
              </statement>
              <answer>
                <p>
                  Right!
                  In interdum suscipit ullamcorper.
                  Morbi sit amet malesuada augue, id vestibulum magna.
                  Nulla blandit dui metus, malesuada mollis sapien ullamcorper sit amet.
                  Nulla at neque nisi.
                  Integer vel porta felis.
                </p>
              </answer>
            </task>
            <task xml:id="project-task-level-two">
              <introduction>
                <p>
                  Two simple sub-sub-tasks.
                  In interdum suscipit ullamcorper.
                  Morbi sit amet malesuada augue, id vestibulum magna.
                  Nulla blandit dui metus, malesuada mollis sapien ullamcorper sit amet.
                  Nulla at neque nisi.
                  Integer vel porta felis.
                </p>
              </introduction>
              <task>
                <p>
                  First subsubtask.
                  Short paragraph.
                </p>
              </task>
              <task>
                <p>
                  Second subsubtask.
                  In interdum suscipit ullamcorper.
                  Morbi sit amet malesuada augue, id vestibulum magna.
                  Nulla blandit dui metus, malesuada mollis sapien ullamcorper sit amet.
                  Nulla at neque nisi.
                  Integer vel porta felis.
                </p>
                <p>
                  In interdum suscipit ullamcorper.
                  Morbi sit amet malesuada augue, id vestibulum magna.
                  Nulla blandit dui metus, malesuada mollis sapien ullamcorper sit amet.
                  Nulla at neque nisi.
                  Integer vel porta felis.
                </p>
              </task>



              <task xml:id="deep-terminal-task">
                <statement>
                  <p>
                    Third subsubtask.
                    In interdum suscipit ullamcorper.
                    Morbi sit amet malesuada augue, id vestibulum magna.
                    Nulla blandit dui metus, malesuada mollis sapien ullamcorper sit amet.
                    Nulla at neque nisi.
                    Integer vel porta felis.
                  </p>
                  <p>
                    In interdum suscipit ullamcorper
                  </p>
                  <p>
                    In interdum suscipit ullamcorper.
                    Morbi sit amet malesuada augue, id vestibulum magna.
                    Nulla blandit dui metus, malesuada mollis sapien ullamcorper sit amet.
                    Nulla at neque nisi.
                    Integer vel porta felis.
                  </p>
                </statement>
              </task>
              <conclusion>
                <p>
                  The conclusion of the structured subtask.
                  In interdum suscipit ullamcorper.
                  Morbi sit amet malesuada augue, id vestibulum magna.
                  Nulla blandit dui metus, malesuada mollis sapien ullamcorper sit amet.
                  Nulla at neque nisi.
                  Integer vel porta felis.
                </p>
              </conclusion>
            </task>
            <task>
              <p>
                A simple task as the last subtask.
                In interdum suscipit ullamcorper.
                Morbi sit amet malesuada augue, id vestibulum magna.
                Nulla blandit dui metus, malesuada mollis sapien ullamcorper sit amet.
                Nulla at neque nisi.
                Integer vel porta felis.
              </p>
            </task>
            <conclusion>
              <p>
                This concludes our structured second task.
                In interdum suscipit ullamcorper.
                Morbi sit amet malesuada augue, id vestibulum magna.
                Nulla blandit dui metus, malesuada mollis sapien ullamcorper sit amet.
                Nulla at neque nisi.
                Integer vel porta felis.
              </p>
            </conclusion>
          </task>
          <task>
            <statement>
              <p>
                This third top-level task is intermediate in complexity,
                you are reading the <c>statement</c>,
                which is followed by more items.
                In interdum suscipit ullamcorper.
                Morbi sit amet malesuada augue, id vestibulum magna.
                Nulla blandit dui metus, malesuada mollis sapien ullamcorper sit amet.
                Nulla at neque nisi.
                Integer vel porta felis.
              </p>
            </statement>
            <hint>
              <p>
                One hint.
                In interdum suscipit ullamcorper.
                Morbi sit amet malesuada augue, id vestibulum magna.
                Nulla blandit dui metus, malesuada mollis sapien ullamcorper sit amet.
                Nulla at neque nisi.
                Integer vel porta felis.
              </p>
              <p>
                In interdum suscipit ullamcorper.
                Morbi sit amet malesuada augue, id vestibulum magna.
                Nulla blandit dui metus, malesuada mollis sapien ullamcorper sit amet.
                Nulla at neque nisi.
                Integer vel porta felis.
              </p>
            </hint>
            <answer>
              <p>
                First answer.
                In interdum suscipit ullamcorper.
              </p>
            </answer>
            <answer>
              <p>
                Second answer.
                In interdum suscipit ullamcorper.
                Morbi sit amet malesuada augue, id vestibulum magna.
                Nulla blandit dui metus, malesuada mollis sapien ullamcorper sit amet.
                Nulla at neque nisi.
                Integer vel porta felis.
              </p>
              <p>
                In interdum suscipit ullamcorper.
                Morbi sit amet malesuada augue, id vestibulum magna.
                Nulla blandit dui metus, malesuada mollis sapien ullamcorper sit amet.
                Nulla at neque nisi.
                Integer vel porta felis.
              </p>
              <p>
                In interdum suscipit ullamcorper.
                Morbi sit amet malesuada augue, id vestibulum magna.
                Nulla blandit dui metus, malesuada mollis sapien ullamcorper sit amet.
                Nulla at neque nisi.
                Integer vel porta felis.
              </p>
            </answer>
            <solution>
              <p>
                At last, the solution.
                In interdum suscipit ullamcorper.
                Morbi sit amet malesuada augue, id vestibulum magna.
                Nulla blandit dui metus, malesuada mollis sapien ullamcorper sit amet.
                Nulla at neque nisi.
                Integer vel porta felis.
              </p>
            </solution>
          </task>
          <conclusion>
            <p>
              This is a conclusion where you could summarize the project.
              In interdum suscipit ullamcorper.
              Morbi sit amet malesuada augue, id vestibulum magna.
              Nulla blandit dui metus, malesuada mollis sapien ullamcorper sit amet.
              Nulla at neque nisi.
              Integer vel porta felis.
            </p>
          </conclusion>
          <postlude>
            <p>
              This postlude appears visually outside the project,
              but is authored within, to make clear its attachment to the project.
              In interdum suscipit ullamcorper.
              Morbi sit amet malesuada augue, id vestibulum magna.
              Nulla blandit dui metus, malesuada mollis sapien ullamcorper sit amet.
              Nulla at neque nisi.
              Integer vel porta felis.
            </p>
          </postlude>
        </project>
        <example xml:id="example-structured-with-task">
          <title>Notation mathématique 2</title>
          <prelude>
            <p>
              The following <tag>example</tag>,
              from Elise Desgreniers, is structured with <tag>task</tag>.
            </p>
          </prelude>
          <introduction>
            <p>
              Écrivez chacun des exemples suivants avec les conditions pertinentes.
            </p>
          </introduction>
          <task>
            <statement>
              <p>
                Soit l'ensemble <m>A=\lbrace 1,2,3,4,5\rbrace</m>.
              </p>
              <p>
                On constate que cet ensemble contient uniquement des entiers positifs allant de 1 à 5.
              </p>
              <p>
                Donc, on peut écrire <m>A=\lbrace x\mid x\in\mathbb{N}\text{ et } 1\leq x\leq 5\rbrace</m>.
              </p>
            </statement>
          </task>
          <task>
            <statement>
              <p>
                <m>\{3,6,9,12,15,\ldots,27,30\}</m>
              </p>
            </statement>
            <hint>
              <p>
                Ce sont des multiples de 3.
              </p>
            </hint>
            <answer>
              <p>
                <m>\{x\mid x=3y \text{ et } 1\leq y\leq 10 \text{ et } y\in\mathbb{N}\}</m>
              </p>
            </answer>
          </task>
          <task>
            <statement>
              <p>
                <m>\{1,3,5,7,9,11,\ldots\}</m>
              </p>
            </statement>
            <hint>
              <p>
                Ce sont des nombres impairs.
              </p>
            </hint>
            <answer>
              <p>
                <m>\{x\mid x\mod 2=1 \text{ et } x\in\mathbb{N}\}</m>
              </p>
            </answer>
          </task>
          <task>
            <statement>
              <p>
                <m>\{2,3,5,7,11,13,17,19,23,\ldots\}</m>
              </p>
            </statement>
            <hint>
              <p>
                Ce sont des nombres premiers.
              </p>
            </hint>
            <answer>
              <p>
                <m>\{x\mid x\text{ est un nombre premier positif}\}</m>
              </p>
            </answer>
          </task>
          <task>
            <statement>
              <p>
                <m>\{1,4,9,16,25,36,\ldots,961\}</m>
              </p>
            </statement>
            <hint>
              <p>
                Ce sont des carrés parfaits.
              </p>
            </hint>
            <answer>
              <p>
                <m>\{x\mid x=y^2 \text{ et } 1\leq y\leq 31\text{ et } y\in\mathbb{N}\}</m>
              </p>
            </answer>
          </task>
          <task>
            <statement>
              <p>
                <m>\{1,8,27,64,125,\ldots\}</m>
              </p>
            </statement>
            <hint>
              <p>
                Ce sont des cubes parfaits.
              </p>
            </hint>
            <answer>
              <p>
                <m>\{x\mid x=y^3 \text{ et } y\in\mathbb{N^*}\}</m>
              </p>
            </answer>
          </task>
        </example>
        <p>
          Notes or examples related to computation or technology can go in blocks of the same name.
        </p>
        <technology>
          <title>Sample Use of Sage</title>
          <p>
            This would be a good place to talk about Sage, including a cell or two.
          </p>
<sage>
<input>diff(x^4, x)</input>
<output>4*x^3</output>
</sage>
          <p>
            But you might want to describe how to use some other calculator,
            or maybe some numerical method.
          </p>
        </technology>
        <paragraphs>
          <title>A <tag>paragraphs</tag> with a <tag>project</tag> with an <tag>answer</tag></title>
          <p>
            The solutions to a project
            (and similar)
            once did not migrate to the automatically-generated solutions.
          </p>
          <project>
            <statement>
              <p>
                A simple project, no tasks, just an answer.
              </p>
            </statement>
            <answer>
              <p>
                Here's the answer we are looking for.
              </p>
            </answer>
          </project>
        </paragraphs>
      </subsubsection>
Using an “integral sign” for an antiderivative (aka indefinite integral) would seem to make the Fundamental Theorem a fait accompli. So I would suggest not conflating the notation for two very different things until the Fundamental Theorem exposes them as being highly related.
Example 4.7. An Example of Structure.
View Source for example
<example xml:id="example-structured">
  <title>An Example of Structure</title>
  <statement>
    <p>
      This is an example of an example with a bit more structure.
      Specifically,
      the example has a <c>title</c>,
      as usual,
      but then has a <c>statement</c>,
      which is separate from the <c>solution</c>.
      Why did we implement an example in two ways?
    </p>
  </statement>
  <solution>
    <p>
      Authors asked for it and it seemed a very natural thing to do,
      even if we only had an unstructured version for a long time.
    </p>
  </solution>
</example>
This is an example of an example with a bit more structure. Specifically, the example has a title, as usual, but then has a statement, which is separate from the solution. Why did we implement an example in two ways?
Solution.
View Source for solution
<solution>
  <p>
    Authors asked for it and it seemed a very natural thing to do,
    even if we only had an unstructured version for a long time.
  </p>
</solution>
Authors asked for it and it seemed a very natural thing to do, even if we only had an unstructured version for a long time.
Question 4.8. An Example of a Question.
View Source for question
<question xml:id="sample-question">
  <title>An Example of a Question</title>
  <statement>
    <p>
      Any kind of question can be marked as such with <tag>question</tag>.
      Or similarly, as a <tag>problem</tag>.
      They behave identically to <c>example</c> s, such as the one preceding and are numbered along with theorems,
      examples. etc.
    </p>
  </statement>
  <solution>
    <p>
      You can have a solution.
      Or several, even if you don't ask a question.
    </p>
  </solution>
  <solution>
    <p>
      See?
    </p>
  </solution>
</question>
Any kind of question can be marked as such with <question>. Or similarly, as a <problem>. They behave identically to example s, such as the one preceding and are numbered along with theorems, examples. etc.
Solution 1.
View Source for solution
<solution>
  <p>
    You can have a solution.
    Or several, even if you don't ask a question.
  </p>
</solution>
You can have a solution. Or several, even if you don’t ask a question.
Solution 2.
View Source for solution
<solution>
  <p>
    See?
  </p>
</solution>
See?
Checkpoint 4.9. An Inline Exercise.
View Source for exercise
<exercise xml:id="inline-exercise">
  <title>An Inline Exercise</title>
  <statement>
    <p>
      There are lots of exercises in this sample article,
      but mostly they are in special exercise sections.
      Sometimes you just want to sprinkle some exercises through the narrative.
      We call these <term>inline exercises</term>,
      in contrast to <term>divisional exercises</term>.
      The inline exercises look a bit more like a theorem or definition,
      with titles and fully-qualified numbers.
    </p>
    <p>
      These may also have hints, answers and solutions.
    </p>
  </statement>
  <hint>
    <p>
      A good hint.
    </p>
  </hint>
  <answer>
    <p>
      42.
    </p>
  </answer>
  <solution>
    <p>
      If your exercise feels like proving a theorem,
      then you might want to make some comments,
      but also clearly delineate which part of the solution is a the complete proof.
    </p>
    <proof>
      <p>
        Lorem ipsum dolor sit amet, consectetur adipiscing elit.
        Proin lorem diam, convallis in nulla sed, accumsan fermentum urna.
        Pellentesque aliquet leo elit,
        ut consequat nunc dapibus ac.
        Sed lobortis leo tincidunt, vulputate nunc at, ultricies leo.
        Vivamus purus diam,
        tristique laoreet purus eget, mollis gravida sapien.
        Nunc vulputate nisl ac mauris hendrerit cursus.
        Sed vel molestie velit.
        Suspendisse sem sem, elementum at vehicula id, volutpat ac mi.
        Nullam ullamcorper fringilla purus in accumsan.
        Mauris at nunc accumsan orci dictum vulputate id id augue.
        Suspendisse at dignissim elit, non euismod nunc.
        Aliquam faucibus magna ac molestie semper.
        Aliquam hendrerit sem sit amet metus congue tempor.
        Donec laoreet laoreet metus, id interdum purus mattis vulputate.
        Proin condimentum vitae erat varius mollis.
        Donec venenatis libero sed turpis pretium tempor.
      </p>
      <p>
        Praesent rutrum scelerisque felis sit amet adipiscing.
        Phasellus in mollis velit.
        Nunc malesuada felis sit amet massa cursus,
        eget elementum neque viverra.
        Integer sagittis dictum turpis vel aliquet.
        Fusce ut suscipit dolor, nec tristique nisl.
        Aenean luctus, leo et ornare fermentum,
        nibh dui vulputate leo, nec tincidunt augue ipsum sed odio.
        Nunc non erat sollicitudin, iaculis eros consequat, dapibus eros.
      </p>
    </proof>
  </solution>


</exercise>
There are lots of exercises in this sample article, but mostly they are in special exercise sections. Sometimes you just want to sprinkle some exercises through the narrative. We call these inline exercises, in contrast to divisional exercises. The inline exercises look a bit more like a theorem or definition, with titles and fully-qualified numbers.
These may also have hints, answers and solutions.
Hint.
View Source for hint
<hint>
  <p>
    A good hint.
  </p>
</hint>
A good hint.
Answer.
View Source for answer
<answer>
  <p>
    42.
  </p>
</answer>
42.
Solution.
View Source for solution
<solution>
  <p>
    If your exercise feels like proving a theorem,
    then you might want to make some comments,
    but also clearly delineate which part of the solution is a the complete proof.
  </p>
  <proof>
    <p>
      Lorem ipsum dolor sit amet, consectetur adipiscing elit.
      Proin lorem diam, convallis in nulla sed, accumsan fermentum urna.
      Pellentesque aliquet leo elit,
      ut consequat nunc dapibus ac.
      Sed lobortis leo tincidunt, vulputate nunc at, ultricies leo.
      Vivamus purus diam,
      tristique laoreet purus eget, mollis gravida sapien.
      Nunc vulputate nisl ac mauris hendrerit cursus.
      Sed vel molestie velit.
      Suspendisse sem sem, elementum at vehicula id, volutpat ac mi.
      Nullam ullamcorper fringilla purus in accumsan.
      Mauris at nunc accumsan orci dictum vulputate id id augue.
      Suspendisse at dignissim elit, non euismod nunc.
      Aliquam faucibus magna ac molestie semper.
      Aliquam hendrerit sem sit amet metus congue tempor.
      Donec laoreet laoreet metus, id interdum purus mattis vulputate.
      Proin condimentum vitae erat varius mollis.
      Donec venenatis libero sed turpis pretium tempor.
    </p>
    <p>
      Praesent rutrum scelerisque felis sit amet adipiscing.
      Phasellus in mollis velit.
      Nunc malesuada felis sit amet massa cursus,
      eget elementum neque viverra.
      Integer sagittis dictum turpis vel aliquet.
      Fusce ut suscipit dolor, nec tristique nisl.
      Aenean luctus, leo et ornare fermentum,
      nibh dui vulputate leo, nec tincidunt augue ipsum sed odio.
      Nunc non erat sollicitudin, iaculis eros consequat, dapibus eros.
    </p>
  </proof>
</solution>
If your exercise feels like proving a theorem, then you might want to make some comments, but also clearly delineate which part of the solution is a the complete proof.
Proof.
View Source for proof
<proof>
  <p>
    Lorem ipsum dolor sit amet, consectetur adipiscing elit.
    Proin lorem diam, convallis in nulla sed, accumsan fermentum urna.
    Pellentesque aliquet leo elit,
    ut consequat nunc dapibus ac.
    Sed lobortis leo tincidunt, vulputate nunc at, ultricies leo.
    Vivamus purus diam,
    tristique laoreet purus eget, mollis gravida sapien.
    Nunc vulputate nisl ac mauris hendrerit cursus.
    Sed vel molestie velit.
    Suspendisse sem sem, elementum at vehicula id, volutpat ac mi.
    Nullam ullamcorper fringilla purus in accumsan.
    Mauris at nunc accumsan orci dictum vulputate id id augue.
    Suspendisse at dignissim elit, non euismod nunc.
    Aliquam faucibus magna ac molestie semper.
    Aliquam hendrerit sem sit amet metus congue tempor.
    Donec laoreet laoreet metus, id interdum purus mattis vulputate.
    Proin condimentum vitae erat varius mollis.
    Donec venenatis libero sed turpis pretium tempor.
  </p>
  <p>
    Praesent rutrum scelerisque felis sit amet adipiscing.
    Phasellus in mollis velit.
    Nunc malesuada felis sit amet massa cursus,
    eget elementum neque viverra.
    Integer sagittis dictum turpis vel aliquet.
    Fusce ut suscipit dolor, nec tristique nisl.
    Aenean luctus, leo et ornare fermentum,
    nibh dui vulputate leo, nec tincidunt augue ipsum sed odio.
    Nunc non erat sollicitudin, iaculis eros consequat, dapibus eros.
  </p>
</proof>
Lorem ipsum dolor sit amet, consectetur adipiscing elit. Proin lorem diam, convallis in nulla sed, accumsan fermentum urna. Pellentesque aliquet leo elit, ut consequat nunc dapibus ac. Sed lobortis leo tincidunt, vulputate nunc at, ultricies leo. Vivamus purus diam, tristique laoreet purus eget, mollis gravida sapien. Nunc vulputate nisl ac mauris hendrerit cursus. Sed vel molestie velit. Suspendisse sem sem, elementum at vehicula id, volutpat ac mi. Nullam ullamcorper fringilla purus in accumsan. Mauris at nunc accumsan orci dictum vulputate id id augue. Suspendisse at dignissim elit, non euismod nunc. Aliquam faucibus magna ac molestie semper. Aliquam hendrerit sem sit amet metus congue tempor. Donec laoreet laoreet metus, id interdum purus mattis vulputate. Proin condimentum vitae erat varius mollis. Donec venenatis libero sed turpis pretium tempor.
Praesent rutrum scelerisque felis sit amet adipiscing. Phasellus in mollis velit. Nunc malesuada felis sit amet massa cursus, eget elementum neque viverra. Integer sagittis dictum turpis vel aliquet. Fusce ut suscipit dolor, nec tristique nisl. Aenean luctus, leo et ornare fermentum, nibh dui vulputate leo, nec tincidunt augue ipsum sed odio. Nunc non erat sollicitudin, iaculis eros consequat, dapibus eros.
Example 4.10. An Example of with \(\frac12\) math formula \(\displaystyle{\int e^x \, dx}\) in the title.
View Source for example
<example xml:id="example-math-title">
  <title>An Example of with <m>\frac12</m> math formula <m>\displaystyle{\int e^x \, dx}</m> in the title</title>
  <statement>
    <p>
      Just for testing math in knowls,
      and also extra whitespace in a <tag>p</tag>.
    </p>
  </statement>
</example>
Just for testing math in knowls, and also extra whitespace in a <p>.
There are many different blocks you can employ, and they mostly behave the same way. A <project> is very similar to a <question> or <problem>
Project 4.1. Start Exploring PreTeXt.
View Source for project
<project>
  <title>Start Exploring <pretext /></title>
  <p>
    You could grab the <c>minimal.xml</c> file from the <c>examples/minimal</c> directory and experiment with that.
  </p>
  <p>
    Projects get their own independent numbering scheme,
    since they may be central to your textbook, workbook, or lab manual.
    If you process this sample article with level for project numbering set to <c>0</c> then you will get consecutive numbers from the beginning of your book,
    starting with 1.
  </p>
</project>
You could grab the minimal.xml file from the examples/minimal directory and experiment with that.
Projects get their own independent numbering scheme, since they may be central to your textbook, workbook, or lab manual. If you process this sample article with level for project numbering set to 0 then you will get consecutive numbers from the beginning of your book, starting with 1.
Exploration 4.2. Exploring Explorations.
View Source for exploration
<exploration>
  <title>Exploring Explorations</title>
  <statement>
    <p>
      This is an <tag>exploration</tag>.
          <idx><h>exploration</h></idx>
      Other similar possibilities are <tag>project</tag>,
          <idx><h>project</h></idx>
      <tag>activity</tag>,
          <idx><h>activity</h></idx>
      <tag>task</tag>,
          <idx><h>task</h></idx>
      and <tag>investigation</tag>.
          <idx><h>investigation</h></idx>
    </p>
    <p>
      Note that projects, activities, explorations,
      tasks and investigations <em>share</em>
      the independent numbering scheme,
      so it is really only intended you use one of these.
      If you want a variant of the name (<eg />
      <q>Directed Activity</q>
      ) you can use the <tag>rename</tag>
          <idx><h>rename an environment</h></idx>
      facility
      (<xref ref="rename-facility" text="type-global" />).
    </p>
  </statement>
  <solution>
    <p>
      This is a
      <q>solution</q>
      to the exploration.
      In practice,
      you might choose to not make this visible for students,
      but instead include it as part of some guidance you might provide to instructors
      (<eg /> an
      <pubtitle>Instructor's Manual</pubtitle>).
    </p>
  </solution>
</exploration>
This is an <exploration>. Other similar possibilities are <project>, <activity>, <task>, and <investigation>.
Note that projects, activities, explorations, tasks and investigations share the independent numbering scheme, so it is really only intended you use one of these. If you want a variant of the name (e.g. “Directed Activity” ) you can use the <rename> facility (Subsection 31.1).
Solution.
View Source for solution
<solution>
  <p>
    This is a
    <q>solution</q>
    to the exploration.
    In practice,
    you might choose to not make this visible for students,
    but instead include it as part of some guidance you might provide to instructors
    (<eg /> an
    <pubtitle>Instructor's Manual</pubtitle>).
  </p>
</solution>
This is a “solution” to the exploration. In practice, you might choose to not make this visible for students, but instead include it as part of some guidance you might provide to instructors (e.g. an Instructor’s Manual).
This is quite the activity upcoming. This is a prelude authored within the activity element, but visually just prior.
Activity 4.3. Hints, Answers, Solutions.
View Source for activity
<activity xml:id="activity-with-hint-answer-solution">
  <title>Hints, Answers, Solutions</title>
  <prelude>
    <p>
      This is quite the activity upcoming.
      This is a <c>prelude</c> authored within the <c>activity</c> element,
      but visually just prior.
    </p>
  </prelude>
  <statement>
    <p>
      Another variant of these project-like items is to possibly include a <tag>hint</tag> and an <tag>answer</tag> before the <tag>solution</tag>.
    </p>
  </statement>
  <hint>
    <p>
      Just a little help.
    </p>
  </hint>
  <answer>
    <p>
      The result, but no help in getting there.
    </p>
  </answer>
  <solution>
    <p>
      Everything to get it all done, in detail.
    </p>
  </solution>
  <postlude>
    <p>
      This was quite the activity just now.
      This is a <c>postlude</c> authored within the <c>activity</c> element,
      but visually just after.
    </p>
  </postlude>
</activity>
Another variant of these project-like items is to possibly include a <hint> and an <answer> before the <solution>.
Hint.
View Source for hint
<hint>
  <p>
    Just a little help.
  </p>
</hint>
Just a little help.
Answer.
View Source for answer
<answer>
  <p>
    The result, but no help in getting there.
  </p>
</answer>
The result, but no help in getting there.
Solution.
View Source for solution
<solution>
  <p>
    Everything to get it all done, in detail.
  </p>
</solution>
Everything to get it all done, in detail.
This was quite the activity just now. This is a postlude authored within the activity element, but visually just after.
Note 4.11. A Note on Remarks.
View Source for note
<note xml:id="note-remark">
  <title>A Note on Remarks</title>
  <p>
    <tag>remark</tag>, <tag>convention</tag>, <tag>note</tag>,
    <tag>observation</tag> and <tag>warning</tag> are designed to hold very simple contents,
    with no additional structure
    (no proofs, no solutions, <etc />).
  </p>
  <p>
    But they do carry a title and a number,
    can be the target of a cross-reference,
    and may be optionally knowlized in HTML with the <c>html.knowl.remark</c> processing switch.
  </p>
  <p>
    And distinctly different from a <tag>note</tag> in a <tag>biblio</tag><fn>
    A gratuitous footnote to test prior bug confusing this with a <tag>note</tag> in a <tag>biblio</tag>.
    </fn>.
  </p>
</note>
<remark>, <convention>, <note>, <observation> and <warning> are designed to hold very simple contents, with no additional structure (no proofs, no solutions, etc.).
But they do carry a title and a number, can be the target of a cross-reference, and may be optionally knowlized in HTML with the html.knowl.remark processing switch.
And distinctly different from a <note> in a <biblio>
 2 
A gratuitous footnote to test prior bug confusing this with a <note> in a <biblio>.
.
An <exercise> can be structured with <task>.
Checkpoint 4.12. A very structured exercise.
View Source for exercise
<exercise xml:id="exercise-structured">
  <title>A very structured exercise</title>
  <introduction>
    <p>
      This is an over-arching introduction to the whole exercise.
      We follow with some tasks.
      In interdum suscipit ullamcorper.
      Morbi sit amet malesuada augue, id vestibulum magna.
      Nulla blandit dui metus, malesuada mollis sapien ullamcorper sit amet.
      Nulla at neque nisi.
      Integer vel porta felis.
    </p>
  </introduction>
  <task>
    <title>A super-simple task</title>
    <p>
      This first task is very simple, just a paragraph.
      In interdum suscipit ullamcorper.
      Morbi sit amet malesuada augue, id vestibulum magna.
      Nulla blandit dui metus, malesuada mollis sapien ullamcorper sit amet.
      Nulla at neque nisi.
      Integer vel porta felis.
    </p>
  </task>
  <task>
    <p>
      Now three paragraphs.
      In interdum suscipit ullamcorper.
      Morbi sit amet malesuada augue, id vestibulum magna.
      Nulla blandit dui metus, malesuada mollis sapien ullamcorper sit amet.
      Nulla at neque nisi.
      Integer vel porta felis.
    </p>
    <p>
      In interdum suscipit ullamcorper.
      Morbi sit amet malesuada augue, id vestibulum magna.
      Nulla blandit dui metus, malesuada mollis sapien ullamcorper sit amet.
      Nulla at neque nisi.
      Integer vel porta felis.
    </p>
    <p>
      In interdum suscipit ullamcorper.
      Morbi sit amet malesuada augue, id vestibulum magna.
      Nulla blandit dui metus, malesuada mollis sapien ullamcorper sit amet.
      Nulla at neque nisi.
      Integer vel porta felis.
    </p>
  </task>
  <task>
    <title>A title of a task that has a subtask with an <tag>answer</tag> for the Solutions</title>
    <introduction>
      <p>
        This second task is further divided by more tasks.
        This is its introduction.
        In interdum suscipit ullamcorper.
        Morbi sit amet malesuada augue, id vestibulum magna.
        Nulla blandit dui metus, malesuada mollis sapien ullamcorper sit amet.
        Nulla at neque nisi.
        Integer vel porta felis.
      </p>
      <p>
        In interdum suscipit ullamcorper.
        Morbi sit amet malesuada augue, id vestibulum magna.
        Nulla blandit dui metus, malesuada mollis sapien ullamcorper sit amet.
        Nulla at neque nisi.
        Integer vel porta felis.
      </p>
    </introduction>
    <task>
      <title>A task with a title and an <tag>answer</tag> for the Solutions</title>
      <statement>
        <p>
          A really simple subtask.
          In interdum suscipit ullamcorper.
          Morbi sit amet malesuada augue, id vestibulum magna.
          Nulla blandit dui metus, malesuada mollis sapien ullamcorper sit amet.
          Nulla at neque nisi.
          Integer vel porta felis.
        </p>
        <p>
          A short paragraph, before an answer.
        </p>
      </statement>
      <answer>
        <p>
          With a proof.
        </p>
        <proof>
          <p>
            In interdum suscipit ullamcorper.
            Morbi sit amet malesuada augue, id vestibulum magna.
            Nulla blandit dui metus, malesuada mollis sapien ullamcorper sit amet.
            Nulla at neque nisi.
            Integer vel porta felis.
          </p>
        </proof>
        <p>
          And a bit more to say.
        </p>
      </answer>
    </task>
    <task>
      <statement>
        <p>
          A subtask with an answer.
          In interdum suscipit ullamcorper.
          Morbi sit amet malesuada augue, id vestibulum magna.
          Nulla blandit dui metus, malesuada mollis sapien ullamcorper sit amet.
          Nulla at neque nisi.
          Integer vel porta felis.
        </p>
      </statement>
      <answer>
        <p>
          Right!
          In interdum suscipit ullamcorper.
          Morbi sit amet malesuada augue, id vestibulum magna.
          Nulla blandit dui metus, malesuada mollis sapien ullamcorper sit amet.
          Nulla at neque nisi.
          Integer vel porta felis.
        </p>
      </answer>
    </task>
    <task>
      <introduction>
        <p>
          Three simple sub-sub-tasks.
          In interdum suscipit ullamcorper.
          Morbi sit amet malesuada augue, id vestibulum magna.
          Nulla blandit dui metus, malesuada mollis sapien ullamcorper sit amet.
          Nulla at neque nisi.
          Integer vel porta felis.
        </p>
      </introduction>
      <task>
        <p>
          First subsubtask.
          Short paragraph.
        </p>
      </task>
      <task>
        <title>A second three-deep subsubtask!</title>
        <p>
          Second subsubtask.
          In interdum suscipit ullamcorper.
          Morbi sit amet malesuada augue, id vestibulum magna.
          Nulla blandit dui metus, malesuada mollis sapien ullamcorper sit amet.
          Nulla at neque nisi.
          Integer vel porta felis.
        </p>
        <p>
          In interdum suscipit ullamcorper.
          Morbi sit amet malesuada augue, id vestibulum magna.
          Nulla blandit dui metus, malesuada mollis sapien ullamcorper sit amet.
          Nulla at neque nisi.
          Integer vel porta felis.
        </p>
      </task>
      <task>
        <p>
          Third subsubtask.
          In interdum suscipit ullamcorper.
          Morbi sit amet malesuada augue, id vestibulum magna.
          Nulla blandit dui metus, malesuada mollis sapien ullamcorper sit amet.
          Nulla at neque nisi.
          Integer vel porta felis.
        </p>
        <p>
          In interdum suscipit ullamcorper
        </p>
        <p>
          In interdum suscipit ullamcorper.
          Morbi sit amet malesuada augue, id vestibulum magna.
          Nulla blandit dui metus, malesuada mollis sapien ullamcorper sit amet.
          Nulla at neque nisi.
          Integer vel porta felis.
        </p>
      </task>
      <conclusion>
        <p>
          The conclusion of the structured subtask.
          In interdum suscipit ullamcorper.
          Morbi sit amet malesuada augue, id vestibulum magna.
          Nulla blandit dui metus, malesuada mollis sapien ullamcorper sit amet.
          Nulla at neque nisi.
          Integer vel porta felis.
        </p>
      </conclusion>
    </task>
    <task>
      <p>
        A simple task as the last subtask.
        In interdum suscipit ullamcorper.
        Morbi sit amet malesuada augue, id vestibulum magna.
        Nulla blandit dui metus, malesuada mollis sapien ullamcorper sit amet.
        Nulla at neque nisi.
        Integer vel porta felis.
      </p>
    </task>
    <conclusion>
      <p>
        This concludes our structured second task.
        In interdum suscipit ullamcorper.
        Morbi sit amet malesuada augue, id vestibulum magna.
        Nulla blandit dui metus, malesuada mollis sapien ullamcorper sit amet.
        Nulla at neque nisi.
        Integer vel porta felis.
      </p>
    </conclusion>
  </task>
  <task>
    <statement>
      <p>
        This third top-level task is intermediate in complexity,
        you are reading the <c>statement</c>,
        which is followed by more items.
        In interdum suscipit ullamcorper.
        Morbi sit amet malesuada augue, id vestibulum magna.
        Nulla blandit dui metus, malesuada mollis sapien ullamcorper sit amet.
        Nulla at neque nisi.
        Integer vel porta felis.
      </p>
    </statement>
    <hint>
      <p>
        One hint.
        In interdum suscipit ullamcorper.
        Morbi sit amet malesuada augue, id vestibulum magna.
        Nulla blandit dui metus, malesuada mollis sapien ullamcorper sit amet.
        Nulla at neque nisi.
        Integer vel porta felis.
      </p>
      <p>
        In interdum suscipit ullamcorper.
        Morbi sit amet malesuada augue, id vestibulum magna.
        Nulla blandit dui metus, malesuada mollis sapien ullamcorper sit amet.
        Nulla at neque nisi.
        Integer vel porta felis.
      </p>
    </hint>
    <answer>
      <p>
        First answer.
        In interdum suscipit ullamcorper.
      </p>
    </answer>
    <answer>
      <p>
        Second answer.
        In interdum suscipit ullamcorper.
        Morbi sit amet malesuada augue, id vestibulum magna.
        Nulla blandit dui metus, malesuada mollis sapien ullamcorper sit amet.
        Nulla at neque nisi.
        Integer vel porta felis.
      </p>
      <p>
        In interdum suscipit ullamcorper.
        Morbi sit amet malesuada augue, id vestibulum magna.
        Nulla blandit dui metus, malesuada mollis sapien ullamcorper sit amet.
        Nulla at neque nisi.
        Integer vel porta felis.
      </p>
      <p>
        In interdum suscipit ullamcorper.
        Morbi sit amet malesuada augue, id vestibulum magna.
        Nulla blandit dui metus, malesuada mollis sapien ullamcorper sit amet.
        Nulla at neque nisi.
        Integer vel porta felis.
      </p>
    </answer>
    <solution>
      <p>
        At last, the solution.
        In interdum suscipit ullamcorper.
        Morbi sit amet malesuada augue, id vestibulum magna.
        Nulla blandit dui metus, malesuada mollis sapien ullamcorper sit amet.
        Nulla at neque nisi.
        Integer vel porta felis.
      </p>
    </solution>
  </task>
  <conclusion>
    <p>
      This is a conclusion where you could summarize the exercise.
      In interdum suscipit ullamcorper.
      Morbi sit amet malesuada augue, id vestibulum magna.
      Nulla blandit dui metus, malesuada mollis sapien ullamcorper sit amet.
      Nulla at neque nisi.
      Integer vel porta felis.
    </p>
  </conclusion>
</exercise>
This is an over-arching introduction to the whole exercise. We follow with some tasks. In interdum suscipit ullamcorper. Morbi sit amet malesuada augue, id vestibulum magna. Nulla blandit dui metus, malesuada mollis sapien ullamcorper sit amet. Nulla at neque nisi. Integer vel porta felis.
(a) A super-simple task.
View Source for task
<task>
  <title>A super-simple task</title>
  <p>
    This first task is very simple, just a paragraph.
    In interdum suscipit ullamcorper.
    Morbi sit amet malesuada augue, id vestibulum magna.
    Nulla blandit dui metus, malesuada mollis sapien ullamcorper sit amet.
    Nulla at neque nisi.
    Integer vel porta felis.
  </p>
</task>
This first task is very simple, just a paragraph. In interdum suscipit ullamcorper. Morbi sit amet malesuada augue, id vestibulum magna. Nulla blandit dui metus, malesuada mollis sapien ullamcorper sit amet. Nulla at neque nisi. Integer vel porta felis.
(b)
View Source for task
<task>
  <p>
    Now three paragraphs.
    In interdum suscipit ullamcorper.
    Morbi sit amet malesuada augue, id vestibulum magna.
    Nulla blandit dui metus, malesuada mollis sapien ullamcorper sit amet.
    Nulla at neque nisi.
    Integer vel porta felis.
  </p>
  <p>
    In interdum suscipit ullamcorper.
    Morbi sit amet malesuada augue, id vestibulum magna.
    Nulla blandit dui metus, malesuada mollis sapien ullamcorper sit amet.
    Nulla at neque nisi.
    Integer vel porta felis.
  </p>
  <p>
    In interdum suscipit ullamcorper.
    Morbi sit amet malesuada augue, id vestibulum magna.
    Nulla blandit dui metus, malesuada mollis sapien ullamcorper sit amet.
    Nulla at neque nisi.
    Integer vel porta felis.
  </p>
</task>
Now three paragraphs. In interdum suscipit ullamcorper. Morbi sit amet malesuada augue, id vestibulum magna. Nulla blandit dui metus, malesuada mollis sapien ullamcorper sit amet. Nulla at neque nisi. Integer vel porta felis.
In interdum suscipit ullamcorper. Morbi sit amet malesuada augue, id vestibulum magna. Nulla blandit dui metus, malesuada mollis sapien ullamcorper sit amet. Nulla at neque nisi. Integer vel porta felis.
In interdum suscipit ullamcorper. Morbi sit amet malesuada augue, id vestibulum magna. Nulla blandit dui metus, malesuada mollis sapien ullamcorper sit amet. Nulla at neque nisi. Integer vel porta felis.
(c) A title of a task that has a subtask with an <answer> for the Solutions.
View Source for task
<task>
  <title>A title of a task that has a subtask with an <tag>answer</tag> for the Solutions</title>
  <introduction>
    <p>
      This second task is further divided by more tasks.
      This is its introduction.
      In interdum suscipit ullamcorper.
      Morbi sit amet malesuada augue, id vestibulum magna.
      Nulla blandit dui metus, malesuada mollis sapien ullamcorper sit amet.
      Nulla at neque nisi.
      Integer vel porta felis.
    </p>
    <p>
      In interdum suscipit ullamcorper.
      Morbi sit amet malesuada augue, id vestibulum magna.
      Nulla blandit dui metus, malesuada mollis sapien ullamcorper sit amet.
      Nulla at neque nisi.
      Integer vel porta felis.
    </p>
  </introduction>
  <task>
    <title>A task with a title and an <tag>answer</tag> for the Solutions</title>
    <statement>
      <p>
        A really simple subtask.
        In interdum suscipit ullamcorper.
        Morbi sit amet malesuada augue, id vestibulum magna.
        Nulla blandit dui metus, malesuada mollis sapien ullamcorper sit amet.
        Nulla at neque nisi.
        Integer vel porta felis.
      </p>
      <p>
        A short paragraph, before an answer.
      </p>
    </statement>
    <answer>
      <p>
        With a proof.
      </p>
      <proof>
        <p>
          In interdum suscipit ullamcorper.
          Morbi sit amet malesuada augue, id vestibulum magna.
          Nulla blandit dui metus, malesuada mollis sapien ullamcorper sit amet.
          Nulla at neque nisi.
          Integer vel porta felis.
        </p>
      </proof>
      <p>
        And a bit more to say.
      </p>
    </answer>
  </task>
  <task>
    <statement>
      <p>
        A subtask with an answer.
        In interdum suscipit ullamcorper.
        Morbi sit amet malesuada augue, id vestibulum magna.
        Nulla blandit dui metus, malesuada mollis sapien ullamcorper sit amet.
        Nulla at neque nisi.
        Integer vel porta felis.
      </p>
    </statement>
    <answer>
      <p>
        Right!
        In interdum suscipit ullamcorper.
        Morbi sit amet malesuada augue, id vestibulum magna.
        Nulla blandit dui metus, malesuada mollis sapien ullamcorper sit amet.
        Nulla at neque nisi.
        Integer vel porta felis.
      </p>
    </answer>
  </task>
  <task>
    <introduction>
      <p>
        Three simple sub-sub-tasks.
        In interdum suscipit ullamcorper.
        Morbi sit amet malesuada augue, id vestibulum magna.
        Nulla blandit dui metus, malesuada mollis sapien ullamcorper sit amet.
        Nulla at neque nisi.
        Integer vel porta felis.
      </p>
    </introduction>
    <task>
      <p>
        First subsubtask.
        Short paragraph.
      </p>
    </task>
    <task>
      <title>A second three-deep subsubtask!</title>
      <p>
        Second subsubtask.
        In interdum suscipit ullamcorper.
        Morbi sit amet malesuada augue, id vestibulum magna.
        Nulla blandit dui metus, malesuada mollis sapien ullamcorper sit amet.
        Nulla at neque nisi.
        Integer vel porta felis.
      </p>
      <p>
        In interdum suscipit ullamcorper.
        Morbi sit amet malesuada augue, id vestibulum magna.
        Nulla blandit dui metus, malesuada mollis sapien ullamcorper sit amet.
        Nulla at neque nisi.
        Integer vel porta felis.
      </p>
    </task>
    <task>
      <p>
        Third subsubtask.
        In interdum suscipit ullamcorper.
        Morbi sit amet malesuada augue, id vestibulum magna.
        Nulla blandit dui metus, malesuada mollis sapien ullamcorper sit amet.
        Nulla at neque nisi.
        Integer vel porta felis.
      </p>
      <p>
        In interdum suscipit ullamcorper
      </p>
      <p>
        In interdum suscipit ullamcorper.
        Morbi sit amet malesuada augue, id vestibulum magna.
        Nulla blandit dui metus, malesuada mollis sapien ullamcorper sit amet.
        Nulla at neque nisi.
        Integer vel porta felis.
      </p>
    </task>
    <conclusion>
      <p>
        The conclusion of the structured subtask.
        In interdum suscipit ullamcorper.
        Morbi sit amet malesuada augue, id vestibulum magna.
        Nulla blandit dui metus, malesuada mollis sapien ullamcorper sit amet.
        Nulla at neque nisi.
        Integer vel porta felis.
      </p>
    </conclusion>
  </task>
  <task>
    <p>
      A simple task as the last subtask.
      In interdum suscipit ullamcorper.
      Morbi sit amet malesuada augue, id vestibulum magna.
      Nulla blandit dui metus, malesuada mollis sapien ullamcorper sit amet.
      Nulla at neque nisi.
      Integer vel porta felis.
    </p>
  </task>
  <conclusion>
    <p>
      This concludes our structured second task.
      In interdum suscipit ullamcorper.
      Morbi sit amet malesuada augue, id vestibulum magna.
      Nulla blandit dui metus, malesuada mollis sapien ullamcorper sit amet.
      Nulla at neque nisi.
      Integer vel porta felis.
    </p>
  </conclusion>
</task>
This second task is further divided by more tasks. This is its introduction. In interdum suscipit ullamcorper. Morbi sit amet malesuada augue, id vestibulum magna. Nulla blandit dui metus, malesuada mollis sapien ullamcorper sit amet. Nulla at neque nisi. Integer vel porta felis.
In interdum suscipit ullamcorper. Morbi sit amet malesuada augue, id vestibulum magna. Nulla blandit dui metus, malesuada mollis sapien ullamcorper sit amet. Nulla at neque nisi. Integer vel porta felis.
(i) A task with a title and an <answer> for the Solutions.
View Source for task
<task>
  <title>A task with a title and an <tag>answer</tag> for the Solutions</title>
  <statement>
    <p>
      A really simple subtask.
      In interdum suscipit ullamcorper.
      Morbi sit amet malesuada augue, id vestibulum magna.
      Nulla blandit dui metus, malesuada mollis sapien ullamcorper sit amet.
      Nulla at neque nisi.
      Integer vel porta felis.
    </p>
    <p>
      A short paragraph, before an answer.
    </p>
  </statement>
  <answer>
    <p>
      With a proof.
    </p>
    <proof>
      <p>
        In interdum suscipit ullamcorper.
        Morbi sit amet malesuada augue, id vestibulum magna.
        Nulla blandit dui metus, malesuada mollis sapien ullamcorper sit amet.
        Nulla at neque nisi.
        Integer vel porta felis.
      </p>
    </proof>
    <p>
      And a bit more to say.
    </p>
  </answer>
</task>
A really simple subtask. In interdum suscipit ullamcorper. Morbi sit amet malesuada augue, id vestibulum magna. Nulla blandit dui metus, malesuada mollis sapien ullamcorper sit amet. Nulla at neque nisi. Integer vel porta felis.
A short paragraph, before an answer.
Answer.
View Source for answer
<answer>
  <p>
    With a proof.
  </p>
  <proof>
    <p>
      In interdum suscipit ullamcorper.
      Morbi sit amet malesuada augue, id vestibulum magna.
      Nulla blandit dui metus, malesuada mollis sapien ullamcorper sit amet.
      Nulla at neque nisi.
      Integer vel porta felis.
    </p>
  </proof>
  <p>
    And a bit more to say.
  </p>
</answer>
With a proof.
Proof.
View Source for proof
<proof>
  <p>
    In interdum suscipit ullamcorper.
    Morbi sit amet malesuada augue, id vestibulum magna.
    Nulla blandit dui metus, malesuada mollis sapien ullamcorper sit amet.
    Nulla at neque nisi.
    Integer vel porta felis.
  </p>
</proof>
In interdum suscipit ullamcorper. Morbi sit amet malesuada augue, id vestibulum magna. Nulla blandit dui metus, malesuada mollis sapien ullamcorper sit amet. Nulla at neque nisi. Integer vel porta felis.
And a bit more to say.
(ii)
View Source for task
<task>
  <statement>
    <p>
      A subtask with an answer.
      In interdum suscipit ullamcorper.
      Morbi sit amet malesuada augue, id vestibulum magna.
      Nulla blandit dui metus, malesuada mollis sapien ullamcorper sit amet.
      Nulla at neque nisi.
      Integer vel porta felis.
    </p>
  </statement>
  <answer>
    <p>
      Right!
      In interdum suscipit ullamcorper.
      Morbi sit amet malesuada augue, id vestibulum magna.
      Nulla blandit dui metus, malesuada mollis sapien ullamcorper sit amet.
      Nulla at neque nisi.
      Integer vel porta felis.
    </p>
  </answer>
</task>
A subtask with an answer. In interdum suscipit ullamcorper. Morbi sit amet malesuada augue, id vestibulum magna. Nulla blandit dui metus, malesuada mollis sapien ullamcorper sit amet. Nulla at neque nisi. Integer vel porta felis.
Answer.
View Source for answer
<answer>
  <p>
    Right!
    In interdum suscipit ullamcorper.
    Morbi sit amet malesuada augue, id vestibulum magna.
    Nulla blandit dui metus, malesuada mollis sapien ullamcorper sit amet.
    Nulla at neque nisi.
    Integer vel porta felis.
  </p>
</answer>
Right! In interdum suscipit ullamcorper. Morbi sit amet malesuada augue, id vestibulum magna. Nulla blandit dui metus, malesuada mollis sapien ullamcorper sit amet. Nulla at neque nisi. Integer vel porta felis.
(iii)
View Source for task
<task>
  <introduction>
    <p>
      Three simple sub-sub-tasks.
      In interdum suscipit ullamcorper.
      Morbi sit amet malesuada augue, id vestibulum magna.
      Nulla blandit dui metus, malesuada mollis sapien ullamcorper sit amet.
      Nulla at neque nisi.
      Integer vel porta felis.
    </p>
  </introduction>
  <task>
    <p>
      First subsubtask.
      Short paragraph.
    </p>
  </task>
  <task>
    <title>A second three-deep subsubtask!</title>
    <p>
      Second subsubtask.
      In interdum suscipit ullamcorper.
      Morbi sit amet malesuada augue, id vestibulum magna.
      Nulla blandit dui metus, malesuada mollis sapien ullamcorper sit amet.
      Nulla at neque nisi.
      Integer vel porta felis.
    </p>
    <p>
      In interdum suscipit ullamcorper.
      Morbi sit amet malesuada augue, id vestibulum magna.
      Nulla blandit dui metus, malesuada mollis sapien ullamcorper sit amet.
      Nulla at neque nisi.
      Integer vel porta felis.
    </p>
  </task>
  <task>
    <p>
      Third subsubtask.
      In interdum suscipit ullamcorper.
      Morbi sit amet malesuada augue, id vestibulum magna.
      Nulla blandit dui metus, malesuada mollis sapien ullamcorper sit amet.
      Nulla at neque nisi.
      Integer vel porta felis.
    </p>
    <p>
      In interdum suscipit ullamcorper
    </p>
    <p>
      In interdum suscipit ullamcorper.
      Morbi sit amet malesuada augue, id vestibulum magna.
      Nulla blandit dui metus, malesuada mollis sapien ullamcorper sit amet.
      Nulla at neque nisi.
      Integer vel porta felis.
    </p>
  </task>
  <conclusion>
    <p>
      The conclusion of the structured subtask.
      In interdum suscipit ullamcorper.
      Morbi sit amet malesuada augue, id vestibulum magna.
      Nulla blandit dui metus, malesuada mollis sapien ullamcorper sit amet.
      Nulla at neque nisi.
      Integer vel porta felis.
    </p>
  </conclusion>
</task>
Three simple sub-sub-tasks. In interdum suscipit ullamcorper. Morbi sit amet malesuada augue, id vestibulum magna. Nulla blandit dui metus, malesuada mollis sapien ullamcorper sit amet. Nulla at neque nisi. Integer vel porta felis.
(A)
View Source for task
<task>
  <p>
    First subsubtask.
    Short paragraph.
  </p>
</task>
First subsubtask. Short paragraph.
(B) A second three-deep subsubtask!
View Source for task
<task>
  <title>A second three-deep subsubtask!</title>
  <p>
    Second subsubtask.
    In interdum suscipit ullamcorper.
    Morbi sit amet malesuada augue, id vestibulum magna.
    Nulla blandit dui metus, malesuada mollis sapien ullamcorper sit amet.
    Nulla at neque nisi.
    Integer vel porta felis.
  </p>
  <p>
    In interdum suscipit ullamcorper.
    Morbi sit amet malesuada augue, id vestibulum magna.
    Nulla blandit dui metus, malesuada mollis sapien ullamcorper sit amet.
    Nulla at neque nisi.
    Integer vel porta felis.
  </p>
</task>
Second subsubtask. In interdum suscipit ullamcorper. Morbi sit amet malesuada augue, id vestibulum magna. Nulla blandit dui metus, malesuada mollis sapien ullamcorper sit amet. Nulla at neque nisi. Integer vel porta felis.
In interdum suscipit ullamcorper. Morbi sit amet malesuada augue, id vestibulum magna. Nulla blandit dui metus, malesuada mollis sapien ullamcorper sit amet. Nulla at neque nisi. Integer vel porta felis.
(C)
View Source for task
<task>
  <p>
    Third subsubtask.
    In interdum suscipit ullamcorper.
    Morbi sit amet malesuada augue, id vestibulum magna.
    Nulla blandit dui metus, malesuada mollis sapien ullamcorper sit amet.
    Nulla at neque nisi.
    Integer vel porta felis.
  </p>
  <p>
    In interdum suscipit ullamcorper
  </p>
  <p>
    In interdum suscipit ullamcorper.
    Morbi sit amet malesuada augue, id vestibulum magna.
    Nulla blandit dui metus, malesuada mollis sapien ullamcorper sit amet.
    Nulla at neque nisi.
    Integer vel porta felis.
  </p>
</task>
Third subsubtask. In interdum suscipit ullamcorper. Morbi sit amet malesuada augue, id vestibulum magna. Nulla blandit dui metus, malesuada mollis sapien ullamcorper sit amet. Nulla at neque nisi. Integer vel porta felis.
In interdum suscipit ullamcorper
In interdum suscipit ullamcorper. Morbi sit amet malesuada augue, id vestibulum magna. Nulla blandit dui metus, malesuada mollis sapien ullamcorper sit amet. Nulla at neque nisi. Integer vel porta felis.
The conclusion of the structured subtask. In interdum suscipit ullamcorper. Morbi sit amet malesuada augue, id vestibulum magna. Nulla blandit dui metus, malesuada mollis sapien ullamcorper sit amet. Nulla at neque nisi. Integer vel porta felis.
(iv)
View Source for task
<task>
  <p>
    A simple task as the last subtask.
    In interdum suscipit ullamcorper.
    Morbi sit amet malesuada augue, id vestibulum magna.
    Nulla blandit dui metus, malesuada mollis sapien ullamcorper sit amet.
    Nulla at neque nisi.
    Integer vel porta felis.
  </p>
</task>
A simple task as the last subtask. In interdum suscipit ullamcorper. Morbi sit amet malesuada augue, id vestibulum magna. Nulla blandit dui metus, malesuada mollis sapien ullamcorper sit amet. Nulla at neque nisi. Integer vel porta felis.
This concludes our structured second task. In interdum suscipit ullamcorper. Morbi sit amet malesuada augue, id vestibulum magna. Nulla blandit dui metus, malesuada mollis sapien ullamcorper sit amet. Nulla at neque nisi. Integer vel porta felis.
(d)
View Source for task
<task>
  <statement>
    <p>
      This third top-level task is intermediate in complexity,
      you are reading the <c>statement</c>,
      which is followed by more items.
      In interdum suscipit ullamcorper.
      Morbi sit amet malesuada augue, id vestibulum magna.
      Nulla blandit dui metus, malesuada mollis sapien ullamcorper sit amet.
      Nulla at neque nisi.
      Integer vel porta felis.
    </p>
  </statement>
  <hint>
    <p>
      One hint.
      In interdum suscipit ullamcorper.
      Morbi sit amet malesuada augue, id vestibulum magna.
      Nulla blandit dui metus, malesuada mollis sapien ullamcorper sit amet.
      Nulla at neque nisi.
      Integer vel porta felis.
    </p>
    <p>
      In interdum suscipit ullamcorper.
      Morbi sit amet malesuada augue, id vestibulum magna.
      Nulla blandit dui metus, malesuada mollis sapien ullamcorper sit amet.
      Nulla at neque nisi.
      Integer vel porta felis.
    </p>
  </hint>
  <answer>
    <p>
      First answer.
      In interdum suscipit ullamcorper.
    </p>
  </answer>
  <answer>
    <p>
      Second answer.
      In interdum suscipit ullamcorper.
      Morbi sit amet malesuada augue, id vestibulum magna.
      Nulla blandit dui metus, malesuada mollis sapien ullamcorper sit amet.
      Nulla at neque nisi.
      Integer vel porta felis.
    </p>
    <p>
      In interdum suscipit ullamcorper.
      Morbi sit amet malesuada augue, id vestibulum magna.
      Nulla blandit dui metus, malesuada mollis sapien ullamcorper sit amet.
      Nulla at neque nisi.
      Integer vel porta felis.
    </p>
    <p>
      In interdum suscipit ullamcorper.
      Morbi sit amet malesuada augue, id vestibulum magna.
      Nulla blandit dui metus, malesuada mollis sapien ullamcorper sit amet.
      Nulla at neque nisi.
      Integer vel porta felis.
    </p>
  </answer>
  <solution>
    <p>
      At last, the solution.
      In interdum suscipit ullamcorper.
      Morbi sit amet malesuada augue, id vestibulum magna.
      Nulla blandit dui metus, malesuada mollis sapien ullamcorper sit amet.
      Nulla at neque nisi.
      Integer vel porta felis.
    </p>
  </solution>
</task>
This third top-level task is intermediate in complexity, you are reading the statement, which is followed by more items. In interdum suscipit ullamcorper. Morbi sit amet malesuada augue, id vestibulum magna. Nulla blandit dui metus, malesuada mollis sapien ullamcorper sit amet. Nulla at neque nisi. Integer vel porta felis.
Hint.
View Source for hint
<hint>
  <p>
    One hint.
    In interdum suscipit ullamcorper.
    Morbi sit amet malesuada augue, id vestibulum magna.
    Nulla blandit dui metus, malesuada mollis sapien ullamcorper sit amet.
    Nulla at neque nisi.
    Integer vel porta felis.
  </p>
  <p>
    In interdum suscipit ullamcorper.
    Morbi sit amet malesuada augue, id vestibulum magna.
    Nulla blandit dui metus, malesuada mollis sapien ullamcorper sit amet.
    Nulla at neque nisi.
    Integer vel porta felis.
  </p>
</hint>
One hint. In interdum suscipit ullamcorper. Morbi sit amet malesuada augue, id vestibulum magna. Nulla blandit dui metus, malesuada mollis sapien ullamcorper sit amet. Nulla at neque nisi. Integer vel porta felis.
In interdum suscipit ullamcorper. Morbi sit amet malesuada augue, id vestibulum magna. Nulla blandit dui metus, malesuada mollis sapien ullamcorper sit amet. Nulla at neque nisi. Integer vel porta felis.
Answer 1.
View Source for answer
<answer>
  <p>
    First answer.
    In interdum suscipit ullamcorper.
  </p>
</answer>
First answer. In interdum suscipit ullamcorper.
Answer 2.
View Source for answer
<answer>
  <p>
    Second answer.
    In interdum suscipit ullamcorper.
    Morbi sit amet malesuada augue, id vestibulum magna.
    Nulla blandit dui metus, malesuada mollis sapien ullamcorper sit amet.
    Nulla at neque nisi.
    Integer vel porta felis.
  </p>
  <p>
    In interdum suscipit ullamcorper.
    Morbi sit amet malesuada augue, id vestibulum magna.
    Nulla blandit dui metus, malesuada mollis sapien ullamcorper sit amet.
    Nulla at neque nisi.
    Integer vel porta felis.
  </p>
  <p>
    In interdum suscipit ullamcorper.
    Morbi sit amet malesuada augue, id vestibulum magna.
    Nulla blandit dui metus, malesuada mollis sapien ullamcorper sit amet.
    Nulla at neque nisi.
    Integer vel porta felis.
  </p>
</answer>
Second answer. In interdum suscipit ullamcorper. Morbi sit amet malesuada augue, id vestibulum magna. Nulla blandit dui metus, malesuada mollis sapien ullamcorper sit amet. Nulla at neque nisi. Integer vel porta felis.
In interdum suscipit ullamcorper. Morbi sit amet malesuada augue, id vestibulum magna. Nulla blandit dui metus, malesuada mollis sapien ullamcorper sit amet. Nulla at neque nisi. Integer vel porta felis.
In interdum suscipit ullamcorper. Morbi sit amet malesuada augue, id vestibulum magna. Nulla blandit dui metus, malesuada mollis sapien ullamcorper sit amet. Nulla at neque nisi. Integer vel porta felis.
Solution.
View Source for solution
<solution>
  <p>
    At last, the solution.
    In interdum suscipit ullamcorper.
    Morbi sit amet malesuada augue, id vestibulum magna.
    Nulla blandit dui metus, malesuada mollis sapien ullamcorper sit amet.
    Nulla at neque nisi.
    Integer vel porta felis.
  </p>
</solution>
At last, the solution. In interdum suscipit ullamcorper. Morbi sit amet malesuada augue, id vestibulum magna. Nulla blandit dui metus, malesuada mollis sapien ullamcorper sit amet. Nulla at neque nisi. Integer vel porta felis.
This is a conclusion where you could summarize the exercise. In interdum suscipit ullamcorper. Morbi sit amet malesuada augue, id vestibulum magna. Nulla blandit dui metus, malesuada mollis sapien ullamcorper sit amet. Nulla at neque nisi. Integer vel porta felis.
The following <project> is nearly identical to the preceding <exercise>.
The next block is a project, demonstrating the use of the task element to structure its parts. You are reading the prelude now. The project has lots of nonsense words, so we can test spacing the nested items. In interdum suscipit ullamcorper. Morbi sit amet malesuada augue, id vestibulum magna. Nulla blandit dui metus, malesuada mollis sapien ullamcorper sit amet. Nulla at neque nisi. Integer vel porta felis.
In interdum suscipit ullamcorper. Morbi sit amet malesuada augue, id vestibulum magna. Nulla blandit dui metus, malesuada mollis sapien ullamcorper sit amet. Nulla at neque nisi. Integer vel porta felis.
Project 4.4. A very structured project.
View Source for project
<project xml:id="project-structured">
  <title>A very structured project</title>
  <prelude>
    <p>
      The next block is a project,
      demonstrating the use of the <c>task</c> element to structure its parts.
      You are reading the <c>prelude</c> now.
      The project has lots of nonsense words,
      so we can test spacing the nested items.
      In interdum suscipit ullamcorper.
      Morbi sit amet malesuada augue, id vestibulum magna.
      Nulla blandit dui metus, malesuada mollis sapien ullamcorper sit amet.
      Nulla at neque nisi.
      Integer vel porta felis.
    </p>
    <p>
      In interdum suscipit ullamcorper.
      Morbi sit amet malesuada augue, id vestibulum magna.
      Nulla blandit dui metus, malesuada mollis sapien ullamcorper sit amet.
      Nulla at neque nisi.
      Integer vel porta felis.
    </p>
  </prelude>
  <introduction>
    <p>
      This is an over-arching introduction to the whole project.
      We follow with some tasks.
      In interdum suscipit ullamcorper.
      Morbi sit amet malesuada augue, id vestibulum magna.
      Nulla blandit dui metus, malesuada mollis sapien ullamcorper sit amet.
      Nulla at neque nisi.
      Integer vel porta felis.
    </p>
  </introduction>
  <task>
    <p>
      This first task is very simple, just a paragraph.
      In interdum suscipit ullamcorper.
      Morbi sit amet malesuada augue, id vestibulum magna.
      Nulla blandit dui metus, malesuada mollis sapien ullamcorper sit amet.
      Nulla at neque nisi.
      Integer vel porta felis.
    </p>
  </task>
  <task>
    <p>
      Now three paragraphs.
      In interdum suscipit ullamcorper.
      Morbi sit amet malesuada augue, id vestibulum magna.
      Nulla blandit dui metus, malesuada mollis sapien ullamcorper sit amet.
      Nulla at neque nisi.
      Integer vel porta felis.
    </p>
    <p>
      In interdum suscipit ullamcorper.
      Morbi sit amet malesuada augue, id vestibulum magna.
      Nulla blandit dui metus, malesuada mollis sapien ullamcorper sit amet.
      Nulla at neque nisi.
      Integer vel porta felis.
    </p>
    <p>
      In interdum suscipit ullamcorper.
      Morbi sit amet malesuada augue, id vestibulum magna.
      Nulla blandit dui metus, malesuada mollis sapien ullamcorper sit amet.
      Nulla at neque nisi.
      Integer vel porta felis.
    </p>
  </task>
  <task>
    <introduction>
      <p>
        This second task is further divided by more tasks.
        This is its introduction.
        In interdum suscipit ullamcorper.
        Morbi sit amet malesuada augue, id vestibulum magna.
        Nulla blandit dui metus, malesuada mollis sapien ullamcorper sit amet.
        Nulla at neque nisi.
        Integer vel porta felis.
      </p>
      <p>
        In interdum suscipit ullamcorper.
        Morbi sit amet malesuada augue, id vestibulum magna.
        Nulla blandit dui metus, malesuada mollis sapien ullamcorper sit amet.
        Nulla at neque nisi.
        Integer vel porta felis.
      </p>
    </introduction>
    <task>
      <statement>
        <p>
          A really simple subtask.
          In interdum suscipit ullamcorper.
          Morbi sit amet malesuada augue, id vestibulum magna.
          Nulla blandit dui metus, malesuada mollis sapien ullamcorper sit amet.
          Nulla at neque nisi.
          Integer vel porta felis.
        </p>
        <p>
          A short paragraph, before an answer.
        </p>
      </statement>
      <answer>
        <p>
          With a proof.
        </p>
        <proof>
          <p>
            In interdum suscipit ullamcorper.
            Morbi sit amet malesuada augue, id vestibulum magna.
            Nulla blandit dui metus, malesuada mollis sapien ullamcorper sit amet.
            Nulla at neque nisi.
            Integer vel porta felis.
          </p>
        </proof>
        <p>
          And a bit more to say.
        </p>
      </answer>
    </task>
    <task>
      <statement>
        <p>
          A subtask with an answer.
          In interdum suscipit ullamcorper.
          Morbi sit amet malesuada augue, id vestibulum magna.
          Nulla blandit dui metus, malesuada mollis sapien ullamcorper sit amet.
          Nulla at neque nisi.
          Integer vel porta felis.
        </p>
      </statement>
      <answer>
        <p>
          Right!
          In interdum suscipit ullamcorper.
          Morbi sit amet malesuada augue, id vestibulum magna.
          Nulla blandit dui metus, malesuada mollis sapien ullamcorper sit amet.
          Nulla at neque nisi.
          Integer vel porta felis.
        </p>
      </answer>
    </task>
    <task xml:id="project-task-level-two">
      <introduction>
        <p>
          Two simple sub-sub-tasks.
          In interdum suscipit ullamcorper.
          Morbi sit amet malesuada augue, id vestibulum magna.
          Nulla blandit dui metus, malesuada mollis sapien ullamcorper sit amet.
          Nulla at neque nisi.
          Integer vel porta felis.
        </p>
      </introduction>
      <task>
        <p>
          First subsubtask.
          Short paragraph.
        </p>
      </task>
      <task>
        <p>
          Second subsubtask.
          In interdum suscipit ullamcorper.
          Morbi sit amet malesuada augue, id vestibulum magna.
          Nulla blandit dui metus, malesuada mollis sapien ullamcorper sit amet.
          Nulla at neque nisi.
          Integer vel porta felis.
        </p>
        <p>
          In interdum suscipit ullamcorper.
          Morbi sit amet malesuada augue, id vestibulum magna.
          Nulla blandit dui metus, malesuada mollis sapien ullamcorper sit amet.
          Nulla at neque nisi.
          Integer vel porta felis.
        </p>
      </task>



      <task xml:id="deep-terminal-task">
        <statement>
          <p>
            Third subsubtask.
            In interdum suscipit ullamcorper.
            Morbi sit amet malesuada augue, id vestibulum magna.
            Nulla blandit dui metus, malesuada mollis sapien ullamcorper sit amet.
            Nulla at neque nisi.
            Integer vel porta felis.
          </p>
          <p>
            In interdum suscipit ullamcorper
          </p>
          <p>
            In interdum suscipit ullamcorper.
            Morbi sit amet malesuada augue, id vestibulum magna.
            Nulla blandit dui metus, malesuada mollis sapien ullamcorper sit amet.
            Nulla at neque nisi.
            Integer vel porta felis.
          </p>
        </statement>
      </task>
      <conclusion>
        <p>
          The conclusion of the structured subtask.
          In interdum suscipit ullamcorper.
          Morbi sit amet malesuada augue, id vestibulum magna.
          Nulla blandit dui metus, malesuada mollis sapien ullamcorper sit amet.
          Nulla at neque nisi.
          Integer vel porta felis.
        </p>
      </conclusion>
    </task>
    <task>
      <p>
        A simple task as the last subtask.
        In interdum suscipit ullamcorper.
        Morbi sit amet malesuada augue, id vestibulum magna.
        Nulla blandit dui metus, malesuada mollis sapien ullamcorper sit amet.
        Nulla at neque nisi.
        Integer vel porta felis.
      </p>
    </task>
    <conclusion>
      <p>
        This concludes our structured second task.
        In interdum suscipit ullamcorper.
        Morbi sit amet malesuada augue, id vestibulum magna.
        Nulla blandit dui metus, malesuada mollis sapien ullamcorper sit amet.
        Nulla at neque nisi.
        Integer vel porta felis.
      </p>
    </conclusion>
  </task>
  <task>
    <statement>
      <p>
        This third top-level task is intermediate in complexity,
        you are reading the <c>statement</c>,
        which is followed by more items.
        In interdum suscipit ullamcorper.
        Morbi sit amet malesuada augue, id vestibulum magna.
        Nulla blandit dui metus, malesuada mollis sapien ullamcorper sit amet.
        Nulla at neque nisi.
        Integer vel porta felis.
      </p>
    </statement>
    <hint>
      <p>
        One hint.
        In interdum suscipit ullamcorper.
        Morbi sit amet malesuada augue, id vestibulum magna.
        Nulla blandit dui metus, malesuada mollis sapien ullamcorper sit amet.
        Nulla at neque nisi.
        Integer vel porta felis.
      </p>
      <p>
        In interdum suscipit ullamcorper.
        Morbi sit amet malesuada augue, id vestibulum magna.
        Nulla blandit dui metus, malesuada mollis sapien ullamcorper sit amet.
        Nulla at neque nisi.
        Integer vel porta felis.
      </p>
    </hint>
    <answer>
      <p>
        First answer.
        In interdum suscipit ullamcorper.
      </p>
    </answer>
    <answer>
      <p>
        Second answer.
        In interdum suscipit ullamcorper.
        Morbi sit amet malesuada augue, id vestibulum magna.
        Nulla blandit dui metus, malesuada mollis sapien ullamcorper sit amet.
        Nulla at neque nisi.
        Integer vel porta felis.
      </p>
      <p>
        In interdum suscipit ullamcorper.
        Morbi sit amet malesuada augue, id vestibulum magna.
        Nulla blandit dui metus, malesuada mollis sapien ullamcorper sit amet.
        Nulla at neque nisi.
        Integer vel porta felis.
      </p>
      <p>
        In interdum suscipit ullamcorper.
        Morbi sit amet malesuada augue, id vestibulum magna.
        Nulla blandit dui metus, malesuada mollis sapien ullamcorper sit amet.
        Nulla at neque nisi.
        Integer vel porta felis.
      </p>
    </answer>
    <solution>
      <p>
        At last, the solution.
        In interdum suscipit ullamcorper.
        Morbi sit amet malesuada augue, id vestibulum magna.
        Nulla blandit dui metus, malesuada mollis sapien ullamcorper sit amet.
        Nulla at neque nisi.
        Integer vel porta felis.
      </p>
    </solution>
  </task>
  <conclusion>
    <p>
      This is a conclusion where you could summarize the project.
      In interdum suscipit ullamcorper.
      Morbi sit amet malesuada augue, id vestibulum magna.
      Nulla blandit dui metus, malesuada mollis sapien ullamcorper sit amet.
      Nulla at neque nisi.
      Integer vel porta felis.
    </p>
  </conclusion>
  <postlude>
    <p>
      This postlude appears visually outside the project,
      but is authored within, to make clear its attachment to the project.
      In interdum suscipit ullamcorper.
      Morbi sit amet malesuada augue, id vestibulum magna.
      Nulla blandit dui metus, malesuada mollis sapien ullamcorper sit amet.
      Nulla at neque nisi.
      Integer vel porta felis.
    </p>
  </postlude>
</project>
This is an over-arching introduction to the whole project. We follow with some tasks. In interdum suscipit ullamcorper. Morbi sit amet malesuada augue, id vestibulum magna. Nulla blandit dui metus, malesuada mollis sapien ullamcorper sit amet. Nulla at neque nisi. Integer vel porta felis.
(a)
View Source for task
<task>
  <p>
    This first task is very simple, just a paragraph.
    In interdum suscipit ullamcorper.
    Morbi sit amet malesuada augue, id vestibulum magna.
    Nulla blandit dui metus, malesuada mollis sapien ullamcorper sit amet.
    Nulla at neque nisi.
    Integer vel porta felis.
  </p>
</task>
This first task is very simple, just a paragraph. In interdum suscipit ullamcorper. Morbi sit amet malesuada augue, id vestibulum magna. Nulla blandit dui metus, malesuada mollis sapien ullamcorper sit amet. Nulla at neque nisi. Integer vel porta felis.
(b)
View Source for task
<task>
  <p>
    Now three paragraphs.
    In interdum suscipit ullamcorper.
    Morbi sit amet malesuada augue, id vestibulum magna.
    Nulla blandit dui metus, malesuada mollis sapien ullamcorper sit amet.
    Nulla at neque nisi.
    Integer vel porta felis.
  </p>
  <p>
    In interdum suscipit ullamcorper.
    Morbi sit amet malesuada augue, id vestibulum magna.
    Nulla blandit dui metus, malesuada mollis sapien ullamcorper sit amet.
    Nulla at neque nisi.
    Integer vel porta felis.
  </p>
  <p>
    In interdum suscipit ullamcorper.
    Morbi sit amet malesuada augue, id vestibulum magna.
    Nulla blandit dui metus, malesuada mollis sapien ullamcorper sit amet.
    Nulla at neque nisi.
    Integer vel porta felis.
  </p>
</task>
Now three paragraphs. In interdum suscipit ullamcorper. Morbi sit amet malesuada augue, id vestibulum magna. Nulla blandit dui metus, malesuada mollis sapien ullamcorper sit amet. Nulla at neque nisi. Integer vel porta felis.
In interdum suscipit ullamcorper. Morbi sit amet malesuada augue, id vestibulum magna. Nulla blandit dui metus, malesuada mollis sapien ullamcorper sit amet. Nulla at neque nisi. Integer vel porta felis.
In interdum suscipit ullamcorper. Morbi sit amet malesuada augue, id vestibulum magna. Nulla blandit dui metus, malesuada mollis sapien ullamcorper sit amet. Nulla at neque nisi. Integer vel porta felis.
(c)
View Source for task
<task>
  <introduction>
    <p>
      This second task is further divided by more tasks.
      This is its introduction.
      In interdum suscipit ullamcorper.
      Morbi sit amet malesuada augue, id vestibulum magna.
      Nulla blandit dui metus, malesuada mollis sapien ullamcorper sit amet.
      Nulla at neque nisi.
      Integer vel porta felis.
    </p>
    <p>
      In interdum suscipit ullamcorper.
      Morbi sit amet malesuada augue, id vestibulum magna.
      Nulla blandit dui metus, malesuada mollis sapien ullamcorper sit amet.
      Nulla at neque nisi.
      Integer vel porta felis.
    </p>
  </introduction>
  <task>
    <statement>
      <p>
        A really simple subtask.
        In interdum suscipit ullamcorper.
        Morbi sit amet malesuada augue, id vestibulum magna.
        Nulla blandit dui metus, malesuada mollis sapien ullamcorper sit amet.
        Nulla at neque nisi.
        Integer vel porta felis.
      </p>
      <p>
        A short paragraph, before an answer.
      </p>
    </statement>
    <answer>
      <p>
        With a proof.
      </p>
      <proof>
        <p>
          In interdum suscipit ullamcorper.
          Morbi sit amet malesuada augue, id vestibulum magna.
          Nulla blandit dui metus, malesuada mollis sapien ullamcorper sit amet.
          Nulla at neque nisi.
          Integer vel porta felis.
        </p>
      </proof>
      <p>
        And a bit more to say.
      </p>
    </answer>
  </task>
  <task>
    <statement>
      <p>
        A subtask with an answer.
        In interdum suscipit ullamcorper.
        Morbi sit amet malesuada augue, id vestibulum magna.
        Nulla blandit dui metus, malesuada mollis sapien ullamcorper sit amet.
        Nulla at neque nisi.
        Integer vel porta felis.
      </p>
    </statement>
    <answer>
      <p>
        Right!
        In interdum suscipit ullamcorper.
        Morbi sit amet malesuada augue, id vestibulum magna.
        Nulla blandit dui metus, malesuada mollis sapien ullamcorper sit amet.
        Nulla at neque nisi.
        Integer vel porta felis.
      </p>
    </answer>
  </task>
  <task xml:id="project-task-level-two">
    <introduction>
      <p>
        Two simple sub-sub-tasks.
        In interdum suscipit ullamcorper.
        Morbi sit amet malesuada augue, id vestibulum magna.
        Nulla blandit dui metus, malesuada mollis sapien ullamcorper sit amet.
        Nulla at neque nisi.
        Integer vel porta felis.
      </p>
    </introduction>
    <task>
      <p>
        First subsubtask.
        Short paragraph.
      </p>
    </task>
    <task>
      <p>
        Second subsubtask.
        In interdum suscipit ullamcorper.
        Morbi sit amet malesuada augue, id vestibulum magna.
        Nulla blandit dui metus, malesuada mollis sapien ullamcorper sit amet.
        Nulla at neque nisi.
        Integer vel porta felis.
      </p>
      <p>
        In interdum suscipit ullamcorper.
        Morbi sit amet malesuada augue, id vestibulum magna.
        Nulla blandit dui metus, malesuada mollis sapien ullamcorper sit amet.
        Nulla at neque nisi.
        Integer vel porta felis.
      </p>
    </task>



    <task xml:id="deep-terminal-task">
      <statement>
        <p>
          Third subsubtask.
          In interdum suscipit ullamcorper.
          Morbi sit amet malesuada augue, id vestibulum magna.
          Nulla blandit dui metus, malesuada mollis sapien ullamcorper sit amet.
          Nulla at neque nisi.
          Integer vel porta felis.
        </p>
        <p>
          In interdum suscipit ullamcorper
        </p>
        <p>
          In interdum suscipit ullamcorper.
          Morbi sit amet malesuada augue, id vestibulum magna.
          Nulla blandit dui metus, malesuada mollis sapien ullamcorper sit amet.
          Nulla at neque nisi.
          Integer vel porta felis.
        </p>
      </statement>
    </task>
    <conclusion>
      <p>
        The conclusion of the structured subtask.
        In interdum suscipit ullamcorper.
        Morbi sit amet malesuada augue, id vestibulum magna.
        Nulla blandit dui metus, malesuada mollis sapien ullamcorper sit amet.
        Nulla at neque nisi.
        Integer vel porta felis.
      </p>
    </conclusion>
  </task>
  <task>
    <p>
      A simple task as the last subtask.
      In interdum suscipit ullamcorper.
      Morbi sit amet malesuada augue, id vestibulum magna.
      Nulla blandit dui metus, malesuada mollis sapien ullamcorper sit amet.
      Nulla at neque nisi.
      Integer vel porta felis.
    </p>
  </task>
  <conclusion>
    <p>
      This concludes our structured second task.
      In interdum suscipit ullamcorper.
      Morbi sit amet malesuada augue, id vestibulum magna.
      Nulla blandit dui metus, malesuada mollis sapien ullamcorper sit amet.
      Nulla at neque nisi.
      Integer vel porta felis.
    </p>
  </conclusion>
</task>
This second task is further divided by more tasks. This is its introduction. In interdum suscipit ullamcorper. Morbi sit amet malesuada augue, id vestibulum magna. Nulla blandit dui metus, malesuada mollis sapien ullamcorper sit amet. Nulla at neque nisi. Integer vel porta felis.
In interdum suscipit ullamcorper. Morbi sit amet malesuada augue, id vestibulum magna. Nulla blandit dui metus, malesuada mollis sapien ullamcorper sit amet. Nulla at neque nisi. Integer vel porta felis.
(i)
View Source for task
<task>
  <statement>
    <p>
      A really simple subtask.
      In interdum suscipit ullamcorper.
      Morbi sit amet malesuada augue, id vestibulum magna.
      Nulla blandit dui metus, malesuada mollis sapien ullamcorper sit amet.
      Nulla at neque nisi.
      Integer vel porta felis.
    </p>
    <p>
      A short paragraph, before an answer.
    </p>
  </statement>
  <answer>
    <p>
      With a proof.
    </p>
    <proof>
      <p>
        In interdum suscipit ullamcorper.
        Morbi sit amet malesuada augue, id vestibulum magna.
        Nulla blandit dui metus, malesuada mollis sapien ullamcorper sit amet.
        Nulla at neque nisi.
        Integer vel porta felis.
      </p>
    </proof>
    <p>
      And a bit more to say.
    </p>
  </answer>
</task>
A really simple subtask. In interdum suscipit ullamcorper. Morbi sit amet malesuada augue, id vestibulum magna. Nulla blandit dui metus, malesuada mollis sapien ullamcorper sit amet. Nulla at neque nisi. Integer vel porta felis.
A short paragraph, before an answer.
Answer.
View Source for answer
<answer>
  <p>
    With a proof.
  </p>
  <proof>
    <p>
      In interdum suscipit ullamcorper.
      Morbi sit amet malesuada augue, id vestibulum magna.
      Nulla blandit dui metus, malesuada mollis sapien ullamcorper sit amet.
      Nulla at neque nisi.
      Integer vel porta felis.
    </p>
  </proof>
  <p>
    And a bit more to say.
  </p>
</answer>
With a proof.
Proof.
View Source for proof
<proof>
  <p>
    In interdum suscipit ullamcorper.
    Morbi sit amet malesuada augue, id vestibulum magna.
    Nulla blandit dui metus, malesuada mollis sapien ullamcorper sit amet.
    Nulla at neque nisi.
    Integer vel porta felis.
  </p>
</proof>
In interdum suscipit ullamcorper. Morbi sit amet malesuada augue, id vestibulum magna. Nulla blandit dui metus, malesuada mollis sapien ullamcorper sit amet. Nulla at neque nisi. Integer vel porta felis.
And a bit more to say.
(ii)
View Source for task
<task>
  <statement>
    <p>
      A subtask with an answer.
      In interdum suscipit ullamcorper.
      Morbi sit amet malesuada augue, id vestibulum magna.
      Nulla blandit dui metus, malesuada mollis sapien ullamcorper sit amet.
      Nulla at neque nisi.
      Integer vel porta felis.
    </p>
  </statement>
  <answer>
    <p>
      Right!
      In interdum suscipit ullamcorper.
      Morbi sit amet malesuada augue, id vestibulum magna.
      Nulla blandit dui metus, malesuada mollis sapien ullamcorper sit amet.
      Nulla at neque nisi.
      Integer vel porta felis.
    </p>
  </answer>
</task>
A subtask with an answer. In interdum suscipit ullamcorper. Morbi sit amet malesuada augue, id vestibulum magna. Nulla blandit dui metus, malesuada mollis sapien ullamcorper sit amet. Nulla at neque nisi. Integer vel porta felis.
Answer.
View Source for answer
<answer>
  <p>
    Right!
    In interdum suscipit ullamcorper.
    Morbi sit amet malesuada augue, id vestibulum magna.
    Nulla blandit dui metus, malesuada mollis sapien ullamcorper sit amet.
    Nulla at neque nisi.
    Integer vel porta felis.
  </p>
</answer>
Right! In interdum suscipit ullamcorper. Morbi sit amet malesuada augue, id vestibulum magna. Nulla blandit dui metus, malesuada mollis sapien ullamcorper sit amet. Nulla at neque nisi. Integer vel porta felis.
(iii)
View Source for task
<task xml:id="project-task-level-two">
  <introduction>
    <p>
      Two simple sub-sub-tasks.
      In interdum suscipit ullamcorper.
      Morbi sit amet malesuada augue, id vestibulum magna.
      Nulla blandit dui metus, malesuada mollis sapien ullamcorper sit amet.
      Nulla at neque nisi.
      Integer vel porta felis.
    </p>
  </introduction>
  <task>
    <p>
      First subsubtask.
      Short paragraph.
    </p>
  </task>
  <task>
    <p>
      Second subsubtask.
      In interdum suscipit ullamcorper.
      Morbi sit amet malesuada augue, id vestibulum magna.
      Nulla blandit dui metus, malesuada mollis sapien ullamcorper sit amet.
      Nulla at neque nisi.
      Integer vel porta felis.
    </p>
    <p>
      In interdum suscipit ullamcorper.
      Morbi sit amet malesuada augue, id vestibulum magna.
      Nulla blandit dui metus, malesuada mollis sapien ullamcorper sit amet.
      Nulla at neque nisi.
      Integer vel porta felis.
    </p>
  </task>



  <task xml:id="deep-terminal-task">
    <statement>
      <p>
        Third subsubtask.
        In interdum suscipit ullamcorper.
        Morbi sit amet malesuada augue, id vestibulum magna.
        Nulla blandit dui metus, malesuada mollis sapien ullamcorper sit amet.
        Nulla at neque nisi.
        Integer vel porta felis.
      </p>
      <p>
        In interdum suscipit ullamcorper
      </p>
      <p>
        In interdum suscipit ullamcorper.
        Morbi sit amet malesuada augue, id vestibulum magna.
        Nulla blandit dui metus, malesuada mollis sapien ullamcorper sit amet.
        Nulla at neque nisi.
        Integer vel porta felis.
      </p>
    </statement>
  </task>
  <conclusion>
    <p>
      The conclusion of the structured subtask.
      In interdum suscipit ullamcorper.
      Morbi sit amet malesuada augue, id vestibulum magna.
      Nulla blandit dui metus, malesuada mollis sapien ullamcorper sit amet.
      Nulla at neque nisi.
      Integer vel porta felis.
    </p>
  </conclusion>
</task>
Two simple sub-sub-tasks. In interdum suscipit ullamcorper. Morbi sit amet malesuada augue, id vestibulum magna. Nulla blandit dui metus, malesuada mollis sapien ullamcorper sit amet. Nulla at neque nisi. Integer vel porta felis.
(A)
View Source for task
<task>
  <p>
    First subsubtask.
    Short paragraph.
  </p>
</task>
First subsubtask. Short paragraph.
(B)
View Source for task
<task>
  <p>
    Second subsubtask.
    In interdum suscipit ullamcorper.
    Morbi sit amet malesuada augue, id vestibulum magna.
    Nulla blandit dui metus, malesuada mollis sapien ullamcorper sit amet.
    Nulla at neque nisi.
    Integer vel porta felis.
  </p>
  <p>
    In interdum suscipit ullamcorper.
    Morbi sit amet malesuada augue, id vestibulum magna.
    Nulla blandit dui metus, malesuada mollis sapien ullamcorper sit amet.
    Nulla at neque nisi.
    Integer vel porta felis.
  </p>
</task>
Second subsubtask. In interdum suscipit ullamcorper. Morbi sit amet malesuada augue, id vestibulum magna. Nulla blandit dui metus, malesuada mollis sapien ullamcorper sit amet. Nulla at neque nisi. Integer vel porta felis.
In interdum suscipit ullamcorper. Morbi sit amet malesuada augue, id vestibulum magna. Nulla blandit dui metus, malesuada mollis sapien ullamcorper sit amet. Nulla at neque nisi. Integer vel porta felis.
(C)
View Source for task
<task xml:id="deep-terminal-task">
  <statement>
    <p>
      Third subsubtask.
      In interdum suscipit ullamcorper.
      Morbi sit amet malesuada augue, id vestibulum magna.
      Nulla blandit dui metus, malesuada mollis sapien ullamcorper sit amet.
      Nulla at neque nisi.
      Integer vel porta felis.
    </p>
    <p>
      In interdum suscipit ullamcorper
    </p>
    <p>
      In interdum suscipit ullamcorper.
      Morbi sit amet malesuada augue, id vestibulum magna.
      Nulla blandit dui metus, malesuada mollis sapien ullamcorper sit amet.
      Nulla at neque nisi.
      Integer vel porta felis.
    </p>
  </statement>
</task>
Third subsubtask. In interdum suscipit ullamcorper. Morbi sit amet malesuada augue, id vestibulum magna. Nulla blandit dui metus, malesuada mollis sapien ullamcorper sit amet. Nulla at neque nisi. Integer vel porta felis.
In interdum suscipit ullamcorper
In interdum suscipit ullamcorper. Morbi sit amet malesuada augue, id vestibulum magna. Nulla blandit dui metus, malesuada mollis sapien ullamcorper sit amet. Nulla at neque nisi. Integer vel porta felis.
The conclusion of the structured subtask. In interdum suscipit ullamcorper. Morbi sit amet malesuada augue, id vestibulum magna. Nulla blandit dui metus, malesuada mollis sapien ullamcorper sit amet. Nulla at neque nisi. Integer vel porta felis.
(iv)
View Source for task
<task>
  <p>
    A simple task as the last subtask.
    In interdum suscipit ullamcorper.
    Morbi sit amet malesuada augue, id vestibulum magna.
    Nulla blandit dui metus, malesuada mollis sapien ullamcorper sit amet.
    Nulla at neque nisi.
    Integer vel porta felis.
  </p>
</task>
A simple task as the last subtask. In interdum suscipit ullamcorper. Morbi sit amet malesuada augue, id vestibulum magna. Nulla blandit dui metus, malesuada mollis sapien ullamcorper sit amet. Nulla at neque nisi. Integer vel porta felis.
This concludes our structured second task. In interdum suscipit ullamcorper. Morbi sit amet malesuada augue, id vestibulum magna. Nulla blandit dui metus, malesuada mollis sapien ullamcorper sit amet. Nulla at neque nisi. Integer vel porta felis.
(d)
View Source for task
<task>
  <statement>
    <p>
      This third top-level task is intermediate in complexity,
      you are reading the <c>statement</c>,
      which is followed by more items.
      In interdum suscipit ullamcorper.
      Morbi sit amet malesuada augue, id vestibulum magna.
      Nulla blandit dui metus, malesuada mollis sapien ullamcorper sit amet.
      Nulla at neque nisi.
      Integer vel porta felis.
    </p>
  </statement>
  <hint>
    <p>
      One hint.
      In interdum suscipit ullamcorper.
      Morbi sit amet malesuada augue, id vestibulum magna.
      Nulla blandit dui metus, malesuada mollis sapien ullamcorper sit amet.
      Nulla at neque nisi.
      Integer vel porta felis.
    </p>
    <p>
      In interdum suscipit ullamcorper.
      Morbi sit amet malesuada augue, id vestibulum magna.
      Nulla blandit dui metus, malesuada mollis sapien ullamcorper sit amet.
      Nulla at neque nisi.
      Integer vel porta felis.
    </p>
  </hint>
  <answer>
    <p>
      First answer.
      In interdum suscipit ullamcorper.
    </p>
  </answer>
  <answer>
    <p>
      Second answer.
      In interdum suscipit ullamcorper.
      Morbi sit amet malesuada augue, id vestibulum magna.
      Nulla blandit dui metus, malesuada mollis sapien ullamcorper sit amet.
      Nulla at neque nisi.
      Integer vel porta felis.
    </p>
    <p>
      In interdum suscipit ullamcorper.
      Morbi sit amet malesuada augue, id vestibulum magna.
      Nulla blandit dui metus, malesuada mollis sapien ullamcorper sit amet.
      Nulla at neque nisi.
      Integer vel porta felis.
    </p>
    <p>
      In interdum suscipit ullamcorper.
      Morbi sit amet malesuada augue, id vestibulum magna.
      Nulla blandit dui metus, malesuada mollis sapien ullamcorper sit amet.
      Nulla at neque nisi.
      Integer vel porta felis.
    </p>
  </answer>
  <solution>
    <p>
      At last, the solution.
      In interdum suscipit ullamcorper.
      Morbi sit amet malesuada augue, id vestibulum magna.
      Nulla blandit dui metus, malesuada mollis sapien ullamcorper sit amet.
      Nulla at neque nisi.
      Integer vel porta felis.
    </p>
  </solution>
</task>
This third top-level task is intermediate in complexity, you are reading the statement, which is followed by more items. In interdum suscipit ullamcorper. Morbi sit amet malesuada augue, id vestibulum magna. Nulla blandit dui metus, malesuada mollis sapien ullamcorper sit amet. Nulla at neque nisi. Integer vel porta felis.
Hint.
View Source for hint
<hint>
  <p>
    One hint.
    In interdum suscipit ullamcorper.
    Morbi sit amet malesuada augue, id vestibulum magna.
    Nulla blandit dui metus, malesuada mollis sapien ullamcorper sit amet.
    Nulla at neque nisi.
    Integer vel porta felis.
  </p>
  <p>
    In interdum suscipit ullamcorper.
    Morbi sit amet malesuada augue, id vestibulum magna.
    Nulla blandit dui metus, malesuada mollis sapien ullamcorper sit amet.
    Nulla at neque nisi.
    Integer vel porta felis.
  </p>
</hint>
One hint. In interdum suscipit ullamcorper. Morbi sit amet malesuada augue, id vestibulum magna. Nulla blandit dui metus, malesuada mollis sapien ullamcorper sit amet. Nulla at neque nisi. Integer vel porta felis.
In interdum suscipit ullamcorper. Morbi sit amet malesuada augue, id vestibulum magna. Nulla blandit dui metus, malesuada mollis sapien ullamcorper sit amet. Nulla at neque nisi. Integer vel porta felis.
Answer 1.
View Source for answer
<answer>
  <p>
    First answer.
    In interdum suscipit ullamcorper.
  </p>
</answer>
First answer. In interdum suscipit ullamcorper.
Answer 2.
View Source for answer
<answer>
  <p>
    Second answer.
    In interdum suscipit ullamcorper.
    Morbi sit amet malesuada augue, id vestibulum magna.
    Nulla blandit dui metus, malesuada mollis sapien ullamcorper sit amet.
    Nulla at neque nisi.
    Integer vel porta felis.
  </p>
  <p>
    In interdum suscipit ullamcorper.
    Morbi sit amet malesuada augue, id vestibulum magna.
    Nulla blandit dui metus, malesuada mollis sapien ullamcorper sit amet.
    Nulla at neque nisi.
    Integer vel porta felis.
  </p>
  <p>
    In interdum suscipit ullamcorper.
    Morbi sit amet malesuada augue, id vestibulum magna.
    Nulla blandit dui metus, malesuada mollis sapien ullamcorper sit amet.
    Nulla at neque nisi.
    Integer vel porta felis.
  </p>
</answer>
Second answer. In interdum suscipit ullamcorper. Morbi sit amet malesuada augue, id vestibulum magna. Nulla blandit dui metus, malesuada mollis sapien ullamcorper sit amet. Nulla at neque nisi. Integer vel porta felis.
In interdum suscipit ullamcorper. Morbi sit amet malesuada augue, id vestibulum magna. Nulla blandit dui metus, malesuada mollis sapien ullamcorper sit amet. Nulla at neque nisi. Integer vel porta felis.
In interdum suscipit ullamcorper. Morbi sit amet malesuada augue, id vestibulum magna. Nulla blandit dui metus, malesuada mollis sapien ullamcorper sit amet. Nulla at neque nisi. Integer vel porta felis.
Solution.
View Source for solution
<solution>
  <p>
    At last, the solution.
    In interdum suscipit ullamcorper.
    Morbi sit amet malesuada augue, id vestibulum magna.
    Nulla blandit dui metus, malesuada mollis sapien ullamcorper sit amet.
    Nulla at neque nisi.
    Integer vel porta felis.
  </p>
</solution>
At last, the solution. In interdum suscipit ullamcorper. Morbi sit amet malesuada augue, id vestibulum magna. Nulla blandit dui metus, malesuada mollis sapien ullamcorper sit amet. Nulla at neque nisi. Integer vel porta felis.
This is a conclusion where you could summarize the project. In interdum suscipit ullamcorper. Morbi sit amet malesuada augue, id vestibulum magna. Nulla blandit dui metus, malesuada mollis sapien ullamcorper sit amet. Nulla at neque nisi. Integer vel porta felis.
This postlude appears visually outside the project, but is authored within, to make clear its attachment to the project. In interdum suscipit ullamcorper. Morbi sit amet malesuada augue, id vestibulum magna. Nulla blandit dui metus, malesuada mollis sapien ullamcorper sit amet. Nulla at neque nisi. Integer vel porta felis.
The following <example>, from Elise Desgreniers, is structured with <task>.
Example 4.13. Notation mathématique 2.
View Source for example
<example xml:id="example-structured-with-task">
  <title>Notation mathématique 2</title>
  <prelude>
    <p>
      The following <tag>example</tag>,
      from Elise Desgreniers, is structured with <tag>task</tag>.
    </p>
  </prelude>
  <introduction>
    <p>
      Écrivez chacun des exemples suivants avec les conditions pertinentes.
    </p>
  </introduction>
  <task>
    <statement>
      <p>
        Soit l'ensemble <m>A=\lbrace 1,2,3,4,5\rbrace</m>.
      </p>
      <p>
        On constate que cet ensemble contient uniquement des entiers positifs allant de 1 à 5.
      </p>
      <p>
        Donc, on peut écrire <m>A=\lbrace x\mid x\in\mathbb{N}\text{ et } 1\leq x\leq 5\rbrace</m>.
      </p>
    </statement>
  </task>
  <task>
    <statement>
      <p>
        <m>\{3,6,9,12,15,\ldots,27,30\}</m>
      </p>
    </statement>
    <hint>
      <p>
        Ce sont des multiples de 3.
      </p>
    </hint>
    <answer>
      <p>
        <m>\{x\mid x=3y \text{ et } 1\leq y\leq 10 \text{ et } y\in\mathbb{N}\}</m>
      </p>
    </answer>
  </task>
  <task>
    <statement>
      <p>
        <m>\{1,3,5,7,9,11,\ldots\}</m>
      </p>
    </statement>
    <hint>
      <p>
        Ce sont des nombres impairs.
      </p>
    </hint>
    <answer>
      <p>
        <m>\{x\mid x\mod 2=1 \text{ et } x\in\mathbb{N}\}</m>
      </p>
    </answer>
  </task>
  <task>
    <statement>
      <p>
        <m>\{2,3,5,7,11,13,17,19,23,\ldots\}</m>
      </p>
    </statement>
    <hint>
      <p>
        Ce sont des nombres premiers.
      </p>
    </hint>
    <answer>
      <p>
        <m>\{x\mid x\text{ est un nombre premier positif}\}</m>
      </p>
    </answer>
  </task>
  <task>
    <statement>
      <p>
        <m>\{1,4,9,16,25,36,\ldots,961\}</m>
      </p>
    </statement>
    <hint>
      <p>
        Ce sont des carrés parfaits.
      </p>
    </hint>
    <answer>
      <p>
        <m>\{x\mid x=y^2 \text{ et } 1\leq y\leq 31\text{ et } y\in\mathbb{N}\}</m>
      </p>
    </answer>
  </task>
  <task>
    <statement>
      <p>
        <m>\{1,8,27,64,125,\ldots\}</m>
      </p>
    </statement>
    <hint>
      <p>
        Ce sont des cubes parfaits.
      </p>
    </hint>
    <answer>
      <p>
        <m>\{x\mid x=y^3 \text{ et } y\in\mathbb{N^*}\}</m>
      </p>
    </answer>
  </task>
</example>
Écrivez chacun des exemples suivants avec les conditions pertinentes.
(a)
View Source for task
<task>
  <statement>
    <p>
      Soit l'ensemble <m>A=\lbrace 1,2,3,4,5\rbrace</m>.
    </p>
    <p>
      On constate que cet ensemble contient uniquement des entiers positifs allant de 1 à 5.
    </p>
    <p>
      Donc, on peut écrire <m>A=\lbrace x\mid x\in\mathbb{N}\text{ et } 1\leq x\leq 5\rbrace</m>.
    </p>
  </statement>
</task>
Soit l’ensemble \(A=\lbrace 1,2,3,4,5\rbrace\text{.}\)
On constate que cet ensemble contient uniquement des entiers positifs allant de 1 à 5.
Donc, on peut écrire \(A=\lbrace x\mid x\in\mathbb{N}\text{ et } 1\leq x\leq 5\rbrace\text{.}\)
(b)
View Source for task
<task>
  <statement>
    <p>
      <m>\{3,6,9,12,15,\ldots,27,30\}</m>
    </p>
  </statement>
  <hint>
    <p>
      Ce sont des multiples de 3.
    </p>
  </hint>
  <answer>
    <p>
      <m>\{x\mid x=3y \text{ et } 1\leq y\leq 10 \text{ et } y\in\mathbb{N}\}</m>
    </p>
  </answer>
</task>
\(\{3,6,9,12,15,\ldots,27,30\}\)
Hint.
View Source for hint
<hint>
  <p>
    Ce sont des multiples de 3.
  </p>
</hint>
Ce sont des multiples de 3.
Answer.
View Source for answer
<answer>
  <p>
    <m>\{x\mid x=3y \text{ et } 1\leq y\leq 10 \text{ et } y\in\mathbb{N}\}</m>
  </p>
</answer>
\(\{x\mid x=3y \text{ et } 1\leq y\leq 10 \text{ et } y\in\mathbb{N}\}\)
(c)
View Source for task
<task>
  <statement>
    <p>
      <m>\{1,3,5,7,9,11,\ldots\}</m>
    </p>
  </statement>
  <hint>
    <p>
      Ce sont des nombres impairs.
    </p>
  </hint>
  <answer>
    <p>
      <m>\{x\mid x\mod 2=1 \text{ et } x\in\mathbb{N}\}</m>
    </p>
  </answer>
</task>
\(\{1,3,5,7,9,11,\ldots\}\)
Hint.
View Source for hint
<hint>
  <p>
    Ce sont des nombres impairs.
  </p>
</hint>
Ce sont des nombres impairs.
Answer.
View Source for answer
<answer>
  <p>
    <m>\{x\mid x\mod 2=1 \text{ et } x\in\mathbb{N}\}</m>
  </p>
</answer>
\(\{x\mid x\mod 2=1 \text{ et } x\in\mathbb{N}\}\)
(d)
View Source for task
<task>
  <statement>
    <p>
      <m>\{2,3,5,7,11,13,17,19,23,\ldots\}</m>
    </p>
  </statement>
  <hint>
    <p>
      Ce sont des nombres premiers.
    </p>
  </hint>
  <answer>
    <p>
      <m>\{x\mid x\text{ est un nombre premier positif}\}</m>
    </p>
  </answer>
</task>
\(\{2,3,5,7,11,13,17,19,23,\ldots\}\)
Hint.
View Source for hint
<hint>
  <p>
    Ce sont des nombres premiers.
  </p>
</hint>
Ce sont des nombres premiers.
Answer.
View Source for answer
<answer>
  <p>
    <m>\{x\mid x\text{ est un nombre premier positif}\}</m>
  </p>
</answer>
\(\{x\mid x\text{ est un nombre premier positif}\}\)
(e)
View Source for task
<task>
  <statement>
    <p>
      <m>\{1,4,9,16,25,36,\ldots,961\}</m>
    </p>
  </statement>
  <hint>
    <p>
      Ce sont des carrés parfaits.
    </p>
  </hint>
  <answer>
    <p>
      <m>\{x\mid x=y^2 \text{ et } 1\leq y\leq 31\text{ et } y\in\mathbb{N}\}</m>
    </p>
  </answer>
</task>
\(\{1,4,9,16,25,36,\ldots,961\}\)
Hint.
View Source for hint
<hint>
  <p>
    Ce sont des carrés parfaits.
  </p>
</hint>
Ce sont des carrés parfaits.
Answer.
View Source for answer
<answer>
  <p>
    <m>\{x\mid x=y^2 \text{ et } 1\leq y\leq 31\text{ et } y\in\mathbb{N}\}</m>
  </p>
</answer>
\(\{x\mid x=y^2 \text{ et } 1\leq y\leq 31\text{ et } y\in\mathbb{N}\}\)
(f)
View Source for task
<task>
  <statement>
    <p>
      <m>\{1,8,27,64,125,\ldots\}</m>
    </p>
  </statement>
  <hint>
    <p>
      Ce sont des cubes parfaits.
    </p>
  </hint>
  <answer>
    <p>
      <m>\{x\mid x=y^3 \text{ et } y\in\mathbb{N^*}\}</m>
    </p>
  </answer>
</task>
\(\{1,8,27,64,125,\ldots\}\)
Hint.
View Source for hint
<hint>
  <p>
    Ce sont des cubes parfaits.
  </p>
</hint>
Ce sont des cubes parfaits.
Answer.
View Source for answer
<answer>
  <p>
    <m>\{x\mid x=y^3 \text{ et } y\in\mathbb{N^*}\}</m>
  </p>
</answer>
\(\{x\mid x=y^3 \text{ et } y\in\mathbb{N^*}\}\)
Notes or examples related to computation or technology can go in blocks of the same name.
Technology 4.14. Sample Use of Sage.
View Source for technology
<technology>
          <title>Sample Use of Sage</title>
          <p>
            This would be a good place to talk about Sage, including a cell or two.
          </p>
<sage>
<input>diff(x^4, x)</input>
<output>4*x^3</output>
</sage>
          <p>
            But you might want to describe how to use some other calculator,
            or maybe some numerical method.
          </p>
        </technology>
This would be a good place to talk about Sage, including a cell or two.
But you might want to describe how to use some other calculator, or maybe some numerical method.
A <paragraphs> with a <project> with an <answer>.
View Source for paragraphs
<paragraphs>
  <title>A <tag>paragraphs</tag> with a <tag>project</tag> with an <tag>answer</tag></title>
  <p>
    The solutions to a project
    (and similar)
    once did not migrate to the automatically-generated solutions.
  </p>
  <project>
    <statement>
      <p>
        A simple project, no tasks, just an answer.
      </p>
    </statement>
    <answer>
      <p>
        Here's the answer we are looking for.
      </p>
    </answer>
  </project>
</paragraphs>
The solutions to a project (and similar) once did not migrate to the automatically-generated solutions.
Project 4.5.
View Source for project
<project>
  <statement>
    <p>
      A simple project, no tasks, just an answer.
    </p>
  </statement>
  <answer>
    <p>
      Here's the answer we are looking for.
    </p>
  </answer>
</project>
A simple project, no tasks, just an answer.
Answer.
View Source for answer
<answer>
  <p>
    Here's the answer we are looking for.
  </p>
</answer>
Here’s the answer we are looking for.

Exercises 4.2.3 Exercises

View Source for exercises
<exercises xml:id="exercises-subsection-solo" label="exercises-subsection-solo">
  <exercise xml:id="exercise-test-number">
    <statement>
      <p>
        This is an exercise in an
        <q>Exercises</q>
        subdivision at the level of a subsubsection.
        There is no question other than if the numbering is appropriate.
        Here is a self-referential link: Exercise<nbsp /><xref ref="exercise-test-number" />.
      </p>
      <p>
        The subsubsection has no title in the source,
        so one is provided automatically,
        and will adjust according to the language of the document.
      </p>
    </statement>
    <solution>
      <p>
        This solution will migrate to a list of solutions in the backmatter.
        We include a <c>sidebyside</c> as a test.
      </p>
      <sidebyside width="30%">
        <p>
          This is a skinny paragraph which should be just 30% of the width.
        </p>
        <p>
          And another skinny paragraph which should also be just 30% of the width.
        </p>
      </sidebyside>
    </solution>
  </exercise>
  <exercise xml:id="exercise-with-tasks">
    <introduction>
      <p>
        An <tag>exercise</tag> can be structured with parts, called <tag>task</tag>.
        This is the <tag>introduction</tag>.
      </p>
    </introduction>
    <task>
      <p>
        Do this.
      </p>
    </task>
    <task>
      <p>
        And the other thing.
      </p>
    </task>
  </exercise>
</exercises>
1.
View Source for exercise
<exercise xml:id="exercise-test-number">
  <statement>
    <p>
      This is an exercise in an
      <q>Exercises</q>
      subdivision at the level of a subsubsection.
      There is no question other than if the numbering is appropriate.
      Here is a self-referential link: Exercise<nbsp /><xref ref="exercise-test-number" />.
    </p>
    <p>
      The subsubsection has no title in the source,
      so one is provided automatically,
      and will adjust according to the language of the document.
    </p>
  </statement>
  <solution>
    <p>
      This solution will migrate to a list of solutions in the backmatter.
      We include a <c>sidebyside</c> as a test.
    </p>
    <sidebyside width="30%">
      <p>
        This is a skinny paragraph which should be just 30% of the width.
      </p>
      <p>
        And another skinny paragraph which should also be just 30% of the width.
      </p>
    </sidebyside>
  </solution>
</exercise>
This is an exercise in an “Exercises” subdivision at the level of a subsubsection. There is no question other than if the numbering is appropriate. Here is a self-referential link: Exercise 4.2.3.1.
The subsubsection has no title in the source, so one is provided automatically, and will adjust according to the language of the document.
Solution.
View Source for solution
<solution>
  <p>
    This solution will migrate to a list of solutions in the backmatter.
    We include a <c>sidebyside</c> as a test.
  </p>
  <sidebyside width="30%">
    <p>
      This is a skinny paragraph which should be just 30% of the width.
    </p>
    <p>
      And another skinny paragraph which should also be just 30% of the width.
    </p>
  </sidebyside>
</solution>
This solution will migrate to a list of solutions in the backmatter. We include a sidebyside as a test.
This is a skinny paragraph which should be just 30% of the width.
And another skinny paragraph which should also be just 30% of the width.
2.
View Source for exercise
<exercise xml:id="exercise-with-tasks">
  <introduction>
    <p>
      An <tag>exercise</tag> can be structured with parts, called <tag>task</tag>.
      This is the <tag>introduction</tag>.
    </p>
  </introduction>
  <task>
    <p>
      Do this.
    </p>
  </task>
  <task>
    <p>
      And the other thing.
    </p>
  </task>
</exercise>
An <exercise> can be structured with parts, called <task>. This is the <introduction>.
(a)
View Source for task
<task>
  <p>
    Do this.
  </p>
</task>
Do this.
(b)
View Source for task
<task>
  <p>
    And the other thing.
  </p>
</task>
And the other thing.

Reading Questions 4.2.4 Reading Questions

View Source for reading-questions
<reading-questions>
  <introduction>
    <idx>reading questions</idx>
    <p>
      A set of reading questions may have an <tag>introduction</tag>,
      perhaps for preparatory explanation.
    </p>
    <p>
      If a student has logged in to the HTML version,
      then they can answer the reading questions directly in the book.
      Inline math LaTeX can be entered using <c>$</c>...<c>$</c> or <c>\(</c>...<c>\)</c> delimiters,
      and inline AsciiMath using backticks <c>`</c>...<c>`</c> as delimiters.
      Here are some `gratuitous backticks` to check that AsciiMath is only active in the answers to reading questions.
    </p>
  </introduction>
  <exercise xml:id="first-reading">
    <p>
      This is a <term>reading question</term>
      that you might have a student answer prior to a class session,
      based on reading part of the book.
      A quick glance before class can help you tailor class time to the specific needs of your students.
      The perfect reading question will reveal whether the student has read and understood the material,
      and will be difficult to answer if they have not.
      What do you think of that?
    </p>
  </exercise>
  <exercise>
    <p>
      And a second one,
      with a cross-reference to the first, as a check on numbering:
      <xref ref="first-reading" text="type-global" />.
      Reading questions are allowed to have answers,
      but providing answers misses the point of a reading question,
      and the answer knowl interacts poorly with the mechanism used to allow students to answer directly in the book.
      Do you think the schema should ban answers to reading questions?
    </p>
  </exercise>
  <conclusion>
    <p>
      And for symmetry, a <tag>conclusion</tag>.
    </p>
  </conclusion>
</reading-questions>
A set of reading questions may have an <introduction>, perhaps for preparatory explanation.
If a student has logged in to the HTML version, then they can answer the reading questions directly in the book. Inline math LaTeX can be entered using $...$ or \(...\) delimiters, and inline AsciiMath using backticks `...` as delimiters. Here are some `gratuitous backticks` to check that AsciiMath is only active in the answers to reading questions.
1.
View Source for exercise
<exercise xml:id="first-reading">
  <p>
    This is a <term>reading question</term>
    that you might have a student answer prior to a class session,
    based on reading part of the book.
    A quick glance before class can help you tailor class time to the specific needs of your students.
    The perfect reading question will reveal whether the student has read and understood the material,
    and will be difficult to answer if they have not.
    What do you think of that?
  </p>
</exercise>
This is a reading question that you might have a student answer prior to a class session, based on reading part of the book. A quick glance before class can help you tailor class time to the specific needs of your students. The perfect reading question will reveal whether the student has read and understood the material, and will be difficult to answer if they have not. What do you think of that?
2.
View Source for exercise
<exercise>
  <p>
    And a second one,
    with a cross-reference to the first, as a check on numbering:
    <xref ref="first-reading" text="type-global" />.
    Reading questions are allowed to have answers,
    but providing answers misses the point of a reading question,
    and the answer knowl interacts poorly with the mechanism used to allow students to answer directly in the book.
    Do you think the schema should ban answers to reading questions?
  </p>
</exercise>
And a second one, with a cross-reference to the first, as a check on numbering: Reading Question 4.2.4.1. Reading questions are allowed to have answers, but providing answers misses the point of a reading question, and the answer knowl interacts poorly with the mechanism used to allow students to answer directly in the book. Do you think the schema should ban answers to reading questions?
And for symmetry, a <conclusion>.

Glossary 4.2.5 Glossary

View Source for glossary
<glossary xml:id="glossary-specialized">
<idx>glossary</idx>
<headnote>
<p>
  A glossary may have a <tag>headnote</tag>,
  perhaps with some explanation.
  This glossary is a specialized division within a section.
  Placement in the back matter is another option,
  see the <xref ref="glossary-backmatter" text="title" />.
</p>
</headnote>
<gi>
<title>bar</title>
<p>
  A part of <term>foobar</term>.
  See <xref ref="foobar-defined" text="title" />.
</p>
</gi>
<gi xml:id="foobar-defined">
<title>foobar</title>
<p>
  A synonym for the acronym <acro>FUBAR</acro>.
</p>
</gi>
</glossary>
A glossary may have a <headnote>, perhaps with some explanation. This glossary is a specialized division within a section. Placement in the back matter is another option, see the Glossary.
bar.
A part of foobar. See foobar.
foobar.
A synonym for the acronym FUBAR.

Solutions 4.2.6 Solutions for This Subsection

View Source for solutions
<solutions xml:id="solutions-subsection" inline="hint solution answer" divisional="hint solution answer" project="hint solution answer">
  <title>Solutions for This Subsection</title>
  <idx><h>solutions</h><h>for a division</h></idx>
  <introduction>
    <p>
      This is an introduction,
      where you might explain that this division of this subsection contains various hints, answers,
      solutions of inline exercises,
      divisional exercises, and/or project-like blocks.
      See the source to see just how this solutions division was built.
    </p>
  </introduction>

  <conclusion>
    <p>
      And a conclusion to this solutions division,
      which may not be readily apparent as distinct from the final division's worth of solutions,
      but since it is not prefixed with a number,
      it may be different enough.
    </p>
  </conclusion>
</solutions>
This is an introduction, where you might explain that this division of this subsection contains various hints, answers, solutions of inline exercises, divisional exercises, and/or project-like blocks. See the source to see just how this solutions division was built.
4.2.1 Symbolic and Numerical Integrals
Checkpoint 4.6. Essay Question: Compare and Contrast.
Hint.
View Source for hint
<hint>
  <p>
    Start writing!
  </p>
</hint>
Start writing!
4.2.2 Advice
Checkpoint 4.9. An Inline Exercise.
Hint.
View Source for hint
<hint>
  <p>
    A good hint.
  </p>
</hint>
A good hint.
Answer.
View Source for answer
<answer>
  <p>
    42.
  </p>
</answer>
42.
Solution.
View Source for solution
<solution>
  <p>
    If your exercise feels like proving a theorem,
    then you might want to make some comments,
    but also clearly delineate which part of the solution is a the complete proof.
  </p>
  <proof>
    <p>
      Lorem ipsum dolor sit amet, consectetur adipiscing elit.
      Proin lorem diam, convallis in nulla sed, accumsan fermentum urna.
      Pellentesque aliquet leo elit,
      ut consequat nunc dapibus ac.
      Sed lobortis leo tincidunt, vulputate nunc at, ultricies leo.
      Vivamus purus diam,
      tristique laoreet purus eget, mollis gravida sapien.
      Nunc vulputate nisl ac mauris hendrerit cursus.
      Sed vel molestie velit.
      Suspendisse sem sem, elementum at vehicula id, volutpat ac mi.
      Nullam ullamcorper fringilla purus in accumsan.
      Mauris at nunc accumsan orci dictum vulputate id id augue.
      Suspendisse at dignissim elit, non euismod nunc.
      Aliquam faucibus magna ac molestie semper.
      Aliquam hendrerit sem sit amet metus congue tempor.
      Donec laoreet laoreet metus, id interdum purus mattis vulputate.
      Proin condimentum vitae erat varius mollis.
      Donec venenatis libero sed turpis pretium tempor.
    </p>
    <p>
      Praesent rutrum scelerisque felis sit amet adipiscing.
      Phasellus in mollis velit.
      Nunc malesuada felis sit amet massa cursus,
      eget elementum neque viverra.
      Integer sagittis dictum turpis vel aliquet.
      Fusce ut suscipit dolor, nec tristique nisl.
      Aenean luctus, leo et ornare fermentum,
      nibh dui vulputate leo, nec tincidunt augue ipsum sed odio.
      Nunc non erat sollicitudin, iaculis eros consequat, dapibus eros.
    </p>
  </proof>
</solution>
If your exercise feels like proving a theorem, then you might want to make some comments, but also clearly delineate which part of the solution is a the complete proof.
Proof.
View Source for proof
<proof>
  <p>
    Lorem ipsum dolor sit amet, consectetur adipiscing elit.
    Proin lorem diam, convallis in nulla sed, accumsan fermentum urna.
    Pellentesque aliquet leo elit,
    ut consequat nunc dapibus ac.
    Sed lobortis leo tincidunt, vulputate nunc at, ultricies leo.
    Vivamus purus diam,
    tristique laoreet purus eget, mollis gravida sapien.
    Nunc vulputate nisl ac mauris hendrerit cursus.
    Sed vel molestie velit.
    Suspendisse sem sem, elementum at vehicula id, volutpat ac mi.
    Nullam ullamcorper fringilla purus in accumsan.
    Mauris at nunc accumsan orci dictum vulputate id id augue.
    Suspendisse at dignissim elit, non euismod nunc.
    Aliquam faucibus magna ac molestie semper.
    Aliquam hendrerit sem sit amet metus congue tempor.
    Donec laoreet laoreet metus, id interdum purus mattis vulputate.
    Proin condimentum vitae erat varius mollis.
    Donec venenatis libero sed turpis pretium tempor.
  </p>
  <p>
    Praesent rutrum scelerisque felis sit amet adipiscing.
    Phasellus in mollis velit.
    Nunc malesuada felis sit amet massa cursus,
    eget elementum neque viverra.
    Integer sagittis dictum turpis vel aliquet.
    Fusce ut suscipit dolor, nec tristique nisl.
    Aenean luctus, leo et ornare fermentum,
    nibh dui vulputate leo, nec tincidunt augue ipsum sed odio.
    Nunc non erat sollicitudin, iaculis eros consequat, dapibus eros.
  </p>
</proof>
Lorem ipsum dolor sit amet, consectetur adipiscing elit. Proin lorem diam, convallis in nulla sed, accumsan fermentum urna. Pellentesque aliquet leo elit, ut consequat nunc dapibus ac. Sed lobortis leo tincidunt, vulputate nunc at, ultricies leo. Vivamus purus diam, tristique laoreet purus eget, mollis gravida sapien. Nunc vulputate nisl ac mauris hendrerit cursus. Sed vel molestie velit. Suspendisse sem sem, elementum at vehicula id, volutpat ac mi. Nullam ullamcorper fringilla purus in accumsan. Mauris at nunc accumsan orci dictum vulputate id id augue. Suspendisse at dignissim elit, non euismod nunc. Aliquam faucibus magna ac molestie semper. Aliquam hendrerit sem sit amet metus congue tempor. Donec laoreet laoreet metus, id interdum purus mattis vulputate. Proin condimentum vitae erat varius mollis. Donec venenatis libero sed turpis pretium tempor.
Praesent rutrum scelerisque felis sit amet adipiscing. Phasellus in mollis velit. Nunc malesuada felis sit amet massa cursus, eget elementum neque viverra. Integer sagittis dictum turpis vel aliquet. Fusce ut suscipit dolor, nec tristique nisl. Aenean luctus, leo et ornare fermentum, nibh dui vulputate leo, nec tincidunt augue ipsum sed odio. Nunc non erat sollicitudin, iaculis eros consequat, dapibus eros.
Exploration 4.2. Exploring Explorations.
Solution.
View Source for solution
<solution>
  <p>
    This is a
    <q>solution</q>
    to the exploration.
    In practice,
    you might choose to not make this visible for students,
    but instead include it as part of some guidance you might provide to instructors
    (<eg /> an
    <pubtitle>Instructor's Manual</pubtitle>).
  </p>
</solution>
This is a “solution” to the exploration. In practice, you might choose to not make this visible for students, but instead include it as part of some guidance you might provide to instructors (e.g. an Instructor’s Manual).
Activity 4.3. Hints, Answers, Solutions.
Hint.
View Source for hint
<hint>
  <p>
    Just a little help.
  </p>
</hint>
Just a little help.
Answer.
View Source for answer
<answer>
  <p>
    The result, but no help in getting there.
  </p>
</answer>
The result, but no help in getting there.
Solution.
View Source for solution
<solution>
  <p>
    Everything to get it all done, in detail.
  </p>
</solution>
Everything to get it all done, in detail.
Checkpoint 4.12. A very structured exercise.
4.12.c A title of a task that has a subtask with an <answer> for the Solutions.
4.12.c.i A task with a title and an <answer> for the Solutions.
Answer.
View Source for answer
<answer>
  <p>
    With a proof.
  </p>
  <proof>
    <p>
      In interdum suscipit ullamcorper.
      Morbi sit amet malesuada augue, id vestibulum magna.
      Nulla blandit dui metus, malesuada mollis sapien ullamcorper sit amet.
      Nulla at neque nisi.
      Integer vel porta felis.
    </p>
  </proof>
  <p>
    And a bit more to say.
  </p>
</answer>
With a proof.
Proof.
View Source for proof
<proof>
  <p>
    In interdum suscipit ullamcorper.
    Morbi sit amet malesuada augue, id vestibulum magna.
    Nulla blandit dui metus, malesuada mollis sapien ullamcorper sit amet.
    Nulla at neque nisi.
    Integer vel porta felis.
  </p>
</proof>
In interdum suscipit ullamcorper. Morbi sit amet malesuada augue, id vestibulum magna. Nulla blandit dui metus, malesuada mollis sapien ullamcorper sit amet. Nulla at neque nisi. Integer vel porta felis.
And a bit more to say.
4.12.c.ii
Answer.
View Source for answer
<answer>
  <p>
    Right!
    In interdum suscipit ullamcorper.
    Morbi sit amet malesuada augue, id vestibulum magna.
    Nulla blandit dui metus, malesuada mollis sapien ullamcorper sit amet.
    Nulla at neque nisi.
    Integer vel porta felis.
  </p>
</answer>
Right! In interdum suscipit ullamcorper. Morbi sit amet malesuada augue, id vestibulum magna. Nulla blandit dui metus, malesuada mollis sapien ullamcorper sit amet. Nulla at neque nisi. Integer vel porta felis.
4.12.d
Hint.
View Source for hint
<hint>
  <p>
    One hint.
    In interdum suscipit ullamcorper.
    Morbi sit amet malesuada augue, id vestibulum magna.
    Nulla blandit dui metus, malesuada mollis sapien ullamcorper sit amet.
    Nulla at neque nisi.
    Integer vel porta felis.
  </p>
  <p>
    In interdum suscipit ullamcorper.
    Morbi sit amet malesuada augue, id vestibulum magna.
    Nulla blandit dui metus, malesuada mollis sapien ullamcorper sit amet.
    Nulla at neque nisi.
    Integer vel porta felis.
  </p>
</hint>
One hint. In interdum suscipit ullamcorper. Morbi sit amet malesuada augue, id vestibulum magna. Nulla blandit dui metus, malesuada mollis sapien ullamcorper sit amet. Nulla at neque nisi. Integer vel porta felis.
In interdum suscipit ullamcorper. Morbi sit amet malesuada augue, id vestibulum magna. Nulla blandit dui metus, malesuada mollis sapien ullamcorper sit amet. Nulla at neque nisi. Integer vel porta felis.
Answer 1.
View Source for answer
<answer>
  <p>
    First answer.
    In interdum suscipit ullamcorper.
  </p>
</answer>
First answer. In interdum suscipit ullamcorper.
Answer 2.
View Source for answer
<answer>
  <p>
    Second answer.
    In interdum suscipit ullamcorper.
    Morbi sit amet malesuada augue, id vestibulum magna.
    Nulla blandit dui metus, malesuada mollis sapien ullamcorper sit amet.
    Nulla at neque nisi.
    Integer vel porta felis.
  </p>
  <p>
    In interdum suscipit ullamcorper.
    Morbi sit amet malesuada augue, id vestibulum magna.
    Nulla blandit dui metus, malesuada mollis sapien ullamcorper sit amet.
    Nulla at neque nisi.
    Integer vel porta felis.
  </p>
  <p>
    In interdum suscipit ullamcorper.
    Morbi sit amet malesuada augue, id vestibulum magna.
    Nulla blandit dui metus, malesuada mollis sapien ullamcorper sit amet.
    Nulla at neque nisi.
    Integer vel porta felis.
  </p>
</answer>
Second answer. In interdum suscipit ullamcorper. Morbi sit amet malesuada augue, id vestibulum magna. Nulla blandit dui metus, malesuada mollis sapien ullamcorper sit amet. Nulla at neque nisi. Integer vel porta felis.
In interdum suscipit ullamcorper. Morbi sit amet malesuada augue, id vestibulum magna. Nulla blandit dui metus, malesuada mollis sapien ullamcorper sit amet. Nulla at neque nisi. Integer vel porta felis.
In interdum suscipit ullamcorper. Morbi sit amet malesuada augue, id vestibulum magna. Nulla blandit dui metus, malesuada mollis sapien ullamcorper sit amet. Nulla at neque nisi. Integer vel porta felis.
Solution.
View Source for solution
<solution>
  <p>
    At last, the solution.
    In interdum suscipit ullamcorper.
    Morbi sit amet malesuada augue, id vestibulum magna.
    Nulla blandit dui metus, malesuada mollis sapien ullamcorper sit amet.
    Nulla at neque nisi.
    Integer vel porta felis.
  </p>
</solution>
At last, the solution. In interdum suscipit ullamcorper. Morbi sit amet malesuada augue, id vestibulum magna. Nulla blandit dui metus, malesuada mollis sapien ullamcorper sit amet. Nulla at neque nisi. Integer vel porta felis.
Project 4.4. A very structured project.
4.4.c
4.4.c.i
Answer.
View Source for answer
<answer>
  <p>
    With a proof.
  </p>
  <proof>
    <p>
      In interdum suscipit ullamcorper.
      Morbi sit amet malesuada augue, id vestibulum magna.
      Nulla blandit dui metus, malesuada mollis sapien ullamcorper sit amet.
      Nulla at neque nisi.
      Integer vel porta felis.
    </p>
  </proof>
  <p>
    And a bit more to say.
  </p>
</answer>
With a proof.
Proof.
View Source for proof
<proof>
  <p>
    In interdum suscipit ullamcorper.
    Morbi sit amet malesuada augue, id vestibulum magna.
    Nulla blandit dui metus, malesuada mollis sapien ullamcorper sit amet.
    Nulla at neque nisi.
    Integer vel porta felis.
  </p>
</proof>
In interdum suscipit ullamcorper. Morbi sit amet malesuada augue, id vestibulum magna. Nulla blandit dui metus, malesuada mollis sapien ullamcorper sit amet. Nulla at neque nisi. Integer vel porta felis.
And a bit more to say.
4.4.c.ii
Answer.
View Source for answer
<answer>
  <p>
    Right!
    In interdum suscipit ullamcorper.
    Morbi sit amet malesuada augue, id vestibulum magna.
    Nulla blandit dui metus, malesuada mollis sapien ullamcorper sit amet.
    Nulla at neque nisi.
    Integer vel porta felis.
  </p>
</answer>
Right! In interdum suscipit ullamcorper. Morbi sit amet malesuada augue, id vestibulum magna. Nulla blandit dui metus, malesuada mollis sapien ullamcorper sit amet. Nulla at neque nisi. Integer vel porta felis.
4.4.d
Hint.
View Source for hint
<hint>
  <p>
    One hint.
    In interdum suscipit ullamcorper.
    Morbi sit amet malesuada augue, id vestibulum magna.
    Nulla blandit dui metus, malesuada mollis sapien ullamcorper sit amet.
    Nulla at neque nisi.
    Integer vel porta felis.
  </p>
  <p>
    In interdum suscipit ullamcorper.
    Morbi sit amet malesuada augue, id vestibulum magna.
    Nulla blandit dui metus, malesuada mollis sapien ullamcorper sit amet.
    Nulla at neque nisi.
    Integer vel porta felis.
  </p>
</hint>
One hint. In interdum suscipit ullamcorper. Morbi sit amet malesuada augue, id vestibulum magna. Nulla blandit dui metus, malesuada mollis sapien ullamcorper sit amet. Nulla at neque nisi. Integer vel porta felis.
In interdum suscipit ullamcorper. Morbi sit amet malesuada augue, id vestibulum magna. Nulla blandit dui metus, malesuada mollis sapien ullamcorper sit amet. Nulla at neque nisi. Integer vel porta felis.
Answer 1.
View Source for answer
<answer>
  <p>
    First answer.
    In interdum suscipit ullamcorper.
  </p>
</answer>
First answer. In interdum suscipit ullamcorper.
Answer 2.
View Source for answer
<answer>
  <p>
    Second answer.
    In interdum suscipit ullamcorper.
    Morbi sit amet malesuada augue, id vestibulum magna.
    Nulla blandit dui metus, malesuada mollis sapien ullamcorper sit amet.
    Nulla at neque nisi.
    Integer vel porta felis.
  </p>
  <p>
    In interdum suscipit ullamcorper.
    Morbi sit amet malesuada augue, id vestibulum magna.
    Nulla blandit dui metus, malesuada mollis sapien ullamcorper sit amet.
    Nulla at neque nisi.
    Integer vel porta felis.
  </p>
  <p>
    In interdum suscipit ullamcorper.
    Morbi sit amet malesuada augue, id vestibulum magna.
    Nulla blandit dui metus, malesuada mollis sapien ullamcorper sit amet.
    Nulla at neque nisi.
    Integer vel porta felis.
  </p>
</answer>
Second answer. In interdum suscipit ullamcorper. Morbi sit amet malesuada augue, id vestibulum magna. Nulla blandit dui metus, malesuada mollis sapien ullamcorper sit amet. Nulla at neque nisi. Integer vel porta felis.
In interdum suscipit ullamcorper. Morbi sit amet malesuada augue, id vestibulum magna. Nulla blandit dui metus, malesuada mollis sapien ullamcorper sit amet. Nulla at neque nisi. Integer vel porta felis.
In interdum suscipit ullamcorper. Morbi sit amet malesuada augue, id vestibulum magna. Nulla blandit dui metus, malesuada mollis sapien ullamcorper sit amet. Nulla at neque nisi. Integer vel porta felis.
Solution.
View Source for solution
<solution>
  <p>
    At last, the solution.
    In interdum suscipit ullamcorper.
    Morbi sit amet malesuada augue, id vestibulum magna.
    Nulla blandit dui metus, malesuada mollis sapien ullamcorper sit amet.
    Nulla at neque nisi.
    Integer vel porta felis.
  </p>
</solution>
At last, the solution. In interdum suscipit ullamcorper. Morbi sit amet malesuada augue, id vestibulum magna. Nulla blandit dui metus, malesuada mollis sapien ullamcorper sit amet. Nulla at neque nisi. Integer vel porta felis.
Project 4.5.
Answer.
View Source for answer
<answer>
  <p>
    Here's the answer we are looking for.
  </p>
</answer>
Here’s the answer we are looking for.
4.2.3 Exercises
4.2.3.1.
Solution.
View Source for solution
<solution>
  <p>
    This solution will migrate to a list of solutions in the backmatter.
    We include a <c>sidebyside</c> as a test.
  </p>
  <sidebyside width="30%">
    <p>
      This is a skinny paragraph which should be just 30% of the width.
    </p>
    <p>
      And another skinny paragraph which should also be just 30% of the width.
    </p>
  </sidebyside>
</solution>
This solution will migrate to a list of solutions in the backmatter. We include a sidebyside as a test.
This is a skinny paragraph which should be just 30% of the width.
And another skinny paragraph which should also be just 30% of the width.
And a conclusion to this solutions division, which may not be readily apparent as distinct from the final division’s worth of solutions, but since it is not prefixed with a number, it may be different enough.

Subsection 4.3 Theorem-Like Environments

View Source for subsection
<subsection>
  <title>Theorem-Like Environments</title>
  <p>
    There are a variety of pre-defined environments in <pretext />.
    All take a title, and must have a statement.
    Some have proofs (theorems,
    corollaries, <etc />), while some do not have proofs
    (conjectures, axioms, principles).
  </p>
  <principle xml:id="principle-principle">
    <title>The Title Principle</title>
    <statement>
      <p>
        It is a fundamental principle that many elements can have a title.
        Try it and see.
        If you get better formatting,
        then it is being recognized.
        If it looks very plain,
        check the documentation and perhaps make a feature request.
      </p>
    </statement>
  </principle>
  <p>
    More precisely, <tag>theorem</tag>,
    <tag>corollary</tag>, <tag>lemma</tag>,
    <tag>algorithm</tag>, <tag>proposition</tag>,
    <tag>claim</tag>, <tag>fact</tag>,
    and <tag>identity</tag>, all behave exactly the same, requiring a statement
    (as a sequence of paragraphs)
    followed by an optional proof,
    and may have an optional title.
    The elements <tag>axiom</tag>, <tag>conjecture</tag>,
    <tag>principle</tag>, <tag>heuristic</tag>, <tag>hypothesis</tag>,
    and <tag>assumption</tag> are functionally the same, barring a proof
    (since they would never have one!).
    Definitions are an exception,
    as it is natural to place <tag>notation</tag> within<mdash />see the source for Definition<nbsp /><xref ref="definition-indefinite-integral" /> for an example.
  </p>
</subsection>
There are a variety of pre-defined environments in PreTeXt. All take a title, and must have a statement. Some have proofs (theorems, corollaries, etc.), while some do not have proofs (conjectures, axioms, principles).
More precisely, <theorem>, <corollary>, <lemma>, <algorithm>, <proposition>, <claim>, <fact>, and <identity>, all behave exactly the same, requiring a statement (as a sequence of paragraphs) followed by an optional proof, and may have an optional title. The elements <axiom>, <conjecture>, <principle>, <heuristic>, <hypothesis>, and <assumption> are functionally the same, barring a proof (since they would never have one!). Definitions are an exception, as it is natural to place <notation> within—see the source for Definition 2.2 for an example.

Subsection 4.4 Linking Sage Cells

View Source for subsection
<subsection>
      <title>Linking Sage Cells</title>
      <idx><h>Sage cells</h><h>linking</h></idx>
      <p>
        Sage cells share their results on a per-webpage basis,
        or a per-knowl basis, so if you move to a new chapter,
        section, or subsection that happens to be on another webpage,
        your Sage computations are gone and you start fresh.
        But maybe you need some results from elsewhere.
        As an author,
        you can make an exact copy of a cell in another location by placing the code in an external file,
        which is pure text, freed from any need to format for XML processing.
        So, in particular,
        there is no need to escape ampersands and angle brackets,
        nor is there employment of the <c>CDATA</c> mechanism.
        But the real value is that there is just one version to edit,
        and any changes will be reflected in both copies.
        We demonstrate this in the sample book,
        since it has the <c>xinclude</c> mechanism in place.
        In the chapter on groups,
        find the section on Sage and then find the discussion of subgroups,
        and you will find an example of two identical Sage cells produced from one source file.
      </p>
      <p>
        You can also specify certain cells to be auto-evaluated,
        by setting the <attr>auto-evaluate</attr> attribute to <c>yes</c>.
        The resulting cell will not have a button for evaluation
        (so editing it would be pointless).
        See the source of this sample article for the two examples below.
      </p>
      <p>
        2023-08-17: support just now is for the use case of a small portion of code,
        not a huge library of helper routines.
      </p>
      <p>
        Two cells with the default language <c>sage</c>.
      </p>
<sage auto-evaluate="yes">
<input>k = 404</input>
</sage>
<sage>
<input>2*k</input>
</sage>
      <p>
        Two cells with language <c>python</c>.
      </p>
<sage language="python" auto-evaluate="yes">
<input>
k = 4112
print("Assigned an initial value to the variable k")
</input>
</sage>
<sage language="python">
<input>
k = 2*k
print(k)
</input>
</sage>
    </subsection>
Sage cells share their results on a per-webpage basis, or a per-knowl basis, so if you move to a new chapter, section, or subsection that happens to be on another webpage, your Sage computations are gone and you start fresh. But maybe you need some results from elsewhere. As an author, you can make an exact copy of a cell in another location by placing the code in an external file, which is pure text, freed from any need to format for XML processing. So, in particular, there is no need to escape ampersands and angle brackets, nor is there employment of the CDATA mechanism. But the real value is that there is just one version to edit, and any changes will be reflected in both copies. We demonstrate this in the sample book, since it has the xinclude mechanism in place. In the chapter on groups, find the section on Sage and then find the discussion of subgroups, and you will find an example of two identical Sage cells produced from one source file.
You can also specify certain cells to be auto-evaluated, by setting the @auto-evaluate attribute to yes. The resulting cell will not have a button for evaluation (so editing it would be pointless). See the source of this sample article for the two examples below.
2023-08-17: support just now is for the use case of a small portion of code, not a huge library of helper routines.
Two cells with the default language sage.
Two cells with language python.

Subsection 4.5 Hierarchy

View Source for subsection
<subsection>
  <title>Hierarchy</title>
  <paragraphs xml:id="hierarchy-structure">
    <title>Structure</title>
    <p>
      This section of this article has subsections and subsubsections.
      In a book you can have chapters enclosing multiple sections.
      There is one finer subdivision,
      it is achieved with the <c>paragraphs</c> element.
    </p>
    <p>
      It is basically a sequence of paragraphs,
      where the first one gets an inline title.
      You are reading the second, and final,
      paragraph of one right now.
      It is useful for organizing very short documents,
      where numbered subdivisions might be overkill.
    </p>
  </paragraphs>
  <paragraphs>
    <title>A Second Paragraphs</title>
    <p>
      This is a second consecutive <c>paragraphs</c> element,
      so should seem related to its title,
      but distinct from the two paragraphs in the grouping with the title
      <q>Structure</q>
      immediately prior.
    </p>
  </paragraphs>
  <assemblage xml:id="assemblage-basics">
    <title>Assemblages: Collections and Summaries</title>
    <p>
      An <tag>assemblage</tag> is a collection,
      or summary, that does not have much structure to it.
      So you are limited to paragraphs and friends (<c>p</c>,
      <c>blockquote</c>,
      <c>pre</c>) and side-by-sides that do not contain captioned items
      (<c>sidebyside</c>,
      <c>sbsgroup</c>).
      The intent is that contents are not numbered,
      so cannot be cross-referenced individually,
      and so also do not become knowls.
      You may place <tag>image</tag>, <tag>tabular</tag>,
      and <tag>program</tag> inside a <tag>sidebyside</tag>,
      in addition to other objects that do not have captions.
      Note that <c>p</c> may by extension contain lists
      (<c>ol</c>,
      <c>ul</c>,
      <c>dl</c>).
      Despite limited structure, the presentation should draw attention to it,
      because the contents should be seen as more important in some way.
      It should be
      <q>highlighted</q>
      in some manner.
      If you need to connect the entire assemblage with material elsewhere,
      you can do that with the usual <c>xref/xml:id</c> mechanism.
          <idx><h>assemblage</h></idx>
    </p>
    <p>
      What have we seen so far in this (disorganized) sample?
      <ul>
        <li>
          <p>
            Theorems, definitions and corollaries. (<xref ref="section-fundamental-theorem" text="type-global" />)
          </p>
        </li>
        <li>
          <p>
            Sage cells, including with R. (<xref ref="section-sage-cells" text="type-global" />)
          </p>
        </li>
        <li>
          <p>
            Lots of document structure, like introductions and conclusions
            (next). (<xref ref="interesting-corollary" text="type-global" />)
          </p>
        </li>
      </ul>
    </p>
    <p>
      A sample table,
      as a <c>tabular</c> inside a <c>sidebyside</c> with no caption, follows.
    </p>
    <tabular>
      <row>
        <cell>A</cell>
        <cell>B</cell>
        <cell>C</cell>
      </row>
      <row>
        <cell>Uno</cell>
        <cell>Dos</cell>
        <cell>Tres</cell>
      </row>
    </tabular>
  </assemblage>
  <assemblage>
    <p>
      This is a small <c>assemblage</c> with no title,
      simply to make sure the surrounding box behaves properly,
      especially for <latex /> output.
    </p>
  </assemblage>
  <assemblage>
    <title>Assemblages containing <m>\mu \forall \tau \mathbb{H} = \emptyset \kappa</m></title>
    <p>
      It is acceptable for an assemblage to contain mathematical content,
      even in its title.
    </p>
  </assemblage>
</subsection>

Structure.

View Source for paragraphs
<paragraphs xml:id="hierarchy-structure">
  <title>Structure</title>
  <p>
    This section of this article has subsections and subsubsections.
    In a book you can have chapters enclosing multiple sections.
    There is one finer subdivision,
    it is achieved with the <c>paragraphs</c> element.
  </p>
  <p>
    It is basically a sequence of paragraphs,
    where the first one gets an inline title.
    You are reading the second, and final,
    paragraph of one right now.
    It is useful for organizing very short documents,
    where numbered subdivisions might be overkill.
  </p>
</paragraphs>
This section of this article has subsections and subsubsections. In a book you can have chapters enclosing multiple sections. There is one finer subdivision, it is achieved with the paragraphs element.
It is basically a sequence of paragraphs, where the first one gets an inline title. You are reading the second, and final, paragraph of one right now. It is useful for organizing very short documents, where numbered subdivisions might be overkill.

A Second Paragraphs.

View Source for paragraphs
<paragraphs>
  <title>A Second Paragraphs</title>
  <p>
    This is a second consecutive <c>paragraphs</c> element,
    so should seem related to its title,
    but distinct from the two paragraphs in the grouping with the title
    <q>Structure</q>
    immediately prior.
  </p>
</paragraphs>
This is a second consecutive paragraphs element, so should seem related to its title, but distinct from the two paragraphs in the grouping with the title “Structure” immediately prior.

Assemblages: Collections and Summaries.

View Source for assemblage
<assemblage xml:id="assemblage-basics">
  <title>Assemblages: Collections and Summaries</title>
  <p>
    An <tag>assemblage</tag> is a collection,
    or summary, that does not have much structure to it.
    So you are limited to paragraphs and friends (<c>p</c>,
    <c>blockquote</c>,
    <c>pre</c>) and side-by-sides that do not contain captioned items
    (<c>sidebyside</c>,
    <c>sbsgroup</c>).
    The intent is that contents are not numbered,
    so cannot be cross-referenced individually,
    and so also do not become knowls.
    You may place <tag>image</tag>, <tag>tabular</tag>,
    and <tag>program</tag> inside a <tag>sidebyside</tag>,
    in addition to other objects that do not have captions.
    Note that <c>p</c> may by extension contain lists
    (<c>ol</c>,
    <c>ul</c>,
    <c>dl</c>).
    Despite limited structure, the presentation should draw attention to it,
    because the contents should be seen as more important in some way.
    It should be
    <q>highlighted</q>
    in some manner.
    If you need to connect the entire assemblage with material elsewhere,
    you can do that with the usual <c>xref/xml:id</c> mechanism.
        <idx><h>assemblage</h></idx>
  </p>
  <p>
    What have we seen so far in this (disorganized) sample?
    <ul>
      <li>
        <p>
          Theorems, definitions and corollaries. (<xref ref="section-fundamental-theorem" text="type-global" />)
        </p>
      </li>
      <li>
        <p>
          Sage cells, including with R. (<xref ref="section-sage-cells" text="type-global" />)
        </p>
      </li>
      <li>
        <p>
          Lots of document structure, like introductions and conclusions
          (next). (<xref ref="interesting-corollary" text="type-global" />)
        </p>
      </li>
    </ul>
  </p>
  <p>
    A sample table,
    as a <c>tabular</c> inside a <c>sidebyside</c> with no caption, follows.
  </p>
  <tabular>
    <row>
      <cell>A</cell>
      <cell>B</cell>
      <cell>C</cell>
    </row>
    <row>
      <cell>Uno</cell>
      <cell>Dos</cell>
      <cell>Tres</cell>
    </row>
  </tabular>
</assemblage>
An <assemblage> is a collection, or summary, that does not have much structure to it. So you are limited to paragraphs and friends (p, blockquote, pre) and side-by-sides that do not contain captioned items (sidebyside, sbsgroup). The intent is that contents are not numbered, so cannot be cross-referenced individually, and so also do not become knowls. You may place <image>, <tabular>, and <program> inside a <sidebyside>, in addition to other objects that do not have captions. Note that p may by extension contain lists (ol, ul, dl). Despite limited structure, the presentation should draw attention to it, because the contents should be seen as more important in some way. It should be “highlighted” in some manner. If you need to connect the entire assemblage with material elsewhere, you can do that with the usual xref/xml:id mechanism.
What have we seen so far in this (disorganized) sample?
  • Theorems, definitions and corollaries. (Section 2)
  • Sage cells, including with R. (Section 3)
  • Lots of document structure, like introductions and conclusions (next). (Section 4)
A sample table, as a tabular inside a sidebyside with no caption, follows.
A B C
Uno Dos Tres
View Source for assemblage
<assemblage>
  <p>
    This is a small <c>assemblage</c> with no title,
    simply to make sure the surrounding box behaves properly,
    especially for <latex /> output.
  </p>
</assemblage>
This is a small assemblage with no title, simply to make sure the surrounding box behaves properly, especially for output.

Assemblages containing \(\mu \forall \tau \mathbb{H} = \emptyset \kappa\).

View Source for assemblage
<assemblage>
  <title>Assemblages containing <m>\mu \forall \tau \mathbb{H} = \emptyset \kappa</m></title>
  <p>
    It is acceptable for an assemblage to contain mathematical content,
    even in its title.
  </p>
</assemblage>
It is acceptable for an assemblage to contain mathematical content, even in its title.

Subsection 4.6 Introductions and Conclusions

View Source for subsection
<subsection xml:id="subsection-intro-conclude">
  <title>Introductions and Conclusions</title>
  <introduction>
    <title>An Introductory Introduction</title>
    <p>
      Any subdivision may have a sequence of paragraphs within an <tag>introduction</tag> that precedes subsequent further subdivisions.
      You are reading one now.
      They are always leaves of the document structure,
      so are rendered on some pages that reference the following subdivisions.
    </p>
    <p>
      An introduction or conclusion is an extremely restrictive container with simple presentation.
      A title is optional
      (and probably not advisable).
      Content is meant to be short and unstructured,
      in particular, nothing that can be numbered is allowed.
      If this feels <em>too</em> restrictive,
      then place your content in an initial numbered subdivision and perhaps title it
      <q>Introduction</q>. Or make your entire subdivion unstructured and place whatever you want into it.
    </p>
    <p>
      This ends this introduction to introductions.
    </p>
  </introduction>
  <subsubsection>
    <title>Test One</title>
    <p>
      An intervening subsubsection just after an introduction.
    </p>
  </subsubsection>
  <subsubsection>
    <title>Test Two</title>
    <p>
      An intervening subsection section which contains an <tag>exercises</tag> division which must be at the level of a Subsubsubsection.
    </p>
    <exercise>
      <statement>
        <p>
          An inline exercise to examine any clash with divisional exercises below.
        </p>
      </statement>
      <answer>
        <p>
          An answer so there is something to appear in a <tag>solutions</tag>.
        </p>
      </answer>
    </exercise>
    <reading-questions>
      <title>What Did You Learn?</title>
      <exercise>
        <statement>
          <p>
            A mock exercise to appease validation.
          </p>
        </statement>
        <answer>
          <p>
            An answer so there is something to appear in a <tag>solutions</tag>.
          </p>
        </answer>
      </exercise>
      <exercise>
        <statement>
          <p>
            And a second to help with formatting the division heading.
          </p>
        </statement>
      </exercise>
    </reading-questions>
    <exercises>
      <exercise>
        <statement>
          <p>
            A mock exercise to appease validation.
          </p>
        </statement>
        <answer>
          <p>
            An answer so there is something to appear in a <tag>solutions</tag>.
          </p>
        </answer>
      </exercise>
      <exercise>
        <statement>
          <p>
            And a second to help with formatting the division heading.
          </p>
        </statement>
      </exercise>
    </exercises>
  </subsubsection>
  <subsubsection>
    <title>Test Three</title>
    <p>
      An intervening subsubsection just before a conclusion.
    </p>
  </subsubsection>
  <conclusion>
    <p>
      Entirely analogous to introductions are conclusions.
      Any subdivision may have a sequence of paragraphs within a <tag>conclusion</tag> that follows previous further subdivisions.
      You are reading one now.
      They are always leaves of the document structure,
      so are rendered on some pages that reference the preceding subdivisions.
    </p>
    <p>
      This concludes this conclusion
      (and this subsection and this section).
    </p>
  </conclusion>
</subsection>

An Introductory Introduction.

Any subdivision may have a sequence of paragraphs within an <introduction> that precedes subsequent further subdivisions. You are reading one now. They are always leaves of the document structure, so are rendered on some pages that reference the following subdivisions.
An introduction or conclusion is an extremely restrictive container with simple presentation. A title is optional (and probably not advisable). Content is meant to be short and unstructured, in particular, nothing that can be numbered is allowed. If this feels too restrictive, then place your content in an initial numbered subdivision and perhaps title it “Introduction”. Or make your entire subdivion unstructured and place whatever you want into it.
This ends this introduction to introductions.

Subsubsection 4.6.1 Test One

View Source for subsubsection
<subsubsection>
  <title>Test One</title>
  <p>
    An intervening subsubsection just after an introduction.
  </p>
</subsubsection>
An intervening subsubsection just after an introduction.

Subsubsection 4.6.2 Test Two

View Source for subsubsection
<subsubsection>
  <title>Test Two</title>
  <p>
    An intervening subsection section which contains an <tag>exercises</tag> division which must be at the level of a Subsubsubsection.
  </p>
  <exercise>
    <statement>
      <p>
        An inline exercise to examine any clash with divisional exercises below.
      </p>
    </statement>
    <answer>
      <p>
        An answer so there is something to appear in a <tag>solutions</tag>.
      </p>
    </answer>
  </exercise>
  <reading-questions>
    <title>What Did You Learn?</title>
    <exercise>
      <statement>
        <p>
          A mock exercise to appease validation.
        </p>
      </statement>
      <answer>
        <p>
          An answer so there is something to appear in a <tag>solutions</tag>.
        </p>
      </answer>
    </exercise>
    <exercise>
      <statement>
        <p>
          And a second to help with formatting the division heading.
        </p>
      </statement>
    </exercise>
  </reading-questions>
  <exercises>
    <exercise>
      <statement>
        <p>
          A mock exercise to appease validation.
        </p>
      </statement>
      <answer>
        <p>
          An answer so there is something to appear in a <tag>solutions</tag>.
        </p>
      </answer>
    </exercise>
    <exercise>
      <statement>
        <p>
          And a second to help with formatting the division heading.
        </p>
      </statement>
    </exercise>
  </exercises>
</subsubsection>
An intervening subsection section which contains an <exercises> division which must be at the level of a Subsubsubsection.
Checkpoint 4.16.
View Source for exercise
<exercise>
  <statement>
    <p>
      An inline exercise to examine any clash with divisional exercises below.
    </p>
  </statement>
  <answer>
    <p>
      An answer so there is something to appear in a <tag>solutions</tag>.
    </p>
  </answer>
</exercise>
An inline exercise to examine any clash with divisional exercises below.
Answer.
View Source for answer
<answer>
  <p>
    An answer so there is something to appear in a <tag>solutions</tag>.
  </p>
</answer>
An answer so there is something to appear in a <solutions>.
Reading Questions What Did You Learn?
View Source for reading-questions
<reading-questions>
  <title>What Did You Learn?</title>
  <exercise>
    <statement>
      <p>
        A mock exercise to appease validation.
      </p>
    </statement>
    <answer>
      <p>
        An answer so there is something to appear in a <tag>solutions</tag>.
      </p>
    </answer>
  </exercise>
  <exercise>
    <statement>
      <p>
        And a second to help with formatting the division heading.
      </p>
    </statement>
  </exercise>
</reading-questions>
1.
View Source for exercise
<exercise>
  <statement>
    <p>
      A mock exercise to appease validation.
    </p>
  </statement>
  <answer>
    <p>
      An answer so there is something to appear in a <tag>solutions</tag>.
    </p>
  </answer>
</exercise>
A mock exercise to appease validation.
Answer.
View Source for answer
<answer>
  <p>
    An answer so there is something to appear in a <tag>solutions</tag>.
  </p>
</answer>
An answer so there is something to appear in a <solutions>.
2.
View Source for exercise
<exercise>
  <statement>
    <p>
      And a second to help with formatting the division heading.
    </p>
  </statement>
</exercise>
And a second to help with formatting the division heading.
Exercises Exercises
View Source for exercises
<exercises>
  <exercise>
    <statement>
      <p>
        A mock exercise to appease validation.
      </p>
    </statement>
    <answer>
      <p>
        An answer so there is something to appear in a <tag>solutions</tag>.
      </p>
    </answer>
  </exercise>
  <exercise>
    <statement>
      <p>
        And a second to help with formatting the division heading.
      </p>
    </statement>
  </exercise>
</exercises>
1.
View Source for exercise
<exercise>
  <statement>
    <p>
      A mock exercise to appease validation.
    </p>
  </statement>
  <answer>
    <p>
      An answer so there is something to appear in a <tag>solutions</tag>.
    </p>
  </answer>
</exercise>
A mock exercise to appease validation.
Answer.
View Source for answer
<answer>
  <p>
    An answer so there is something to appear in a <tag>solutions</tag>.
  </p>
</answer>
An answer so there is something to appear in a <solutions>.
2.
View Source for exercise
<exercise>
  <statement>
    <p>
      And a second to help with formatting the division heading.
    </p>
  </statement>
</exercise>
And a second to help with formatting the division heading.

Subsubsection 4.6.3 Test Three

View Source for subsubsection
<subsubsection>
  <title>Test Three</title>
  <p>
    An intervening subsubsection just before a conclusion.
  </p>
</subsubsection>
An intervening subsubsection just before a conclusion.
Entirely analogous to introductions are conclusions. Any subdivision may have a sequence of paragraphs within a <conclusion> that follows previous further subdivisions. You are reading one now. They are always leaves of the document structure, so are rendered on some pages that reference the preceding subdivisions.
This concludes this conclusion (and this subsection and this section).

Subsection 4.7 Some Paragraph-Level Markup

View Source for subsection
<subsection xml:id="subsection-paragraph-markup">
  <title>Some Paragraph-Level Markup</title>
  <p>
    Text within a paragraph may be <em>emphasized</em>
        <idx><h>em</h><h>emphasis</h></idx>
        <idx><h>styling words</h><h>em</h></idx>
        <idx><h>styling words</h><h>emphasis</h></idx>
    with <tag>em</tag> or if you want to take it to the next level you can identify the text as an
    <alert>alert</alert>
        <idx>alert</idx>
        <idx><h>styling words</h><h>alert</h></idx>
    with <tag>alert</tag>.
  </p>
  <p>
    Similarly, within a paragraph,
    you can identify edits between versions as <insert>inserted text that has been added</insert><idx><h>styling words</h><h>insert</h></idx> with <tag>insert</tag> or as <delete>deleted text that has been removed</delete><idx><h>styling words</h><h>delete</h></idx> with <tag>delete</tag>.
    Note that these identified edits are slightly different than <stale>stale text that you want to retain,
    but which is no longer relevant</stale>,
        <idx><h>styling words</h><h>stale</h></idx>
    which is accomplished with <tag>stale</tag>.
    The original request for stale text came from an instructor with an online list of student topics for presentations,
    and as students claimed topics they were marked as no longer available for other students.
  </p>
  <p>
    If you need a
    <q>fill-in blank</q>, like this <fillin />, it can be obtained with an empty <tag>fillin</tag> element that defaults to roughly a 10-character width.
    You can use the <attr>characters</attr> attribute to make the rule longer or shorter,
    such as a 40-character blank:
    <fillin characters="40" />.
    The character count is approximate,
    based on typical character widths within a proportional font carrying English language text.
    Adjust to suit,
    or request a language-specific adjustment if it is critical.
  </p>
  <p>
    This paragraph is intended to make a <tag>fillin</tag> appear right at the start of <fillin characters="20" /> the second line in print and then the next paragraph has nothing but a <tag>fillin</tag>.
    Both are for testing purposes.
  </p>
  <p>
    <fillin characters="5" />
  </p>
  <p>
    The following are <tag>fillin</tag> with <attr>rows</attr> and/or <attr>cols</attr> attributes (at least one of which is greater than 1):
    <fillin rows="2" />, <fillin cols="3" />, <fillin rows="2" cols="3" />.
  </p>
  <p>
    Long after we started this mess,
    we added <pretext /> tags to mark up tags and attributes.
    The elements are: <tag>tag</tag>,
    <tag>tage</tag>, <tag>attr</tag>.
    Examples of how these render are (respectively):
    <tag>section</tag>, <tage>hash</tage>, <attr>width</attr>.
    Perhaps this document will make greater use of these tags.
  </p>
  <p>
    We supply two provisional cross-references for testing purposes only:
    <xref provisional="a first incomplete cross-reference" />,
    <xref provisional="a second incomplete cross-reference" />.
  </p>
</subsection>
Text within a paragraph may be emphasized with <em> or if you want to take it to the next level you can identify the text as an alert with <alert>.
Similarly, within a paragraph, you can identify edits between versions as inserted text that has been added with <insert> or as deleted text that has been removed with <delete>. Note that these identified edits are slightly different than stale text that you want to retain, but which is no longer relevant, which is accomplished with <stale>. The original request for stale text came from an instructor with an online list of student topics for presentations, and as students claimed topics they were marked as no longer available for other students.
If you need a “fill-in blank”, like this , it can be obtained with an empty <fillin> element that defaults to roughly a 10-character width. You can use the @characters attribute to make the rule longer or shorter, such as a 40-character blank: . The character count is approximate, based on typical character widths within a proportional font carrying English language text. Adjust to suit, or request a language-specific adjustment if it is critical.
This paragraph is intended to make a <fillin> appear right at the start of the second line in print and then the next paragraph has nothing but a <fillin>. Both are for testing purposes.
The following are <fillin> with @rows and/or @cols attributes (at least one of which is greater than 1): (2 × 1 array), (1 × 3 array), (2 × 3 array).
Long after we started this mess, we added PreTeXt tags to mark up tags and attributes. The elements are: <tag>, <tage>, <attr>. Examples of how these render are (respectively): <section>, <hash/>, @width. Perhaps this document will make greater use of these tags.
We supply two provisional cross-references for testing purposes only: [provisional cross-reference: a first incomplete cross-reference], [provisional cross-reference: a second incomplete cross-reference].
A conclusion here, which we fill with some numbering tests.
This is a cross-reference to one of the outcomes, forced to use the type-global form of the text. It should describe the outcome as belonging to the section (rather than the outcomes), since outcomes are one-per-subdivision and are numbered based upon the containing division: Outcome 2 of Section 4. For comparison this is the (forced) type-global cross-reference: Outcome 4.2.