Fonts & Character Sets ⇒ Small horizontal Bar through Character
Small horizontal Bar through Character
I searched the net but didn't found any yet. Do I need a special package just for this?
Actually, I just need to put a bar through a capital "i".
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
Re: Small horizontal Bar through Character
Thorsten
Board Rules
Avoidable Mistakes
¹ System: TeX Live 2025 (vanilla), TeXworks 0.6.10
Re: Small horizontal Bar through Character
Small horizontal Bar through Character
Code: Select all
\documentclass{article}
\makeatletter
\newcommand\stroke[1]{\mathpalette\stroke@aux{#1}}
\def\stroke@aux#1#2{%
\ooalign{%
\hfil$#1-$\hfil\cr
\hfil$#1#2$\hfil\cr
}%
}
\makeatother
\newcommand\Istroke{\stroke{I}}
\begin{document}
$\Istroke$
\end{document}
Small horizontal Bar through Character
However, I'm not sure anymore that's what I want for my symbol. I need to look out in the litterature what symbol should I use for the radial inertia moment, defined as half the trace of the inertia tensor. Any idea on this ?
- localghost
- Site Moderator
- Posts: 9202
- Joined: Fri Feb 02, 2007 12:06 pm
Small horizontal Bar through Character
A common symbol for this is a simple capital "I". But I have also seen a "J" and the Greek capital "Θ" (Theta). At least in Germany we use this notation.Cham wrote:[…] I need to look out in the litterature what symbol should I use for the radial inertia moment, defined as half the trace of the inertia tensor. […]
Board Rules
Avoidable Mistakes
¹ System: TeX Live 2025 (vanilla), TeXworks 0.6.10