Hi,
in my ConTeXt book, some examples for \framed with rounded corners look
odd, as if the MetaPost calculation of rounded corners fails.
I can’t find a minimal example that shows the problem, and I can’t
imagine which of the settings in my extensive environment would cause it.
Find below
On Tue, 5 Dec 2023 20:06:46 +0100
Wolfgang Schuster wrote:
> > That doesn't make sense, inch and mm are different units. I'd rather
> > add:
> >
> >\registerunit
> > [inHg=inchmercury]
> >
> >\setupunittext
> > [en]
> > [inchmercury=inHg]
>
> It's just a stupid example
Marco Patzer schrieb am 05.12.2023 um 19:58:
\setupunittext[en][millimetermercury=inHg]
That doesn't make sense, inch and mm are different units. I'd rather
add:
\registerunit
[inHg=inchmercury]
\setupunittext
[en]
[inchmercury=inHg]
It's just a stupid example to show
On Tue, 5 Dec 2023 17:27:59 +0100
Wolfgang Schuster wrote:
> None of your examples work because millimetermercury and mercury are
> the names for the labels
> and the units are accessed with hg and mmhg.
Ok, that makes sense. And it works, thanks for the explanation and
the quick reply.
>
Marco Patzer schrieb am 05.12.2023 um 15:19:
Hi!
I'm struggling with the rendering of a particular liquid metal:
%% renders as m (meter), not as Hg
\unit{mercury}
%% renders as mm·m, not as mmHg
\unit{millimetermercury}
This is strange, since both “mercury” and
Dear Hraban,
It was \startnarrower \stopnarrower, I put it out, now it is perfekt. I also
send the pdf.
Many thanks.
Uschi
-Ursprüngliche Nachricht-
Von: Henning Hraban Ramm
Gesendet: Dienstag, 05. Dezember 2023 15:47
An: ntg-context@ntg.nl
Betreff: [NTG-context] Re: Colored
Hi Uschi,
unfortunately you also forgot the source code.
I’m not sure if the examples in the wiki are good – the combination with
\startnarrower might be a problem.
Maybe setting the width helps (e.g. to \makeupwidth).
Hraban
Am 05.12.23 um 15:29 schrieb Ursula Hermann:
Dear Hraban,
Sorry,
Dear Hraban,
Sorry, forgot my name
Uschi
-Ursprüngliche Nachricht-
Von: Ursula Hermann
Gesendet: Dienstag, 05. Dezember 2023 15:27
An: 'mailing list for ConTeXt users'
Betreff: AW: [NTG-context] Re: Colored Paragraph
Dear Hraban,
I have tried it now, I have sent you the pdf. This
Dear Hraban,
I have tried it now, I have sent you the pdf. This works. But the paragraph
should fill the whole blackrule.
-Ursprüngliche Nachricht-
Von: Henning Hraban Ramm
Gesendet: Dienstag, 05. Dezember 2023 14:58
An: mailing list for ConTeXt users
Betreff: [NTG-context] Re:
Hi!
I'm struggling with the rendering of a particular liquid metal:
%% renders as m (meter), not as Hg
\unit{mercury}
%% renders as mm·m, not as mmHg
\unit{millimetermercury}
This is strange, since both “mercury” and “millimetermercury” are
defined in phys-dim.lua. To get mercury
Am 05.12.23 um 14:16 schrieb Ursula Hermann:
The paragraph should have a color in the background. How can I get an
colored paragraph?
Did you try \definetextbackground?
https://wiki.contextgarden.net/TextBackground
https://wiki.contextgarden.net/Command/definetextbackground
Hraban
Dear List,
i have this example:
\setupbodyfont[modern,10pt]
\definemargindata [MyInMargin][inright]
\definemarginframed[MyInMargin][topframe=on,bottomframe=on,rulethickness=1pt,width=1cm]
\defineenumeration
[theorem]
[
text=Theorem,
title=yes,
width=fit,
distance=0.5em,
12 matches
Mail list logo