TeX - LaTeX Stack Exchange is a question and answer site for users of TeX, LaTeX, ConTeXt, and related typesetting systems. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I'm trying to write something like: $affinity(x)$, but in the PDF I see some small spacing between the two f's.

example image

I tried $af{}firm(x)$ or $aff{}irm(x)$, but nothing works.

share|improve this question
In general math words should not be entered "undecorated" in TeX as they are typeset as separate letters, not as a word....which is why we use \mathit and the like. – Yossi Farjoun Nov 27 '10 at 16:17
up vote 14 down vote accepted


share|improve this answer
Thanks! that did it. – Hagai Cibulski Nov 27 '10 at 14:03

How do you usually write maps, functions and operators in your math text? Italic as well?

Math operators are commonly written in upright letters, in contrary to variables which have italic shape. I would use \mathrm instead of \mathit or better


of amsmath, and write \affinity in the formulas. Here's a complete example, just compare:

  \affinity(x) \neq \mathit{affinity}(x) \neq y(x),
  \max_f \lim_a af = a\cdot f


alt text

share|improve this answer

$affinity$ stands for the product of the variables a, f, f, i, …. Wordlike functions are usually written in an upright font, usually with \DeclareMathOperator:

share|improve this answer
I agree, just wrote it at the same time :) just with an example. – Stefan Kottwitz Nov 27 '10 at 16:44

Your Answer


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.