Exercise columns without exercise groups?

6 views
Skip to first unread message

Sean Fitzpatrick

unread,
Jul 24, 2023, 12:42:00 PM7/24/23
to PreTeXt support
I know that for divisional exercises, it is possible to use a construct like 
<exercisegroup cols="2">
to organize exercises into two columns.

But exercises not in an exercise group do not get orgainzed this way.

Is it possible to apply the two column layout across the entire <exercises> division?

Our exercises are structured as follows:

<exercises>
<subexercises>
<title>Terms and Concepts</title>
....
</subexercises>
<subexercises>
<title>Problems</title>
...
...
...
</subexercises>
</exercises>

Most exercises are in the 'Problems' division, and most of those are in exercise groups.

But I would like to use a two column layout for the 'Terms and Concepts' subexercises as well. I could wrap them in an exercise group, but this addes a superfluous heading.

(I guess I could try renaming exercisegroup to the empty string?)

Rob Beezer

unread,
Jul 25, 2023, 3:16:50 AM7/25/23
to pretext...@googlegroups.com
Putting exercises into columns is rough. Work for CSS and a struggle for LaTeX. Then folks propose ignoring the request in HTML.

There is a proposal (from Bruce Y) (issue?) to put an entire "exercises" into two-column format, which I am willing to entertain. Someday.

Never thought about it, but an "exercisegroup" along the way is going to complicate that work.

Anyway, this is unlikely to bubble to the top anytime soon. If there is not an issue, could make one? You could point to this thread or liberally cut/paste.

Thanks,
Rob
Reply all
Reply to author
Forward
0 new messages