TeX Primitive Command (Italic Correction) \/

Mar. 27, 2024

TeX primitive command \/ can be used to add a small space after a letter1, so it can be used in some cases when typesetting in LaTeX system.

(1) Cancel ligatures1234

There are some ligatures, that is some letters in a word are combined into a single symbol, when typesetting in LaTeX system. The presence and the form of ligatures are generally determined by the used font. For example, when using default Computer Modern or Latin Modern fonts, lowercase letter combinations $\text{ff}$, $\text{fi}$, $\text{fl}$, $\text{ffi}$, or $\text{ffl}$ will cause a ligature (some professional fonts will introduce more such combinations)1. These five are the most basic ligatures in typesetting, the reason is that the letter $\text{f}$ exceeds its character boundary.

Ligature can be intentionally canceled by inserting \/ command after the letter:

1
2
3
4
5
6
7
\documentclass{article}

\begin{document}
	\noindent
	ff, fi, fl, ffi, ffl\\
	f\/f, f\/i, f\/l, f\/f\/i, f\/f\/l\\
\end{document}

image-20240326192031711

(2) Correct italic1

When using italic commands like \itshape and \slshape, the last italic letter will exceed the right boundary, making it close to the following roman letter. We can make an italic correction using \/ command. For example:

1
2
3
4
5
6
7
\documentclass{article}

\begin{document}
	\noindent
	{\itshape M}M, {\slshape M}M\\
	{\itshape M\/}M, {\slshape M\/}M\\
\end{document}

image-20240326194157182

Another way to correct is using the italic commands that with parameter, like \textit{} and \textsl{}:

1
2
3
4
5
6
7
8
\documentclass{article}

\begin{document}
	\noindent
	{\itshape M}M, {\slshape M}M\\
	{\itshape M\/}M, {\slshape M\/}M\\
	\textit{M}M, \textsl{M}M\\
\end{document}

image-20240326194401805

According to reference 1 and what user Ulrike Fischer says in StackExchange2, \textit command will automatically insert \/ to make an italic correction. If we think this kind of italic correction created by \textit is necessary in some cases, we can use \nocorr to disable this feature (and so is for \textsl command):

1
2
3
4
5
6
7
\documentclass{article}

\begin{document}
	\noindent
	\textit{M}M, \textsl{M}M\\
	\textit{M\nocorr}M, \textsl{M\nocorr}M\\
\end{document}

image-20240326195943119

(3) Add the space between the bold letter and quotation mark 1

\/ also can be used to increase an appropriate distance between the bold letter, formatted by \bfseries command, and the quotation mark:

1
2
3
4
5
6
7
\documentclass{article}

\begin{document}
	\noindent
	Bold `{\bfseries leaf}'\\
	Bold `{\bfseries leaf\/}'\\
\end{document}

image-20240326192246747

Similarly, another way is using \textbf{} to bold the characters:

1
2
3
4
5
6
7
8
\documentclass{article}

\begin{document}
	\noindent 
	Bold `{\bfseries leaf}'\\
	Bold `{\bfseries leaf\/}'\\
	Bold `\textbf{leaf}'\\
\end{document}

image-20240326192327590

and we can also use \nocorr to disable the correction:

1
2
3
4
5
6
7
\documentclass{article}

\begin{document}
	\noindent 
	Bold `\textbf{leaf}'\\
	Bold `\textbf{leaf\nocorr}'\\
\end{document}

image-20240326200321685

By the way, the space size inserted by \/ is related to the font size:

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
\documentclass{article}

\begin{document}
	\noindent
	ff, fi, fl, ffi, ffl\\
	f\/f, f\/i, f\/l, f\/f\/i, f\/f\/l\\
	{\huge f\/f, f\/i, f\/l, f\/f\/i, f\/f\/l}\\
	
	\noindent
	{\itshape M}M, {\slshape M}M\\
	{\itshape M\/}M, {\slshape M\/}M\\
	{\huge {\itshape M\/}M, {\slshape M\/}M}\\
	
	\noindent
	Bold `{\bfseries leaf}'\\
	Bold `{\bfseries leaf\/}'\\
	{\huge Bold `{\bfseries leaf\/}'}\\
\end{document}

image-20240326204915905


References