Math & Sciencechange imath command

Information and discussion about LaTeX's math and science related features (e.g. formulas, graphs).
Post Reply
coyote_001
Posts: 2
Joined: Sun Sep 21, 2008 10:44 pm

change imath command

Post by coyote_001 »

Hello,
I have a question about the \imath command.... :roll:

I am a physics student and I wrote a huge document with many equations. In some equations there is the \imath symbol. When my professor saw this document he told me to change the symbol and use one with a dotted \imath.

So I thought to change the \imath command and use at the beginning

Code: Select all

\renewcommand{\imath}{\ensuremath{\dot{\imath}}}
but when I compile the document using this command the compiler comes with some errors concerning the \imath symbol.

There are a lot of \imath symbols in my document and changing them one by one it is going to take a lot of time :cry: .

Thank you in advance!!!

Recommended reading 2024:

LaTeXguide.org • LaTeX-Cookbook.net • TikZ.org

NEW: TikZ book now 40% off at Amazon.com for a short time.

User avatar
localghost
Site Moderator
Posts: 9202
Joined: Fri Feb 02, 2007 12:06 pm

change imath command

Post by localghost »

Usually the \imath character is only used when typesetting a vector. Its purpose is to remove the dot and make room for the vector arrow. The same is true for the \jmath character.

Code: Select all

$\vec{\imath}$
I don't know in which context you used the \imath character, but I suggest to use the search-and-replace function of your editor and replace it by a normal "i" character. This only takes you a few seconds.


Best regards
Thorsten¹
phi
Posts: 577
Joined: Tue Oct 21, 2008 8:10 pm

Re: change imath command

Post by phi »

Perhaps there is also a bit of confusion about the Greek iota which looks very similar to the dotless i. As localghost said, a dotted \imath is just a normal i. An isolated \imath symbol never makes sense. So change the \imath's to \iota or i, whichever you intend to use. \iota is very uncommon in mathematical notation since it's hard to distinguish from i.
Post Reply