ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
* text alignment in table
@ 2015-04-07 15:40 John Culleton
  2015-04-07 16:31 ` Thomas Floeren
  2015-04-07 16:38 ` Aditya Mahajan
  0 siblings, 2 replies; 3+ messages in thread
From: John Culleton @ 2015-04-07 15:40 UTC (permalink / raw)
  To: mailing list for ConTeXt users, Hans Hagen

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.

I also tried the table variation in chapter
twenty-two of  "The TeXbook". That doesn't work
in MKIV. 

My last resort is to introduce a one page pdf from
the InDesign-created pdf. But the must be a
Context solution.


-- 
John Culleton
Wexford Press
Free list of books for self-publishers:
http://wexfordpress.net/shortlist.html
Updated PDF e-book: "Create Book Covers with
Scribus 1.4.5" coming soon at
http://www.booklocker.com/!
___________________________________________________________________________________
If your question is of interest to others as well, please add an entry to the Wiki!

maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : http://www.pragma-ade.nl / http://tex.aanhet.net
archive  : http://foundry.supelec.fr/projects/contextrev/
wiki     : http://contextgarden.net
___________________________________________________________________________________

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: text alignment in table
  2015-04-07 15:40 text alignment in table John Culleton
@ 2015-04-07 16:31 ` Thomas Floeren
  2015-04-07 16:38 ` Aditya Mahajan
  1 sibling, 0 replies; 3+ messages in thread
From: Thomas Floeren @ 2015-04-07 16:31 UTC (permalink / raw)
  To: mailing list for ConTeXt users

On 7 Apr 2015, at 17:40, 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.
>

A missing `|`

\starttabulate[|l|l|]

-- 
Thomas


___________________________________________________________________________________
If your question is of interest to others as well, please add an entry to the Wiki!

maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : http://www.pragma-ade.nl / http://tex.aanhet.net
archive  : http://foundry.supelec.fr/projects/contextrev/
wiki     : http://contextgarden.net
___________________________________________________________________________________

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: text alignment in table
  2015-04-07 15:40 text alignment in table John Culleton
  2015-04-07 16:31 ` Thomas Floeren
@ 2015-04-07 16:38 ` Aditya Mahajan
  1 sibling, 0 replies; 3+ messages in thread
From: Aditya Mahajan @ 2015-04-07 16:38 UTC (permalink / raw)
  To: mailing list for ConTeXt users

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
___________________________________________________________________________________
If your question is of interest to others as well, please add an entry to the Wiki!

maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : http://www.pragma-ade.nl / http://tex.aanhet.net
archive  : http://foundry.supelec.fr/projects/contextrev/
wiki     : http://contextgarden.net
___________________________________________________________________________________

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2015-04-07 16:38 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2015-04-07 15:40 text alignment in table John Culleton
2015-04-07 16:31 ` Thomas Floeren
2015-04-07 16:38 ` Aditya Mahajan

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).