<div dir="ltr"><div dir="ltr"><div>This document:</div><div> </div><div><a href="http://tug.org/pipermail/xetex/attachments/20090929/921178b4/attachment-0001.tex">http://tug.org/pipermail/xetex/attachments/20090929/921178b4/attachment-0001.tex</a></div>

<div> </div><div>which I wrote three years ago has some code to handle optional _ and ^ suffixes. I probably don't have the time to adapt it to this situation, but this means that it is theoretically possible.</div><div>

 </div><div>BTW, I uploaded an updated version of this document (on stretchable big operators) to my old website, which no longer exists (In the future, I won't trust free webhosts). If anybody actually downloaded it, would you please send it my way?<br>

</div><div>Thanks,</div><div>Andrew</div><div><br> </div><div class="gmail_quote">On 31 October 2012 02:21, Michaël Cadilhac <span dir="ltr"><<a href="mailto:michael@cadilhac.name" target="_blank">michael@cadilhac.name</a>></span> wrote:<br>

<blockquote style="margin:0px 0px 0px 0.8ex;padding-left:1ex;border-left-color:rgb(204,204,204);border-left-width:1px;border-left-style:solid" class="gmail_quote"><div class="im">On Tue, Oct 30, 2012 at 10:53 AM, Zdenek Wagner <<a href="mailto:zdenek.wagner@gmail.com">zdenek.wagner@gmail.com</a>> wrote:<br>


> 2012/10/30 Michaël Cadilhac <<a href="mailto:michael@cadilhac.name">michael@cadilhac.name</a>>:<br>
>> Hi there folks,<br>
<br>
> How about the following solution? I am writing it directly to the mail<br>
> without testing, I hope I won't make any error.<br>
><br>
> \def\vec#1{\do@vec#1_\do@vec}<br>
> \def\do@vec#1_#2\do@vec{\ifcat$#2$\mathbf{#1}\else\vec@subscript#1_#2\vec@subscript\fi}<br>
> \def\vec@subscript#1_#2_\vec@subscript{\mathbf{#1}_{#2}}<br>
<br>
</div>Zdeněk,<br>
<br>
Thanks for your input!  However, I also have vectors such as \vec{x^i_j} (or<br>
\vec{x_j^i}), and your solution does not seem to have a simple extension to<br>
those cases.  The original hack I had had the advantage that no syntactic<br>
manipulation had to be made on the argument, avoiding for sure those<br>
problems.  If we have to do this syntactically, I'll think about it some<br>
more.<br>
<br>
Thanks again!<br>
<div class="HOEnZb"><div class="h5"><br>
M.<br>
<br>
<br>
<br>
--------------------------------------------------<br>
Subscriptions, Archive, and List information, etc.:<br>
  <a href="http://tug.org/mailman/listinfo/xetex" target="_blank">http://tug.org/mailman/listinfo/xetex</a><br>
</div></div></blockquote></div></div></div>