3

I need to write idb in math mode. But a space appears after id and I get id b. How can I remove this space?

Code example:

$idb$ 
2
  • there will be no space! Create a complete example which shows this behaviour. Commented Jul 25, 2014 at 19:53
  • 1
    Welcome to TeX.SX! Does idb denote a single object or the multiplication “i times d times b”? However, this is what I get from $idb$: i.sstatic.net/IFAid.png There is no strange space, so it's necessary you give some more information. Commented Jul 25, 2014 at 19:56

1 Answer 1

1

As I suggest idb here is meant to be a three-character variable. If this is the case you can write it in math mode as follows:

$\mathit{idb}$

Then you get the correct spacing because LaTex assumes idb is just i times db here and db is treated as a differential term.

If you mean the multiplication just write it as follows:

$idb$

An image is provided for the first (upper) and the second (lower) approach.

enter image description here

You must log in to answer this question.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.