This \hbar
is ugly with the bar too high and too left
This is what I want
My settings are:
\documentclass{beamer}
\usetheme{default}
\usecolortheme{seahorse}
\setbeamertemplate{navigation symbols}{}
\setbeamertemplate{items}[ball]
\setbeamertemplate{footline}[frame number]
\setbeamertemplate{section in toc}[ball]
\setbeamerfont{section in toc}{series=\bfseries}
\renewcommand{\arraystretch}{1.25}
\usepackage[fontset=none]{ctex}
\setCJKsansfont{SimSun}[BoldFont=Noto Sans CJK SC Medium]
\usepackage{amsmath,amssymb,mathrsfs,bm}
\usepackage{tikz}
\usepackage{anyfontsize}
\usepackage{fontspec}
\usefonttheme[onlymath]{serif}
\usepackage{color}
\usepackage{graphicx,caption,subcaption}
\usepackage{hyperref}
\hypersetup{
colorlinks=true,
linkcolor=blue,
filecolor=green,
urlcolor=cyan,
citecolor=cyan,
}
\AtBeginDocument{
\let\uglyepsilon\epsilon
\renewcommand\epsilon{\varepsilon}
}
\AtBeginDocument{
\let\uglymathsf\mathsf
\renewcommand\mathsf{\symsf}
}
\let\sectiononly\section
\renewcommand{\section}[1]{
\sectiononly{#1}
\let\sectiontitle\relax
\newcommand{\sectiontitle}{#1}
}
\newenvironment{slide}{
\begin{frame}{\bfseries{\sectiontitle}}
}{
\end{frame}
}
what is next is: if I add:
\usepackage{unicode-math}
\unimathsetup{bold-style=ISO, mathrm=sym}
\setmathfont{Latin Modern Math}
\renewcommand{\bm}{\symbf}
to my settings, it will look like this: