Math & ScienceProblem with \vec and mathptmx

Information and discussion about LaTeX's math and science related features (e.g. formulas, graphs).
Post Reply
kiriku
Posts: 2
Joined: Fri Apr 16, 2010 1:02 pm

Problem with \vec and mathptmx

Post by kiriku »

Hi to all,
I'm using the class file svmono.cls, with a templete that uses the package mathptmx. According to the Springer instruction, with the class option vecphys vec{x} will be bold and italic. My experience is different, if I use vecphys option, vec{x} is only italic, otherwise (without vecphys) vec{x} is only boldface. I read that mathptmx has some problems with mathbf, in fact \mathbf{x} is ineffective. The problem is that I cannot change the Springer template and I need vectors in boldface and italic. Any suggestion?

Thanks to all

Recommended reading 2024:

LaTeXguide.org • LaTeX-Cookbook.net • TikZ.org

NEW: TikZ book now 40% off at Amazon.com for a short time.

frabjous
Posts: 2064
Joined: Fri Mar 06, 2009 12:20 am

Re: Problem with \vec and mathptmx

Post by frabjous »

Where can one obtain the svmono.cls file? It's not on CTAN.

For me, \mathbf works for me with mathptmx (in standard doc classes). Though with any font package I've tried, it always gives bold, not bold italics.

Out of curiousity, does it work with txfonts rather than mathptmx to get the Times fonts?
kiriku
Posts: 2
Joined: Fri Apr 16, 2010 1:02 pm

Re: Problem with \vec and mathptmx

Post by kiriku »

svmono is a Springer cls file.

With txfont it works but the graphical result is not the best one. Mathptmx does not support bold italic.
User avatar
frabjous
Posts: 2064
Joined: Fri Mar 06, 2009 12:20 am

Problem with \vec and mathptmx

Post by frabjous »

kiriku wrote:svmono is a Springer cls file.
Yes, and where can it be acquired?
With txfont it works but the graphical result is not the best one.
Why not? Please elaborate. txfonts and mathptmx use precisely the same fonts.
Mathptmx does not support bold italic.
Yes, it does. (I just tested it, and it does for me.)

Here's a .png converted from bold italics generated from txfonts:
tx.png
tx.png (535 Bytes) Viewed 4450 times
Here's a .png converted from bold italics generated from mathptmx.
mp.png
mp.png (535 Bytes) Viewed 4450 times
These images are identical down to the pixel.
Post Reply