Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Latex sequence \/?

Tags:

latex

This is probably very simple but I couldn't find anything about in the usual latex guides. In this phrase:

{\em hello\/}

what is the purpose of the "\/" ?

like image 700
shoosh Avatar asked Sep 22 '09 11:09

shoosh


2 Answers

This is a so-called italic correction. Its purpose is to ensure proper spacing after italic text.

Example:

  • {\itshape M}M produces MM, but italics M touches normal M.
  • {\itshape M\/}M produces M M, with a bit more spacing to avoid touching.
like image 198
Martijn Avatar answered Nov 16 '22 03:11

Martijn


\/ is also the standard macro for separating letters which would otherwise form a ligature, so as said before it acts as a separator. But if you’re using the packages german/ngerman (deprecated), or babel with option german/ngerman (I don’t know at the moment whether it works on other languages as well) you can take "| which generates slightly better spacing and does not influence the hyphenation, as \/ would.

like image 30
Frakturfreak Avatar answered Nov 16 '22 01:11

Frakturfreak