# Unable to produce symbol \{ using the STIX package

Recently I became aware of the STIX package, and I tried to give a shot by replacing the helvet package.

The problem is that I am unable to produce the { symbol. If I understood correctly, I can produce the above symbol by using the \lbrace and \rbrace commands, respectively, into math-mode. However, this procedure doesn't work.

Here is an MWE:

\documentclass[11pt]{article}

\usepackage{fontspec}
\usepackage{stix}
\usepackage{amsmath,amsfonts,amssymb,bbm}

\begin{document}
\begin{equation*}
\Omega=\lbrace O:l_o=1,C:l_o=0,B:0<l_o<1 \rbrace
\end{equation*}
\end{document}


You should load fontspec with the no-math option.

\documentclass[11pt]{article}

\usepackage{amsmath}
\usepackage[no-math]{fontspec}
\setmainfont{STIX}
\usepackage{stix}

\begin{document}
\begin{equation*}
\Omega=\lbrace O:l_o=1,C:l_o=0,B:0<l_o<1 \rbrace
\end{equation*}
\end{document}


• so amsfonts and amssymb packages are unnecessary? Dec 27, 2015 at 15:32
• @Yorgos Yes, stix already provides substitutes. Dec 27, 2015 at 15:36

I'd like to suggest the XITS font by Khaled Hosny instead of STIX. As one might guess from the name, XITS is an hommage to STIX, but with refined shapes and a much wider range of glyphs and distributed as a Unicode math font.

\documentclass{article}
\usepackage{mathtools}

• Is the documentation the same between stix and xits package? I mean, that the commands apply to the former package apply also to the latter package? Dec 28, 2015 at 17:01