From: Idris Samawi Hamid <ishamid@lamar.colostate.edu>
Subject: alignment issues
Date: Sun, 8 May 2005 21:16:34 -0600 [thread overview]
Message-ID: <42B74E00@webmail.colostate.edu> (raw)
Dear cartel,
Two problems (annoyances?) with alignment,:
PROBLEM 1: \startalignment[left] creates a spurious underfull hbox:
=======================
% output=pdf interface=en
\starttext
\startalignment[left]
This is a test of alignment.
\stopalignment
\stoptext
=======================
log:
=======================
Underfull \hbox (badness 10000) in paragraph at lines 7--8
[]\*12ptrmtf* This is a test of align-ment.
\hbox(8.26648+2.33331)x426.78743, glue set 12.00853
.\glue(\leftskip) 0.0 plus 24.0
.\hbox(0.0+0.0)x0.0
.\*12ptrmtf* T
.\*12ptrmtf* h
.\*12ptrmtf* i
.etc.
=======================
The other three alignments (see below) do not have this problem;
PROBLEM 2: I think this may have came up a couple of years ago as well, don't
remember if there was ever a resolution...
The options to \start-\stopalignment are inconsistent and, in my view,
contrary to common sense-). Try
=======================
% output=pdf interface=en
\starttext
\rightaligned{This is a test of right alignment.}
\startalignment[right]
This is a test of right alignment.
\stopalignment
\blank[big]
\leftaligned{This is a test of left alignment.}
\startalignment[left]
This is a test of left alignment.
\stopalignment
\stoptext
=======================
\startalignment[right] does the opposite of \rightaligned; ditto for
\startalignment[right] and \leftaligned.
\rightaligned and \leftaligned are correct in my view.
Aside: As ConTeXt develops bidi support, we need alternatives to [left] and
[right] anyway. But it is still apparently inconsistent as it stands (with
emphasis on `apparently' since I am missing/have forgotten the point of why
things behave like this).
Best
Idris
============================
Professor Idris Samawi Hamid
Department of Philosophy
Colorado State University
Fort Collins, CO 80523
next reply other threads:[~2005-05-09 3:16 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2005-05-09 3:16 Idris Samawi Hamid [this message]
2005-05-09 6:35 ` Otared Kavian
2005-05-09 7:02 ` Taco Hoekwater
2005-05-09 15:42 Idris Samawi Hamid
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=42B74E00@webmail.colostate.edu \
--to=ishamid@lamar.colostate.edu \
--cc=ntg-context@ntg.nl \
/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).