,
background=color,
backgroundcolor=yellow,
framecorner=13,
backgroundcorner=07,
backgroundoffset=0.5em,
]{Das Runde muss ins Eckige}
\blank
\framed[
frame=on,
corner=round,
frameoffset=0.5em,
framecolor=black,
background=color,
backgroundcolor=darkgreen,
backgroundoffset=1em
[NTG-context] Re: 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.contex
ve 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
_
ann:
> 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/definetextba
: 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
\inframed
[background=signature,framecolor=darkred]
{\fieldbody[signature][width=3cm,option=hidden]}
\stopTEXpage
\stoptext
after neing processed:
mtxrun --script pdf --sign --certificate=sign-001.pem --password=test
sign-001 (--library)
and:
mtxrun --script pdf
gt;>
> >> \usecolors[crayola]
> >>
> >> \startMPinclusions
> >>
> >> picture p[];
> >> path TheFrame ;
> >> TheFrame := fullsquare scaled 5in ;
> >>
> >> z0 = (0,0);
> >> z1 = (60,40);
> >> z2 = (40,90)
=fea]
> > >> \definefontsynonym [SerifBold] [notonaskharabic-Bold] [features=fea]
> > >> \definefontsynonym [SerifBoldItalic] [notonaskharabic-Bold-Italic]
> > >> [features=fea]
> > >> \stoptypescript
> > >>
> > >> \startt
pt[notonaskharabic]
> >>
> >> \setupbodyfont [RomanFont]
> >>
> >> \usecolors[crayola]
> >>
> >> \startMPinclusions
> >>
> >> picture p[];
> >> path TheFrame ;
> >> TheFrame := fullsquare scaled 5in ;
> >
picture p[];
> >> path TheFrame ;
> >> TheFrame := fullsquare scaled 5in ;
> >>
> >> z0 = (0,0);
> >> z1 = (60,40);
> >> z2 = (40,90);
> >> z3 = (10,70);
> >> z4 = (30,50);
> >> z5 = (90,70);
> >> z6 =
..z1..z2..z3..z4 ;
>> pair AStartPoint; AStartPoint = point 0 of A;
>> pair AEndPoint; AEndPoint = point 4 of A;
>> path B; B = z5..z6;
>> pair BStartPoint; BStartPoint = point 0 of B;
>> pair BEndPoint; BEndPoint = point 1 of B;
>> path C; C = AStartPoint..AEndPoin
; draw A withcolor red;
> );
>
> p2:=image(draw A; label(lmt_outline [
> text = "\JapaneseFont 日本語"
> ], AEndPoint););
>
> p3:=image(
> label(textext("\notonaskharabic \textdir TRT دانگ") scaled 1.2,
> BStartPoint);
> );
>
> p4:=ima
t 日本語"
> ], AEndPoint););
>
> p3:=image(
> label(textext("\notonaskharabic \textdir TRT دانگ") scaled 1.2, BStartPoint);
> );
>
> p4:=image(draw A; label(lmt_outline [
> text = "\KoreanFont 한국어"
> ], AStartPoint););
>
> p5:=image(
> label
ot;) scaled 1.2, BStartPoint);
);
p4:=image(draw A; label(lmt_outline [
text = "\KoreanFont 한국어"
], AStartPoint););
p5:=image(
label(textext("bāng"), BEndPoint);
draw C withcolor green;
);
p6:=image(
draw B withcolor blue;
);
\stopMPinclusions
\starttext
\dorecurse{6}{ %
e[0] := (0,0);
TheBrownianMotion := Coordinate[0] ;
variance := 10 ;
\stopMPinclusions
\dorecurse{600}{ % Frame
\setupMPpage[background=color, backgroundcolor=SpringGreen]
\startMPpage[pagestate=start]
currentime := #1 ;
% Just for learning :
draw TheFrame withpen pencircle scaled .1in withco
Hi list,
I'm looking to implement a consistent syntax for cross-references in
KeenWrite <https://keenwrite.com/> and am wondering what you think would
make the most sense for translating into ConTeXt commands.
First, some background (the first two give an overview, the others are
cros
does nothing
%% depthcorrection=off, %% does nothing
%% topoffset=3mm,%% works, but only for positive values
background=,
frame=on]
\starttext
\startframedtext
\framed{Foo}
\stopframedtext
\starttextbackground
\framed{Foo}
\stoptextbackground
\stoptext
How
xyscaled
(OverlayWidth-OverlayLineWidth,OverlayHeight-OverlayLineWidth)
withpen pencircle scaled OverlayLineWidth
withcolor OverlayColor ;
\stopusableMPgraphic
\defineoverlay[MetaCirc][\useMPgraphic{MetaCirc}]
a\dontleavehmode\framed
[background=MetaCirc,
bac
ramed
[background=BigCirc,
% frame=off,
width=3cm,
height=3cm]
{test}
but bigcirc isn't meant for that
\startusableMPgraphic{MetaCirc}
draw fullcircle
xyscaled
(OverlayWidth-OverlayLineWidth,OverlayHeight-OverlayLineWidth)
withpen pencircle scaled Overla
I have created fonts for my "fictional scripts"[1] using MF[2] and
"converted" them to TTF by importing the bitmap font into the background
layer in Fontforge and tracing it with potrace. It was a long time ago, I
used little metaness beyond setting weight through pen/path wi
on a specific zoom level.
There are now some bottom white lines too on some zoom levels.
Okay the issue seems to be happening on all pdf files regardless of whether
it was made from context or not. The black background just allows me to
notice it.
Thank you for checking.
On Sat, Oct 28, 2023 at 9
noticed a thin white line on the right side.
>
> Here is a Minimal Working Example:
>
> ConTeXt ver: 2023.09.26 18:19 LMTX
>
> \setupbackgrounds[page][background=color,backgroundcolor=black]
> \setuppagenumbering[alternative=doubles
Hi,
I was using \setuppagenumbering[alternative=doublesided] to get double
sided pages.
After doing that I noticed a thin white line on the right side.
Here is a Minimal Working Example:
ConTeXt ver: 2023.09.26 18:19 LMTX
\setupbackgrounds[page][background=color,backgroundcolor=black
;
draw b;
setbounds currentpicture to OverlayBox;
\stopuseMPgraphic
\defineoverlay
[CountFrame]
[\useMPgraphic{CountFrame}]
\defineframedtext
[CountFramedText]
[frame=off,
background=CountFrame,
offset=\bodyfontsize,
width=\textwidth,
% style={\switchtobodyfont[11pt,tt]}]
bod
CountFrame}]
\defineframedtext
[CountFramedText]
[frame=off,
background=CountFrame,
offset=\bodyfontsize,
width=\textwidth,
% style={\switchtobodyfont[11pt,tt]}]
bodyfont=11pt,
style={\tt},
]
\def\FrameTitle#1%
{\setMPtext{CountFrame}
{\hbox spread 1em{\hss\strut#1\hss}}}\setMPtext{
boundingbox p ;
setbounds currentpicture to unitsquare xyscaled(w,h) ;
\stopuseMPgraphic
\defineoverlay[FunnyFrame][\useMPgraphic{FunnyFrame}]
\defineframedtext[FunnyText][frame=off,background=FunnyFrame]
\def\FrameTitle#1%
{\setMPtext{FunnyFrame}{\hbox spread 1em{\hss\strut#1\hss}}}
\setMPtext{FunnyFrame
,
alternative=setups,
setups=frontispiz,
color=white,
background=color,
backgroundcolor=Eifel,
]
\startsetups[frontispiz]
\starttransparent[tlumi]%
\externalfigure[\structureuservariable{image}][
width=\measure{MaxWidth},
]%
\stoptransparent%
\stopsetups
\setuphead[chapter][
page
right (just “pageinjections“?)
But my “image” consists of a background color (with bleed), a
transparent overlay image (with bleed), a tilted image with a shadow
on top and a caption (so far) – and pageinjection looks fixed to one
image. How can I hook my own placement code in there?
We can discuss
, that might be enough.
(Documented only in https://wiki.contextgarden.net/Command/setuphead
so far. Even the source browser can’t find anything.)
https://source.contextgarden.net/tex/context/base/mkxl/page-inj.mklx
But my “image” consists of a background color (with bleed), a
transparent overlay
://wiki.contextgarden.net/Command/setuphead so
far. Even the source browser can’t find anything.)
But my “image” consists of a background color (with bleed), a
transparent overlay image (with bleed), a tilted image with a shadow on
top and a caption (so far) – and pageinjection looks fixed to one
xt.startxtable{ align = "middle,lohi", bodyfont = "9pt", framecolor =
> "black" }
> context.startxrow{ background = "color", backgroundcolor = "lightgray"
> }
> context.startxcell{ nx = 4 }
> context("Uni
completed version of what Wolfgang sent:
I guess I completely missed the units digit part :)
%% begin filling-with-lua.tex
\starttext
\startluacode
context.startxtable{ align = "middle,lohi", bodyfont = "9pt",
framecolor = "black" }
context.startxrow{ backgro
filling-with-lua.tex
\starttext
\startluacode
context.startxtable{ align = "middle,lohi", bodyfont = "9pt", framecolor =
"black" }
context.startxrow{ background = "color", backgroundcolor = "lightgray" }
context.startx
ddle,lohi", bodyfont = "9pt", framecolor
= "black" }
context.startxrow{ background = "color", backgroundcolor =
"lightgray" }
context.startxcell{ nx = 4 }
context("Units digit of")
context.stopxcell()
context.
Hi,
I'm trying to fill an array using lua. So far it works but then I don't
know if it's possible.
Thanks
Fabrice
\startluacode
context.startxtable({"align={middle,lohi},bodyfont=9pt,framecolor=black"})
context.startxrow({"background=co
cture cross;
> cross := image(draw (0,0)--(1,1); draw (0,1)--(1,0););
> draw cross xscaled \overlaywidth yscaled \overlayheight withpen pencircle
> scaled .8pt ;
> \stopuniqueMPgraphic
>
> \defineoverlay[canceloverlay][\uniqueMPgraphic{cross out}]
>
> \define[1]\cancel{%
>
;
\stopuniqueMPgraphic
\defineoverlay[canceloverlay][\uniqueMPgraphic{cross out}]
\define[1]\cancel{%
\ifmmode
\mframed[background=canceloverlay, frame=off, offset=overlay]{{#1}}%
\else%
\framed[background=canceloverlay, frame=off, offset=overlay]{{#1}}%
\fi%
}
Maybe something else is available nowadays.
A
Hi again,
you could remove the \localcontrolled around the advance
>
I thought I tried that, but the counter incremented to 6, instead of 4.
Using higher-level primitives seems more like the ConTeXt way.
> why twice ? you only have to typeset the text once, right?
> >
> {text:\number\numexpr1+\
On 8/12/2023 7:19 PM, Thangalin wrote:
Thanks Hans.
The \newinteger approach would always increment the value, regardless of
conditionals within the MetaPost code (i.e., it was like legend :=
"\ConcurrentTextGet" would always invoke the macro just be referencing the
MPgraphic and nothing would p
Thanks Hans.
The \newinteger approach would always increment the value, regardless of
conditionals within the MetaPost code (i.e., it was like legend :=
"\ConcurrentTextGet" would always invoke the macro just be referencing the
MPgraphic and nothing would prevent its execution). This meant that th
On 8/11/2023 9:57 PM, Thangalin wrote:
Hi list,
I'm attempting to make a stylized border around paragraphs that can span
pages. The border runs along the side and the top. (Ideally the top border
wouldn't repeat, but that's a minor issue.) The issue I'm having is that
the title for the text does
Hi list,
I'm attempting to make a stylized border around paragraphs that can span
pages. The border runs along the side and the top. (Ideally the top border
wouldn't repeat, but that's a minor issue.) The issue I'm having is that
the title for the text doesn't always appear. Instead, there's a sma
ly after the meeting) but here is one:
>
> \starttext
>
> \defineoverlay
>[test]
>[\color
> [blue]
> {TEST
>\inframed
> [foregroundcolor=red]
> {xxx}
>TEST}]
>
>
}
TEST}]
\framed
[background=test,
foregroundstyle=\switchtobodyfont[small]]
{test}
\stoptext
From now on many commands accept (properly) nested [] inside commands
that use [] as fences (like the setup commands) where it makes sense. It
is up to the user to
Ṣ {\d{S}}
\defineactivecharacter ṣ {\d{s}}
\stoptext
This should not produce any typeset output but in lmtx it does.
Background: The following characters are essential for Arabic transliteration
(assuming your email client has the chars):
Ṯṯ Ḥḥ Ḫḫ Ḏḏ Šš Ṣṣ Ḍḍ Ṭṭ Ẓẓ Ġġ Āā Īī Ūū ʿ ʾ
I'd
any typeset output but in lmtx it does.
Background: The following characters are essential for Arabic transliteration
(assuming your email client has the chars):
Ṯṯ Ḥḥ Ḫḫ Ḏḏ Šš Ṣṣ Ḍḍ Ṭṭ Ẓẓ Ġġ Āā Īī Ūū ʿ ʾ
I'd use a different font but as you want to go cheap ... attached gets
you going and
.
Background: The following characters are essential for Arabic transliteration
(assuming your email client has the chars):
Ṯṯ Ḥḥ Ḫḫ Ḏḏ Šš Ṣṣ Ḍḍ Ṭṭ Ẓẓ Ġġ Āā Īī Ūū ʿ ʾ
But most really good fonts don't have them, so we have to compose them. Now
there are other methods, e.g,
1) \definechar
I
use \setuptyping for the general style with a background box. But that
conflicts with the setups for special cases like code and result side by
side.
I guess I’ll also include this in the CGJ setup.
... attached an extension that supports inheritance (via category),
still honors 'b
.pdf#nameddest=destination). But it
understands file:///.
MuPDF-GL seems also not to handle named destinations, but it understands
file:/// too.
PDF.js (the default PDF viewer that comes with Firefox) handles named
destinations, but doesn‘t seem to understand file:/// as a link.
> Background of
n[item:bla], \in[item:blub].
\stoptext
```
Can I somehow access the references of inner.tex from outer.tex?
For me, it is not that relevant, that the correct number is set, but the
interaction within the outer PDF should work, so clicking on the
reference should scroll to the correct content.
Backgr
gt;
> fill ship xysized (10,5) shifted pos rotatedaround (pos, 15) withcolor red;
> \stopuseMPgraphic
>
> \defineoverlay[Waves][\useMPgraphic{Waves}]
>
> \setupbackgrounds[state=repeat]
> \setupbackgrounds[page][background={Waves}]
>
> \starttext
>
> \dorecurse{10}{\recur
= (0,10)---(70,10)...(60,0)---(10,0)...cycle;
fill ship xysized (10,5) shifted pos rotatedaround (pos, 15) withcolor red;
\stopuseMPgraphic
\defineoverlay[Waves][\useMPgraphic{Waves}]
\setupbackgrounds[state=repeat]
\setupbackgrounds[page][background={Waves}]
\starttext
\dorecurse{10}{\recurs
Well this is fun. Getting the right patterns could make some
interesting with fonts.
Thanks for the tip Hans!
Best Wishes
Keith McKay
%
\startMPpage
vardef tst (expr x, y, i, n) =
definecolor [ name = "MyColor1", r = uniformdeviate(1), g =
uniformdeviate(1), b = uniformdeviate(
On 7/9/2023 5:56 PM, Henning Hraban Ramm wrote:
Am 09.07.23 um 15:49 schrieb Keith McKay:
Hraban (and others),
You got me thinking so I added this code to end of your code as a bit
of fun. It's code from the luametafun manual to which I added two and
a half lines.
That’s funny.
I replaced t
Am 09.07.23 um 15:49 schrieb Keith McKay:
Hraban (and others),
You got me thinking so I added this code to end of your code as a bit of
fun. It's code from the luametafun manual to which I added two and a
half lines.
That’s funny.
I replaced the text by \TeX and published it here:
https://f
Hraban (and others),
You got me thinking so I added this code to end of your code as a bit of
fun. It's code from the luametafun manual to which I added two and a
half lines.
Best Wishes
Keith
%%%
\startMPcode
vardef tst (expr x, y, i, n) =
definecolor [ name = "MyColor1", r =
Reduced size as requested.
Moderator please delete original message which was greater than 100k
Thanks
Keith McKay
Forwarded Message
Subject:Re: [NTG-context] Re: Fwd: Re: text width shadow background
Date: Sat, 8 Jul 2023 14:14:38 +0100
From: Keith McKay
To
Am 08.07.23 um 15:14 schrieb Keith McKay:
I played about with the number of shadow layers and added a wee bit
randomness which gave a nice effect. See the code below and the attached
png.
Good idea, makes sense for big text – my captions are only 8pt, there 10
layers are already a lot, and th
Am 08.07.23 um 11:39 schrieb Hans Hagen via ntg-context:
On 7/8/2023 8:55 AM, Henning Hraban Ramm wrote:
Please, can you explain why the result of lmt_outline is shifted to
the right, if I use it in a macro?
no time now but you can do this instead of the lmt_text:
draw lmt_outline [
Forwarded Message
Subject: Re: [NTG-context] Re: text width shadow background
Date: Sat, 8 Jul 2023 11:39:32 +0200
From: Hans Hagen
To: Henning Hraban Ramm
On 7/8/2023 8:55 AM, Henning Hraban Ramm wrote:
Please, can you explain why the result of lmt_outline is shifted to
wunderschöne Bildunterschrift}
\MyCaption{Ein ganz anderer Text}
\stoptext
"""
BTW I recognized I need this not only for captions within images but
also for the glow effect in the CCCamp23 style:
https://events.ccc.de/camp/2023/infos/styleguide.html
InDesign etc. crea
Hi Hans,
In lpdf-emb.lmt, there's a commented-out definition of
lpdf.registerfontmethod that I'd like to use. I've uncommented this in
my installation and it's worked pretty well for me, so can you please
uncomment/enable this by default in the distribution?
If you want furt
Am 06.07.23 um 21:27 schrieb Henning Hraban Ramm:
* I don’t understand why the white fill is not opaque.
Posted too early. I do understand now (overlapping outlines).
Tried to fix it by overwriting the text again in white, but now I don’t
understand how to calculate the shifting:
"""
\setupb
Hi, maybe you remember that I wanted this since 2017...
I finally managed to get a fuzzy background behind text:
"""
\setupbodyfont[ss,24pt]
\definecolor[tshade][t=.05,a=1,k=1]
\starttexdefinition MyCaption #1
\startMPcode{doublefun}
steps := 10 ;
rulesize := BodyFontSize/steps/
On Tue, 4 Jul 2023, Henning Hraban Ramm wrote:
> Thanks to Taco, Robbert and Jules for their work!
>
>
> I used the downtime to setup a presentation style with a progress bar in the
> footer. But I get the same (first page) graphics on all pages, and the footer
> background
Am 04.07.23 um 22:53 schrieb Wolfgang Schuster:
Henning Hraban Ramm schrieb am 04.07.2023 um 22:24:
I used the downtime to setup a presentation style with a progress bar
in the footer. But I get the same (first page) graphics on all pages,
and the footer background appears under the text
Henning Hraban Ramm schrieb am 04.07.2023 um 22:24:
Thanks to Taco, Robbert and Jules for their work!
I used the downtime to setup a presentation style with a progress bar
in the footer. But I get the same (first page) graphics on all pages,
and the footer background appears under the text
Thanks to Taco, Robbert and Jules for their work!
I used the downtime to setup a presentation style with a progress bar in
the footer. But I get the same (first page) graphics on all pages, and
the footer background appears under the text area as well as under the
margins.
* I thought
r[Gebuesch]
Hier versteckt sich ein Wolf...
\stopviewerlayer
Bäume, Bäume, Bäume...
\viewerlayer[Gebuesch]{... und ein Rotkehlchen}
\startviewerlayer[Versteck]Rumpelwicht\stopviewerlayer
\defineoverlay[MitVersteck]
[{\overlayrollbutton[VideLayer{Versteck}][HideLayer{Versteck}]}]
\framed[
empty,
footerstate=empty,
setups={toclist},
before=\setups{toc:setups},
]
\startsetups toc:setups
\setupbackgrounds[page][background=color, backgroundcolor=blue]
\stopsetups
\definemakeup
[standard]
[
doublesided=no,
page=right,
pagestate=start,
headerstate=
Index % todo: lucida
{%\startnotmode[*\v!frontpart]
\page[\v!right]
\setupbackgrounds[\v!paper][\c!background=\v!color]
\startmakeup[\v!standard]
\raggedleft
\doifsomething{\currentheadnumber}
{\hfill\expanded{\processMPheadnumber{\currentheadnumber}}}
\vfill
,
\c!numberstyle=\bfe]
and
\def\PlaatsHoofdstukIndex % todo: lucida
{%\startnotmode[*\v!frontpart]
\page[\v!right]
\setupbackgrounds[\v!paper][\c!background=\v!color]
\startmakeup[\v!standard]
\raggedleft
\doifsomething{\currentheadnumber}
{\hfill\expanded
ndfor
fi
exitif known from;
endfor
(from, if known to: to else: infinity fi)
enddef;
vardef digits_to_brackets suffix suf =
save s, idx;
string s;
pair idx;
s = str suf;
idx = (0,0);
forever:
idx := digits_index (s, xpart idx);
exitif unknown xpart idx;
s := substri
On 3/30/2023 6:22 PM, Thomas A. Schmitz via ntg-context wrote:
Hi all,
I wanted to use a rightbrace as background for a table, as defined in
meta-imp-fen.mkiv. Unfortunately, I can't get it to work, for 2 reasons:
1. meta-imp-fen doesn't appear to be ported to mkxl.
2. When I try
Hi all,
I wanted to use a rightbrace as background for a table, as defined in
meta-imp-fen.mkiv. Unfortunately, I can't get it to work, for 2 reasons:
1. meta-imp-fen doesn't appear to be ported to mkxl.
2. When I try to compile with the --luatex switch, I get this error message:
ightframe=on,leftframe=on,framecolor=lightgray]
then I lose the bottomframe in black. I have tried all kinds of
combinations but unsuccessfully.
Table cells are based on \framed, and there doesn’t seem to be an
option to have different colors of parts of the frame (e.g.
bottomframecolor…)
=lightgray]
then I lose the bottomframe in black. I have tried all kinds of
combinations but unsuccessfully.
Table cells are based on \framed, and there doesn’t seem to be an option
to have different colors of parts of the frame (e.g. bottomframecolor…)
You can use a MetaPost graphic as bac
[1]{\RtH}{\rotate{#1}}
\starttext
\setupTABLE[offset=3pt]
\setupTABLE[header][background=color,backgroundcolor=yellow,align=bottom]
\bTABLE
\bTABLEhead
\bTR \bTH\RtH{animal}\eTH \bTH\RtH{size}\eTH \bTH\RtH{weight}\eTH
\bTH\RtH{average speed}\eTH \eTR
You can change the vertical alignment in a
header=0cm,
footer=0.75cm,
]
\definelayer[test3]
%[x=.5\paperwidth, y=.5\paperheight]
[x=.5\textwidth, y=.5\textheight]
%\setupbackgrounds[page]
\setupbackgrounds[text]
[background=test3]
\starttext
\setlayer[test3][location={middle}]
\framed[offs
grounds[page]
\setupbackgrounds[text]
[background=test3]
\starttext
\setlayer[test3][location={middle}]
\framed[offset=overlay]{{\startcombination[nx=3,ny=1,distance=15mm]
{\externalfigure[cow][width=15mm]}{}
\rotate[rotation=90]{\externalfigure[cow
ldn’t find an option to do that.
> Tried \dontleavehmode or \hfill in my \RtH macro to no avail.
> Is it possible?
>
>
> \define[1]{\RtH}{\rotate{#1}}
>
> \starttext
>
> \setupTABLE[offset=3pt]
> \setupTABLE[header][background=color,backgroundcolor=yellow,align=bot
\dontleavehmode or \hfill in my \RtH macro to no avail.
> Is it possible?
>
>
> \define[1]{\RtH}{\rotate{#1}}
>
> \starttext
>
> \setupTABLE[offset=3pt]
> \setupTABLE[header][background=color,backgroundcolor=yellow,align=bottom]
> \bTABLE
> \bTABLEhead
> \bTR \bTH
]
\setupTABLE[header][background=color,backgroundcolor=yellow,align=bottom]
\bTABLE
\bTABLEhead
\bTR \bTH\RtH{animal}\eTH \bTH\RtH{size}\eTH \bTH\RtH{weight}\eTH
\bTH\RtH{average speed}\eTH \eTR
\eTABLEhead
\bTABLEbody
\bTR \bTD sparrow \eTD \bTD small \eTD \bTD light \eTD \bTD high \eTD \eTR
\bTR \bTD dog
Reminder: This is in a few hours.
For my part I’d like to know what was in the latest updates and maybe
discuss the page breaking in floats (possible with tables, how about
text background boxes – didn’t try yet, just curious).
Hraban
Am 04.03.23 um 18:42 schrieb Henning Hraban Ramm via ntg
framed/mdframed.pdf)
> >
> > I have searched in the wiki and found \defineenumeration:
> > This is near of that what I need. However I explicitly does not need an
> > enumeration (so no number or counter). Also I am not sure if I can set a
> > background and so on.
ot need an
enumeration (so no number or counter). Also I am not sure if I can set a
background and so on.
The other possibility is \defineframedtext. For example this goes much
in the direction that I want:
\definecolor[gbackground][s=0.98]
\defineframedtext[gtk][frame=on,
e if I can set a
background and so on.
The other possibility is \defineframedtext. For example this goes much
in the direction that I want:
\definecolor[gbackground][s=0.98]
\defineframedtext[gtk][frame=on,
offset=5pt,
backgr
de [
path = Field[Text][Text],
direction = "down",
alternative = "linear",
colors = { "MyColor1", "MyColor2" },
] ;
StopPage;
\stopMPcode}
]
\showframe
\setupbackgrounds[page][background=apage]
\setupbackgrounds[footer][text] [background=color, backgr
Hi,
I'm getting unexpected results for \xmlpos
With the example below, I was expecting to get the following positions:
1 2 3 4
However the result is: 2 4 6 8, i.e. each time it's exactly the double.
What am I missing?
Background: I need to define column alignment based on the va
ithcolor .625yellow) ;
> draw fullcircle xscaled 1.5cm yscaled 1cm ;
> \stopuseMPgraphic
>
> %\startnotmode[proof]
> % \defineoverlay[circled][\useMPgraphic{circled}]
> %\stopnotmode
>
> \define[1]\Circled%
> {\framed
> [background=circled,frame=off,offset=overlay]
>
led%
{\framed
[background=circled,frame=off,offset=overlay]
{\color[darkred]{#1}}}
\setuppagenumbering[location=]
\setupheadertexts[margin][][\hbox to \hsize{\hss\Circled\pagenumber\hss}]
\startuniqueMPgraphic{titled}
path p ; p := unitsquare xscaled \overlaywidth yscaled \overlayhei
the-Public-as-a-Part-of-Its-Art-of-Code-Series.html>
and a blog post with the background to PostScript here
<https://computerhistory.org/blog/postscript-a-digital-printing-press/>
Regards,
—
Bruce Horrocks
H
;
\stopuniqueMPgraphic
\defineoverlay[canceloverlay][\uniqueMPgraphic{cross out}]
\define[1]\cancel{%
\ifmmode
\mframed[background=canceloverlay, frame=off, offset=overlay]{{#1}}%
\else%
\framed[background=canceloverlay, frame=off, offset=overlay]{{#1}}%
\fi%
}
\starttext
\dots E.g
scaled .8pt ;
\stopuniqueMPgraphic
\defineoverlay[canceloverlay][\uniqueMPgraphic{cross out}]
\define[1]\cancel{%
\ifmmode
\mframed[background=canceloverlay, frame=off, offset=overlay]{{#1}}%
\else%
\framed[background=canceloverlay, frame=off, offset=overlay]{{#1}}%
\fi%
}
\starttext
Hello.
A few years ago I created a PHP application for printing filled forms with PDF
background. PHP application is generating ConTeXt source code, that is
subsequently translated using the online application
https://live.contextgarden.net.
I have now discovered that the application is not
tspace}
\unexpanded\def\euros#1{#1\,\symbol[europe][EUR]}
\protected\def\point#1#2#3{\math{#1\left(#2\,;#3\right)}}
\protected\def\coord#1#2{\math{\left(#1\,;#2\right)}}
\define[2]\prod{\m{\vector{#1}\cdot\vector{#2}}}
\protected\def\e#1{\math{{\rm e}^{#1}}\autoinsertnextspace}
\stop
n Ramm via ntg-context <
ntg-context@ntg.nl> wrote:
> I’m not sure if this ever worked, but at least in latest LMTX it doesn’t:
>
> """
> \setupcolors[state=start,cmyk=yes,rgb=no,intent=overprint]
>
> \starttext
>
> \framed[
>background=color,
I’m not sure if this ever worked, but at least in latest LMTX it doesn’t:
"""
\setupcolors[state=start,cmyk=yes,rgb=no,intent=overprint]
\starttext
\framed[
background=color,
backgroundcolor=yellow,
]{\ss\bfd
Black should always overprint.
}
\stoptext
""&q
101 - 200 of 1007 matches
Mail list logo