}
\input knuth
\input knuth \stopBook{\setupcolors[textcolor=darkred] ending the
second one}
\input knuth
\input knuth
\stoptext
textcolor colored only the symbol in the text!
\color[darkgreen] gives an error.
\setupcolors... works.
2. In the normal case I got a number (1) but
}
\input knuth
\input knuth \stopBook{\setupcolors[textcolor=darkred] ending the
second one}
\input knuth
\input knuth
\stoptext
textcolor colored only the symbol in the text!
\color[darkgreen] gives an error.
\setupcolors... works.
2. In the normal case I got a number (1) but I do not
{\setupcolors[textcolor=darkred] ending the
second one}
\input knuth
\input knuth
\stoptext
textcolor colored only the symbol in the text!
\color[darkgreen] gives an error.
\setupcolors... works.
2. In the normal case I got a number (1) but I do not want anything.
And the third problem is:
If
there are several
approaches possible.
– The colored area must “bleed” over the edge of the paper (usually 2–3
mm), i.e. you must use the second parameter of \setuppaper for the sheet
size.
– It makes sense to use a layer for placement and a \framed for the box,
i.e. \setlayerframed.
– It makes sense
within that section.
– Its setup should probably be triggered by \setuphead or maybe
\setupheader, but there’s nothing ready-made and there are several
approaches possible.
– The colored area must “bleed” over the edge of the paper (usually 2–3
mm), i.e. you must use the second parameter of
sure about variants and that's something we're still exploring
>
> also, right now i'm in a "context squid" mode (for the upcoming meeting)
Many thanks for the reply, Hans.
Good to know that you are in another mode.
>> Colored background (with even white fore
), it is harder to notice.
Colored background (with even white foreground color) is far easier to
notice.
but also quite ugly (and it will add runtime)
Hans
-
Hans Hagen | PRAGMA ADE
ly one), it is harder to notice.
Colored background (with even white foreground color) is far easier to
notice.
Many thanks for your help,
Pablo
___
If your question is of interest to others as well, please add an entry
Am 27.01.2025 um 20:50 schrieb garu...@azules.eu:
Is this the expected behaviour?
I don't think so because not all methods show this behaviour.
begin example
\starttext
\setupdelimitedtext [quote] [color=red]
\quote{Some text}
\setupdelimitedtext [quote] [location=paragraph]
\quote{So
Is this the expected behaviour?
>From an observation from
>https://wiki.contextgarden.net/Text_blocks/Environments/Quotes#Directly
\starttext
\quote{Some text}
\setupdelimitedtext
[quote]
[color=red]
\quote{Some text}
\setupdelimitedtext
[quote]
[symcolor=red]
\quote{Some text}
\stopt
ant. Your original example made an image and colored
white over part of the path. It doesn’t look great. It can be improved by
making the white pen bigger:
pic := image(draw p; draw q withpen pencircle scaled 0.6 withcolor white;);
I’m not sure this gives what you want at the ends, but it certainly h
back to
> > > > the
> > > (first?) citation within the text.
> > > A side effect is that the whole reference entry is colored in the
> > > link color.>
> > > Is there a possibility to deactivate the back linking or limit it
> > > to the key?
that the whole reference entry is colored in the
> > link color.>
> > Is there a possibility to deactivate the back linking or limit it to
> > the key?
> Hi Gerion,
>
> \setupbtx[interaction=stop] disables all interaction.
>
> Other values are: number text page a
On 10/6/24 04:37, Gerion Entrup wrote:
> Hi,
> > when typesetting bibliographies, ConTeXt seems to link back to the
> (first?) citation within the text.
> A side effect is that the whole reference entry is colored in the
> link color.>
> Is there a possibility to deacti
Hi,
when typesetting bibliographies, ConTeXt seems to link back to the (first?)
citation within the text.
A side effect is that the whole reference entry is colored in the link color.
Is there a possibility to deactivate the back linking or limit it to the key?
This is also relevant, when the
e quotation marks in the first place.
>
> e.g. There are always better/simpler ways to achieve the story to be
> told. Trace back to the underlying idea as why these drop capitals were
> invented in the first place. Most likely to visually separate blocs of
> mono colored bread text
first place. Most likely to visually separate blocs of
mono colored bread text with the lead characters from the drawer below.
These days there are (better) alternatives to solve the issue of
separation text paragraphs.
(avoiding a problem instead of trying to solve it afterwards)
.F
Hans Hagen | PRAGMA ADE
Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
tel: 038 477 53 69 | www.pragma-ade.nl | www.pragma-pod.nl
-
\starttext
\startTEXpage[offset=1pt]
\colored[a=1,t=.5,r=
On 2/21/2024 7:47 PM, Henning Hraban Ramm wrote:
Am 21.02.24 um 19:43 schrieb Wolfgang Schuster:
… but it would be visible on a colored background. I’m sure you can
show me a better way…
\startuseMPgraphic{dottedborder}
draw bottomboundary OverlayBox withpen pencircle scaled 2 dashed
Am 21.02.24 um 19:43 schrieb Wolfgang Schuster:
… but it would be visible on a colored background. I’m sure you can
show me a better way…
\startuseMPgraphic{dottedborder}
draw bottomboundary OverlayBox withpen pencircle scaled 2 dashed
withdots withcolor "red";
setbounds curr
d 2 dashed
withdots withcolor "red";
\stopuseMPgraphic
… but it would be visible on a colored background. I’m sure you can show
me a better way…
\startuseMPgraphic{dottedborder}
draw bottomboundary OverlayBox withpen pencircle scaled 2 dashed
withdots withcolor "red";
seMPgraphic
… but it would be visible on a colored background. I’m sure you can show
me a better way…
My real life example (p.2 in https://yemaya.fiee.net/s/DEEHs5m49yftiqW)
involves sketchy lines, and there it’s a bit annoying that the row is
not its own frame that could get a continuous backg
Am 17.01.24 um 22:20 schrieb vm via ntg-context:
Is there a (hidden) option that allows for changing the font color of
external included pdfs
\copypages[file.pdf][color=blue]
does not work as intended ;-)
No, it can’t.
You can try to use transparency: put a colored area on top of the PDF
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
, 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 works. But the
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
: Colored Paragraph
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/definetextback
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
Hasselt his consent in
1486.
\blank
Other cities in the neighbourhood of Hasselt were afraid of the
toll money to be paid when crossing this bridge so they
prevented the construction for many years.
\stopparagraph
\stoptext
The paragraph should have a color in the background. How can I get an colored
ypeset text
Hm, ok. Since almfixed is based on Knuth's mono, perhaps its visuals of the
control characters can be extracted and used as fallback symbols.
Yes: For typeset text/printing visualization is generally unnecessary (the
point of this thread).
2. \enabletrackers[typesetters.nbsp]
so much typeset text
2. \enabletrackers[typesetters.nbsp] gives a colored box, which is at least
something.. But how can we get the NBSP symbol that's alerady in the font?
it's gone by that time ... the line break mmechanism uses glue, not
characters
3. Ideally:
a. we want all U
fallback font one uses, as long as it has no
control-character symbols.
1. Can this approach be generalized to get what we want, viz., a way to toggle
the symbols?
2. \enabletrackers[typesetters.nbsp] gives a colored box, which is at least
something.. But how can we get the NBSP symbol that'
On 5/23/2023 11:31 PM, Max Chernoff via ntg-context wrote:
Hi Hans,
I tried using the code from [1] for Noto Emoji in COLRv1 format [2]:
\startTEXpage
\definefontfeature[colored][default][colr=9]
\definedfont[Noto-COLRv1.ttf*colored] 🦆 % U+1F986
\stopTEXpage
but
Hi Hans,
I tried using the code from [1] for Noto Emoji in COLRv1 format [2]:
\startTEXpage
\definefontfeature[colored][default][colr=9]
\definedfont[Noto-COLRv1.ttf*colored] 🦆 % U+1F986
\stopTEXpage
but ConTeXt gives the following error:
fonts > otf load
eeded for the rather nice:
https://gitlab.com/smc/fonts/Nupuram/-/blob/master/docs/README.md
which is used like:
\startTEXpage[offset=1dk,align={normal,tolerant,stretch}]
\definefontfeature[colored][default][colr=9]
\definefontfeature[slanted][default][slant=.2]
\definedfont[name:nu
nce pdf.js can handle Tagged PDF (XML
parser included).
- show fonts metadata (inclusion etc.)
No.
Pity. Should also not be too difficult, since the viewer needs the data
anyway.
- show PDF Boxes (MediaBox, CropBox, TrimBox, BleedBox, ArtBox) as
colored frames, switchable via
idebar or dialog
You can see all the "regular" metadata, but XMP doesn't work.
> - show fonts metadata (inclusion etc.)
No.
> - show PDF Boxes (MediaBox, CropBox, TrimBox, BleedBox, ArtBox) as
>colored frames, switchable via preferences and menu (bar) item
No.
> - c
Hans, Wolfgang,
I am so happy to receive your immediate answers. — Thanks a lot, the problem is
solved and I get the colored labeltext!
Thank you
Willi
> On 24 Jun 2022, at 19:19, Hans Hagen via ntg-context
> wrote:
>
> On 6/24/2022 4:34 PM, Willi Egger via ntg-context wrot
On 6/24/2022 4:34 PM, Willi Egger via ntg-context wrote:
Hi all,
Sorry for bothering you again.
I would like that lua is returning a colored string, which is a label-text.
The following does not work, the labeltext remains black, there is no error
though:
return context.color({&quo
Willi Egger via ntg-context schrieb am 24.06.2022 um 16:34:
Hi all,
Sorry for bothering you again.
I would like that lua is returning a colored string, which is a label-text.
The following does not work, the labeltext remains black, there is no error
though:
return context.color({&quo
Hi all,
Sorry for bothering you again.
I would like that lua is returning a colored string, which is a label-text.
The following does not work, the labeltext remains black, there is no error
though:
return context.color({"red"},context.labeltext(s))
What is the correct approach?
of 50%. However, I want to draw the
whole grid as one group and then blend it as a whole so that the whole grid is
evenly colored when blended. According to the MetaFun manual we should be able
to get the desired effect with the `asgroup` operator applied to a picture.
(Actually, the manual says the
ult]
[script=deva]
\definefontfeature[colored][harf]
[language=dflt,script=arab,
colr=yes] %doesn't do anything
\startbuffer[hindi]
i honestely have no clue if color will work (also because hb is in a
sort of continuous flux wrt updates and so, and i tend not to update
libraries without k
dflt,
>script=deva]
> \definefontfeature[devaB][default]
> [script=deva]
> \definefontfeature[colored][harf]
> [language=dflt,script=arab,
> colr=yes] %doesn't do anything
Wouldn't you also have to enable the colored feature somewhere?
> \starttext
> {\ri
module[fonts-plugins]
\definefontfeature[harf]
[mode=plug,
features=harfbuzz,
shaper=native]
%Just to test Harfbuzz is actually working
\definefontfeature[devaA][harf]
[language=dflt,
script=deva]
\definefontfeature[devaB][default]
[script=deva]
\definefontfeature[colored][harf]
[language=dflt,scri
\everybtxlistrendering.
There the problem seems to relate to the use of \setupinteraction.
Now, in my citations (\cite[Douma1979a]) the authornames are still
colored. Douma, 1979a, 86
I examined the contextgarden site, read and tried the answers to
previous questions, but could not find out how
to the use of \setupinteraction.
Now, in my citations (\cite[Douma1979a]) the authornames are still colored.
Douma, 1979a, 86
I examined the contextgarden site, read and tried the answers to previous
questions, but could not find out how to do this.
Is there a way to control the author names
>
>
> On Sat, Aug 7, 2021 at 10:14 AM Hans Hagen wrote:
>
>> On 8/7/2021 1:09 PM, Marcus Vinicius Mesquita via ntg-context wrote:
>> > Dear list,
>> >
>> > I'm trying to use the BabelStone Flags font, with colored flags of many
>&g
Thank you, Hans. I'll wait then for the next upload.
Have a nice weekend.
Marcus Vinicius
On Sat, Aug 7, 2021 at 10:14 AM Hans Hagen wrote:
> On 8/7/2021 1:09 PM, Marcus Vinicius Mesquita via ntg-context wrote:
> > Dear list,
> >
> > I'm trying to use the Babe
On 8/7/2021 1:09 PM, Marcus Vinicius Mesquita via ntg-context wrote:
Dear list,
I'm trying to use the BabelStone Flags font, with colored flags of many
countries,available freely under the SIL Open Font License 1.1 at:
https://babelstone.co.uk/Fonts/Download/BabelStoneFlagsDual.ttf
&
Dear list,
I'm trying to use the BabelStone Flags font, with colored flags of many
countries, available freely under the SIL Open Font License 1.1 at:
https://babelstone.co.uk/Fonts/Download/BabelStoneFlagsDual.ttf
In the MWE below, there is a spurious “at” in the first time that the
defin
I want to draw colored arrows in a randomized
> color (from a list of colors). This works (and the code is far too
> clever for me, I must have copied it somewhere):
>
> save mycolor ; color mycolor[] ;
> mycolor[1] := (0.2, 0.3, 0.4) ;
> mycolor[2] := (0.6, 0.6, 0.4) ;
> mycolor[
Hi all,
for a slide template, I want to draw colored arrows in a randomized
color (from a list of colors). This works (and the code is far too
clever for me, I must have copied it somewhere):
save mycolor ; color mycolor[] ;
mycolor[1] := (0.2, 0.3, 0.4) ;
mycolor[2] := (0.6, 0.6, 0.4
\starttext
\definedfont[file:NotoColorEmoji.ttf*color]
\emoji{handshake}
\char"1F91D
\stoptext
two handhakes ... (you need to use the color feature, this font doesn't
have non colored ones btw)
-
userdata.myfunction())
end
}
\stopluacode
\def\colorfulnumbers#1{\colored[h=\luaexpr{40*#1},s=1,v=1]{#1}\ }%
\starttext
%It doesn't work
%\handletokens{\myfunction}\with\colorfulnumbers
\expandafter\handletokens\expandafter{\myfunction}\with\colorfulnumbers
\stoptext
As readily s
20323" ..
"657838053757849835434002826851807933276" ..
"324327913964298509889902373459201557839" ..
"84828001486412574060553756854137069878601"
end
interfaces.implement{
name = "myfunction",
public = true,
actions =
function ()
context(userdata.myfunction())
end
}
\stopluacode
\def\
t;
I was thinking goodies could be the answer even for the font fallbacks
hooks.
Unicode blocks are colored and wikified
<https://wiki.contextgarden.net/Font_Goodies> (simplified example) now,
which definitely helps.
I'm fine with logs and trackers, but the original idea was to search PDF b
some fancy theorem style for my math notes. For this I
> > > > want
> > > > to
> > > > have a colored margin line next to my theorems. It should look like
> > > > this:
> > > >
> > > > https://i.ibb.co/F6L59pD/idea.png
> >
Il 20/11/20 02:06, Johann Birnick ha scritto:
On Thu, 2020-11-19 at 11:25 +0100, mf wrote:
Il 19/11/20 10:39, Johann Birnick ha scritto:
Hello,
I want to setup some fancy theorem style for my math notes. For this I want
to
have a colored margin line next to my theorems. It should look like
proclaim-leftbar.tex
Best regards: Otared
> On 20 Nov 2020, at 02:06, Johann Birnick wrote:
>
> On Thu, 2020-11-19 at 11:25 +0100, mf wrote:
>> Il 19/11/20 10:39, Johann Birnick ha scritto:
>>> Hello,
>>>
>>> I want to setup some fancy theorem style for
On Thu, 2020-11-19 at 11:25 +0100, mf wrote:
> Il 19/11/20 10:39, Johann Birnick ha scritto:
> > Hello,
> >
> > I want to setup some fancy theorem style for my math notes. For this I want
> > to
> > have a colored margin line next to my theorems. It shou
Il 19/11/20 10:39, Johann Birnick ha scritto:
Hello,
I want to setup some fancy theorem style for my math notes. For this I want to
have a colored margin line next to my theorems. It should look like this:
https://i.ibb.co/F6L59pD/idea.png
The line should stretch over the whole theorem, not
Hello,
I want to setup some fancy theorem style for my math notes. For this I want to
have a colored margin line next to my theorems. It should look like this:
https://i.ibb.co/F6L59pD/idea.png
The line should stretch over the whole theorem, not just the first line.
(But the latter would be a
lpful.
BTW \hyphenatedword works the same. I didn’t see anything colored.
There are some more commands like this, even \hyphenatedfile, see
https://source.contextgarden.net/tex/context/base/mkiv/supp-box.mkiv?search=hyphenated
Usually Arthur’s (hail the emperor of hyphenation and protector of the
pat
> Wow, that's super helpful.
BTW \hyphenatedword works the same. I didn’t see anything colored.
There are some more commands like this, even \hyphenatedfile, see
https://source.contextgarden.net/tex/context/base/mkiv/supp-box.mkiv?search=hyphenated
Usually Arthur’s (hail the emperor of
On 01/10/20, 20:55, Susanne G. Loeber wrote:
> Dear Reader,
>
> I have a colored section, text in another color and a TikZ picture with a
> differently colored node, following each other. However, either the node
> gets the wrong color or the following paragraph, see example below
Hi,
> On 1 Oct 2020, at 20:55, Susanne G. Loeber wrote:
>
> Dear Reader,
>
> I have a colored section, text in another color and a TikZ picture with a
> differently colored node, following each other. However, either the node gets
> the wrong color or the following p
Dear Reader,
I have a colored section, text in another color and a TikZ picture with a
differently colored node, following each other. However, either the node
gets the wrong color or the following paragraph, see example below.
Is there something wrong with the section settings? How do I get all
] % change the value here
Best regards: Otared
> On 16 Jul 2020, at 11:10, Fabrice Couvreur
> wrote:
>
> Hi Otared and Wolfgang,
> Thanks for your help ; the result is almost what I want (the space between
> the text and the figure is not colored) but it is likely that we coul
Hi Otared and Wolfgang,
Thanks for your help ; the result is almost what I want (the space between
the text and the figure is not colored) but it is likely that we could not
do better.
Fabrice
Le mer. 15 juil. 2020 à 22:25, Otared Kavian a écrit :
> Hi Fabrice,
>
> I think what
;> \startitemize[n]
>>\dorecurse{3}{\startitem \input ward \stopitem}
>> \stopitemize
>>\stopframedtext
>> \stoptext
>
>
> Side floats don't work in frames, use the textbackground environment to add a
> colored box behind the text.
>
&g
round environment to
add a colored box behind the text.
Wolfgang
___
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/lis
)}
So
\TestA1{\red 2}3
\TestB1{\red 2}3
\TestC1{\red 2}3
\TestD1{\red 2}3
give
(1)(2)(3) % red from "2" onward
(1)()(3)
(1)(2)(3) % only "2" is colored
(1)(3)
What I guess is that #+ pass an argument, grouping braces included (the
report says an argument is passed "as
;
> (1)(2)(3) % red from "2" onward
> (1)()(3)
> (1)(2)(3) % only "2" is colored
> (1)(3)
>
> What I guess is that #+ pass an argument, grouping braces included (the
> report says an argument is passed "as-is"). I see it as really useful. But,
>
2}3
\TestD1{\red 2}3
give
(1)(2)(3) % red from "2" onward
(1)()(3)
(1)(2)(3) % only "2" is colored
(1)(3)
What I guess is that #+ pass an argument, grouping braces included (the
report says an argument is passed "as-is"). I see it as really useful. But,
apart from th
;
> > using latest ConTeXt with the following sample, I get these results:
> >
> >\definefontfamily[emoj][rm][Twemoji Mozilla][features={color}]
> >\setupbodyfont[emoj]
> >\starttext
> >🤦🇬🇧
> >\stoptext
> >
> > MkIV (2020.01.30
][Twemoji Mozilla][features={color}]
\setupbodyfont[emoj]
\starttext
🤦🇬🇧
\stoptext
MkIV (2020.01.30 14:13) displays colored icons.
LMTX (2020.05.18 16:50) displays only black and white icons.
I think this might be a bug in LMTX.
Could you confirm the issue?
what if you wipe the cache
es={color}]
\setupbodyfont[emoj]
\starttext
🤦🇬🇧
\stoptext
MkIV (2020.01.30 14:13) displays colored icons.
LMTX (2020.05.18 16:50) displays only black and white icons.
I think this might be a bug in LMTX.
Could you confirm the issue?
Many thanks for your help,
Pablo
--
http://www
containers
xml > core > load error: invalid xml file - parsed text
With LMTX it gives an error about mlib-svg.
2.
\definefontfeature[overlay][default][ccmp=yes,colr=yes,dist=yes]
\definefontfeature[svg]
[default][svg=yes]
\definefontfeature[bitmap] [default][sbix=yes]
\definefontfeatu
is a bug. Could you
provide a complete MWE.
Please find a MWE at the bottom of this post.
The expected behaviour is that the keyword `function` in the JavaScript
snippet and `foobar` in the Ruby snippet should be colored and in
italics, as comments are. The respective Vim highlight group
e MWE.
Please find a MWE at the bottom of this post.
The expected behaviour is that the keyword `function` in the JavaScript
snippet and `foobar` in the Ruby snippet should be colored and in
italics, as comments are. The respective Vim highlight groups are
`javaScriptFunction` and `rubyMethodName`,
ease find a MWE at the bottom of this post.
The expected behaviour is that the keyword `function` in the JavaScript
snippet and `foobar` in the Ruby snippet should be colored and in
italics, as comments are. The respective Vim highlight groups are
`javaScriptFunction` and `rubyMethodName`, which bot
"\definebodyfont[11pt][rm][default=Regular at
11pt]\switchtobodyfont[11pt]\setupinterlinespace[12.1pt]\framed[align=flushleft,frame=off,offset=none,width=170.000bp]{\colored[r=0.000,
g=0.000, b=0.000]{\tf The elements are shown in colors where blue represents
active structure, yellow behavio
When using a colored emoji font directly after a save/restore pair
in context mkiv following text gets lost:
\pdfvariable compresslevel=0
\font\fontB={file:seguiemj.ttf:mode=node;+colr;}
\starttext
\pdfextension save\relax
\pdfextension restore\relax
{\fontB \char"2603} % is not
On 5/3/2020 11:47 PM, Gerben Wierda wrote:
The following example has been extracted from my automatically generated
MP code.
\starttext
\startMPpage
string texstring;
texstring := "{\colored [r=0.00, g=0.00, b=0.00]{\definebodyfont
[9.0pt][rm][default=Regular at 9.0pt]\switchtobod
The following example has been extracted from my automatically generated MP
code.
\starttext
\startMPpage
string texstring;
texstring := "{\colored [r=0.00, g=0.00, b=0.00]{\definebodyfont
[9.0pt][rm][default=Regular at 9.0pt]\switchtobodyfont
[9.0pt]\setupinterlinespace [9.9pt]\t
t][rm][default=Regular at
14.9pt]\switchtobodyfont[14.9pt]\setupinterlinespace[16.9pt]\framed[align=center,frame=off,offset=none,width=335.350bp]{\colored[r=0.000,
g=0.000, b=0.000]{\rm (Artifact)\\}}");
draw pic scaled 1.13;
\stopMPpage
\stoptext
Produces nice Optima at 14.9pt without
d problems.
>
>> \setupbodyfont [optima]
>> \starttext
>> \startMPpage[instance=doublefun]
>> picture pic;
>> pic := textext("\definebodyfont[14.9pt][rm][default=Regular at
>> 14.9pt]\switchtobodyfont[14.9pt]\setupinterlinespace[16.9pt]\framed[align=cent
] [default]
\setupbodyfont [optima]
\starttext
\startMPpage[instance=doublefun]
picture pic;
pic := textext("\definebodyfont[14.9pt][rm][default=Regular at
14.9pt]\switchtobodyfont[14.9pt]\setupinterlinespace[16.9pt]\framed[align=center,frame=off,offset=none,width=335.350bp]{\colored[r=0.00
4.9pt]\setupinterlinespace[16.9pt]\framed[align=center,frame=off,offset=none,width=335.350bp]{\colored[r=0.000,
g=0.000, b=0.000]{\rm (Artifact)\\}}");
You use \rm here which is used to switch to the serif typeface. When
your goal is to enforce the upright alternative you use the wrong
command because yo
On a hunch, I found a solution. I added \\ instead of \par at the end and goit
exactly what I wanted.
\enabletrackers[context.trace]
\starttext
%\framed[align=flushright,frame=on,offset=none,width=106.400bp]{\colored[r=0.000,
g=0.000,
%b=0.000]{\switchtobodyfont[11.0pt]\setupinterlinespace
> On 24 Apr 2020, at 18:40, Thomas A. Schmitz <mailto:thomas.schm...@uni-bonn.de>> wrote:
>
>
>
>> On 24. Apr 2020, at 18:19, Gerben Wierda > <mailto:gerben.wie...@rna.nl>> wrote:
>>
>> \starttext
>>
>> \framed[align=flushrigh
> On 24 Apr 2020, at 18:40, Thomas A. Schmitz <mailto:thomas.schm...@uni-bonn.de>> wrote:
>
>
>
>> On 24. Apr 2020, at 18:19, Gerben Wierda > <mailto:gerben.wie...@rna.nl>> wrote:
>>
>> \starttext
>>
>> \framed[align=flushrigh
On 24 Apr 2020, at 19:32, Wolfgang Schuster
> wrote:
>
> Thomas A. Schmitz schrieb am 24.04.2020 um 18:40:
>>>> On 24. Apr 2020, at 18:19, Gerben Wierda wrote:
>>>
>>> \starttext
>>>
>>> \framed[align=flushright,frame=on,offset=none,
Thomas A. Schmitz schrieb am 24.04.2020 um 18:40:
On 24. Apr 2020, at 18:19, Gerben Wierda wrote:
\starttext
\framed[align=flushright,frame=on,offset=none,width=106.400bp]{\colored[r=0.000,
g=0.000,
b=0.000]{\switchtobodyfont[11.0pt] \setupinterlinespace[20pt] \rm
[My]\\Application
> On 24. Apr 2020, at 18:19, Gerben Wierda wrote:
>
> \starttext
>
> \framed[align=flushright,frame=on,offset=none,width=106.400bp]{\colored[r=0.000,
> g=0.000,
> b=0.000]{\switchtobodyfont[11.0pt] \setupinterlinespace[20pt] \rm
> [My]\\Application\\(Component)}}
&g
I want the lines in this frame packed more closely together:
\starttext
\framed[align=flushright,frame=on,offset=none,width=106.400bp]{\setupinterlinespace[0.9]\colored[r=0.000,
g=0.000,
b=0.000]{\switchtobodyfont[11.0pt] \rm [My]\\Application\\(Component)}}
\stoptext
I tried a bit of
Answering my own question: \switchtobodyfont
> On 23 Apr 2020, at 16:45, Gerben Wierda wrote:
>
> I can directly colour a text in rgb by doing
> \colored[r=0.8,b=0.6,c=0.4]{Text}. Suppose I want to hard code a piece of
> text as 12.8pt, is there a simple way to do that dir
I can directly colour a text in rgb by doing \colored[r=0.8,b=0.6,c=0.4]{Text}.
Suppose I want to hard code a piece of text as 12.8pt, is there a simple way to
do that directly like with \colored for colour?
G
; I think not including the table in the framed text is the easiest way to
> avoid the colored background.
>
> Or why do you need the table inside the framed text, which only adds the
> background color (and disables the frame)?
>
> > In fact, my question is more general: if we in
1 - 100 of 566 matches
Mail list logo