<html><body bgcolor="#FFFFFF"><div>Hi Alan,<br></div><div><br>On 31/08/2010, at 2:12 AM, Alan Munn &lt;<a href="mailto:amunn@gmx.com">amunn@gmx.com</a>&gt; wrote:<br><br></div><div></div><blockquote type="cite"><div><span>Hi again, I've encountered another puzzle.</span><br><span></span><br><span>% !TEX TS-program = XeLaTeX</span><font class="Apple-style-span" color="#000000"><font class="Apple-style-span" color="#0023A3"><br></font></font></div></blockquote><br><blockquote type="cite"><div><span></span><span>\newcolumntype{I}{&gt;{\begin{ipa}[}l&lt;{]\end{ipa}}}</span><br><span></span><br><span>\begin{document}</span><br><span>\begin{ipa}[PoP]\end{ipa}</span><br><span></span><br><span>\begin{tabular}{I}</span><br><span>PoP</span><br><span>\end{tabular}</span><br><span></span><br><span>\end{document}</span><br><span></span><br><span>For some reason, the first character of the the IPA environment (whether with a newcolumntype or explicitly encoded into the column) specification fails to do the correct TIPA mapping. &nbsp;Enclosing the character in braces solves the problem, but this doesn't seem ideal.</span><br><span></span><br><span>Any suggestions?</span><br></div></blockquote><div><br></div><div>This is a general feature of alignment environments.</div><div>The first character in a cell is examined, in case it is (or expands to) \omit , which is the signal to ignore the template coding. This can lead to the \catcode becoming not what you want, as in your example, since it is the template coding that is going to establish what you want.</div><div><br></div><div>A simple work-around is to start any cell, whose contents start with a macro, with \relax .</div><br><blockquote type="cite"><div><span></span><br><span>Thanks</span><br><span></span><br><span>Alan</span><br><span></span><br><span>-- </span><br><span>Alan Munn</span><br><span><a href="mailto:amunn@gmx.com">amunn@gmx.com</a></span><br></div></blockquote><br><div><br></div><div>Hope this helps.</div><div><br></div><div>&nbsp;&nbsp; &nbsp; &nbsp; &nbsp;Ross</div><div><br></div></body></html>