1

\mathfrak{Y} is being displayed as

enter image description here

instead of

enter image description here

is the reason an incompatibility between the included libraries:

\usepackage{physics, amsmath, enumitem ,amssymb, kpfonts, hyperref, makeidx, float, leqno, media9, tcolorbox, empheq, mdframed, xcolor, setspace, dsfont, graphicx, booktabs, xcolor, multicol, tikz, longtable, braket, fancyhdr, xfrac, fontspec, comment, xeCJK, bbm}
3
  • 3
    With this simple code, I get the requested (2nd example) fraktur Y: \documentclass{article} \usepackage{amssymb} \begin{document} $\mathfrak{Y}$ \end{document}. So what are you doing in your code that is different? Commented Jul 17, 2020 at 11:27
  • De you truly need each of those libraries? Commented Jul 17, 2020 at 13:57
  • It is the kpfonts package that is changing your fraktur fonts. Commented Jul 17, 2020 at 13:58

1 Answer 1

3

The first fraktur Y you showed is the one from the package kpfonts. Since you load this package, it is no surprise to get this specific fraktur Y. If you want to use kpfonts but to use the fraktur alphabet which is loaded by amssymb, you could load it separately, after loading kpfonts. If I'm not mistaken, amssymb uses Euler fraktur, which can easily be loaded with the package mathalpha (which I love).

Here's a small example to use kpfonts with Euler fraktur.

\documentclass{article}
\usepackage{kpfonts}
\usepackage[frak=euler]{mathalpha}
\begin{document}
Here's some text with \texttt{kpfonts}, and here's the desired fraktur Y: \( \mathfrak{Y} \). 
\end{document}

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .