这是我的 MWE。我尝试将符号导入现代计算机(
并将其分隔,但我发现有些符号无法正确显示。)
stix.sty
\documentclass[12pt]{article}
\usepackage{amsmath,amssymb}
\DeclareFontEncoding{LS2}{}{\noaccents@}
\DeclareFontSubstitution{LS2}{stix}{m}{n}
\DeclareSymbolFont{xlargesymbols}{LS2}{stixex}{m}{n}
\DeclareMathDelimiter{(}{\mathopen}{operators}{"2E}{xlargesymbols}{"00}
\DeclareMathDelimiter{)}{\mathclose}{operators}{"2F}{xlargesymbols}{"01}
\begin{document}
\textbf{Question.} Let $|B|\equiv i \pmod{3}$
\end{document}
答案1
您弄错了字符位置。在我的字体表中,小符号的代码是"28
和。这已在( )"29
的文档中得到确认stix
texdoc stix
所以:
\documentclass[12pt]{article}
\usepackage{amsmath,amssymb}
\DeclareFontEncoding{LS2}{}{\noaccents@}
\DeclareFontSubstitution{LS2}{stix}{m}{n}
\DeclareSymbolFont{xlargesymbols}{LS2}{stixex}{m}{n}
\DeclareMathDelimiter{(}{\mathopen}{operators}{"28}{xlargesymbols}{"00}
\DeclareMathDelimiter{)}{\mathclose}{operators}{"29}{xlargesymbols}{"01}
\begin{document}
\textbf{Question.} () Let $|B|\equiv i \pmod{3}$
\[
\left(\frac{a^{\frac{1}{2}}}{n}\right)
\]
\end{document}
生产: