General ⇒ Latex symbol for vector magnitude
Latex symbol for vector magnitude
is there anyone who knows the Latex symbol for a vector magnitude/length?
Thank you.
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
- localghost
- Site Moderator
- Posts: 9202
- Joined: Fri Feb 02, 2007 12:06 pm
Latex symbol for vector magnitude
Code: Select all
\vec{r}
Code: Select all
\overrightarrow{\text{AB}}
Code: Select all
\newcommand{\abs}[1]{\lvert#1\rvert}
\newcommand{\norm}[1]{\lVert#1\rVert}
Code: Select all
\abs{\vec{r}}
\norm{\vec{r}}
Best Regards
Thorsten
Board Rules
Avoidable Mistakes
¹ System: TeX Live 2025 (vanilla), TeXworks 0.6.10
Re: Latex symbol for vector magnitude
this is exactly what I wished to hear.

Thank you.
Mattia.