SVMult 套件中使用的字型 - `\mathcal` 的問題

SVMult 套件中使用的字型 - `\mathcal` 的問題

我在用SVM多類(貢獻書籍的 Springer 包)。預設情況下,該文件包含以下套件:

\usepackage{mathptmx}       % selects Times Roman as basic font
\usepackage{helvet}         % selects Helvetica as sans-serif font
\usepackage{courier}        % selects Courier as typewriter font
\usepackage{type1cm}        % activate if the above 3 fonts are
                            % not available on your system

使用這些設置,當用 格式化數學部分時\mathcal,字體太彎曲,幾乎無法一眼閱讀,例如我會有這樣的東西:

在此輸入影像描述

如何\mathcal在設定變化最小的情況下獲得更好的使用效果。我期望結果與ieeeconf課堂相似。

在此輸入影像描述

一個小的MWE:

\documentclass[graybox]{svmult}

\usepackage{mathptmx}
\usepackage{helvet}  
\usepackage{courier} 
\usepackage{type1cm} 
\begin{document}

\title*{Title}
\author{Me}
\section{sect-1}
This is the math, $\mathcal{P},\mathcal{O},\mathcal{W},\mathcal{F}$. 
\end{document}

答案1

如果您不喜歡 的 caligraphics mathptmx,則必須刪除此套件或重新定義其 mathcal-font。這可以如下完成:

% arara: pdflatex

\documentclass{article} % as your problem can be reproduced by a standard class, you should always give your MWE with such. Make it easier for us.
\usepackage{mathptmx}
\DeclareMathAlphabet{\mathcal}{OMS}{cmsy}{m}{n}
\usepackage{mathtools} % for \text{}


\begin{document}
    \section{sect-1}    
    This is the math, $\mathcal{P}_\text{Pick},\mathcal{O},\mathcal{W},\mathcal{F}$. 
\end{document}

在此輸入影像描述

相關內容