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

  • Context: LaTeX 
  • Thread starter Thread starter Hootenanny
  • Start date Start date
  • Tags Tags
    Request
Click For Summary

Discussion Overview

The discussion revolves around the possibility of changing the default style for vectors in MathJax from over-arrows (\vec{x}) to bold-face (\boldsymbol{x}). Participants explore the implications of such a change, considering aesthetic preferences, publication standards, and the impact on existing content.

Discussion Character

  • Debate/contested
  • Technical explanation
  • Conceptual clarification

Main Points Raised

  • Some participants suggest that bold-face notation is visually preferable and favored in many publications, while others note that over-arrows are becoming more common again.
  • Concerns are raised about changing the default style, as it could disrupt existing posts that use both notations to differentiate between 3-space and 4-space vectors.
  • There is a suggestion that users who prefer bold-face already utilize it, and switching the default may not resolve preferences or reduce confusion.
  • One participant mentions that \mathbf{x} could be used instead of \boldsymbol{x}, but others clarify that \mathbf does not work correctly for symbols.
  • A macro is proposed as a potential solution for users who want to define their own vector notation.
  • Participants express differing views on whether introductory students should see vectors represented with arrows, as they may not adopt bold-face notation as seen in some textbooks.
  • Discussions about the differences between \mathbf and \boldsymbol highlight issues with italicization and formatting of letters.

Areas of Agreement / Disagreement

Participants express a mix of opinions, with no consensus reached on whether to change the default vector notation. Concerns about the implications of such a change are shared, but preferences for notation styles remain divided.

Contextual Notes

Participants note that changing the default style could lead to confusion with existing posts and that different notations serve specific purposes in distinguishing vector types.

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}
 

Similar threads

  • · Replies 10 ·
Replies
10
Views
17K
  • · Replies 3 ·
Replies
3
Views
2K
  • · Replies 4 ·
Replies
4
Views
3K
  • · Replies 4 ·
Replies
4
Views
5K
  • · Replies 146 ·
5
Replies
146
Views
11K
  • · Replies 43 ·
2
Replies
43
Views
8K
  • · Replies 2 ·
Replies
2
Views
10K