Take the 2-minute tour ×
TeX - LaTeX Stack Exchange is a question and answer site for users of TeX, LaTeX, ConTeXt, and related typesetting systems. It's 100% free, no registration required.

I want to reduce spacing between operators in inline math. If I add the follwing lines to the peamble it affects both inline and display math modes.

\thinmuskip=0mu
\medmuskip=0mu
\thickmuskip=0mu

How can I limit the effect to inline math without using separate groups for each piece of text?

share|improve this question

1 Answer 1

up vote 4 down vote accepted

Are you sure you want the spacing that tight?

You could use \everymath to insert the declarations at the start of every technically inline expression but this will include many build up constructs (arrays, AMS alignments, that use displaymode in inline math.

If you enter inline math using \( rather than $ it is easy you can go

\let\oldmath\(
\DeclareRobustCommand\({%
\oldmath\thinmuskip=0mu
\medmuskip=0mu
\thickmuskip=0mu
}
share|improve this answer
    
Thanks. I used \everymath and it worked for me. You now the lack of space in conference papers, in fact I don't set all to zero. –  Aydin Nov 23 '12 at 9:50

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.