From: Henning Hraban Ramm via ntg-context <ntg-context@ntg.nl>
To: mailing list for ConTeXt users <ntg-context@ntg.nl>
Cc: Henning Hraban Ramm <texml@fiee.net>
Subject: tabulate with lp columns
Date: Sun, 19 Sep 2021 12:44:41 +0200 [thread overview]
Message-ID: <25E609B1-3655-4594-A959-D548916B1AC9@fiee.net> (raw)
There are some problems in the following MWEs.
First example looks the same with MkIV and LMTX, second uses \NS that is only in LMTX.
The first column is justified even if it’s defined as left aligned; this happens also with a simple "l" column. With "p" the width is ignored.
With \NS the alignment is also wrong in the same way.
\starttext
\starttabulate[|lp(.2\textwidth)|lp(.2\textwidth)|lp(.2\textwidth)|lp(.2\textwidth)|]
Default \NC Linux \NC MacOS \NC Windows \NC\NR
\HL
Text Proc \NC LibreOffice \NC Apple Pages \NC MS Office (Word) \NC\NR
PDF Viewer\NC Evince \NC Preview \NC Edge \NC\NR
\stoptabulate
\starttabulate[|lp(.2\textwidth)|lp(.2\textwidth)|lp(.2\textwidth)|lp(.2\textwidth)|]
Default \NC Linux \NC MacOS \NC Windows \NC\NR
\HL
Text processor \NS[3][l] LibreOffice or else \NC\NR
Drawing \NS[2][lp(.4\textwidth)] Inkscape \NC Corel Draw \NC\NR
Simple Editor \NC Nano \NC TextEdit \NC Notepad \NC\NR
\stoptabulate
\stoptext
Additional question: How would I define those columns to use the whole \textwidth ?
Hraban
___________________________________________________________________________________
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://context.aanhet.net
archive : https://bitbucket.org/phg/context-mirror/commits/
wiki : http://contextgarden.net
___________________________________________________________________________________
next reply other threads:[~2021-09-19 10:44 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2021-09-19 10:44 Henning Hraban Ramm via ntg-context [this message]
2021-09-19 11:01 ` Wolfgang Schuster via ntg-context
2021-09-19 11:14 ` Henning Hraban Ramm via ntg-context
2021-09-19 11:27 ` Wolfgang Schuster via ntg-context
2021-09-19 11:36 ` Henning Hraban Ramm via ntg-context
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=25E609B1-3655-4594-A959-D548916B1AC9@fiee.net \
--to=ntg-context@ntg.nl \
--cc=texml@fiee.net \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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).