[XeTeX] On an ugly hack to mathbf only in the local style.

2012-10-30 Thread Michaël Cadilhac
Hi there folks, I have gotten used to write vectors in my documents as $\vec{v}$. $\vec$, basically, is a mathbf. Naturally, if I have vectors v_1, v_2, v_3, I'd like to write \vec{v_1}, \vec{v_2}, \vec{v_3}. But here, I want to mathbf only the `v`. Thus I used this ugly hack, contributed by

Re: [XeTeX] On an ugly hack to mathbf only in the local style.

2012-10-30 Thread Michaël Cadilhac
On Tue, Oct 30, 2012 at 10:53 AM, Zdenek Wagner zdenek.wag...@gmail.com wrote: 2012/10/30 Michaël Cadilhac mich...@cadilhac.name: Hi there folks, How about the following solution? I am writing it directly to the mail without testing, I hope I won't make any error.

Re: [XeTeX] On an ugly hack to mathbf only in the local style.

2012-10-30 Thread Michaël Cadilhac
On Tue, Oct 30, 2012 at 10:13 AM, Herbert Schulz he...@wideopenwest.com wrote: On Oct 30, 2012, at 1:21 AM, Michaël Cadilhac mich...@cadilhac.name wrote: Hi there folks, I have gotten used to write vectors in my documents as $\vec{v}$. $\vec$, basically, is a mathbf. Naturally, if I have

Re: [XeTeX] On an ugly hack to mathbf only in the local style.

2012-10-30 Thread Andrew Moschou
This document: http://tug.org/pipermail/xetex/attachments/20090929/921178b4/attachment-0001.tex 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. BTW, I

Re: [XeTeX] On an ugly hack to mathbf only in the local style.

2012-10-30 Thread Zdenek Wagner
2012/10/30 Michaël Cadilhac mich...@cadilhac.name: On Tue, Oct 30, 2012 at 10:53 AM, Zdenek Wagner zdenek.wag...@gmail.com wrote: 2012/10/30 Michaël Cadilhac mich...@cadilhac.name: Hi there folks, How about the following solution? I am writing it directly to the mail without testing, I

Re: [XeTeX] On an ugly hack to mathbf only in the local style.

2012-10-30 Thread Ross Moore
Hi Michaël, On 31/10/2012, at 1:39 AM, Michaël Cadilhac wrote: Howdy, \vec{v}_1 ? Herb, Thanks, but of course, I'd like to avoid going through hundreds of pages (ok, a script would be easy to write, but still...). Also, I'd like to keep the semantics \vec{T} is for a vector T,