[NTG-context] right item marks for associative questions?

śrīrāma citturs at gmail.com
Tue Apr 12 07:48:12 CEST 2022

On 4/12/22 12:16 AM Damien Thiriet via ntg-context wrote:
> Hi!
> I am used to giving associative questions to my pupils,
> something like
> * connect the author with its ideas
> Friedrich Nietzsche *      * "God is dead"
> Woody Allen *              * "Nietzsche is dead, God is dead 
>                               and I don't feel so good"
> God *                      * "Nietzsche is dead"
> I design it as a two-cells xtable with itemized lists inside.
> How can I have the item mark on the right side?

If you are certain that the there will be no multi-line item (i.e. item text is short enough that it fits in slightly less than half of textwidth) you can use an enumeration, and put the contents inside a two-column layout:

%%% start example-1

      whatever left

      whatever right
%%% stop example-1

[You can tweak the alternative, align, closesymbol, closecommand to get exactly what you want; the example above will give a somewhat symmetric layout]

More generally, if the text can multi-line, then I think TABLE (with proper alignment options) might be better-suited:

%%% start example-2
  \define[1]\metI{\bTR \bTD #1 \eTD \bTD (\character{\currentTABLErow}) \eTD}
  \define[1]\Item{\bTD (\currentTABLErow) \eTD \bTD #1 \eTD  \eTR}

  \metI {whatever here on the left}
  \Item {whatever here on the right}
%%% stop example-2


More information about the ntg-context mailing list