我只想获得$\left \{$
“Spec math 版本”,所有内部和外部都必须返回到“OK 版本”。我的尝试:
\documentclass[a4paper,openany,12pt]{amsbook}
\usepackage[math]{iwona}
\DeclareMathVersion{OK}
\SetSymbolFont{operators}{OK}{OT1}{cmr}{m}{it}
\SetSymbolFont{letters}{OK}{OML}{cmbrm}{m}{it}
\SetSymbolFont{symbols}{OK}{OMS}{cmbrs}{m}{it}
\SetSymbolFont{largesymbols}{OK}{OMX}{iwona}{m}{it}
%--------------------------------------------------------
\DeclareMathVersion{Spec}
\SetSymbolFont{largesymbols}{Spec}{OMX}{cmbrs}{m}{it}
%--------------------------------------------------------
\newcommand{\va}[2]{\mathversion{Spec}\ensuremath{\left \{ \mathversion{OK} \begin{array}{l}
{#1} \\
{#2}
\end{array}} \right.}
\begin{document}
\mathversion{OK}
\[\forall x,y: \va{x + y = 0}{x - y = 0} \Rightarrow x = y = 0 \]
\end{document}
内部部分已更正,但外部部分仍包含有问题的格式。我不确定如何正确修复它 - 你能帮忙吗?
答案1
不要忽视警告!
LaTeX Font Warning: Command \mathversion invalid in math mode on input line 18.
你不能\mathversion
这样使用。
您可以在 OK mathversion 中声明一个单独的扩展字体并使用它,但据我所知,cmbright 没有带大括号的扩展字体,这是使用现代计算机{
\documentclass[a4paper,openany,12pt]{amsbook}
\usepackage[math]{iwona}
\DeclareMathVersion{OK}
\SetSymbolFont{operators}{OK}{OT1}{cmr}{m}{n}
\SetSymbolFont{letters}{OK}{OML}{cmbrm}{m}{it}
\SetSymbolFont{symbols}{OK}{OMS}{cmbrs}{m}{n}
\SetSymbolFont{largesymbols}{OK}{OMX}{iwona}{m}{n}
%--------------------------------------------------------
\DeclareSymbolFont{symbolsx} {OMS}{cmsy}{m}{n}
\DeclareSymbolFont{largesymbolsx}{OMX}{cmex}{m}{n}
\DeclareMathDelimiter{\xlb}
{\mathopen}{symbolsx}{"66}{largesymbolsx}{"08}
%--------------------------------------------------------
\newcommand{\va}[2]{\left\xlb\begin{array}{l}
{#1} \\
{#2}
\end{array} \right.}
\begin{document}
\mathversion{OK}
\[\forall x,y: \va{x + y = 0}{x - y = 0} \Rightarrow x = y = 0 \]
\end{document}