I am using the following code and I get the warning
Command \underbar has changed.
What does this mean? How do I fix it?
\documentclass{article}
\usepackage{amsmath}
\usepackage{unicode-math}
\usepackage[english,greek]{babel}
\usepackage{fontspec}
\setmainfont
[
UprightFont = *,
BoldFont = *Bold,
ItalicFont = *It,
BoldItalicFont = *BoldIt,
Extension = .otf,
Ligatures = TeX,
Mapping = tex-text
]{GFSArtemisia}
\setsansfont
[
Mapping = tex-text
]{GFSArtemisia.otf}
\setmathfont{latinmodern-math.otf}
\usepackage{sectsty}
\sectionfont{\RaggedRight}
\begin{document}
Text
\end{document}
sectsty
. You can load that earlier to avoid that particular warning.