[NTG-context] text alignment in table

Aditya Mahajan adityam at umich.edu
Tue Apr 7 18:38:53 CEST 2015


On Tue, 7 Apr 2015, John Culleton wrote:

> Given this table:
> \starttabulate[|l|l]
> \NC 8:00\emdash noon \NC Ordering/opening/training\NR 
> \NC \NC Food~preparation\NC\NR 
> \NC Noon\emdash 2:00 PM \NC Luncheon~sales\NR
> \NC 2:00 PM\emdash 7:00 PM \NC General administration/baking \NR
> \NC \NC Supplier meeting (this is you) \NC\NR 
> \stoptabulate
> ----------------------------
> the Word "Food" is left justified in the
> column (good) and the word "preparation"
> is right justified (bad). The same problem occurs
> in the string "Luncheon sales." The glyph "~"
> doesn't help.

The syntax is

\starttabulate[|l|l|]
   \NC .. \NC ... \NC \NR
   \NC .. \NC ... \NC \NR
\stoptabulate

You do not have enough \NC-s in all rows.

Aditya


More information about the ntg-context mailing list