3
      \documentclass[12pt]{article}
     \usepackage{amsmath,amssymb}
    \DeclareFontEncoding{LS2}{}{\noaccents@}
     \DeclareFontSubstitution{LS2}{stix}{m}{n}
      \DeclareSymbolFont{xlargesymbols}{LS2}{stixex}{m}{n}
   \DeclareMathDelimiter{\lbrace}{\mathopen}{operators}{"7B}{xlargesymbols}{"00}
\DeclareMathDelimiter{)}{\mathclose}{operators}{"7D}{xlargesymbols}{"01}

  \begin{document}
  \textbf{Question.} $A=\{x \ : \ x>0\}$. 
   \end{document}

I am getting such weired output

enter image description here

What has happened? Where have i gone wrong? Can anyone help

1
  • the code for the second formula is missing
    – Moriambar
    Jun 10 '17 at 8:09
2

You think something like this is suitable? I loaded the T1 table font for stix and browsed through the tables to use the proper fonts. I then inserted the code. You can see the new symbol being used

\documentclass[12pt]{article}
\usepackage{amsmath,amssymb}

\makeatletter
\DeclareFontEncoding{LS2}{}{\noaccents@}
\makeatother
\DeclareFontSubstitution{LS2}{stix}{m}{n}

\DeclareSymbolFont{xlargesymbols}{LS2}{stixex}{m}{n}
\DeclareSymbolFont{xop}{LS2}{t1-stixgeneral}{m}{n}
\DeclareMathDelimiter{\lbrace}{\mathopen}{xop}{"5E}{xlargesymbols}{"0C}
\DeclareMathDelimiter{)}{\mathclose}{xop}{"2F}{xlargesymbols}{"01}

\begin{document}

\textbf{Question.} $A=\{x \ : \ x>0\} (ab)$. 

\[
A=\left\{\frac{a}{p}\right\} \left(\frac{a}{B}\right)
\]

\end{document}

enter image description here

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.