Re: [NTG-context] tikz problem with fontsize

2019-09-01 Thread Martin Althoff
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

Re: [NTG-context] tikz problem with fontsize

2019-09-01 Thread Aditya Mahajan
On Sat, 31 Aug 2019, Martin Althoff wrote: What to do? Are there other ways to change font size in the Context TikZ? The equivalent of LaTeX's \selectfont{}{} in ConTeXt is \switchtobodyfont[...]. See https://wiki.contextgarden.net/Font_Switching Aditya

Re: [NTG-context] tikz problem with fontsize

2019-09-01 Thread Ulrike Fischer
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

Re: [NTG-context] tikz problem with fontsize

2019-09-01 Thread Hans Hagen
On 9/1/2019 9:21 AM, Martin Althoff wrote: Hi Hans, thanks for this. Yes, that works. Am I right to assume that Context does not have a full tikz engine in the background due to the module implementation? For example, the \coordinate command is unknown as well. tikz is kind of generic so it

Re: [NTG-context] tikz problem with fontsize

2019-09-01 Thread Martin Althoff
Hi Hans, thanks for this. Yes, that works. Am I right to assume that Context does not have a full tikz engine in the background due to the module implementation? For example, the \coordinate command is unknown as well. Is there any way to integrate a standalone tikz into context documents?

Re: [NTG-context] tikz problem with fontsize

2019-08-31 Thread Hans Hagen
On 8/31/2019 9:44 PM, Martin Althoff wrote: Hello all, I am trying to set the fontsize in a tikz image and that is failing. Strangely at the \node line with : ! Undefined control sequence. As the MWE stands now, it will fail. The now commented line works. main context file:

[NTG-context] tikz problem with fontsize

2019-08-31 Thread Martin Althoff
Hello all, I am trying to set the fontsize in a tikz image and that is failing. Strangely at the \node line with : ! Undefined control sequence. As the MWE stands now, it will fail. The now commented line works. main context file: