* Size of the font (Metapost + xtable)
@ 2019-09-23 14:12 Fabrice Couvreur
2019-09-23 14:43 ` Thomas A. Schmitz
2019-09-23 17:34 ` Wolfgang Schuster
0 siblings, 2 replies; 4+ messages in thread
From: Fabrice Couvreur @ 2019-09-23 14:12 UTC (permalink / raw)
To: mailing list for ConTeXt users
[-- Attachment #1.1: Type: text/plain, Size: 4339 bytes --]
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" ;
defaultscale :=0.8 ;
numeric alpha ; alpha = 60 ;
path circle ;
circle = fullcircle scaled 1.4cm ;
draw circle withcolor blue ;
drawarrow 0.9cm * dir 25 {dir 90}
.. 0.9cm * dir 45 {dir (90+alpha)}
withcolor \MPcolor{darkred} ;
drawdot origin withpen pencircle scaled 2pt ;
drawdot 0.7cm*dir 0 withpen pencircle scaled 2pt ;
label.llft(btex \m{O} etex,origin) ;
label.rt(btex \m{A} etex,0.7cm*dir 0) ;
\stopMPcode
\stopbuffer
\starttext
\startlinecorrection[blank]
\startmidaligned
\startxtable[align={middle,lohi},width=2.25cm]
\startxrow
\startxcell
[background=color,backgroundcolor=paleturquoise]
Angle en degré
\stopxcell
\startxcell
180
\stopxcell
\startxcell
360
\stopxcell
\startxcell
90
\stopxcell
\startxcell
45
\stopxcell
\startxcell
60
\stopxcell
\startxcell
210
\stopxcell
\stopxrow
\startxrow
\startxcell
[background=color,backgroundcolor=paleturquoise]
Position de \m{M}
\stopxcell
\startxcell
\dontleavehmode
\startMPcode
defaultfont := "texgyrepagella-regular*default" ;
defaultscale :=0.8 ;
numeric alpha ; alpha = 60 ;
path circle ;
circle = fullcircle scaled 1.4cm ;
draw circle withcolor blue ;
drawarrow 0.9cm * dir 25 {dir 90}
.. 0.9cm * dir 45 {dir (90+alpha)}
withcolor \MPcolor{darkred} ;
drawdot origin withpen pencircle scaled 2pt ;
drawdot 0.7cm*dir 0 withpen pencircle scaled 2pt ;
drawdot 0.7cm*dir 180 withpen pencircle scaled 2pt ;
label.llft(btex \m{O} etex,origin) ;
label.rt(btex \m{A} etex,0.7cm*dir 0) ;
label.lft(btex \m{M} etex,0.7cm*dir 180) ;
\stopMPcode
\stopxcell
\startxcell
\getbuffer[myfigure]
\stopxcell
\startxcell
\getbuffer[myfigure]
\stopxcell
\startxcell
\getbuffer[myfigure]
\stopxcell
\startxcell
\getbuffer[myfigure]
\stopxcell
\startxcell
\getbuffer[myfigure]
\stopxcell
\stopxrow
\startxrow
\startxcell
[background=color,backgroundcolor=paleturquoise]
Longueur \m{L} en hm
\stopxcell
\startxcell
\m{\pi \times 1}
\stopxcell
\startxcell
\unknown
\stopxcell
\startxcell
\unknown
\stopxcell
\startxcell
\unknown
\stopxcell
\startxcell
\unknown
\stopxcell
\startxcell
\unknown
\stopxcell
\stopxrow
\stopxtable
\stopmidaligned
\stoplinecorrection
\stoptext
[-- Attachment #1.2: Type: text/html, Size: 6332 bytes --]
[-- Attachment #2: Type: text/plain, Size: 493 bytes --]
___________________________________________________________________________________
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-ade.nl / http://context.aanhet.net
archive : https://bitbucket.org/phg/context-mirror/commits/
wiki : http://contextgarden.net
___________________________________________________________________________________
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: Size of the font (Metapost + xtable)
2019-09-23 14:12 Size of the font (Metapost + xtable) Fabrice Couvreur
@ 2019-09-23 14:43 ` Thomas A. Schmitz
2019-09-23 17:34 ` Wolfgang Schuster
1 sibling, 0 replies; 4+ messages in thread
From: Thomas A. Schmitz @ 2019-09-23 14:43 UTC (permalink / raw)
To: ntg-context
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
___________________________________________________________________________________
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-ade.nl / http://context.aanhet.net
archive : https://bitbucket.org/phg/context-mirror/commits/
wiki : http://contextgarden.net
___________________________________________________________________________________
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: Size of the font (Metapost + xtable)
2019-09-23 14:12 Size of the font (Metapost + xtable) Fabrice Couvreur
2019-09-23 14:43 ` Thomas A. Schmitz
@ 2019-09-23 17:34 ` Wolfgang Schuster
[not found] ` <CACyK-erps=nJu46H8hqVLMQzWfvdFAy7OwFuQ4_uJ32UW3tVWA@mail.gmail.com>
1 sibling, 1 reply; 4+ messages in thread
From: Wolfgang Schuster @ 2019-09-23 17:34 UTC (permalink / raw)
To: mailing list for ConTeXt users, Fabrice Couvreur
Fabrice Couvreur schrieb am 23.09.2019 um 16:12:
> Hello,
> I can not change the font size of my figures in the table.
\startxcell[foregroundstyle={\switchtobodyfont[...]}]
or
\setupxtable[smallbodyfont][foregroundstyle={\switchtobodyfont[...]}]
\startxcell[smallbodyfont]
Wolfgang
___________________________________________________________________________________
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-ade.nl / http://context.aanhet.net
archive : https://bitbucket.org/phg/context-mirror/commits/
wiki : http://contextgarden.net
___________________________________________________________________________________
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: Size of the font (Metapost + xtable)
[not found] ` <CACyK-erps=nJu46H8hqVLMQzWfvdFAy7OwFuQ4_uJ32UW3tVWA@mail.gmail.com>
@ 2019-09-24 4:35 ` Wolfgang Schuster
0 siblings, 0 replies; 4+ messages in thread
From: Wolfgang Schuster @ 2019-09-24 4:35 UTC (permalink / raw)
To: Fabrice Couvreur; +Cc: NTG-Context ConTeXt users
[-- Attachment #1.1: Type: text/plain, Size: 339 bytes --]
Fabrice Couvreur schrieb am 23.09.2019 um 23:31:
> Hi Wolfgang,
> As I understand it, the following instructions have no effect on the
> figures
>
> defaultfont := "texgyrepagella-regular*default" ;
> defaultscale :=0.8 ;
You change the font because you typeset your labels in math mode.
label.llft(btex \m{O} etex,origin) ;
Wolfgang
[-- Attachment #1.2: Type: text/html, Size: 1250 bytes --]
[-- Attachment #2: Type: text/plain, Size: 493 bytes --]
___________________________________________________________________________________
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-ade.nl / http://context.aanhet.net
archive : https://bitbucket.org/phg/context-mirror/commits/
wiki : http://contextgarden.net
___________________________________________________________________________________
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2019-09-24 4:35 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-09-23 14:12 Size of the font (Metapost + xtable) Fabrice Couvreur
2019-09-23 14:43 ` Thomas A. Schmitz
2019-09-23 17:34 ` Wolfgang Schuster
[not found] ` <CACyK-erps=nJu46H8hqVLMQzWfvdFAy7OwFuQ4_uJ32UW3tVWA@mail.gmail.com>
2019-09-24 4:35 ` Wolfgang Schuster
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).