You want to use \mathit{Ja}
, so text italic rather than math italic is used. The same treatment should probably be done for “pl”, “sat” and “fg”, which don't seem like product of variables.
\documentclass[twocolumn]{article} % twocolumn just for a smaller picture
\usepackage{amsmath}
\newcommand{\Jakob}{\mathit{Ja}}
\newcommand{\tsub}[1]{\mathit{#1}}% for textual subscripts
\begin{document}
\subsection*{Bad formula}
\begin{equation}
Ja = \frac{c_{pl} \left( T_w - T_{sat} \right)}{h_{fg}}
\end{equation}
\subsection*{Good formula}
\begin{equation}
\Jakob = \frac{c_{\tsub{pl}}( T_w - T_{\tsub{sat}} )}{h_{\tsub{fg}}}
\end{equation}
\end{document}
You can compare. Note that \left
and \right
only add unwanted space.
Using \tsub
for those subscripts is important, because you might be told (or decide yourself) that such subscripts should be upright and changing the definition would be enough. With
\newcommand{\tsub}[1]{\mathrm{#1}}
the output would become
Kerning
If you really want to push the “a” nearer to the “J”, use \mspace
and not \kern
.
With \mspace
:
\documentclass[twocolumn]{article}
\usepackage{amsmath}
\newcommand{\Jakob}{\mathit{J\mspace{-4mu}a}}
\newcommand{\tsub}[1]{\mathit{#1}}% for textual subscripts
\begin{document}
\section*{Jakob Number $\Jakob$}
\begin{equation}
\Jakob = \frac{c_{\tsub{pl}}( T_w - T_{\tsub{sat}} )}{h_{\tsub{fg}}}
\end{equation}
\end{document}
With \kern
:
\documentclass[twocolumn]{article}
\usepackage{amsmath}
\newcommand{\Jakob}{\mathit{J\kern-2pt a}}
\newcommand{\tsub}[1]{\mathit{#1}}% for textual subscripts
\begin{document}
\section*{Jakob Number $\Jakob$}
\begin{equation}
\Jakob = \frac{c_{\tsub{pl}}( T_w - T_{\tsub{sat}} )}{h_{\tsub{fg}}}
\end{equation}
\end{document}
You can easily see that the kerning in the section title is wrong.
Font choice
The picture seems to use Cambria and here an additional kerning doesn't seem necessary.
\documentclass[twocolumn]{article}
\usepackage{amsmath}
\usepackage{unicode-math}
\setmainfont{Cambria}
\setmathfont{Cambria Math}
\newcommand{\Jakob}{\mathit{Ja}}
\newcommand{\tsub}[1]{\mathit{#1}}% for textual subscripts
\begin{document}
\subsection*{Bad formula}
\begin{equation}
Ja = \frac{c_{pl} \left( T_w - T_{sat} \right)}{h_{fg}}
\end{equation}
\subsection*{Good formula}
\begin{equation}
\Jakob = \frac{c_{\tsub{pl}}( T_w - T_{\tsub{sat}} )}{h_{\tsub{fg}}}
\end{equation}
\end{document}
Compile with LuaLaTeX
\mathit{Ja}
or\mathrm{ja}
\mathrm{sat}
(not\text
) adjacent letters are otherwised spaced so they do not look like a word, but like a product of 1-letter variables.amssymb
package loads theamsfonts
package automatically. Hence, no need for the\usepackage{amsfonts}
directive.\usepackage{newtx}
but you should provide an example like the code in Mico's example a complete document that produces the output shown, and without all the unrelated packages.