I want to type this character as a symbol for energy:
But when I type capital u, it is shown as:
Please help me find the solution. Thanks
I want to type this character as a symbol for energy:
But when I type capital u, it is shown as:
Please help me find the solution. Thanks
If you want U
from the default Computer Modern font you can just define it using another name. I used \energy
because that is what you want to use it for.
\documentclass{article}
% Change the main math font
\usepackage{mathpazo}
% Get Computer Modern ``U'' back under different name
\DeclareSymbolFont{cmletters}{OML}{cmm}{m}{it}
\DeclareMathSymbol{\energy}{\mathalpha}{cmletters}{`U}
\begin{document}
$U \energy$
\end{document}
\documentclass{article}\begin{document}$U$\end{document}
and see if that works. – manooooh Dec 12 '18 at 1:30