Math & ScienceAMSMath Vector Style

Information and discussion about LaTeX's math and science related features (e.g. formulas, graphs).
Post Reply
Ashiataka
Posts: 12
Joined: Tue Jun 26, 2012 2:38 pm

AMSMath Vector Style

Post by Ashiataka »

I'm using the AMSMath package for a large physics document I'm writing. For my vectors I'm writing them as \vec{F} for example. This displays them with a nice arrow over their head, which whilst is a good way to write them, isn't ideal for typesetting (emboldening vectors makes them easier to spot I think).

Is there a setting that can be changed in the preamble to change the way the vectors are rendered? I can't seem to find one.

Thank you.

Recommended reading 2024:

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

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

And: Currently, Packt sells ebooks for $4.99 each if you buy 5 of their over 1000 ebooks. If you choose only a single one, $9.99. How about combining 3 LaTeX books with Python, gnuplot, mathplotlib, Matlab, ChatGPT or other AI books? Epub and PDF. Bundle (3 books, add more for higher discount): https://packt.link/MDH5p

Stefan Kottwitz
Site Admin
Posts: 10335
Joined: Mon Mar 10, 2008 9:44 pm

AMSMath Vector Style

Post by Stefan Kottwitz »

You could define your own macro, or redefine the original \vec macro, such as:

Code: Select all

\renewcommand*{\vec}[1]{\mathbf{#1}}
Stefan
LaTeX.org admin
User avatar
localghost
Site Moderator
Posts: 9202
Joined: Fri Feb 02, 2007 12:06 pm

AMSMath Vector Style

Post by localghost »

With \let\vec\mathbf there is a short version of Stefan's proposal.


Thorsten
Ashiataka
Posts: 12
Joined: Tue Jun 26, 2012 2:38 pm

Re: AMSMath Vector Style

Post by Ashiataka »

Thank you :).
Post Reply