(m) significa que un sustantivo es de género masculino (p. ej. el hombre, el sol).
(M)
The detective was in the midst of the most difficult case he had ever worked.El detective estaba en medio del caso más difícil que jamás había trabajado.
(f) significa que un sustantivo es de género femenino (p. ej. la mujer, la luna).
(F)
Jack and I were in the midst of an important conversation when he suddenly stood up and left.Jack y yo estábamos a la mitad de una conversación importante cuando de repente se paró y se fue.