LaTeX Can Mathjax Change the Default Style for Vectors to Bold-Face?

  • Thread starter Thread starter Hootenanny
  • Start date Start date
  • Tags Tags
    Request
AI Thread Summary
The discussion centers on the possibility of changing the default vector notation in MathJax from over-arrows (\vec{x}) to bold-face (\boldsymbol{x}). Proponents argue that bold-face is visually cleaner and preferred in many publications, while opponents highlight the potential confusion it could cause in existing threads, particularly in relativity discussions where both notations are used to differentiate between 3-space and 4-space vectors. Some participants note that bold-face notation is already utilized by those who prefer it, and simply changing the default may not sway users of the over-arrow notation. There are also technical considerations, as \mathbf does not work for symbols, and some suggest creating macros to simplify usage. Ultimately, the preference for notation may depend on the audience, with introductory students potentially benefiting from the clarity of over-arrows.
Hootenanny
Staff Emeritus
Science Advisor
Gold Member
Messages
9,621
Reaction score
9
Would is be possible to change the default style for vectors from over-arrows (\vec{x}) to bold-face (\boldsymbol{x})? The latter is much easier on the eyes, looks less cluttered and is favoured by most publications (at least the ones I read).

If it were a \LaTeX document, it would be very easy to implement using the \renewcommand command. However, is the same possible with Mathjax?
 
Physics news on Phys.org
Bold-face is used in publication primarily because it used to be significantly easier to typeset. These days, it isn't nearly as much of an issue, so more and more texts using over-arrow are popping up.

It doesn't really matter, as long as context clarifies notation, but the one reason I'd object to this change is because it will mess up any previously written posts using both notations to distinguish between 3-space and 4-space vectors, which might be a big chunk of the threads in relativity sub-section.

Besides, people who prefer bold-face already use it. And people who prefer over-arrow will continue using it. Simply switching the default behavior of \vec won't really convince either, and so isn't worth any confusion that might arise.
 
K^2 said:
It doesn't really matter, as long as context clarifies notation, but the one reason I'd object to this change is because it will mess up any previously written posts using both notations to distinguish between 3-space and 4-space vectors, which might be a big chunk of the threads in relativity sub-section.
Fair enough, that's a good enough reason for me!

K^2 said:
Besides, people who prefer bold-face already use it. And people who prefer over-arrow will continue using it. Simply switching the default behavior of \vec won't really convince either, and so isn't worth any confusion that might arise.
I know, but \boldsymbol is soooo much longer than \vec :wink:
 
You don't need to write \boldsymbol. \mathbf{x} works ("math-bold-font").
 
Ben Niehoff said:
You don't need to write \boldsymbol. \mathbf{x} works ("math-bold-font").
Unfortunately, not for symbols :frown:

Code:
[tex]\mathbf{\xi}[/tex]
\mathbf{\xi}
Code:
[tex]\boldsymbol{\xi}[/tex]
\boldsymbol{\xi}
 
If you were writing, you could make a macro.

Code:
[tex]
\def\VEC{\boldsymbol}

\VEC{\xi}
[/tex]

\def\VEC{\boldsymbol}<br /> <br /> \VEC{\xi}

For intro students, I think it's better for them to see the arrowhead
since I doubt they'll write vectors in boldface, like some of their textbooks do. :(
[Maybe the trend is reversing.]

My 2c \hspace{-1ex}/.
 
Ben Niehoff said:
You don't need to write \boldsymbol. \mathbf{x} works ("math-bold-font").
As Hoot (welcome back!) already noted, \mathbf doesn't work on symbols. It also doesn't work quite right on the letter 'a', and it isn't in italics.

{\mathbf a} versus {\boldsymbol a}:
{\mathbf a}\, \text{versus}\, {\boldsymbol a}

Personally, I like un-italicized, capital letters in \mathbf for matrices, italicized \boldsymbol for vectors:

{\boldsymbol u} = {\mathbf T}{\boldsymbol x}
{\boldsymbol u} = {\mathbf T}{\boldsymbol x}
 
Back
Top