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".
Learn LaTeX easily with newest books:
The LaTeX Beginner's Guide: 2nd edition and perfect for students writing a thesis
The LaTeX Cookbook: 2nd edition full of practical examples for mathematics, physics, chemistry, and more
LaTeX Graphics with TikZ: the first book about TikZ for perfect drawings in your LaTeX thesis
- 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