From: Wolfgang Schuster <wolfgang.schuster.lists@gmail.com>
To: mailing list for ConTeXt users <ntg-context@ntg.nl>,
Felix <fm117575@students.panola.edu>
Subject: [NTG-context] Re: ConTeXt LMTX 2024, \setupalign: Is the "Nicer justification and microtypography" list of options listed in ConTeXt Garden now obselete?
Date: Sat, 14 Sep 2024 10:35:39 +0200 [thread overview]
Message-ID: <afcf4a3f-dced-69b7-9012-977c4d8dd498@gmail.com> (raw)
In-Reply-To: <172628722315.1697.6419135992843703812@cgl.ntg.nl>
Felix schrieb am 14.09.2024 um 06:13:
> When I try to use a combination (example =
> \setupalign[normal,extremestretch,verytolerant,hangingboth,fullhz,hyphenated,]
> )
>
> and just normal
>
> I seem to be getting the same result when I try to load in a big paragraph. However, there is an obvious difference between me entering (just) flushleft, normal, flushright.
>
> Have those options become obsolete? how am I supposed to know?
Whether there is a difference or not depends on your text, when you have
a wide
text block and short words TeX can produce good results without the need for
additional parameters but when you have a narrow text blocks (e.g. for
text in
columns) or long words you need additional settings.
The example below shows how different options can result in different
line breaks
but not all sample text produce the same effect, sometimes you get the
same result
with and without verytolerant etc.
Don't forget to enable expansion and protrusion before you use the
hanging and hz
options because they need these font features.
%%%% begin example
\definefontfeature [default] [default]
[expansion=quality,protrusion=quality]
\setuppapersize [A5]
\defineframed
[Example]
[width=max,
offset=none,
framecolor=lightgray]
\starttext
\startprocesscommalist[normal,{normal,verytolerant},{normal,stretch},{normal,hanging},{normal,hz}]
\starttitle[title=\currentcommalistitem]
\startframed[Example][align=\currentcommalistitem]
\samplefile{tufte}
\stopframed
\stoptitle
\stopprocesscommalist
\stoptext
%%%% end example
Wolfgang
___________________________________________________________________________________
If your question is of interest to others as well, please add an entry to the Wiki!
maillist : ntg-context@ntg.nl / https://mailman.ntg.nl/mailman3/lists/ntg-context.ntg.nl
webpage : https://www.pragma-ade.nl / https://context.aanhet.net (mirror)
archive : https://github.com/contextgarden/context
wiki : https://wiki.contextgarden.net
___________________________________________________________________________________
prev parent reply other threads:[~2024-09-14 8:37 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2024-09-14 4:13 [NTG-context] " Felix
2024-09-14 8:35 ` Wolfgang Schuster [this message]
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=afcf4a3f-dced-69b7-9012-977c4d8dd498@gmail.com \
--to=wolfgang.schuster.lists@gmail.com \
--cc=fm117575@students.panola.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).