This demo file (adapted from HELM 7.1.4.2) has matrix answers in a <p> paragraph tag that wrap the input boxes in the next line from the lead-in text.
The key snippet is:
For the following matrices find \(A+B,\ A-B,\ B-A,\ 2A\):
<p>\[A = {@mat1@} \text{ and } B = {@mat2@}.\]</p>
<p>\(A+B = \) [[input:ans1]] [[validation:ans1]][[feedback:prt1]]</p>
<p>\(A-B = \) [[input:ans2]] [[validation:ans2]][[feedback:prt2]]<br></p>
<div>\(B-A = \) [[input:ans3]] [[validation:ans3]][[feedback:prt3]]<br></div>
<div>\(2A = \) [[input:ans4]] [[validation:ans4]][[feedback:prt4]]
Which renders on the STACK API as:
This does not happen in a <div> environment (see the third and fourth lines above).
If this is expected behaviour, is the best practise to wrap these lines in only a <div>?
Cheers
This demo file (adapted from HELM 7.1.4.2) has matrix answers in a
<p>paragraph tag that wrap the input boxes in the next line from the lead-in text.The key snippet is:
Which renders on the STACK API as:
This does not happen in a
<div>environment (see the third and fourth lines above).If this is expected behaviour, is the best practise to wrap these lines in only a
<div>?Cheers