Replace a single character in LaTeX?

Viewed 106

I am using Linux Libertine as my font in my thesis and I love every character except for the italic uppercase J. However, the uppercase J in mathmode is nice and I would like to replace the italic J with the mathmode J. Is this possible? MWE:

\documentclass[11pt,a4paper]{article}
\usepackage[T1]{fontenc}
\usepackage{amsmath}
\usepackage{amsfonts}
\usepackage{amssymb}
\usepackage{graphicx}
\usepackage{libertine} 
\usepackage[libertine]{newtxmath}

\begin{document}
    
I do not like the italic \textit{J}, I want $J$ for that.
    
\end{document}

Output:

MWE compiled

I know that mathmode J is produced by the newtxmath package, whereas the italic J is provided by the libertine package itself.

Thank you in advance.

0 Answers
Related