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
Hi Wolfgang,
I had done the same thing but I thought this solution was not the most
elegant, and I wanted to know what the specialists were going to do.
Thank you.
Fabrice
Le dim. 12 sept. 2021 à 16:50, Wolfgang Schuster via ntg-context <
ntg-context@ntg.nl> a écrit :
> Fabrice Couvreu
Hi Wolfgang,
That's what I understood but the problem is that if I reduce the margin,
the logo is too small in my opinion : what would you do ?
Indeed the line is green but you will have understood: =)
Fabrice
Le sam. 11 sept. 2021 à 19:17, Wolfgang Schuster via ntg-context <
ntg-contex
Hi Wolfgang,
The red frame is the print area ?
Le sam. 11 sept. 2021 à 16:43, Wolfgang Schuster via ntg-context <
ntg-context@ntg.nl> a écrit :
> Fabrice Couvreur via ntg-context schrieb am 11.09.2021 um 16:32:
>
> Hello,
> I like to put a logo on my statements but I noticed
Hello,
I like to put a logo on my statements but I noticed that the image is
cropped on the edge.
I tried to change the printer's print settings but was unsuccessful.
Thanks
Fabrice
\setuplayout[width=middle,height=middle]
\setupfootertexts
[margin]
[]
[{\offset[y=\st
Hi,
I am trying to test this file but without success.
I just do context test.tex but I suspect that is not it.
When you say
> We compile and run:
>
Which command is it with ?
Thanks
Fabrice
Le ven. 3 sept. 2021 à 18:26, Hans Hagen via ntg-context
a écrit :
> On 9/3/2021 3:53 P
orecurse{1}{\samplefile[lorem]r}
\stoptext
%%%%%%%
Fabrice
Le jeu. 26 août 2021 à 17:56, Wolfgang Schuster via ntg-context <
ntg-context@ntg.nl> a écrit :
> Taco Hoekwater via ntg-context schrieb am 26.08.2021 um 16:34:
> >
> > Hi,
> >
> >> On 26 Aug 20
thers.
Thanks
Fabrice
___
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/listinfo/ntg-context
webpage : http://www.pragma-a
Hi,
I want to insert a logo at the bottom of the page on the right on the first
page, on the left on the second, on the right on the third ...
With the key repeat=yes, the logo is always at the bottom right
Thanks
Fabrice
\useMPlibrary[dum]
\definelayer
[MyLogo]
[x=0mm, y=0mm,
width
Hi,
In the file below (not minimal, sorry!) I am using commands from Wolfgang
in different threads. We can see that the top frame overflows into the
text: how to correct this ?
I would also like the top and bottom stroke to be adjusted to the width of
the paper.
Thanks
Fabrice
\useMPlibrary[dum
Hello,
I don't understand why this macro works with this simple example but return
the following error if I use it for chapters in my book.
Thanks
Fabrice
\setupbodyfont
[newcomputermodern-book,11pt]
\unexpanded\def\N{\math{\mathbb{N}}\autoinsertnextspace}
\defineenumeration
nment
Le dim. 15 août 2021 à 19:03, Wolfgang Schuster via ntg-context <
ntg-context@ntg.nl> a écrit :
> Pablo Rodriguez via ntg-context schrieb am 15.08.2021 um 18:33:
> > On 8/15/21 6:02 PM, Fabrice Couvreur via ntg-context wrote:
> >> A small note : this method works if I
]
\setuplist [section][margin=1em]
\setuplist [subsection] [margin=2.75em]
Thanks
Fabrice
___
If your question is of interest to others as well, please add an entry to the
Wiki!
maillist : ntg-context@ntg.nl
Hi Pablo,
The second solution works as I want it to
Thanks
Fabrice
Le dim. 15 août 2021 à 18:33, Pablo Rodriguez via ntg-context <
ntg-context@ntg.nl> a écrit :
> On 8/15/21 6:02 PM, Fabrice Couvreur via ntg-context wrote:
> > A small note : this method works if I compile the p
A small note : this method works if I compile the project but if I compile
only one chapter, the header no longer appears.
Le dim. 15 août 2021 à 17:01, Fabrice Couvreur
a écrit :
> Hi Pablo,
> Thanks, it works.
> Fabrice
>
> Le dim. 15 août 2021 à 16:20, Pablo Rodriguez via ntg-
Hi Pablo,
Thanks, it works.
Fabrice
Le dim. 15 août 2021 à 16:20, Pablo Rodriguez via ntg-context <
ntg-context@ntg.nl> a écrit :
> On 8/15/21 12:49 PM, Fabrice Couvreur via ntg-context wrote:
> > Hello,
> > Wolfgang created a
> > heading https://mailman.ntg.nl/piperm
Hello,
Wolfgang created a heading
https://mailman.ntg.nl/pipermail/ntg-context/2021/102870.html for the
chapters of my book.
How can I prevent this header from appearing on the page with the table of
contents ?
Thanks
Fabrice
I forgot this : how to reduce the font size for the exponents "er", "e" ?
Thanks
Fabrice
Le mer. 11 août 2021 à 12:41, Fabrice Couvreur
a écrit :
> Hi Wolfgang,
> Many thanks
> Fabrice
>
> Le mer. 11 août 2021 à 10:23, Hans Hagen via ntg-context <
> n
Hi Wolfgang,
Many thanks
Fabrice
Le mer. 11 août 2021 à 10:23, Hans Hagen via ntg-context
a écrit :
> On 8/11/2021 10:09 AM, Otared Kavian via ntg-context wrote:
> >
> >
> >> On 9 Aug 2021, at 18:10, Wolfgang Schuster via ntg-context <
> ntg-context@ntg.nl>
Hello,
Is it possible to create an enumeration style to get this :
1 ^ {er} exemple
2 ^ {e} exemple
3 ^ {e} exemple
Thanks
Fabrice
___
If your question is of interest to others as well, please add an entry to the
Hi Wolfgang,
Thank you for this nice solution.
Fabrice
Le mar. 27 juil. 2021 à 21:31, Wolfgang Schuster via ntg-context <
ntg-context@ntg.nl> a écrit :
> Fabrice Couvreur via ntg-context schrieb am 27.07.2021 um 18:57:
> > Hi,
> > The name of the environment must always end
Hi,
The name of the environment must always end with a dot both with a title
and without title. How to do ?
Thanks
Fabrice
\setupenumerations
[before={\blank},
after={\blank},
alternative=serried,
title=yes,
titleleft={(},
titleright={)},
titlestyle=normal,
titlecommand
Hello,
How to make the macro work in the environment definition ?
Thank you
Fabrice
\unexpanded\def\card#1{\math{\text{Card}\thinspace#1}}
\defineenumeration
[definition]
[text=Définition,
number=no,
headcommand=\groupedcommand{}{.},
style=italic]
\starttext
-- Forwarded message -
De : Fabrice Couvreur
Date: lun. 26 juil. 2021 à 13:13
Subject: Texte source 30 / 5000 Résultats de traduction Adjust the length
of a frame
To: mailing list for ConTeXt users
Hello,
Following on from my previous questions for writing my book (thanks again
Le lun. 26 juil. 2021 à 13:13, Fabrice Couvreur
a écrit :
> Hello,
> Following on from my previous questions for writing my book (thanks again
> Wolfgang), I have to create a solution environment like the attached image.
> My problem is adjusting the length of the frame.
> Thank
Hello,
Following on from my previous questions for writing my book (thanks again
Wolfgang), I have to create a solution environment like the attached image.
My problem is adjusting the length of the frame.
Thank you.
Fabrice
\setupbodyfont[newcomputermodern-book,11pt]
\defineframed
[ACFRAME
>
Here is another way to do your animation. This is doing something, but I guess
not what you want. Could you describe what do you have in mind ?
\starttext
\dorecurse{7}{ % 3180
\startMPpage
myvariable := #1 ;
path p;
numeric n, u;
Hi Bruce,
Thanks for the suggestion, it works fine.
Fabrice
Le mer. 14 juil. 2021 à 22:54, Bruce Horrocks a écrit :
> On 13 Jul 2021, at 18:47, Fabrice Couvreur
> wrote:
> >
> > Hi,
> > For my book, the header for each chapter should be like the attached
> image. I d
mber 1 etc.
Thanks.
Fabrice
###
\definecolor[MyColorA][r=0.8784, g=0.8784, b=0.8784]
\defineframedtext
[FramedText]
[
offset=0.6em,
style=,
toffset=\lineheight,
background=color,
backg
Hi,
My first solution is incorrect ; with the second solution, I don't
understand why the first chapter is not numbered while the second is with
number 1.
Thanks.
Fabrice
\unexpanded\def\HeadTitle#1#2%
{
\FramedText{{\cap\labeltext{chapter}}\space#1
\\
\bfc#2}
}
\unexp
n the body of the text.
Thanks for your help.
Fabrice
\definecolor[MyColorA][r=0.8784, g=0.8784, b=0.8784]
\defineframedtext
[FramedText]
[
offset=0.6em,
style=,
toffset=\lineheight,
background=color,
backgroundcolor=MyC
Hi Wolfgang,
Thank you very much for this very nice solution ; my knowledge of ConTeXt
is unfortunately not at this level.
If I can afford I must do the following header
[image: pied_3.png]
Many thanks.
Fabrice
Le lun. 5 juil. 2021 à 20:20, Wolfgang Schuster <
wolfgang.schuster.li...@gmail.
Thanks for your help.
Fabrice
\setupfootertexts
[{\getmarking[chapter]}]
[{\pagenumber}]
[{\pagenumber}]
[Chapter\space\pagenumber]
\starttext
\startchapter
[title=First chapter]
\dorecurse{10}{\input knuth}
\stopchapter
\startchapter
[title=Second chapter]
\dorecurse{10}{\i
Hi Hans,
I am not a font specialist and I use pagella and modern.
I'm curious so I installed this new font in
/home/viserion/LMTX/tex/texmf/fonts/opentype/public/newcomputermodern
I tested your file and I get the following message
Thank you Fabrice
Running `lmtx' on `hans-33
Hi,
Is it possible to run the macro in math mode ?
Thank you
Fabrice
\usebodyfont [stix]
\setupbodyfont[modern]
\setupmathematics[stylealternative=calligraphic]
\unexpanded\def\CScript#1#2{\start\switchtobodyfont[stixtwo]
\m{{\mathscript{#1}}_{#2}}\stop}
\unexpanded\def\cscript#1{\start
own above this
I have search the making list for examples, but did not not found anything.
Thanks for any help !
Fabrice.___
If your question is of interest to others as well, please add an entry to the
Wiki!
maillist
Hi Hans and Wolfgang,
I have tried your suggestions and it seems to work.
Thank you so much.
Fabrice
Le sam. 17 avr. 2021 à 19:04, Wolfgang Schuster <
wolfgang.schuster.li...@gmail.com> a écrit :
> Fabrice Couvreur schrieb am 17.04.2021 um 16:30:
>
> Hi,
> This is going
Hi,
This is going to be difficult to explain because the code below works but
in a project with many components does not. Actually the macro does not
work in the definition environment in my project but in the same
environment of this simple code yes. Thank you for your possible help.
Fabrice
Hi,
Is it possible that the first item is on the baseline of the definition
environment title ? Thank you.
Fabrice
\define\ItemCommand
{\hskip\zeropoint\relax\autoinsertnextspace}
\setupitemgroup
[itemize]
[color=darkred,
style=bold,
distance=\spaceamount]
\setupitemgroup
Hi Hans,
Some time ago, you offered this code to respond to a specific request from
me. I used this code again and wanted to know if it was possible for the
title "Algorithm" to be automatically centered based on the content.
Thank you
Fabrice
\definecolor[MyBlue][c=0.2 , m=0.03, y=0.
Hi Hans
The xx.tex file works for me
Thanks
Fabrice
Le ven. 19 févr. 2021 à 14:28, Hans Hagen a écrit :
> On 2/19/2021 2:12 PM, Jano Kula wrote:
> > Hi,
> >
> > On Fri, 19 Feb 2021 at 13:06, Hans Hagen > <mailto:j.ha...@xs4all.nl>> wrote:
> >
> >
Hi Hans, Thanks again for the ideas to improve my code. However, I am new
to Lua and my level is far from sufficient to understand everything. Why in
no table do the crosses appear in the cells; which was my original idea. Thank
you. Fabrice
Le jeu. 18 févr. 2021 à 16:28, Fabrice Couvreur
a
Hello Jano,
Thanks.
Fabrice
Le jeu. 18 févr. 2021 à 16:27, Jano Kula a écrit :
> Hello Fabrice,
>
>
>
> On Thu, 18 Feb 2021 at 16:19, Fabrice Couvreur <
> fabrice1.couvr...@gmail.com> wrote:
>
>> Hi all, Thanks to you, I'm not at your level with Lua, but I&
number(conversion,i)
32 context.stopxcell()
33 end
mtx-context | fatal error: return code: 256
TeX Output exited abnormally with code 1 at Thu Feb 18 16:13:29
Thank you very much
Fabrice
Le jeu. 18 févr. 2021 à 10:06, Hans Hagen a écrit :
> On 2/
Hi, The code works, but is it possible to make it shorter ?
Thank you
Fabrice
\startuseMPgraphic{DiagonalRule}
rulethickness := \frameddimension{rulethickness};
drawoptions(
withpen pencircle scaled rulethickness
withcolor \MPcolor{\framedparameter{framecolor}});
pair
> Le 4 févr. 2021 à 08:31, Henning Hraban Ramm a écrit :
>
>> Am 04.02.2021 um 04:15 schrieb Fabrice L :
>>
>> I usually do images ; if you or the list ever want to see more, the site
>> https://art-aleatoire.com is to show my work,
>
> Wow, this is grea
> Le 3 févr. 2021 à 16:29, Henning Hraban Ramm a écrit :
>
>
>> Am 03.02.2021 um 22:14 schrieb Fabrice L :
>>>>
>>>> https://youtu.be/3x03g-eHFC8
>>>
>>> Great! Would you please write an article about that for our journal? Or
>>
here.
I will be glad to contribute to the wiki in any way people think would be
useful.
> Hans
>
Fabrice.
> -
> Hans Hagen | PRAGMA ADE
> Ridderstraat
> Le 3 févr. 2021 à 15:50, Henning Hraban Ramm a écrit :
>
>> Am 03.02.2021 um 20:00 schrieb Fabrice L :
>>
>> Hi,
>>
>> Off topic (I hope this is ok), an animation made 100% with ConTeXt /
>> MetaFun. Several elements in the 6 840 images are sync
give more details of the
process.
https://youtu.be/3x03g-eHFC8 <https://youtu.be/3x03g-eHFC8>
Fabrice.
> Le 3 févr. 2021 à 12:09, Hans Hagen a écrit :
>
> Hi,
>
> So, in context, we can do text, and we can do graphics, and also fonts, now
> do we also need an inter
Hi,
I seem to have seen a method for hatching the cell of a table, but maybe
it's my imagination. The following code does not work.
Thanks for your help.
Fabrice
## hatching.tex #
\setupcolors[state=start]
\usemodule[xwi]
\starttext
\startxtable
[align=
> Le 10 janv. 2021 à 13:23, Peter Münster a écrit :
>
> Hi,
>
> I would expect, that \currentdate prints the current date, but it does
> not:
>
> --8<---cut here---start->8---
> \starttext
> \date[d=1]% first day of this month, ok
>
> \date% again first da
; c := (10, 10) ;
pair d ; d := (10, 1) ;
path square ;
square := (a--b--c--d--cycle) xsized .75TextWidth ;
draw square xsized .75TextWidth;
draw thelabel.lft("α",point 0 of square) ;
draw thelabel.lft("β",point 1 of square) ;
draw thelabel.top("γ",point 2 of squ
do something like:
pair checkintersec ;
checkintersec := p[1] intersectiontimes p[2] ;
If xpart(checkintersec) <> -1 :
draw textext("yes »);
else:
draw textext(« non »);
fi;
Fabrice.
>
> Best regards,
>
> Jairo
> ___
Hi,
I just updated lmtx and I don't understand the error that occurs with the
\dfrac{}{}. Thank you.
Fabrice
#
\starttext
\m{f(x)=\dfrac{a + b\ln(x)}{x}}
\stoptext
#
tex error > tex error on line 2 in file ./hans_21.tex: Math error:
p
cm withcolor blue ;
draw (z1--z2) withcolor red ;
\stopMPpage
\stoptext
Fabrice.
>
> Thanks for any help: Otared
>
>
> ___
> If your question is of interest to others as well, please add
Hi Wolfgang,
I knew the \substack command exists with latex but not with context, thanks
a lot.
Fabrice
Le sam. 28 nov. 2020 à 16:29, Wolfgang Schuster <
wolfgang.schuster.li...@gmail.com> a écrit :
> Fabrice Couvreur schrieb am 28.11.2020 um 15:57:
> > Hi,
> > Is there a c
Hi,
Is there a command that allows to write multiple lines under the command
\lim ?
I tried but ...
Cordially
Fabrice
\starttext
\startformula
\lim_{
\vbox{\startalign
\NC x \to 2 \NR
\NC x > 2 \NR
\stopalign}}=+\infty
\stopformula
\stopt
Keith,
> Le 26 nov. 2020 à 12:12, Keith McKay a écrit :
> Thanks Fabrice and Hans.
>
> I now see I can simplify some lines of the code:
>
> pp := ((xpart a[i])/cf*cm, (ypart a[i])/cf*cm); now becomes pp:= a[i];
>
> and
>
> pp := pp --- ((xpart a[i+1]/cf)*
Sienna}]);
> endfor;
> StopPage;
> \stopMPpage
> \stoptext
> %%
>
MetaPost (MetaFun) is taking care of everything regarding units. As you ave
discovered, everything is translated to a un
> Le 24 nov. 2020 à 13:36, Wolfgang Schuster
> a écrit :
>
> Fabrice L schrieb am 24.11.2020 um 19:08:
>>> Le 24 nov. 2020 à 12:52, Wolfgang Schuster
>>> a écrit :
>>>
>>> Fabrice L schrieb am 24.11.2020 um 18:44:
>>>> Hi,
>
> Le 24 nov. 2020 à 12:52, Wolfgang Schuster
> a écrit :
>
> Fabrice L schrieb am 24.11.2020 um 18:44:
>> Hi,
>> I was using in the past (MKII) a snippet of code to produce (natural) tables
>> from CSV. I was trying to compile my code with MKIV, but this d
code came from, and the code below is just
a copy for the wiki. It is supposed to make a table with three columns, but
there is only one column in the resulting table… I admit I do not understand
the code, but is there is missing \eTR somewhere ?
Thanks for any help.
Fabrice.
Ps: in case
support.apple.com/en-ca/guide/mac-help/mh40616/macAfter>
>
> Thanks in advance.
> Best wishes,
> Tomáš
Fabrice.___
If your question is of interest to others as well, please add an entry to the
Wiki!
Hello,
That's okay, I'll compile the files with mpost and do an image insert. Thanks
for your help.
Fabrice
Le mar. 1 sept. 2020 à 19:32, Wolfgang Schuster <
wolfgang.schuster.li...@gmail.com> a écrit :
> Taco Hoekwater schrieb am 01.09.2020 um 19:12:
>
> Hi,
>
>
eter;
endfig;
end
But what you are proposing unfortunately does not work.
Fabrice
Le mar. 1 sept. 2020 à 14:25, Taco Hoekwater a écrit :
> Hi,
>
> I think you need this:
>
> \startMPinclusions
> input mp-scratch;
> \stopMPinclusions
>
> \startMPcode
> Scra
uot;);
draw Tournerd("90");
draw FinBlocRepeter;
\stopMPcode
\stoptext
%%%% end test.tex
Thanks
Fabrice
___
If your question is of interest to others as well, please add an entry to the
Wiki!
mailli
Hi Hans,
Thank you for the clarification
Fabrice
Le dim. 30 août 2020 à 17:56, Hans Åberg a écrit :
>
> > On 30 Aug 2020, at 11:40, Fabrice Couvreur
> wrote:
> >
> > @Hans My ignorance is total : how to write symbols from the keyboard ?
>
> I use text substit
Hello,
Thank you for your answers.
@Hans My ignorance is total : how to write symbols from the keyboard ?
Fabrice
Le sam. 29 août 2020 à 20:41, Hans Åberg a écrit :
>
> > On 29 Aug 2020, at 19:58, Wolfgang Schuster <
> wolfgang.schuster.li...@gmail.com> wrote:
> >
>
Hello,
The result is not what you expected.
How can I correct this problem?
Thank you
Fabrice
\starttext
\m{A \not\subset B}
\stoptext
___
If your question is of interest to others as well, please add an entry to the
Thanks !!
Le lun. 24 août 2020 à 15:41, Wolfgang Schuster <
wolfgang.schuster.li...@gmail.com> a écrit :
> Fabrice Couvreur schrieb am 24.08.2020 um 15:32:
>
> Hi Wolfgang,
> Thank you for your reply. Probably my fault but now I get the number 0 on
> the word "Su
Hi Wolfgang,
Thank you for your reply. Probably my fault but now I get the number 0 on
the word "Summary".
Fabrice
[image: contents.png]
Le lun. 24 août 2020 à 15:12, Wolfgang Schuster <
wolfgang.schuster.li...@gmail.com> a écrit :
> Fabrice Couvreur schrieb am 23.08.2020
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",
"Chapitre" above the word
"Sommaire" in the table of contents : how to delete it ?
Thanks for your help
Fabrice
___
If your question is of interest to others as well, please add an entry to the
W
Hello,
How to get the number of the current chapter ?
How to get the label "Chapitre" ?
Thanks for your help.
Fabrice
%%% Begin example
\mainlanguage[fr]
\setcharacterspacing [frenchpunctuation]
\setuplabeltext[fr][chapter=Chapitre~]
\startuseMPgraphic{fun}
definecolor[name=&q
Hi Wolfgang,
Thank you
Fabrice
Le ven. 7 août 2020 à 19:45, Wolfgang Schuster <
wolfgang.schuster.li...@gmail.com> a écrit :
> Fabrice Couvreur schrieb am 07.08.2020 um 16:30:
> > Hello,
> > I have a little problem with the numbering of theorems when there is no
> >
Hello,
I have a little problem with the numbering of theorems when there is no
subsection. I would like to know :
Theorem 1.1
Theorem 1.2
Theorem 2.3
Theorem 2.4
Thank you
Fabrice
begin example
\setuplabeltext[chapter=Chapitre~]
\unexpanded\def\Title#1#2{\framed[frame=off,width=fit
Hello,
I also use a square to complete a demonstration. I tried this without
success
Thank you
Fabrice
\definesymbol[Fin][\mathematics{\square}]
\def\qed{\strut\wordright{\symbol[Fin]}}
\defineenumeration
[proof]
[text=Démonstration,
alternative=serried,
distance=\zeropoint,
number
Hello,
I replaced the context engine with the lmtx engine but I find that the
derivative symbol is too high regardless of the font used.
I mainly use modern and pagella because I type many texts using
mathematics: can we correct this problem,
Thanks for your help.
Fabrice
\starttext
\startitemize
Hi Hans,
With the upgraded version of lmtx, the parentheses of the matrix are no
longer adjusted to the content.
Thank you.
Fabrice
\definemathmatrix [pmatrix][matrix:parentheses][simplecommand=MATRIX]
\starttext
\math{\MATRIX{\MPcode{draw (0,0) -- (1cm,0);} ;\MPcode{draw (0,0) --
(1cm,0
: input file 'ward}.tex' is not found, quitting
mtx-context | fatal error: return code: 256
TeX Output exited abnormally with code 1 at Tue Jul 28 10:57:55
Thank you
Fabrice
Le lun. 27 juil. 2020 à 16:42, Hans Hagen a écrit :
> Hi,
>
> Normally we don't report
Hello Taco
Thank you so much ; I did not know the reverse operator.
Fabrice
Le jeu. 23 juil. 2020 à 11:56, Taco Hoekwater a écrit :
>
>
> > On 23 Jul 2020, at 11:48, Fabrice Couvreur
> wrote:
> >
> > Hello,
> > I have a little problem with coloring an area (
Hello,
I have a little problem with coloring an area (path b).
Thanks for your help.
Fabrice
\starttext
\startMPcode
path circle, p, q, b;
circle = fullcircle xscaled 6cm yscaled 3.5cm;
p = (point 2 of circle .. (-0.15cm,1.5cm) ..(0,0)..(0.15cm,-1.5cm).. point
6 of circle);
q = (subpath(0,2
Hello,
With the latest version of lmtx, the background color of cells does not
work.
Thank you.
Fabrice
\starttext
\startxtable
[align={middle,lohi}, offset=0.8ex,background=color,
backgroundcolor=red,frame=off]
\startxrow
\startxcell
\m{\displaystyle
Thank you
Fabrice
\usecolors[X11]
\startuseMPgraphic{DiagonalRule}
rulethickness := \frameddimension{rulethickness};
drawoptions(
withpen pencircle scaled rulethickness
withcolor \MPcolor{\framedparameter{framecolor}});
pair leftcorner, rightcorner;
leftcorner := (rulethickness
Hi all,
Thank you for your contributions, it allows me to progress.
@Hans and Deal
The code is impressive but does not correspond to the shape of the triangle
that I have to make (by convention).
Fabrice
Le lun. 20 juil. 2020 à 10:36, Hans Hagen a écrit :
> On 7/20/2020 7:56 AM, Jeong
cell()
end
context.stopxrow()
end
context.stopxtable()
\stopluacode
\stoptext
Le sam. 18 juil. 2020 à 22:25, Fabrice Couvreur
a écrit :
> Hi Wolfgang,
>
> It works but why did you ask this question since I finally use context ?
>
>> Are you sure you want
Hi Wolfgang,
It works but why did you ask this question since I finally use context ?
> Are you sure you want to use context(...) here?
>
How not to display the .0 ?
Fabrice
Le sam. 18 juil. 2020 à 22:22, Wolfgang Schuster <
wolfgang.schuster.li...@gmail.com> a écrit :
> F
Hi,
I improved the code to be able to display the grid but I cannot display the
coefficients.
Thank you
Fabrice
\starttext
\startluacode
function Binom(n,k)
if k > n then
return 0
elseif (n == 0 or k == 0) then
return 1
else
ret
Hello,
I want to display the values of Pascal's triangle in a table.
Unfortunately my knowledge of Lua is not sufficient to run this code.
Thank you.
Fabrice
\starttext
\startluacode
function Binom(n,k)
if k > n then
return 0
elseif (n == 0 or k ==
Hi Otared and Wolfgang,
It's great, the following code does the job!
Thank you so much.
Fabrice
\useMPlibrary[dum]
\definecolor[fondpaille][c=0,m=0,y=0.2,k=0]
\setupfloats[freeregion=no]
\definetextbackground[fondpaille]
[background=color,
backgroundcolor=fondp
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
Hello,
I always encounter difficulties with the placement of figures in such a way
that the text envelops the figure.
Thank you.
Fabrice
\useMPlibrary[dum]
\definecolor[fondpaille][c=0,m=0,y=0.2,k=0]
\starttext
\startframedtext[width=max,background=color,backgroundcolor=fondpaille
Hi Otared,
Thanks, it works perfectly.
Best regards.
fabrice
Le mar. 14 juil. 2020 à 12:23, Otared Kavian a écrit :
> Hi Fabrice,
>
> You should enclose the table into \startplacetable... \stopplacetable as
> in:
>
> \startplacetable[number=no]
> % here put your xta
Hello,
In my lessons, I often have to include tables, figures, ... in definitions,
theorems ...
With the context engine it works fine but not with lmtx.
Thanks for your help.
Fabrice
\setupenumerations
[before={\blank},
after={\blank},
alternative=serried,
title=yes,
titleleft
Hello,
I found an intermediate solution but I find that the ' is too high.
\m{f^{\prime}(x)=2x}
Fabrice
Le sam. 11 juil. 2020 à 12:46, Fabrice Couvreur
a écrit :
> Hello,
> I am now using the lmtx engine and I have found that using the Pagella
> font the writing of derived fu
Hello,
I would like to reduce the space between the numbering and the title of the
chapters, sections and subsections.
I would also like to have this:
1 My first chapter
1.1 My first section
1.1.1 My first subsection
\setuplist
[chapter]
[style=bold,width=10mm]
\starttext
\placelist
[c
Hello,
I am now using the lmtx engine and I have found that using the Pagella font
the writing of derived functions is not very nice with the symbol '.
Thank you.
Fabrice
\setupbodyfont [pagella,11pt]
\starttext
\startitemize[n]
\startitem
\math{f'(x)=x²+4x+4}
\stopitem
Hello,
I know it works but ConteXt has so many commands with many keys that I
thought there was a "cleaner" way.
Fabrice
Le mar. 7 juil. 2020 à 20:36, Henning Hraban Ramm a écrit :
>
>
> > Am 07.07.2020 um 19:27 schrieb Fabrice Couvreur <
> fabrice1.couvr...@gmai
Hello,
I want a vertical space between the label and the chapter title: is this
the right way to proceed ?
Thank you.
Fabrice
\setuplabeltext[chapter=Chapitre~]
\unexpanded\def\Title#1#2{\framed[frame=off,width=fit,align=flushleft]{#1\blank#2}}
\setuphead
[chapter]
[style=\bfc,
command
101 - 200 of 922 matches
Mail list logo