Hi,
I tried to write a loop to display the title, but it does not. How to do ?
Thank you,
Fabrice
\setuppagenumbering[location=]
\setupcolors
[state=start]
\definecolor[pagecolor][s=.6]
\definecolor[textcolor][r=.6]
\startMPinclusions
color pagecolor ; pagecolor := \MPcolor{pagecolor} ;
Hi Wolfgang,
Thank you for your help, it works fine.
Fabrice
2015-09-08 20:24 GMT+02:00 Wolfgang Schuster <schuster.wolfg...@gmail.com>:
> Fabrice Couvreur <fabrice1.couvr...@gmail.com>
> 8. September 2015 18:29
> Hi,
> @Otared I accept your answer until I can no
com>:
> Fabrice Couvreur <fabrice1.couvr...@gmail.com>
> 7. September 2015 19:35
> Hi,
> I can not insert a space between my two environments.
>
> There is a space but you can’t see it because the colored background of
> your frames is placed too low (you can see it when y
Hi,
I'm about to write a book using a structure. The desire is to get this like
contents of the table of contents :
Chapter 1 Title
Part 1 Title
1.
2.
Part 2 Title
1.
2.
Part 3 Title
1.
2.
Chapter 2 Title
Part 1 Title
1.
2.
Part 2 Title
1.
2.
Hi,
I can not insert a space between my two environments.
Thank you.
Fabrice
% macros=mkvi
\setupcolors[state=start]
\definecolor[MyColorA][c=0.00, m=0.10, y=0.20, k=0.00]
\definecolor[MyColorB][c=0.00, m=0.62, y=1.00, k=0.00]
\definecolor[MyColorC][c=0.3, m=0.00, y=0.00, k=0.05]
Hi,
If you compile the following file with new beta, the placement of the table
and the figure is incorrect.
Thank you,
Fabrice
\definefloat
[recipe]
[figure]
\setupfloat
[recipe]
[default={right,none}]
\startsetups[table:initialize]
Hi,
If you compile the following file with new beta, the placement of the table
and the figure is incorrect.
Thank you,
Fabrice
\definefloat
[recipe]
[figure]
\setupfloat
[recipe]
[default={right,none}]
\startsetups[table:initialize]
Hi,
It seems there is a bug with the command \blank in the latest standalone
context.
If you compile with ConTeXt (texlive 2015), the result is as expected.
Thank you,
Fabrice
\setuppagenumbering[location=]
\setupcolors
[state=start]
\definecolor[MyColorB][c=0.00, m=0.62, y=1.00, k=0.00]
Hi,
I want to draw the left border of the rectangle, but it is drawn in the
middle.
Why ?
Thank you,
Fabrice
\setupcolors[state=start]
\definecolor[MyColorA][c=0.3, m=0.00, y=0.00, k=0.05]
\defineoverlay
[Funny]
[\useMPgraphic{Funny}]
\startuseMPgraphic{Funny}
interim linecap :=
Hi,
If I compile this simple file with context (TeXLive 2015), no problems.
\setupcolors[state=start]
\usemodule[tikz]
\starttext
\starttikzpicture
\draw[-,red] (0,0) -- (3,3);
\stoptikzpicture
\stoptext
If I compile with the latest version of context Standalone, I get the
following message :
pmli...@free.fr:
On Thu, Aug 27 2015, Fabrice Couvreur wrote:
I did not know it because, before migrating to context, I used latex with
this : \newcommand{\repere}{$\bigl(O\,;I,J\bigr)$.
In LaTeX there is no space neither:
--8---cut here---start-8
[state=start]
\setMPtext{text}{MATH\'{E}MATIQUES}
\starttext
\startuseMPgraphic{test}
picture pic ;
pic := image(graphictext \MPstring{text}
withdrawcolor red
withpen pencircle scaled 1pt ; ) ;
\stopuseMPgraphic
\stoptext
2015-08-27 10:23 GMT+02:00 Fabrice Couvreur fabrice1.couvr...@gmail.com
behaviour of TeX macro commands. You should use your
command by invoking it like the following:
\repere\ blabla blabal
Best regards: OK
On 27 Aug 2015, at 10:06, Fabrice Couvreur fabrice1.couvr...@gmail.com
wrote:
Hi,
The macro \repere does not create a space between the closing
Hi,
The macro \repere does not create a space between the closing delimiter and the
following text, why ?
Thanks,
Fabrice
\def\repere{$\bigl(O\,;I,J\bigr)$}
\starttext
\dorecurse{2}{blabla} \repere \dorecurse{2}{blabla}
\dorecurse{2}{blabla} $\bigl(O\,;I,J\bigr)$ \dorecurse{2}{blabla}
pra...@wxs.nl:
On 8/26/2015 7:12 PM, Fabrice Couvreur wrote:
Hi,
I try to understand how this macro by testing a simple example. Why pdf
file is empty?
This question follows my question Cover page (Metafun)
http://www.ntg.nl/pipermail/ntg-context/2015/083078.html
Thank you
Hi,
I try to understand how this macro by testing a simple example. Why pdf file
is empty ?
This question follows my question Cover page (Metafun)
http://www.ntg.nl/pipermail/ntg-context/2015/083078.html
Thank you.
\setuppagenumbering[location=]
\setupcolors
[state=start]
\
placefigure !!!
2015-08-14 3:38 GMT+02:00 Rik Kabel cont...@rik.users.panix.com:
On 2015-08-13 11:19, Fabrice Couvreur wrote:
Hi,
Sorry to revive this discussion (which I initiated), but the text in the
following code does not wrapped around the figure.
Why ?
Fabrice
\setupcolors
Hi Hans,
To progress in the use of Metafun, I try to do the same cover page as
your document
'Metafun . Without looking at the code (but using the definitions of your
colors), I managed to get the mosaic.
I would write the word MATHÉMATIQUES as you did with the word CONTEXTEN.
Thank you,
Fabrice
Hi,
Sorry to revive this discussion (which I initiated), but the text in the
following code does not wrapped around the figure.
Why ?
Fabrice
\setupcolors
[state=start]
\definecolor[MyColorB][c=0.00, m=0.62, y=1.00, k=0.00]
\definecolor[MyColorA][.75(MyColorB,white)]
\defineframedtext
\setupfootertexts[text][{\getmarking[section]}][{\getmarking[chapter]}]
2015-08-12 23:10 GMT+02:00 Fabrice Couvreur fabrice1.couvr...@gmail.com:
Hi Wolfgang,
There is no question, I'm confused !
I will try to be clearer. At the bottom, I wish the title of the current
chapter and title
Hi,
Well, I think I have solved the problem : it is because of the blank line.
Why ?
Fabrice
2015-08-13 17:19 GMT+02:00 Fabrice Couvreur fabrice1.couvr...@gmail.com:
Hi,
Sorry to revive this discussion (which I initiated), but the text in the
following code does not wrapped around the figure
Hi,
The first section begins, so the title appears footer on each page as the
second section does not start. Then the second section starts and was the
title of the second section as the third section does not start and so on.
Thanks,
Fabrice
\setuppagenumbering
[alternative=doublesided]
Hi Wolfgang,
There is no question, I'm confused !
I will try to be clearer. At the bottom, I wish the title of the current
chapter and title of the current section much like in the document Metafun.
Fabrice
2015-08-12 18:15 GMT+02:00 Wolfgang Schuster schuster.wolfg...@gmail.com:
Fabrice
Hi,
My product lesson contains the component chapter-1 which itself contains
the components activities and synthesis.
Is it possible to compile lesson.tex and have the output that
activities.pdf file
?
Thanks,
Fabrice
\project manual
\startproduct lesson
\startfrontmatter
\component
Hi Hans,
I think my initial request was unclear.
In fact, I want to get output only content activities.tex file.
Fabrice
2015-08-12 13:18 GMT+02:00 Hans Hagen pra...@wxs.nl:
On 8/12/2015 12:42 PM, Fabrice Couvreur wrote:
Hi,
My product lesson contains the componentchapter-1 which itself
-modules
\environment my-styles
\environment my-commands
\startproject manual
\product lesson
\stopproject
Thank you.
2015-08-12 14:43 GMT+02:00 Wolfgang Schuster schuster.wolfg...@gmail.com:
Fabrice Couvreur fabrice1.couvr...@gmail.com
12. August 2015 14:22
Hi Hans,
I think my initial
Hi Wolfgang,
I will follow your advice but I will try to understand, when I have the time
, the difference between
\unexpanded\def\ChapterCommand#1#2% et \def\ChapterCommand#1#2%.
Fabrice
2015-08-10 22:38 GMT+02:00 Wolfgang Schuster schuster.wolfg...@gmail.com:
Fabrice Couvreur fabrice1.couvr
Hi,
Strange behavior: why is the colored text ?
Thanks,
Fabrice
\usemodule[tikz]
\startuniqueMPgraphic{titled}
path p ;
p := unitsquare xscaled OverlayWidth yscaled OverlayHeight ;
pickup pencircle scaled 1mm ;
drawoptions(withcolor .625yellow) ;
draw llcorner p--lrcorner p ;
setbounds
Hi,
I want to have the title of the chapters, sections and sub-sections in sans
serif Helvetica, body text and mathematics in Palatino.
Is this the right approach ?
Thanks,
Fabrice
\definetypeface [me] [rm] [serif][palatino] [default]
\definetypeface [me] [ss] [sans] [helvetica]
Dear Hans,
I tested without understanding what \unexpanded, and of course it works !
Thank you,
Fabrice
2015-08-09 15:40 GMT+02:00 Hans Hagen pra...@wxs.nl:
On 8/9/2015 1:27 PM, Fabrice Couvreur wrote:
Hi Hans,
In the document Metafun, you use commands that I like, and I try to
understand
Hi Hans,
In the document Metafun, you use commands that I like, and I try to
understand the definition and operation, which is not always easy with TeX
commands.
Also, in the following code, this does not give the expected result.
Thank you.
Fabrice
\showframe
\setupcolors
[state=start]
Hi Wolfgang,
Thank you for all these explanations that make me progress in the use of
Context.
Fabrice
2015-08-08 10:40 GMT+02:00 Wolfgang Schuster schuster.wolfg...@gmail.com:
Fabrice Couvreur fabrice1.couvr...@gmail.com
8. August 2015 00:49
Hi,
Why the text does not move in the first
2015, at 00:49, Fabrice Couvreur fabrice1.couvr...@gmail.com
wrote:
Hi,
Why the text does not move in the first framedtext like the second
framedtext ?
Thank you.
Fabrice
\definecolor[MyColorB][c=0.00, m=0.62, y=1.00, k=0.00]
\definecolor[MyColorA][.75(MyColorB,white
Hi,
Why the text does not move in the first framedtext like the second
framedtext ?
Thank you.
Fabrice
\definecolor[MyColorB][c=0.00, m=0.62, y=1.00, k=0.00]
\definecolor[MyColorA][.75(MyColorB,white)]
\defineframedtext
[MyText]
[frame=off,
background=MyFrame,
width=\textwidth,
Hi Hans,
Thank you for responding to my request, it's really nice. By cons I do not
understand what you mean
some day textext might handle it okay
Fabrice
2015-08-07 14:26 GMT+02:00 Hans Hagen pra...@wxs.nl:
On 8/6/2015 11:38 PM, Fabrice Couvreur wrote:
Hi,
The following code (Metafun
Fabrice Couvreur fabrice1.couvr...@gmail.com:
Hi Aditya,
Thank you, I have already thought of this solution, but I do not know to
use with the environment that I created.
Fabrice
2015-08-04 18:02 GMT+02:00 Aditya Mahajan adit...@umich.edu:
On Tue, 4 Aug 2015, Fabrice Couvreur wrote:
How
Hi,
How to have Definition 1, Definition 2, Definition 3 ... ?
Is it possible to translate the image p until the left edge of the text area
?
Thank you,
Fabrice
\showframe
\setupcolors[state=start,cmyk=yes]
\definecolor[MyColor][c=0.00, m=0.10, y=0.20, k=0.00]
\definecolor[myColor][c=0.00,
Hans Hagen pra...@wxs.nl:
On 8/4/2015 5:04 PM, Fabrice Couvreur wrote:
Hi,
How to have Definition 1, Definition 2, Definition 3 ...?
Is it possible to translate the image p until the left edge of the text
area ?
\startuseMPgraphic{MyFrame}
picture p ;
p := textext.rt(\MPstring
Hi,
I wish the numérotion pages is reversed at each new page: right left right
...
I wish the bottom of the title page of each section of the current page.
Thanks for your help,
Fabrice
\setuppagenumbering
[location=]
\setupheadertexts
[margin]
[][\hfill\pagenumber\hfill]
Hi,
In the code below, we can see that the table overflows.
Of course, one can play on the table dimensions to adjust its position.
However it is possible to define a floating whose dimensions automatically
adapt to the available space ?
Thank you,
Fabrice
\definefloat
[MyFloat]
[figure]
Hi,
In my project, there is an env-03.tex file that contains this :
\startenvironment env-03
\defineenumeration
[def]
[text={Définition},
headstyle={\bf\feature[+][f:smallcaps]},
width=fit,
alternative=left,
stopper={.}]
\stopenvironment
If I compile, I get this :
open
In this manual, I like the numbered pages indicating each chapter. I
suppose they are made with Metafun. Is it possible to have an explanation ?
Thank You,
Fabrice
http://www.pragma-ade.nl/general/manuals/cont-enp.pdf
Hi,
In the code below, how to make the line hyphenation is in the first column and
not in the second.
Thank You.
Fabrice
\setupcolors[state=start]
\definemixedcolumns
[mycolumn]
[
n=2,
separator=rule,
rulecolor=gray,
rulethickness=1pt,
balance=yes,
]
Hi,
Why the command \placerecipe{}{} does not with an environment \
starttikzpicture
\stoptikzpicture ?
Fabrice
\setupexternalfigures[location={local,global,default}]
\setuppagenumbering[location=]
\usemodule[tikz]
\usemodule[pgfplots]
\pgfplotsset{compat=1.8}
\definefloat
[recipe]
With the latest version of Context Standalone, this command \filler[dots] no
longer works.
Best regards,
Fabrice
\definefiller[dots][left=\dontleavehmode, right=\hskip\ZeroPoint\par]
\starttext
\dorecurse{4}{\filler[dots]}
\stoptext
fab@debian:~$ source context/tex/setuptex
Setting
Hi,
1. In the following code, the color is not included in the \startframedtext
\stopframedtext environment
2. How can the height of the red square adapts to the height of the text ?
3. Can we improve the code ?
Best regards,
Fabrice
\setupcolors[state=start]
\definecolor[mycolor][c=0.00,
Hi,
Is it possible to have a different line thickness right and bottom ?
Best regards,
Fabrice
\defineframed
[ACFRAME]
[topframe=off,
bottomframe=on,
rightframe=off,
leftframe=on,
framecolor=green,
rulethickness=2pt,
width=fit,
align=flushleft,
location=low,
Hi,
Following an update TeXlive 2014, the compilation of my old files causes the
same error :
loading : ConTeXt File Macros / Helpers
! LuaTeX error
...ab/texlive/2014/texmf-dist/tex/context/base/file-ini.lua:49: attempt to
call local 'implement' (a nil value)
stack traceback:
The alignment of the second item on the baseline is not correct if I use the
command \dfrac{}{}.
How to solve this problem without using the command \framed ?
Best regards,
Fabrice
\starttext
\startitemize[columns,A,joinedup,three][stopper={)},style=bold]
\item $f^{\prime}(x) = \dfrac{- 1}{(x +
Hi,
I encounter some problems in the use of vlingrid() and hlingrid() macros. In
the code below, we see that the grid is not correct.
Does the code can be improved ?
thank you,
Fabrice
\starttext
\startMPcode
path p ;
u := 2cm ; v:= 1cm ;
p :=
To add labels to a grid, Hans wrote a macro hlintext (Min, Max, Step, Lenght
, Format). I do not know what to put in Format.
Best regards,
Fabrice
\definecolor[mycolor][c=.4,m=0,y=0,k=0]
\starttext
\start
\switchtobodyfont[small]
\startMPcode
input tex;
numeric xmin, xmax, ymin, ymax;
Hi,
Is it possible to change the shape of the dots of macro \periods[n] to be like
the dots of macro \definefiller[dots][left=\dontleavehmode, right=\hskip\
ZeroPoint\par] ?
Best regards,
Fabrice
___
If your question
Hi,
This code generates an error while it was working fine a month ago.
Best regards,
Fabrice
\definecolor[mycolor][c=.4,m=0,y=0,k=0]
\starttext
\start
\switchtobodyfont[small]
\startMPcode
input hvdm;
input tex;
l:=3mm; r:=0.6; alfa:=45; beta:=0; gamma:=0;
Hi,
How hatched trapezoid MBCD ?
Best regards,
Fabrice
\starttext
\startMPcode
path p ;
p=unitsquare scaled 4cm ;
draw p ;
pair z ;
z=point 3.6 of p ;
draw z--urcorner p ;
label.llft(btex B etex,llcorner p) ;
label.lrt(btex C etex,lrcorner p) ;
label.ulft(btex A etex,ulcorner p) ;
label.urt(btex
Hi,
Wolfgang wrote, there was some time already, a nice macro to draw a brace.
In the code below, how to have the arrow and the text to the right of the
brace ?
Best regards,
Fabrice
\startuseMPgraphic{accolade}
z1 = (-233,0) ;
z2 = (-220,22) ;
z3 = (-155,211) ;
z4 = (-200,690) ;
z5 =
Hi,
I would have no indentation for the text (ward)
thank you,
Fabrice
\starttext
\startitemize[A][stopper={.},style=bold]
\iem
\blank[big]
\input ward
\startitemize[n][stopper={.},style=bold]
\item
\item
\item
\stopitemize
\item
\blank[big]
\input ward
\startitemize[n][stopper={.},style=bold]
Hi,
I went from PSTricks to Metapost (Metafun) gradually. For positioning arrows
between two values in an array of variations, I used a command like this \
ncline {A}{B}, which avoids fumbling.
Can we do the same with Metapost ?
The idea would be to convert the value into a path or an image, much
Hi,
I wish the second frame is centered with the first frame. I guess this is
the figure that prevents this. However, even by reducing the value of u, it
does not work.
Best regards,
Fabrice
\definecolor[Border][c=0.00, m=0.00, y=0.00, k=0.25]
\defineframed
[Myframed]
[width=0.6\textwidth,
Hi,
I discovered some macro Metafun particular.
I then wanted to outline, but it does not fit with the boundary of the
quadrant.
Can I have some explanation ?
Best regards,
Fabrice
\starttext
\startMPcode
u:=1cm ;
pickup pencircle scaled 1pt ;
fill ulcircle scaled 8u withcolor lightgray ;
fill
Hi,
Is it possible to center horizontally and vertically the table with the
graphics ?
Best regards,
Fabrice
\defineparagraphs[TwoColumns][n=2]
\setupparagraphs[TwoColumns][1][width=0.45\textwidth]
\startsetups[table:initialize]
Dear list,
Is it possible to remove the parentheses of the title ?
Best regards,
Fabrice
\defineframed
[ACFRAME]
[frame=off,
width=fit,
align=flushleft,
location=low,
background=color,
backgroundcolor=lightgray]
\defineenumeration
[ac]
[text={Activité},
Hi,
I wish red separation is exactly in the middle of the dial and the title of the
section. Then, the line is too long, it should not exceed the boundary of
the ellipse.
Best regards,
Fabrice
% macros=mkvi
\setuppapersize[A4][A4]
\setupcolors[state=start,cmyk=yes,mpcmyk=yes]
Hi,
I do not understand why the parameters of the first table apply to the
second table.
Best regards,
Fabrice
\setuppapersize[A4][A4]
\setuplayout[
backspace=15mm,
width=middle,
topspace=15mm,
height=middle,
header=0pt,
footer=0pt,
]
Hi,
Why the first two items are not there ?
Best regards,
Fabrice
\starttext
\startitemize[n][stopper={.},style=bold]
\item \startitemize[a][stopper={.},style=bold]
\item Étudier le signe de $B^{\prime}(x)$ sur l'intervalle
$\left[0\,;40\right]$.
\item Dresser le tableau de variation de la
Hi,
In the following code, I would like columns that contain the figures have a
white background.
Best regards,
Fabrice
\definecolor[mycolor][c=0.1, m=0.00, y=0.00, k=0.00]
\setupcaptions[number=no]
\starttext
\startframedtext[
width=\textwidth,
frame=on,
location=middle,
Hi,
Why up space and down space is not the same around each figure ?
Best regards,
Fabrice
\definecolor[FondTableaux][c=0.00, m=0.00, y=0.20, k=0.00]
\startsetups[table:initialize]
\setupTABLE[column][1,2][offset=1ex,width=2cm]
\setupTABLE[column][3][offset=1ex,width=10cm]
Hi,
Macro written by Hans does not work.
Best regards,
Fabrice
% macros=mkvi
\starttext
\starttexdefinition MyOtherHeader #where #day #month #year #title
\defineoverlay[whatever][\useMPgraphic{whatever}]
\startuseMPgraphic{whatever}
path p;
p:=fullsquare xyscaled
Hi,
With the book Metafun I created a marker with metapost. How to add a counter
?
Best regards,
Fabrice
\startuseMPgraphic{itemize:fuzzy}
numeric u;
u:=0.5cm;
save p; path p;
p := fullcircle xyscaled (u,u) randomized 2pt;
pickup pencircle scaled 1pt;
fill p withcolor green;
draw p withcolor
Hi,
Is it possible to use an itemize environment in a table ?
Best regards,
Fabrice
\starttext
\startsetups[table:initialize]
\setupTABLE[height=0.8cm,align={middle,lohi}]
\setupTABLE[row][1][background=color,backgroundcolor=cyan]
\setupTABLE[1][1][background=color,backgroundcolor=white]
Hi,
In the code below, if I comment the two lines, it's okay, but if I
uncomment those
two lines, the number of faces of the cubes is not white but black, and there
are pieces of text green.
Best regards,
Fabrice
\usemodule[tikz]
\usetikzlibrary[calc]
\usetikzlibrary[cd]
\usetikzlibrary[3d]
Hi,
The following code compiles with pdflatex :
\documentclass{article}
\usepackage{tikz}
\usepackage{tikz-cd}
\usetikzlibrary{3d,shapes}
\begin{document}
\tikzset{xzplane/.style={canvas is xz plane at y=#1,
thick,shading=ball,ball color=red,draw=black}}
\tikzset{yzplane/.style={canvas is yz
Hi,
In the code below, why is there an extra line in the first item ?
Best regards,
Fabrice
\usesymbols[mvs]
\setupsymbolset[europe]
\starttext
\startitemize[n][stopper={.},style=bold]
\item
\startitemize[a][stopper={.},style=bold]
\item On pose $P_A=9$ et $P_B=7$.
On a alors
Hi Wolfgang,
How to reduce the size of the float ?
Best regards,
Fabrice
\usemodule[algorithmic]
\definefloat[algorithm][algorithms]
\definecolor[H1prime][c=0.50, m=0.00, y=1.00, k=0.00]
\definecolor[H4][c=0.07, m=0.00, y=0.15, k=0.00]
\setupfloat
[algorithm]
[background=color,
hi,
In the following code, the default stopper is the point.
\starttext
\startitemize[columns,a,joinedup]
\item $f(0)$
\item $g(0,3)$
\item $f(\sqrt 2)$
\item $g(-4)$
\stopitemize
\stoptext
How to have a break ?
Best regards,
Fabrice
hi,
In the following code, the default stopper is the point.
\starttext
\startitemize[columns,a,joinedup]
\item $f(0)$
\item $g(0,3)$
\item $f(\sqrt 2)$
\item $g(-4)$
\stopitemize
\stoptext
How to have a break ?
Best regards,
Fabrice
Hi,
Why the second frame is not displayed ?
Best regards,
Fabrice
\definecolor[H1prime][c=0.50, m=0.00, y=1.00, k=0.00]
\starttext
\startcombination[2*1]
{%
\startframedtext[
width=0.45\textwidth,
frame=on,
framecolor=H1prime,
location=left,
background=color,
Hi,
How to complete the grid ?
Thank you.
Fabrice
\setuppapersize[A4]
\setuplayout[
backspace=5mm,
width=middle,
topspace=5mm,
height=middle,
header=0pt,
footer=0pt,
]
\definetypeface [me] [rm] [serif] [pagella] [default]
Hi,
In this code, the figure is placed on the base line. How to make the
numbering at the top of the figure ?
\starttext
\startitemize[n][stopper=),style=bf]
\item \midaligned{\externalfigure[figure1_reperage.pdf]}
\startitemize[a][stopper=),style=bf]
\item Donner les coordonnées des points $A$
Hi,
Is this the best way to insert a list in a frame ?
thank you,
Fabrice
\setupcolors[state=start]
\definecolor[H1prime][c=0.50, m=0.00, y=1.00, k=0.00]
\definecolor[H4][c=0.07, m=0.00, y=0.15, k=0.00]
\starttext
Everything is in the title, thank you.
\starttext
\`A l'aide du graphique, compléter les tableaux de correspondance suivants.
\blank[small]
{\setupTABLE[row][even][height=0.6cm]
\setupTABLE[row][odd][height=0.6cm]
\setupTABLE[1][1,2][width=3.2cm]
In the code below, I do not understand why the label Arbre 2 does not
have the color you want, that is to say the same as the label Arbre 1.
Thank you.
\usemodule[tikz]
\usetikzlibrary[calc]
\definecolor[A2][c=0.60, m=0.00, y=0.00, k=0.10]
\definecolor[H1prime][c=0.50, m=0.00, y=1.00, k=0.00]
Hello,
Why curve drawn is not that expected ?
Fabrice
\starttext
\startMPcode
input hvdm;
l:=2.8mm; r:=0.6; alfa:=45; beta:=0; gamma:=0;
defineDefaultArrow (l, r, alfa, beta, gamma);
numeric xmin, xmax, ymin, ymax;
xmin :=-2; xmax := 4; ymax :=5 ;ymin:=-1; u := 1cm;
Hello,
Is it possible to change the appearance Metafun arrows default to make them
resemble those of PSTricks that I find most beautiful.
Regards,
Fabrice
___
If your question is of interest to others as well, please
Hi,
As PSTricks (which I prefer) is not yet well integrated, I decided to learn
Metapost starting with a simple code.
\starttext
\startMPcode
numeric xmin, xmax, ymin, ymax;
xmin := -2.5; xmax := 2.5; ymax :=2.5 ;ymin:=-2.5; u := 2cm;
vardef f(expr x) = -x*x+1 enddef;
xinc := 0.001;
path pts_f;
Hi,
Is it possible to redefine the command \periods[n] to have a line that goes
from the end of the word to the edge of the page without having to play on
the number n ?
Regards,
Fabrice
\starttext
\startitemize[a][stopper=),style=bold]
\item $x\mapsto -x^2+x+1$ : \periods[66]
\item $x\mapsto
Hi,
Why the three words are not aligned on the baseline ?
Regards,
Fabrice
\usemodule[tikz]
\starttext
\starttikzpicture[level/.style={sibling distance=10mm}]
\node{}[grow=right]
child{node{J}}
child{node{R}}
child{node{B}
child{node{J}}
child{node{R}}
child{node{B}
child{node{J}}
child{node{R}}
Hi,
I encounter two problems :
- Section numbers are not red ;
- Calling the second section does not cause the creation of a new paragraph.
Regards,
Fabrice
\setupcolors[state=start]
\def\MySectionCommand#1#2%
{\framed
[frame=off,
width=\textwidth,
align={right},
Hi,
I would get a dial like this :
A. Section one
1. Subsection one
With the code below, I get :
A. Section one
A. A. Subsection one
\setupsection
[section]
[conversion=Character]
\setuplabeltext
[section={{},{.}},
subsection={{},{.}}]
\setupsection
[subsection]
Hello,
How to make the numbering is in the frame and red ?
\defineenumeration
[ac]
[text={
\inframed[frame=off,
width=fit,
align={right},
background=color,
backgroundcolor=lightgray]{Activité}},
headstyle={\bf\feature[+][f:smallcaps]},
Hi,
Is it possible to put side by side text and a figure created in a TikZ
environment
?
Thank you,
Fabrice
\usemodule[tikz]
\usetikzlibrary[calc]
\starttext
\def\smiley{%
\starttikzpicture[baseline=-0.75ex,black]
\filldraw[fill=orange] circle (2mm);
\node[fill,circle,inner sep=0.5pt] (left eye)
Why the vertical spacing is not observed between item 2 and item 3 ?
Thank you,
Fabrice
\starttext
\startitemize[n][stopper=),style=bold]
\item \input knuth
\item \input knuth
\placefigure[right,none]{}{%
\setupTABLE[c][1] [width=2.25cm]
\setupTABLE[row][1,2][width=1.5cm]
Hello,
I can not run text around the figure.
thank you,
Fabrice
\starttext
\starthanging[location=right]
{\externalfigure[image.pdf][width=8cm]}
\input knuth
\input knuth
\stophanging
\stoptext
___
If your question
Hi,
How do the two figures are side by side ?
\setupTABLE[row][1,2][width=1.5cm,align={middle,lohi}]
\setupTABLE[c][1][width=3cm,align={middle,lohi}]
\starttext
\startcombination[2*1]
{%
\bTABLE[align={middle,lohi}]
\bTR\bTD{}\eTD\bTD{$A$}\eTD\bTD{$\overline{A}$}\eTD\bTD{Total}\eTD\eTR
Hi,
How to improve this code to make the table to the right of the text in the
environment list ?
\midaligned{\tfb Cadres en entreprise}
\blank
On compte 67 femmes dans une entreprise de 160 personnes.
Parmi les personnes de cette entreprise, il y a 32 cadres dont 15 femmes.
Hi,
I would like the f in \math{\cal C_f} is identical to that obtained
with \math{f}.
Regards,
Fabrice
___
If your question is of interest to others as well, please add an entry to the
Wiki!
maillist :
Hi,
After searching, it seems it is not possible to compile a file containing a
PSTricks environment ?
Is that correct ?
Regards,
Fabrice
___
If your question is of interest to others as well, please add an entry to
I'm trying to built a template for evaluations of my students.
I have a problem with the head environment that does not take into account
the selected font and size.
Regards,
Fabrice
\environment environ-2
\environment environ-3
\environment header
\starttext
\MyOtherHeader{Seconde
Hi,
I will try to rewrite some of my classes with ConTeXt. I would like to draw
inspiration from this model
http://www.pragma-ade.com/general/manuals/cont-eni.pdf
How to start ?
Is it possible to have the source code to understand ?
Thank you.
Hi,
I see that there is no space between the words pourand km.
Regards,
Fabrice
\usemodule[units]
\definetypeface [me] [rm] [serif] [pagella] [default]
\definetypeface [me] [ss] [sans] [dejavu] [default]
\definetypeface [me] [mm] [math] [xits][default]
\setupbodyfont[me,12pt]
\starttext
Hi,
I try to define the EURO symbol with :
\definesymbol [euro] [\ getglyph{Euro} {\ char160}], but it does not work.
Regards,
Fabrice
___
If your question is of interest to others as well, please add an entry to the
601 - 700 of 723 matches
Mail list logo