10

I'm trying to put a text in a ring section. I found here an example that perfectly fits my needs: How draw part of ring or broken ring in TikZ?

The problem with it is that when I change text size, e.g. by changing to {\large this is a text}, my pdflatex hangs, the last message on the screen is:

(/usr/local/texlive/2014/texmf-dist/tex/latex/latexconfig/epstopdf-sys.cfg))
tnorgd
  • 285
  • Please post a complete example here. Especially if an answer which works for somebody else doesn't work for you. Which example there did you even use? We have no idea.... – cfr Jul 22 '15 at 23:34

1 Answers1

18

Your

\large

should be inside a | bracket:

decoration={text along path, text={|\large|this is a text}, text align={align=center}}

For me this works.

Edit: Or you can try to change the default setting:

decoration={text along path, 
text format delimiters={<}{>},
text={<\large>this is a text}, text align={align=center}}

For me, that one works as well.

Rafał
  • 335