Text FormattingLigatures in Equation

Information and discussion about LaTeX's general text formatting features (e.g. bold, italic, enumerations, ...)
Post Reply
grenka
Posts: 2
Joined: Wed Jun 15, 2011 3:20 pm

Ligatures in Equation

Post by grenka »

How to insert a ligature in an equation?

I wrote a dissociation coefficient, " k_{off}" in an equation but it looks bad because there is too much space between the 2 f.
It is possible to solve this problem with an \mbox but then I have to specify the font size and that it sould be in italic, so it is not very convenient.
Is there another solution?

Thanks!

P.M.

Recommended reading 2024:

LaTeXguide.org • LaTeX-Cookbook.net • TikZ.org

NEW: TikZ book now 40% off at Amazon.com for a short time.

torbjorn t.
Posts: 162
Joined: Wed Jun 17, 2009 10:18 pm

Ligatures in Equation

Post by torbjorn t. »

What does the "off" signify? Does it have to be italic? The \text command from amsmath saves you the problem of redefining the size.

Code: Select all

\documentclass{article}
\usepackage{amsmath}
\begin{document}
\[
k_\text{off}
\]
\end{document}
You could define a new command that makes an italicized subscript, e.g

Code: Select all

\documentclass{article}
\usepackage{amsmath}
\newcommand{\is}[1]{_\text{\textit{#1}}}
\begin{document}
\[
k\is{off}
\]
\end{document}
grenka
Posts: 2
Joined: Wed Jun 15, 2011 3:20 pm

Re: Ligatures in Equation

Post by grenka »

Thanks, defining a new command is convenient and solves the problem!

P.M.
Post Reply