使用 \psfrag 与 \mathcal
Using \psfrag with \mathcal
我正在尝试替换
\mathcal{R}
图中
\left |\mathcal{R} \right |
使用 \psfrag 如下
\psfrag{$\mathcal{R}$}{$\left |\mathcal{R} \right |$}
然而,它不起作用。显然,时尚的 R 未被识别。你知道我该如何解决这个问题吗? \mathcal{R}
在轴上,图形是使用 MATLAB 生成的。
\psfrag{<tag>}{<LaTeX>}
搜索 精确 使用 \tag
。所以,如果你的 MATLAB 图中有 \mathcal{R}
,你需要使用
\psfrag{\mathcal{R}}{$\lvert \mathcal{R} \rvert$}
没有
\psfrag{$\mathcal{R}$}{$\lvert \mathcal{R} \rvert$}
请注意,我没有使用可扩展的 \left
...\right
分隔符,因为这里不需要它。
我正在尝试替换
\mathcal{R}
图中
\left |\mathcal{R} \right |
使用 \psfrag 如下
\psfrag{$\mathcal{R}$}{$\left |\mathcal{R} \right |$}
然而,它不起作用。显然,时尚的 R 未被识别。你知道我该如何解决这个问题吗? \mathcal{R}
在轴上,图形是使用 MATLAB 生成的。
\psfrag{<tag>}{<LaTeX>}
搜索 精确 使用 \tag
。所以,如果你的 MATLAB 图中有 \mathcal{R}
,你需要使用
\psfrag{\mathcal{R}}{$\lvert \mathcal{R} \rvert$}
没有
\psfrag{$\mathcal{R}$}{$\lvert \mathcal{R} \rvert$}
请注意,我没有使用可扩展的 \left
...\right
分隔符,因为这里不需要它。