ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
* tikz problem with fontsize
@ 2019-08-31 19:44 Martin Althoff
  2019-08-31 20:00 ` Hans Hagen
  2019-09-01 15:40 ` Aditya Mahajan
  0 siblings, 2 replies; 7+ messages in thread
From: Martin Althoff @ 2019-08-31 19:44 UTC (permalink / raw)
  To: ntg-context

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: /usr/local/context/tex/texmf-context/tex/context/base/mkiv/context.mkiv
current version: 2019.08.24 22:42

The fontsize statement work in kTikz.

What to do? Are there other ways to change font size in the Context TikZ?

Thanks for any input!

Martin


\usemodule[tikz]
\starttext

\starttikzpicture

\tikzstyle{label}=[minimum size=30mm,line
width=2mm,draw=blue!50,align=center,font=\fontsize{60}{60}\selectfont]
%\tikzstyle{label}=[minimum size=30mm,line width=2mm,draw=blue!50,align=center]

\node[label]  at  (1,1)  {88} ;
\stoptikzpicture
\stoptext

___________________________________________________________________________________
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] 7+ messages in thread

end of thread, other threads:[~2019-09-02  4:49 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-08-31 19:44 tikz problem with fontsize Martin Althoff
2019-08-31 20:00 ` Hans Hagen
2019-09-01  7:21   ` Martin Althoff
2019-09-01 11:05     ` Hans Hagen
2019-09-01 14:25       ` Ulrike Fischer
2019-09-02  4:49         ` Martin Althoff
2019-09-01 15:40 ` Aditya Mahajan

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).