On 5/28/24 20:06, Hans Hagen wrote:
> On 5/28/2024 6:25 PM, Tomáš Hála wrote:
>> Hi Pablo,
>>
>> unfortunately, that it is not possible:
>>
>> http://lua-users.org/wiki/PatternsTutorial, section Limitations.
>
> \starttext
> \startTEXpage[pagestate=s
Am 28.05.24 um 20:06 schrieb Hans Hagen:
On 5/28/2024 6:25 PM, Tomáš Hála wrote:
Hi Pablo,
unfortunately, that it is not possible:
http://lua-users.org/wiki/PatternsTutorial, section Limitations.
\starttext
\startTEXpage[pagestate=start, offset=1em]
\startluacode
> [textcircled]
> [width=1.4em,
> height=1.4em,
> frame=off,
> background=textcircle,
> framecolor=colour_text,
> location=low,
> offset=none]
>
> \starttext
> Here are the numbers \textcircled{1}, \textcircle
hat uses as its
background
% the above overlay...
\defineframed
[textcircled]
[width=1.4em,
height=1.4em,
frame=off,
background=textcircle,
framecolor=colour_text,
location=low,
offset=none]
\starttext
Here are the numbers
On 5/28/2024 6:25 PM, Tomáš Hála wrote:
Hi Pablo,
unfortunately, that it is not possible:
http://lua-users.org/wiki/PatternsTutorial, section Limitations.
\starttext
\startTEXpage[pagestate=start, offset=1em]
\startluacode
local pat = (lpeg.Cmt(lpeg.P
\starttext
> \startTEXpage[pagestate=start, offset=1em]
> \startluacode
> local str = "this is that"
> context(str:match("(this|these)"))
> \stopluacode
> \stopTEXpage
> \stoptext
>
> In short, I w
Dear list,
I have the following sample:
\starttext
\startTEXpage[pagestate=start, offset=1em]
\startluacode
local str = "this is that"
context(str:match("(this|these)"))
\stopluacode
\stopTEXpage
=textcircle,
location=low,
offset=none]
\starttext
\dostepwiserecurse{0}{9}{1}{#1 = \textcircled{#1}\blank}
\stoptext
Thank you again Wolfgang. This is very helpful and works well.
One question I have for you is how to set the colour of the circle to
match the other text on my page
,
> frame=off,
> background=textcircle,
> location=low,
> offset=none]
>
> \starttext
> \dostepwiserecurse{0}{9}{1}{#1 = \textcircled{#1}\blank}
> \stoptext
Thank you again Wolfgang. This is very helpful and works well.
One question I have for you i
if you make width and hwight 1.4en instead of 1.5em, the characters will
align with the running text.
\defineframed
[textcircled]
[ width=1.4em,
height=1.4em,
location=low,
corner=round,
%radius=.5fw,
radius=\dimexpr\framedwidth/2\relax,
offset=none
erlayWidth,
y = OverlayHeight/2, ] ;
\stopuniqueMPgraphic
\defineoverlay
[svgback]
[\useMPgraphic{centered_svg}]
\defineframed[Sback][location=low,background=svgback,frame=off,offset=8pt]
\starttext
this is a sample \Sback{1} text
\stoptext
Hello Seyal,
This does work but
us=.5fw,
> radius=\dimexpr\framedwidth/2\relax,
> offset=none]
>
> \starttext
> \dostepwiserecurse{0}{9}{1}{#1 = \textcircled{#1}\blank}
> \stoptext
Thank you kindly, Wolfgang. That worked perfectly.
--
Kip Warner
OpenPGP signed/encrypted mail preferred
https://www.theverti
,
radius=.5fw,
offset=none]
\starttext
\dostepwiserecurse{0}{9}{1}{#1 = \textcircled{#1}\blank}
\stoptext
Thanks Wolfgang. I gave it a try on https://context-on-web.eu/, but it
failed:
Dimensions can be in units of em, ex, in, pt, pc, cm, mm, dd, cc,
bp, dk, or54sp; but yours
> y = OverlayHeight/2, ] ;
> \stopuniqueMPgraphic
>
> \defineoverlay
> [svgback]
> [\useMPgraphic{centered_svg}]
>
> \defineframed[Sback][location=low,background=svgback,frame=off,offset
> =8pt]
>
> \starttext
> this is a sample \Sback{1} text
>
On Mon, 2024-05-27 at 16:51 +0200, Wolfgang Schuster wrote:
> I can't provide a circle but I can give you a box with rounded
> corners.
>
> \defineframed
> [textcircled]
> [ width=1.5em,
> height=1.5em,
> location=low,
> corner=round,
>
these commands. Any help appreciated.
I can't provide a circle but I can give you a box with rounded corners.
\defineframed
[textcircled]
[ width=1.5em,
height=1.5em,
location=low,
corner=round,
radius=.5fw,
offset=none]
\starttext
\dostepwiserecurse{0}{9}{1}{#1
eMPgraphic{centered_svg}]
\defineframed[Sback][location=low,background=svgback,frame=off,offset=8pt]
\starttext
this is a sample \Sback{1} text
\stoptext
On Mon, May 27, 2024 at 12:38 AM Kip Warner wrote:
> Hello list,
>
> I would like to typeset a number in a circle. Nothing fancy. N
]
\starttext
\startTEXpage[pagestate=start, offset=1em]
\rm a\ss a\\
{\rm a\ssd a}\\
{\rm a\ssx a}\\
{\rm a\ssxx a}
\stopTEXpage
\stoptext
Scaled \ssx and \ssxx are wrong in LMTX (not scaled at all).
All font sizes are scaled fine in MkIV.
In both
Dear list,
I have the following sample:
\definefontfamily[mainface][rm][TeX Gyre Pagella]
\definefontfamily[mainface][ss][TeX Gyre Heros]
[scale=0.125]
\setupbodyfont[mainface]
\starttext
\startTEXpage[pagestate=start, offset=1em
:
\startTEXpage[offset=1ts]
\samplefile{tufte}\removeunwantedspaces\space
\startshadow[contrastcolor=red,weight=100]\blue\samplefile{tufte}\removeunwantedspaces\stopshadow\space
\samplefile{tufte}\removeunwantedspaces\space
\startshadow[contrastcolor=red,weight=100,dx=0,dy=0]\blue\samplefile{tufte
without sectioning, and after 2 pages by uncommenting the
\startsection and \stopsection commands.
\setupbodyfont [pagella, 8pt]
\setupframed
[frame=on,
offset=0.000pt,
rulethickness=0.000pt,
location=top,
align=normal,
strut=yes,
]
\setuplayout [grid=yes]
\setupinteraction
0.3
local ymin = 0.4
local function f(x,y)
local x = xstep*x - xmin
local y = ystep*y - ymin
local z = x + exp(-60*x) - y
if z > 0 then
return '1'
else
return '0'
end
end
potrace.setbitmap("mybitmap", potrace.contourplot(N,N,f))
\stoplua
gt; > Thanks
> > Fabrice
> >
> > \startMPpage[offset=1DK]
> >
> >numeric u;
> >u = 6cm;
> >
> >interim linejoin := mitered;
> >interim ahangle := 30;
> >
> >path xx, yy;
>
On 5/12/2024 3:57 PM, Fabrice Couvreur wrote:
Hi,
When I want to draw the curve which corresponds to n=60 (blue curve), it
doesn't seem possible: I don't understand.
Thanks
Fabrice
\startMPpage[offset=1DK]
numeric u;
u = 6cm;
interim linejoin := mitered
Hi,
When I want to draw the curve which corresponds to n=60 (blue curve), it
doesn't seem possible: I don't understand.
Thanks
Fabrice
\startMPpage[offset=1DK]
numeric u;
u = 6cm;
interim linejoin := mitered;
interim ahangle := 30;
path xx, yy
-
outlines-003.pdf
Description: Adobe PDF document
\continuewhenlmtxmode
\starttext
\startMPpage[offset=10pt]
draw lmt_outline [
text = "\mathematics{\sqrt{2}-1}"
] ;
draw lmt_outline [
text = "\mathema
ign[r2l]
> \starttext
> {\Ahang تَشْكِيل كَسْرَة}
> \stoptext
>
> \definefont [Ahang] [file:Ahang-Regular.otf*arabic at 18pt]
> but there is an issue with widths, ill send you a patch to test
>
>
> The provided "*arabic" featureset should suffice for this fo
8pt]
but there is an issue with widths, ill send you a patch to test
The provided "*arabic" featureset should suffice for this font. Also
TEXpage is useful for this kind of MWE:
\definefont [Ahang] [file:Ahang-Regular.otf*arabic at 18pt]
\setupalign[r2l]
\startTEXpage[offset=1em]
{\Ah
t should suffice for this font. Also
TEXpage is useful for this kind of MWE:
\definefont [Ahang] [file:Ahang-Regular.otf*arabic at 18pt]
\setupalign[r2l]
\startTEXpage[offset=1em]
{\Ahang تَشْكِيل كَسْرَة}
\stopTEXpage
In prehistoric ConTeXt version
2023.09.26 18:19
the diacritics look fine in
ul for this kind of MWE:
\definefont [Ahang] [file:Ahang-Regular.otf*arabic at 18pt]
\setupalign[r2l]
\startTEXpage[offset=1em]
{\Ahang تَشْكِيل كَسْرَة}
\stopTEXpage
In prehistoric ConTeXt version
2023.09.26 18:19
the diacritics look fine in both ConTeXt and unicode editor MS N
after or before the dash, since I don't
> like it to stick to some letters like "o").
Just consider that you should add an horizontal box (or pair both space
and hyphen), otherwise you may get a line break between character and
hyphen (instead of the hair space):
\starttext
\start
>> this underbar is a fraction to near the text. So I wanted to use
>> \setupbar[…] to change the offset. Unfortunately nothing happens whatever I
>> try.
>>
>> MWE:
>>
>> \setupba
Willi Egger schrieb am 28.03.2024 um 17:23:
Hello everybody,
I have a text, where a couple of lines are typeset with \underbar. — To me this
underbar is a fraction to near the text. So I wanted to use \setupbar[…] to
change the offset. Unfortunately nothing happens whatever I try.
MWE
Hello everybody,
I have a text, where a couple of lines are typeset with \underbar. — To me this
underbar is a fraction to near the text. So I wanted to use \setupbar[…] to
change the offset. Unfortunately nothing happens whatever I try.
MWE:
\setupbar[offset=-.5,dy=-.5]
\starttext
Hello
\startlayout[page]
\copypages[test-file.pdf]
\stoplayout
\stoptext
How could I avoid this offset please?
You have to change the layout for the pages where you include your
images to get rid of the default margins.
Wolfgang
avoid this offset please?
TIA for any hints,
--
Peter
___
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
I have been able to achieve it as following, but the first frame width is
fixed so will cause problems with other chapter numbers such as VIII
\unexpanded\def\HeadTitle#1#2%
{\hbox to \hsize \bgroup
\hfill
\setupframed[offset=.5em,frame=off]
\tbox{\framed[width=22mm,align=right]{#1}}%
\tbox
w, see the results of Hans has given to \quote{metapost lovers}, here
is some of the trickery used :
\startMPpage[offset=1ts]
draw image (
fill (unitsquare xscaled 10cm yscaled 4cm)
withcolor svgcolor(0.5,0,0)
;
registerluminositygroup ("test") (
fill (unitsquare scaled 2cm) shif
rmat one has to specify every character with
> possible abuse of a substitution feature that accesses it. So that is no
> longer a real interesting option, unless of course one exports all text
> as curves, just to be sure.
>
> (I will extend general text suport but it will always be sub
me cleanup,
ps. For metapost lovers, here is some of the trickery used:
\startMPpage[offset=1ts]
draw image (
fill (unitsquare xscaled 10cm yscaled 4cm)
withcolor svgcolor(0.5,0,0)
;
registerluminositygroup ("test") (
fill (unitsquare
ne.
> Indeed, no need to show of the obvious
>
> \definebar
>[mybar]
>[backgroundbar]
> [height=\strutht,depth=\strutdp,offset=.250ex,color=red]
>
> [...]
That looks perfect, thanks!
-- Max
__
will do).
>
> Position options:
> * relative placement as floats, i.e. \placefigure
> * absolute placement on layers, i.e. \setlayer
> * relative corrections with \offset (also within floats)
>
> Hraban
> _
vate mail) how you make your documents (a MWE will do).
Position options:
* relative placement as floats, i.e. \placefigure
* absolute placement on layers, i.e. \setlayer
* relative corrections with \offset (also within floats)
Hr
t not seeing it
in the example.
Thanks again,
-- Max
I can confirm that it works over \alignhere. Hans is doing some black
magic, but I guess he did not want to show off by including the whole
line.
Indeed, no need to show of the obvious
\definebar
[mybar]
[backgroundbar]
[height=\struth
| www.pragma-ade.nl | www.pragma-pod.nl
-
inter-001.pdf
Description: Adobe PDF document
\definebar[mybar][inlined][offset=.25ex,color=red]
\starttext
\startformula
a \alignhere= b + c \breakhere
\myba
ad[section][page=yes]
\unprotect
\newbox\intertext_tmp_box
\newdimen\intertext_tmp_dimen
\starttexdefinition protected newintertext #1
\texthere[left]{
\setbox\intertext_tmp_box=\hbox{
\startframedtext[
offset=none,
width=\hsize,
normalization on the
way]):
\definefontfamily[mainface][rm][EBGaramond]
\setupbodyfont[mainface, 500pt]
\definecolor [tred] [r=1,t=.5,a=1]
\definecolor [tblue] [b=1,t=.25,a=1]
\starttext
\startTEXpage[offset=1ex]
\startoverlay
{\color[tred]{Ά}}
{\color[tblue]{Ά}}
\stopoverlay
},
it={style: regular, features:{default, quality, slanted}},
sl={style: regular, features:{default, quality, slanted}}]
\setupbodyfontenvironment
[default]
[em=italic]
\setupbodyfont[mainface]
\starttext
\startTEXpage[offset=1em]
a\\
\em b\\
\em c\\
\em d
},
it={style: regular, features:{default, quality, slanted}},
sl={style: regular, features:{default, quality, slanted}}]
\setupbodyfontenvironment
[default]
[em=italic]
\setupbodyfont[mainface]
\starttext
\startTEXpage[offset=1em]
a\\
\em b\\
\em c\\
\em d
: regular, features:{default, quality, slanted}}]
\setupbodyfontenvironment
[default]
[em=italic]
\setupbodyfont[mainface]
\starttext
\startTEXpage[offset=1em]
a\\
\em b\\
\em c\\
\em d\\
\stopTEXpage
\stoptext
LMTX gets b, c and d in slanted form.
LuaTeX gets only
, quality}},
bf={style: regular, features:{default, boldened-30}},
bi={style: regular, features:{default, boldened-30, slanted}}]
\setupbodyfont
[mainface, 30pt]
\starttext
\startTEXpage[offset=1ex]
a
{\it a}\\
{\bf a}
{\bi a}
\stopTEXpage
\stoptext
}},
bi={style: regular, features:{default, boldened-30, slanted}}]
\setupbodyfont
[mainface, 30pt]
\starttext
\startTEXpage[offset=1ex]
a
{\it a}\\
{\bf a}
{\bi a}
\stopTEXpage
\stoptext
With current latest (2024.02.27 09:21), LuaTeX gets boldened and slanted
for regular
[
frame=off,
strut=no,
height=\headerheight,
offset=none,
align=low,
roffset=1em,
]
\getmarking[subject]
\stopframed
\stopsetups
\startsetups [header:leftpage]
\startframed [
frame=off,
strut=no,
height=\headerheight,
offset=none,
> 'structures_tags_handler'\n [string \"local tonut = nodes.tonut...\"]:21:
> in function <[string \"local tonut = nodes.tonut...\"]:12>\n (...tail
> calls...)\n ...mtx/tex/texmf-context/tex/context/base/mkxl/node-shp.lmt:38:
> in function
> <...mtx
\inmargin, \inouter etc.
Additional to Wolfgang’s suggestions:
If you need sidefloats that cover not only the margin but should
decrease the text width, you can move sidefloats into the margin like:
\startplacefigure[title={},location=outer]
\offset[rightoffset=-\marginwidth]{\externalfigure[cow
.
For the example, I use this macro definition (which does no work!)
\long\def\prueba
#1\par#2\par#3\par#4ñ{\framed[frame=off,width=0.8\textwidth,corner=round,offset=1em,align=flushleft]%
{{\bf Beispiel}: #1\\
\qquad a) #2\\
\qquad b) {\bf #3}\\
\qquad c) #4
}
I get: tex error on line 493 in file
7:56 am, Mikael Sundqvist wrote:
> >
> > Hi,
> >
> > not sure I get what you are missing. But you can try
> >
> > setbounds currentpicture to (fullsquare scaled 200) ;
> >
> > in base. And then do
> >
> > \dorecurse{5}{
> > \start
ages entry
> with it. Feel free to modify.
>
> Cheers
> Emanuel
>
> On Feb. 16 2024, at 7:56 am, Mikael Sundqvist wrote:
>
> Hi,
>
> not sure I get what you are missing. But you can try
>
> setbounds currentpicture to (fullsquare scaled 200) ;
>
>
. And then do\dorecurse{5}{\startTEXpage[offset=1DK]\useMPgraphic{layerset#1}\stopTEXpage}if that is the looping you are after./MikaelOn Fri, Feb 16, 2024 at 6:54 AM Emanuel Han via ntg-context wrote:>> Resp. the solution should be such that each generated PDF page has the same dimension, th
does no work!)
\long\def\prueba
#1\par#2\par#3\par#4ñ{\framed[frame=off,width=0.8\textwidth,corner=round,offset=1em,align=flushleft]%
{{\bf Beispiel}: #1\\
\qquad a) #2\\
\qquad b) {\bf #3}\\
\qquad c) #4
}
I get: tex error on line 493 in file ./prueba.tex: The file ended when
scanning
ot sure I get what you are missing. But you can try
> setbounds currentpicture to (fullsquare scaled 200) ;
> in base. And then do
> \dorecurse{5}{
> \startTEXpage[offset=1DK]
> \useMPgraphic{layerset#1}
> \stopTEXpage
> }
>
> if that is the looping you are after.
> /M
Hi,
not sure I get what you are missing. But you can try
setbounds currentpicture to (fullsquare scaled 200) ;
in base. And then do
\dorecurse{5}{
\startTEXpage[offset=1DK]
\useMPgraphic{layerset#1}
\stopTEXpage
}
if that is the looping you are after.
/Mikael
On Fri, Feb 16, 2024 at 6:54 AM
aphic{base}
> > > z1 = origin ;
> > > z2 = (10,50) ;
> > > z3 = (40,30) ;
> > >
> > > picture layerA;
> > > layerA:=image(
> > > label("Word 1", z1);
> > > );
> > >
> > > picture layerW;
> > > layerW:
;
> > layerW:=image(
> > label("Mot 2", z2);
> > );
> >
> > picture layerM;
> > layerM:=image(
> > label("Parola 3", z3);
> > );
> >
> > picture layerC;
> > layerC:=image(
> > label("Wort 4", z3
icture layerC;
> layerC:=image(
> label("Wort 4", z3+z1);
> );
>
> picture layerY;
> layerY:=image(
> label("Nummer 5", z2+z3);
> );
>
> picture layerU;
> layerU:=image(
> label("number 6", z2+z1);
> );
> \stopuseMPgraphic
>
rtuseMPgraphic{layerset2}
\includeMPgraphic{layerset1} ;
draw layerY ;
\stopuseMPgraphic
\startuseMPgraphic{layerset3}
\includeMPgraphic{layerset2} ;
\includeMPgraphic{Gamma} ;
\stopuseMPgraphic
\startuseMPgraphic{layerset4}
\includeMPgraphic{layerset2} ;
draw layerU ;
\stopuseMPgraphic
\startu
mechanism to set the text offset on
the left and right sides and when you combine both mechanism the values
are added. In case you you have a document where a descriptions appear
as part of an item I suggest to use a different alternative (e.g.
serried) for the description layout.
Wolfgang
On Wed, 31 Jan 2024 19:41:02 +0100
Hans Hagen wrote:
> >> How do it get the same spacing as in the framedtext case?
> >
> > Is there a solution to this? Or an explanation why the spacing
> > differs?
> these are fundamentally different mechanisms .. you can play with
> \inframed in the
On 1/31/2024 7:15 PM, Marco Patzer wrote:
On Thu, 16 Nov 2023 13:52:05 +0100
Marco Patzer wrote:
I'm having problems getting the textbackground spacing offset to work.
Example:
\setupframedtext
[offset=overlay,
width=max,
depthcorrection=off]
\setuptextbackground
[location
On Thu, 16 Nov 2023 13:52:05 +0100
Marco Patzer wrote:
> I'm having problems getting the textbackground spacing offset to work.
> Example:
>
> \setupframedtext
> [offset=overlay,
>width=max,
>depthcorrection=off]
>
> \setuptextbackground
> [loca
i pages,
>> (2) The wiki pages are misleading/wrong, or
> I would say, that the offset and frameoffset don’t seem to be available
> in \setupexternalfigure.
And yet, experiments suggest that frameoffset does indeed do something (in,
specifically, \externalfigure, I didn't yet try \setupexternalfigur
rame=on,...]{\externalfigure...}
> but this leaves me wondering whether
> (1) I am misinterpreting the wiki pages,
> (2) The wiki pages are misleading/wrong, or
I would say, that the offset and frameoffset don’t seem to be available
in \setupexternalfigure.
> (3) There is a bug in some code.
>
>
particular, the offset=... option of \externalfigure does not seem to be
consistent with the offset=... option of \framed.
Here is the example... one and all should be able to directly run it, but
the text above and below each picture may make the issues clear without
having to run the code. (Th
because the ages of dohbling performance every year are past.
There are several factors that impact performance:
tex engine : quite a bit faster in luametatex
mp engine : quite a bit faster in luametatex
lua engine : not much we can do about
but inefficient macros and usage can offset any gain
rescripts:
\startTEXpage[offset=1DK]
\m{1 - {}^nC_2\tan^2\theta + {}^nC_4 }
\m{1 - C_2^^n \tan^2\theta + C_4^^n }
\stopTEXpage
If you want them below, use double _.
/Mikael
On Mon, Jan 15, 2024 at 7:45 AM Shiv Shankar Dayal
mailto:shivshankar.da...@gmail.com>
Thanks a lot Mikael.
On Mon, Jan 15, 2024 at 12:24 PM Mikael Sundqvist wrote:
> Hi,
>
> ConTeXt supports prescripts:
>
> \startTEXpage[offset=1DK]
>
> \m{1 - {}^nC_2\tan^2\theta + {}^nC_4 }
>
> \m{1 - C_2^^n \tan^2\theta + C_4^^n }
>
> \stopTEXpage
>
Hi,
ConTeXt supports prescripts:
\startTEXpage[offset=1DK]
\m{1 - {}^nC_2\tan^2\theta + {}^nC_4 }
\m{1 - C_2^^n \tan^2\theta + C_4^^n }
\stopTEXpage
If you want them below, use double _.
/Mikael
On Mon, Jan 15, 2024 at 7:45 AM Shiv Shankar Dayal
wrote:
>
> Suppose I want to t
t; > symbols is wheelchair. However, when using that, I just got the string
> > _378 (3.pdf). Source code:
> >
> > ```
> > \usesymbols[fontawesome]
> >
> > \startTEXpage[offset=1pt]
> > \symbol[fontawesome][wheelchair]
> > \stopTEXpa
here, one of the few remaining
symbols is wheelchair. However, when using that, I just got the string
_378 (3.pdf). Source code:
```
\usesymbols[fontawesome]
\startTEXpage[offset=1pt]
\symbol[fontawesome][wheelchair]
\stopTEXpage
```
Is there a problem with my installation?
Additional
chair. However, when using that, I just got the string
_378 (3.pdf). Source code:
```
\usesymbols[fontawesome]
\startTEXpage[offset=1pt]
\symbol[fontawesome][wheelchair]
\stopTEXpage
```
Is there a problem with my installation?
Additional output:
```
% mtxrun --script fonts --list --all --
\HF or \HF[n].
\startTEXpage[offset=1DK]
\dm{
\startnamedmatrix[matrix:bars]
\NC 1 \NC x \NC x^2 \NC \ldots \NC x^{n-1} \NR
\NC 1 \NC y \NC y^2 \NC \ldots \NC y^{n-1} \NR
\HF[3] \NR
\NC 1 \NC z \NC z^2 \NC \ldots \NC z^{n-1} \NR
\stopnamedmatrix
}
\stopTEXp
1.
>>> >
>>> > \mapfontsize[modern][script] [.4]
>>> > \mapfontsize[modern][scriptscript][.2]
>>> >
>>> > \setupbodyfont[modern,12pt]
>>> >
>>> > \startTEXpage[offset=1DK]
>>> > \m{z_{n+1}}
>>> > \stopT
ipt] [.4]
>> > \mapfontsize[modern][scriptscript][.2]
>> >
>> > \setupbodyfont[modern,12pt]
>> >
>> > \startTEXpage[offset=1DK]
>> > \m{z_{n+1}}
>> > \stopTEXpage
>>
>> Strange, here it looks OK. Maybe something that will be solved when
&
l symbol is too big as well as the number 1.
> >
> > \mapfontsize[modern][script] [.4]
> > \mapfontsize[modern][scriptscript][.2]
> >
> > \setupbodyfont[modern,12pt]
> >
> > \startTEXpage[offset=1DK]
> > \m{z_{n+1}}
> > \stopTEXpage
>
> S
ing example the operational
> > symbol is too big as well as the number 1.
> >
> > \mapfontsize[modern][script] [.4]
> > \mapfontsize[modern][scriptscript][.2]
> >
> > \setupbodyfont[modern,12pt]
> >
> > \startTEXpage[offset=1DK]
> &
etupbodyfont[modern,12pt]
>
> \startTEXpage[offset=1DK]
> \m{z_{n+1}}
> \stopTEXpage
Strange, here it looks OK. Maybe something that will be solved when
there is an update then.
/Mikael
___
If your quest
Thank you for your suggestion but in the following example the operational
symbol is too big as well as the number 1.
\mapfontsize[modern][script] [.4]
\mapfontsize[modern][scriptscript][.2]
\setupbodyfont[modern,12pt]
\startTEXpage[offset=1DK]
\m{z_{n+1}}
\stopTEXpage
Le ven. 29 déc. 2023 à
, z_{n+1}=\frac{i}{3}z_n}
you could try something like (here with too small numbers only to show...)
\mapfontsize[modern][script] [.4]
\mapfontsize[modern][scriptscript][.2]
\setupbodyfont[modern,10pt]
\startTEXpage[offset=1DK]
\m{3^{2^3}}
\stopTEXpage
I
nTeXt cannot simply find where the
> converted PDF versions of the zint images are.
>
> If I have the following source in testing-barcodes.tex:
>
> \usemodule[m-zint]
> \starttext
> \startTEXpage[offset=1dk]
> \barcode[alternative=isbnx, text=9783865419026,
stalled (or its path is
unknown to the system), or ConTeXt cannot simply find where the
converted PDF versions of the zint images are.
If I have the following source in testing-barcodes.tex:
\usemodule[m-zint]
\starttext
\startTEXpage[offset=1dk]
\barcode[alternative=isbnx, text=9783865419026, width=
th%,%line%,%color%);
-- ]],
-- ["fake:rule"] = replacer[[
-- %initializations%
-- FakeRule(%width%,%height%,%depth%,%line%,%color%);
-- ]],
-- ["fake:rest"] = replacer [[
-- RuleDirection := "%direction%" ;
-- RuleOption := "%option%&quo
[MyColorA][.75(MyColorB,white)]
\defineframed
[FrameTitle]
[frame=off,
foregroundstyle=\bfx\ss,
foregroundcolor=white,
background=color,
backgroundcolor=MyColorD,
location=depth]
\defineframedtext
[FramedText]
[offset=0.25em,
style=\ss
the code that works on its own, but causes the results as
shown in the attachments within my book. There’s nowhere a \setupframed,
and nothing that should influence MetaPost.
Do you have any clue for what I should look?
Hraban
\starttext
\framed[
rulethickness=1pt,
offset=0.5em
themselves.
Basically one can sign (with some certificate) and then validate.
% sign-001.tex
\setupinteraction[state=start]
\definefield[signature][signed]
\defineoverlay[signature][my signature]
\starttext
\startTEXpage[offset=1ts,frame=on,framecolor=darkblue]
sign: \inframed
Hi!
I'm having problems getting the textbackground spacing offset to work.
Example:
\setupframedtext
[offset=overlay,
width=max,
depthcorrection=off]
\setuptextbackground
[location=paragraph,
%% offset=overlay, %% does nothing
%% backgroundoffset=overlay, %% does
e > > \starttext > > \input tufte > >
\blank > > \framed[frame=off,location=top,align=normal,offset=0pt]{\input tufte
} \framed[...,align={normal,hz,hanging},...]{...} Wolfgang Thank you for the
super fast answer!Another question related to my sample code:Why the right edge
=top,align=normal,offset=0pt]{\input
tufte
}\blank\setlocalhsize\framed[frame=off,location=top,align=normal,offset=0pt,width=local]{\input
tufte }\stoptextThe compiled pdf is attached as protrusion-in-framed.pdf.Is is
possible to make protrusion work in framed?I need to use framed in itemize
,location=top,align=normal,offset=0pt]{\input tufte }
\framed[...,align={normal,hz,hanging},...]{...}
Wolfgang
___
If your question is of interest to others as well, please add an entry to the
Wiki!
maillist : ntg-context
Hello:Protrusioin doesn't work in framed environment.This is a short
code:\definefontfeature[default][default][expansion=quality,protrusion=quality]\setupalign[hz,hanging]\showframe\starttext\input
tufte\blank\framed[frame=off,location=top,align=normal,offset=0pt]{\input
tufte
}\blank
r documentation for ConTeXt somewhere?
\usesymbols[fontawesome]
\startTEXpage[offset=1ts]
\symbol[fontawesome-solid][times]\quad
\symbol[fontawesome-solid][check]
\stopTEXpage
you can run symb-imp-fonta
1 - 100 of 2634 matches
Mail list logo