<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta http-equiv="content-type" content="text/html; charset=ISO-8859-1">
</head>
<body bgcolor="#ffffff" text="#000000">
Confession : I am a complete beginner w.r.t. TikZ.<br>
<br>
Overview : I wish to simplify the following, factoring out common
elements --<br>
<blockquote>
<p style="margin: 0px; text-indent: 0px;">\draw [decorate,
decoration={text along path, text={|\Decorationfont|
<a class="moz-txt-link-abbreviated" href="http://www.thai-an.co.uk">www.thai-an.co.uk</a>}, text align=center}]<br>
(xyz polar cs: angle=120, x radius=5, y radius=2) arc (180:0:5
and 2);</p>
\draw [decorate, decoration={text along path, text={|\Decorationfont|
Authentic Oriental Cuisine}, text align=center}]<br>
(xyz polar cs: angle=240, x radius=5, y radius=2) arc
(180:360:5 and 2);<br>
</blockquote>
<p style="margin: 0px; text-indent: 0px;">Here is my best attempt --<br>
</p>
<p style="margin: 0px; text-indent: 0px;"><br>
\tikzset <br>
</p>
<blockquote>{ <br>
/pgf/decoration={text along path},
<p style="margin: 0px; text-indent: 0px;"> /pgf/decoration/text
align/align={center},</p>
<p style="margin: 0px; text-indent: 0px;"> /tikz/start angle=180,</p>
<p style="margin: 0px; text-indent: 0px;"> /tikz/x radius=5,</p>
<p style="margin: 0px; text-indent: 0px;"> /tikz/y radius=2,<br>
/tikz/cs/y radius=2<br>
</p>
<p style="margin: 0px; text-indent: 0px;"> }</p>
</blockquote>
<p style="margin: 0px; text-indent: 0px;"> \draw [decorate,
decoration={text={|\Decorationfont| <a class="moz-txt-link-abbreviated" href="http://www.thai-an.co.uk">www.thai-an.co.uk</a>}}]</p>
<p style="margin: 0px; text-indent: 0px;"> (xyz polar cs:
angle=120, y radius=2) arc [end angle=0];</p>
<p style="margin: 0px; text-indent: 0px;"> \draw [decorate,
decoration={text={|\Decorationfont| Authentic Oriental Cuisin{\kern
0,02 em e}}}]</p>
<p style="margin: 0px; text-indent: 0px;"> (xyz polar cs:
angle=240, y radius=2) arc [end angle=360];</p>
<p style="margin: 0px; text-indent: 0px;"><br>
</p>
<p style="margin: 0px; text-indent: 0px;">Problem --<br>
</p>
<blockquote>
<p style="margin: 0px; text-indent: 0px;">I have to explicitly
include "y radius=2" in both "xyz polar cs:" constructs.<br>
The TikZ manual tells me there is a key "/tikz/cs/y radius", but
setting <br>
this immediately after setting key "/tikz/y radius" has no perceivable
effect</p>
<p style="margin: 0px; text-indent: 0px;">(i.e., it is accepted but I
still cannot remove the explicit ' "y radius=2" in the <br>
"xyz polar cs:" constructs ' without affecting the resulting geometry).</p>
<p style="margin: 0px; text-indent: 0px;"><br>
What am I misunderstanding, and how can I factor out ' "y radius=2" in
both <br>
"xyz polar cs:" constructs ' ?<br>
</p>
</blockquote>
<p style="margin: 0px; text-indent: 0px;">Philip Taylor<br>
</p>
</body>
</html>