=off]
\setupnarrower[left=0.80cm, right=0.80cm]
\definehspace[oneem][0.5em]
\setupinteraction
[state=start,
color=blue]
\usecolors[svg]
\setupinteraction
[state=start,
contrastcolor=cornflowerblue]
\starttext
\margintext {1.1.1} {\bf Beispiel 3.2.17 (Vertauschung von All- und
genden Aussagen:
\startitemize[n,packed,broad]
\item Alle Rosen sind verwelkt oder teuer.
\item Alle rosen sind entweder verwelkt oder teuer.
\stopitemize
\par
\usecolors[svg]
\setupinteraction
[state=start,
contrastcolor=cornflowerblue]
\reference[Abschnitt:1]{3.2.1.1}
{\it Hinweis: Beachten S
>> [mode=node,language=dflt,script=arab,
> > >> init=yes,
> > >> medi=yes,
> > >> fina=yes,
> > >> isol=yes,
> > >> calt=yes,
> > >> rlig=yes,
> > >> tlig=yes,
> > >> trep=yes,
> > >> curs=yes,
> >
ym [notonaskharabic-Bold] [name:notonaskharabic]
> >> [features=fea]
> >> \definefontsynonym [notonaskharabic-Italic] [name:notonaskharabic]
> >> [features=fea]
> >> \definefontsynonym [notonaskharabic-Bold-Italic] [name:notonaskharabic]
> >> [features=fea]
> >>
t; isol=yes,
> > >> calt=yes,
> > >> rlig=yes,
> > >> tlig=yes,
> > >> trep=yes,
> > >> curs=yes,
> > >> kern=yes,
> > >> mark=yes
> > >> ]
> > >>
> > >> \starttypescript [serif] [notonaskhara
> >> [features=fea]
> >> \definefontsynonym [notonaskharabic-Bold] [name:notonaskharabic]
> >> [features=fea]
> >> \definefontsynonym [notonaskharabic-Italic] [name:notonaskharabic]
> >> [features=fea]
> >> \definefontsynonym [notonaskharabic-Bold
abic-Italic] [name:notonaskharabic]
> >> [features=fea]
> >> \definefontsynonym [notonaskharabic-Bold-Italic] [name:notonaskharabic]
> >> [features=fea]
> >> \stoptypescript
> >>
> >> \starttypescript [serif] [notonaskharabic]
> >> \usety
serif][fallback]
>> \definefontsynonym [Serif] [notonaskharabic-Light]
>>[features=fea]
>> \definefontsynonym [SerifItalic] [notonaskharabic-Italic]
>> [features=fea]
>> \definefontsynonym [SerifBold]
=fea]
> \definefontsynonym [SerifItalic]
> [notonaskharabic-Italic] [features=fea]
> \definefontsynonym [SerifBold]
> [notonaskharabic-Bold][features=fea]
> \definefontsynonym [SerifBoldItalic]
> [notonaskharabic-Bold-Italic] [features=fea]
> \stoptypescri
notonaskharabic-Italic] [features=fea]
> \definefontsynonym [SerifBold] [notonaskharabic-Bold] [features=fea]
> \definefontsynonym [SerifBoldItalic] [notonaskharabic-Bold-Italic]
> [features=fea]
> \stoptypescript
>
> \starttypescript [notonaskharabic]
> \definetypeface [notona
fea]
\stoptypescript
\starttypescript [notonaskharabic]
\definetypeface [notonaskharabic] [rm] [serif] [notonaskharabic] [default]
\stoptypescript
\usetypescript[notonaskharabic]
\setupbodyfont [RomanFont]
\usecolors[crayola]
\startMPinclusions
picture p[];
path TheFrame ;
TheFrame := fullsquare scaled 5
Hi,
It is fun fact very easy to do. You just use \startMPpage (…) \stopMPpage
multiple times. Here is an example which build an animation of a particle
moving according to a Brownian motion.
Fabrice.
% 8< ---
\usecolors[crayola]
\setupMPinsta
el 7, order 59, name 'pgfmoduleshapes.code.tex'
> close source> level 7, order 59, name 'pgfmoduleshapes.code.tex'
> close source> level 6, order 59, name 'pgfmodulematrix.code.tex'
> open source > level 6, order 60, name 'tikzlibrarytopaths.code.tex'
> close source
s.code.tex'
close source> level 5, order 62, name 'pgfmoduledecorations.code.tex'
close source> level 4, order 62, name
'/home/fabrice/LMTX/tex/texmf-context/tex/context/modules/mkxl/m-tikz.mkxl'
modules > 'pgfplots' is not found
tex error > tex error on line 8 in fi
ntg-context
> webpage : https://www.pragma-ade.nl / http://context.aanhet.net
> archive : https://bitbucket.org/phg/context-mirror/commits/
> wiki : https://contextgarden.net
>
> ___
>
\starten
. I'm guessing the way lmt_shade areas are
drawn is the way to go. Is this likely to be easy to code for what I
want to do?
Best Wishes
Keith McKay
%%%MWE%%
\setuppapersize[A4,portrait]
\usecolors[crayola]
\starttext
\startMPpage %page 1
StartPage;
numeric maxTransp;% Must be between 0 and 1
I use a predefined colour, in this
case BurntSienna from the crayola collection, it works as expected.
I have tried a number of ways to get this to work as shown in the
code but without success. I would be grateful for any suggestions.
Best Wishes
Keith McKay
MWE%%%%%
,portrait]
\usecolors[crayola]
\starttext
\dorecurse{10}{
\startMPpage
StartPage;
\definecolor[name="myColor1", r = uniformdeviate(1), g =
uniformdeviate(1), b = uniformdeviate(1) ] ;
fill unitsquare xscaled PaperWidth yscaled PaperHeight withcolor
"myColor1";
for i =2 step 2
as expected. I have
tried a number of ways to get this to work as shown in the code but
without success. I would be grateful for any suggestions.
Best Wishes
Keith McKay
MWE%
\setuppapersize[A4,portrait]
\usecolors[crayola]
\starttext
\dorecurse{10
xpected. I have tried a number of ways to get this to work as
>> shown in the code but without success. I would be grateful for any
>> suggestions.
>>
>> Best Wishes
>>
>> Keith McKay
>>
>> MWE%
>>
%%MWE%
> \setuppapersize[A4,portrait]
> \usecolors[crayola]
> \starttext
> \dorecurse{10}{
> \startMPpage
> StartPage;
> \definecolor[name="myColor1", r = uniformdeviate(1), g = uniformdeviate(1),
> b = uniformdeviate(1) ] ;
> fill unitsqu
this to work as shown in the code but without success. I would be
grateful for any suggestions.
Best Wishes
Keith McKay
MWE%
\setuppapersize[A4,portrait]
\usecolors[crayola]
\starttext
\dorecurse{10}{
\startMPpage
StartPage;
\definecolor[name="myColor
You can also consider using viewerlayer:
\setupinteraction[state=start]
\defineviewerlayer[solution]
\setupcolors[state=start]
\usecolors[xwi]
\definecolor[keyColor][1.0(maroon)]
\starttext
\startitemize[n]
\but[ToggleLayer{solution}]
\samplefile{tufte}
\blank[big]
\startviewerlayer
NC S_6 \NC= \NC 6 \NC+ \NC 5 \NC+ \NC\dots \NC+ \NC 2\NC+ \NC 1 \NR
> \NC\NC 2S_6 \NC= \NC 7 \NC+ \NC 7 \NC+ \NC\dots \NC+ \NC 7 \NC+ \NC 7 \NR
> \stopmathalignment
> \stopformula}
> \stoptext
>
> Is there a simpler way to typeset something like this?
How about:
\usecolors
On 9/26/2021 5:07 PM, Fabrice Couvreur via ntg-context wrote:
Hi,
How to fix the small problem in the code below where the text goes out
of the frame ?
Thanks
Fabrice
\usecolors[x11]
\starttext
\startframedtext[frame=off,width=\textwidth,
align={broad,right},indenting={yes},background
Hi,
How to fix the small problem in the code below where the text goes out of
the frame ?
Thanks
Fabrice
\usecolors[x11]
\starttext
\startframedtext[frame=off,width=\textwidth,
align={broad,right},indenting={yes},background=color,backgroundcolor=navajowhite1]
\startitemize[columns,three
I have the following document, but I want a different
\setuplayout[backspace] for the titlepage and copyright space. What is
the best way to achieve this?
\setupcolors
[state=start]
\usecolors
[xwi]
\usetypescriptfile
[euler]
\definetypeface
[mainface][rm][serif][pagella
I have the following document, but I want a different
\setuplayout[backspace] for the titlepage and copyright space. What is
the best way to achieve this?
\setupcolors
[state=start]
\usecolors
[xwi]
\usetypescriptfile
[euler]
\definetypeface
[mainface][rm][serif][pagella
64bit tree but not in the manual in the
X86 64bits tree.
Best Wishes
Keith McKay
Hamilton, Scotland.
%
\setuppapersize [A4, portrait]
\usecolors[crayola]
\starttext
\startMPpage
StartPage;
width := PaperWidth ; height := PaperHeight ; unit := cm ;
definecolor
same units?
The MWE belows shows what I have been doing.
Thanks
Keith McKay
%%% MWE %%%
\setuppapersize [A5, landscape][A4, portrait]
\usecolors[crayola]
\starttext
\startMPpage
StartPage;
width := PaperWidth ; height := PaperHeight ; unit := cm ;
numeric squig;
pair a[]; a0 = (2cm,11cm); a1 =
thin MetaFun which takes account of
the units in a pair and outputs the result of x and ypart in the
same units?
The MWE belows shows what I have been doing.
Thanks
Keith McKay
%%% MWE %%%
\setuppapersize [A5, landscape][A4, portrait]
\usecolors[crayola]
\starttext
\startMPpage
Star
ade
>>> the assumption that since the x and ypart in the pair was in cm that the
>>> result would be in cm, but I see now that this is not the case. Will I have
>>> to continue doing this or is there some magic within MetaFun which takes
>>> account of
tuppapersize [A5, landscape][A4, portrait]
\usecolors[crayola]
\starttext
\startMPpage
StartPage;
width := PaperWidth ; height := PaperHeight ; unit := cm ;
numeric squig;
pair a[]; a0 = (2cm,11cm); a1 = (4cm,10cm); a2 = (6cm,9cm); a3 =
(8cm,8cm);
show xpart a[0], ypart a[0]; %Example of result from
to continue doing this or
is there some magic within MetaFun which takes account of the units
in a pair and outputs the result of x and ypart in the same units?
The MWE belows shows what I have been doing.
Thanks
Keith McKay
%%% MWE %%%
\setuppapersize [A5, landscape][A4, portrait]
\useco
uts the result of x
and ypart in the same units?
The MWE belows shows what I have been doing.
cm is not really a unit but a multiplier
cf := 72/2.54; %Converts points/in to points/cm%
message(cm);
message(cf);
Thanks
Keith McKay
%%% MWE %%%
\setuppapersize [A5, landscape][A4, portrait]
\usecol
continue doing this or is there some magic within MetaFun which takes account
> of the units in a pair and outputs the result of x and ypart in the same
> units?
>
> The MWE belows shows what I have been doing.
>
> Thanks
>
> Keith McKay
>
> %%% MWE %%%
>
its?
The MWE belows shows what I have been doing.
Thanks
Keith McKay
%%% MWE %%%
\setuppapersize [A5, landscape][A4, portrait]
\usecolors[crayola]
\starttext
\startMPpage
StartPage;
width := PaperWidth ; height := PaperHeight ; unit := cm ;
numeric squig;
pair a[]; a0 = (2cm,11cm); a1 = (4cm,1
Hello,
This table will be used to illustrate Pascal's triangle. I manage to color
the cell (2,0) but I would also like to color the cells (2,1) and (3,1). Is
it possible ?
Thank you
Fabrice
\usecolors[X11]
\starttext
\startluacode
local background_one = {
align = "middle",
sty
hanks
Keith
%%
system >
system > ConTeXt ver: 2020.07.29 18:36 LMTX fmt: 2020.7.29 int:
english/english
system >
%%%
\setuppapersize [A5, portrait]
\usecolors[crayola]
\starttext
\startMPpage
StartPage;
width
nd this? Here is the code.
>
> Thanks
>
> Keith
>
> %%
> system >
>
> system > ConTeXt ver: 2020.07.29 18:36 LMTX fmt: 2020.7.29 int:
> english/english
> system >
>
> %%%
>
>
> \setuppapersize [
this? Here is the code.
Thanks
Keith
%% system >
system > ConTeXt ver: 2020.07.29 18:36 LMTX fmt: 2020.7.29 int:
english/english
system >
%%%
\setuppapersize [A5, portrait]
\usecolors[crayola]
\starttext
\startMPpage
StartPag
; > 1st:
> >
> > What is the correct way to pass a ConTeXt named color (e.g. xwi's
> "maroon")
> > to MetaFun. Using (with \usecolors[xwi] loaded in the preamble):
> >
> > withcolor maroon
> >
> > does not work.
>
> You need:
>
>
On Thu, 13 Aug 2020, Jairo A. del Rio wrote:
> Hi, list! I have two questions concerning MetaFun:
>
> 1st:
>
> What is the correct way to pass a ConTeXt named color (e.g. xwi's "maroon")
> to MetaFun. Using (with \usecolors[xwi] loaded in the preamble):
>
> w
Hi, list! I have two questions concerning MetaFun:
1st:
What is the correct way to pass a ConTeXt named color (e.g. xwi's "maroon")
to MetaFun. Using (with \usecolors[xwi] loaded in the preamble):
withcolor maroon
does not work. I could copy-paste definitions from ConTeXt sources
Thank you
Fabrice
\usecolors[X11]
\startuseMPgraphic{DiagonalRule}
rulethickness := \frameddimension{rulethickness};
drawoptions(
withpen pencircle scaled rulethickness
withcolor \MPcolor{\framedparameter{framecolor}});
pair leftcorner, rightcorner;
leftcorner := (rulethickness
I note the first method only works when \usecolors[xwi]
is present; otherwise, it prints an interesting "themaintextcolor".
Here is a nostalgic mkii accessor for such a list (color support is a
real old feature and conceptually hasn't changed that much):
\def\Wh
El dom., 12 de jul. de 2020 a la(s) 16:20, Hans Hagen (j.ha...@xs4all.nl)
escribió:
> You get a list of defined color names in 'xwi' with:
>
> attributes.colors.setlist("xwi")
>
Nice, it works! I note the first method only works when \usecolors[xwi] is
present
and color parameters while I did not succeed using
textext (). My problem is the size of the letters which is too small.
Thank you.
Fabrice
\usecolors[xwi]
\definecolor [prune] [r=1.29,g=.20,b=.83]
\starttext
\startMPcode
vardef card(expr s, c) = image(
draw fullsquare xyscaled (2cm,4cm
ibility, performance ...), this is only possible with
> \startframed.
> >>
> >> 3. ConTeXt uses different mechanism to draw rectangular (unless you
> draw a
> >> closed frame) and rounded frame and the mechanism for rounded frames
> doesn't
> >> work with o
a) use MetaPost to draw the
complete card (letter plus frame) or b) use only TeX to put the letter in a
frame and rotate it.
begin tex example
\usecolors[svg]
\defineframed
[frameletter]
[width=1.25em,
height=1.75em,
foregroundstyle=\ssbfc,
corner=round,
radius=0.1
t; work with outlinetext.
>
> 4. To achieve the desired result you can now a) use MetaPost to draw the
> complete card (letter plus frame) or b) use only TeX to put the letter in a
> frame and rotate it.
>
> begin tex example
> \usecolors[svg]
>
> \defineframed
&
in a frame and rotate it.
begin tex example
\usecolors[svg]
\defineframed
[frameletter]
[width=1.25em,
height=1.75em,
foregroundstyle=\ssbfc,
corner=round,
radius=0.1\bodyfontsize,
rulethickness=1pt]
\starttext
\startTEXpage[offset=\linewidth]
\dontleavehmode
\rotate
Hi,
I try to reproduce the figure as faithfully as possible. I tried for the
rounded corners to put the key corner = round, but it does not work.
Thanks for your help.
Fabrice
\usecolors[xwi]
\definecolor [prune] [r=1.29,g=.20,b=.83]
\starttext
\setupframed[frameletter][corner=round,align=normal
Hi,
I would like to hatch the cell green.
Thank you.
Fabrice
\usecolors[xwi]
\startuniqueMPgraphic{meta:hash}{linewidth,linecolor,angle,gap}
if unknown context_back : input mp-back ; fi ;
some_hash ( OverlayWidth, OverlayHeight ,
\MPvar{linewidth}, \MPvar{linecolor} ,
\MPvar{angle}, \MPvar{gap
line (CM) is perpendicular to the line (NP).
> I do not understand the error of this code.
> Thank you
> Fabrice
>
> \usecolors[xwi]
> \starttext
> \startMPcode
> path carre, p;
> carre = unitsquare scaled 138;
>
> pair a, b, c, d, N, P, M;
> a = point
Hi,
The point M is such that the line (CM) is perpendicular to the line (NP).
I do not understand the error of this code.
Thank you
Fabrice
\usecolors[xwi]
\starttext
\startMPcode
path carre, p;
carre = unitsquare scaled 138;
pair a, b, c, d, N, P, M;
a = point 0 of carre;
b = point 1
space[]. Nevertheless, it does not work with this :
>
> \usecolors[xwi]
> \starttext
> \startframedtext[width=fit,frame=off,
>
> background=color,backgroundcolor=paleturquoise]
>
> {\it lancers}\unknown
>
> {\it dé}\unknown
>
> Tant que {\it dé}\unknown Faire
&
Fabrice Couvreur schrieb am 03.11.2019 um 22:46:
Hi Wolfgang,
I know it takes a predefined argument, but I wanted to quote the name
of the command as such \hspace[]. Nevertheless, it does not work with
this :
\usecolors[xwi]
\starttext
\startframedtext[width=fit,frame=off,
background=color
Hi Wolfgang,
I know it takes a predefined argument, but I wanted to quote the name of
the command as such \hspace[]. Nevertheless, it does not work with this :
\usecolors[xwi]
\starttext
\startframedtext[width=fit,frame=off,
background=color,backgroundcolor=paleturquoise]
{\it lancers
Hello,
The \hspace [ ] command has no effect in an environment framedtext.
Why ?
Thank you.
Fabrice
\usecolors[xwi]
\starttext
\startframedtext[width=fit,frame=off,
background=color,backgroundcolor=paleturquoise]
{\it lancers}\unknown
{\it dé}\unknown
Tant que {\it dé}\unknown Faire
\hspace
On 9/23/19 4:12 PM, Fabrice Couvreur wrote:
Hello,
I can not change the font size of my figures in the table.
Thank you
Fabrice
Does changing
\usecolors [xwi]
to
\usecolors [ema]
help?
All best
Thomas
Hello,
I can not change the font size of my figures in the table.
Thank you
Fabrice
\usecolors[xwi]
\startbuffer[myfigure]
\dontleavehmode
\startMPcode
defaultfont := "texgyrepagella-regular*default" ;
defaults
] prevent \blank[-0.5em] from working
after a \framed?
(Ok. I better sleep before I pollute the mailing list further.)
Apparent Solution:
\usecolors[xwi]
\setupwhitespace[line]
\starttext
\definetextbackground[secondary][
location=always,
background=color,
backgroundcolor=lightgray
Hi all,
Ok, last message in this topic, I promise. I’ve crafted a MWE.
If I \setupwhitespace[line], the \blank[-0.5em] stops working. I’m sure I need
to revise my TeX notes. For now, can somebody give me a little encouragement
and tell me the answer? :-P
\usecolors[xwi]
% \setupwhitespace
On 7/12/2016 11:17 PM, Henri Menke wrote:
Adding \usecolors[xwi] to the example does not change anything. Looking
at base/colo-imp-xwi.mkiv revealed, that it does not alter the way
colors are defined, but just defines a huge bunch of additional ones.
afaiks it has the same 'gray' as tikz
probably used for tracing) colors are
> defined in such a way that they don't go via the context resolver. As
> these (few) colors are basically x windows colors, you can start your
> document with:
>
> \usecolors[xwi]
>
> which will set the context colors differently.
Adding \
resolver. As
these (few) colors are basically x windows colors, you can start your
document with:
\usecolors[xwi]
which will set the context colors differently.
\usemodule[tikz]
\starttext
% Original gray
\blackrule[color=gray,width=1cm,height=1pt]
\starttikzpicture
\draw[gray,line width=1pt
67 matches
Mail list logo