Am 21.11.22 um 23:08 schrieb Max Chernoff via ntg-context:
The TeXbook recommends that you wrap the comma in curly braces
$x = 1{,}000$
but there's probably a ConTeXt \setupxxx command that would have the same
effect.
Use \digits:
https://wiki.contextgarden.net/Command/digits
Hi Hans,
> what you observe is likely a side effect of an increase in accuracy
> which gives a bit less drift in the pdf; expansion is turned off (it
> would increase runtime if turned on)
It's not just in the PDF though, I can also see the change from Lua.
Using this document:
Hi Jan,
> Why is there an additional space after the thousand separator in math mode?
Because something like
${\mathbb N} = \{1,2,3,4,\dots\}$
would look quite bad without any space between the numbers.
(The technical reason is that commas have the math class \mathpunct,
meaning that
Hi Steffen,
> But how can I adjust in general the horizontal distance between glyphs
> (I don't mean \kern, I am looking for a general setup)?
You probably want \definecharacterkerning. See
https://www.pragma-ade.nl/general/manuals/fonts-mkiv.pdf#page=171
for details on how to use it.
--
Dear list,
Two silly short questions.
Why is there an additional space after the thousand separator in math mode?
And what can I do to get rid of the additional space?
\starttext
1,000
\blank
$1,000$
\stoptext
Kind regards,
Jan Willem Flamma
Hi,
these line can modify the space between words:
\installtolerancemethod
{horizontal}
{MySpace}
{\spaceskip2.75pt plus1.60pt minus1.10pt\relax}
\setupalign[line,block]\setfalse\raggedonelinerstate% kein hz=expansion mehr?
\setuptolerance[MySpace]
But how can I adjust in general the
Dear list,
With the following MWE I end up with big gaps between margin figures in an
itemized list. Is there a way to remove that space in the text and place
the figures in the margin one below the other the best one can?
\setuppagenumbering
[alternative=doublesided, location=margin]
On 11/21/2022 10:20 AM, Max Chernoff via ntg-context wrote:
Hi Hans,
Font expansion (hz) seems to be enabled by default with the latest
upload.
If I compile this document locally with ConTeXt "2022.11.18 13:22":
\showframe
% \definefontfeature[default][default][expansion=quality]
Hi Hans,
Font expansion (hz) seems to be enabled by default with the latest
upload.
If I compile this document locally with ConTeXt "2022.11.18 13:22":
\showframe
% \definefontfeature[default][default][expansion=quality]
% \usetypescript[modern-base]
%
On 11/20/22 19:19, Thomas A. Schmitz via ntg-context wrote:
I load data from an external xml file (not the one I'm processing) and
store some of it in a lua table.
local examples = lxml.load ("my_examples", "examples.xml")
Replying to myself, and sorry for the noise (this was fairly easy,
10 matches
Mail list logo