[NTG-context] tikz problem with fontsize

Martin Althoff martin.althoff at yahoo.com
Mon Sep 2 06:49:23 CEST 2019

Thanks for all the replies.

@Ulrike: You are right, this example you give works for me too. Me experiencing it not
working must have come out of some strange constellation.

@Aditya: Yes, it does. But {} are needed: 

\tikzstyle{label}=[font={\switchtobodyfont[20pt] \red}]

@Hagen: Yes, most examples do use Latex commands. 

What confused me, was/is which commands are from the macro package i.e. Latex or Context
and which are actually Tikz. Integrating font handling makes sense. That is why the idea
of using Context font commands did not occur to me. 

With this in mind, I'll go back to some slightly different syntax used in Tikz 3.1.4
manual and see what happens.

Thanks, Martin

On Sun, 2019-09-01 at 16:25 +0200, Ulrike Fischer wrote:
> Am Sun, 1 Sep 2019 13:05:10 +0200 schrieb Hans Hagen:
> > what is \coordinate supposed to do:
> it stores a coordinate under a name. And it works fine for me (I
> would have been quite surprised if not):
> \usemodule[tikz]
> \starttext
> \starttikzpicture
> \coordinate (a) at (1,1);
> \coordinate (b) at (2,2);
> \draw[red,<->](a)--(b);
> \stoptikzpicture
> \stoptext

More information about the ntg-context mailing list