```\mathcal``` と ```mathscr``` は私のテンプレートでは同じに見えます

```\mathcal``` と ```mathscr``` は私のテンプレートでは同じに見えます

pdflatexでコンパイルされた現在のテンプレートでは、 が\mathcal強制されています\mathscr。たとえば、$\mathcal{T},\mathscr{T}$は出力になります。ここに画像の説明を入力してくださいこの問題の潜在的な原因を誰か提案できますか? PS、これは私が通常の出力だと考えているものです\mathcal{T}:ここに画像の説明を入力してください

答え1

「標準」というものはありません\mathcal。フォント セットによって選択が異なります。

これは本質的には間に合わせのものであると認識してくださいmathptmx。テキスト フォントは (さまざまな) Times で、記号はあちこちから抽出されており、主な目的は、Postscript または最近では PDF に変換するときにドキュメントをできるだけ小さくすることです。

アルファベットにはmathptmx、 によってロードされた RSFS フォントも使用されることがあります。\usepackage{mathrsfs}\mathcal

今ではもっと良い代替案がありますmathptmx

mathptmx

\documentclass{article}
\usepackage{amsmath}

\usepackage{mathptmx}
\usepackage{mathrsfs}

\begin{document}

Some text $A\cap B\in\mathscr{P}(X)\ne\mathcal{P}(X)$ and some text

\end{document}

ここに画像の説明を入力してください

mathptmxcmsy

\documentclass{article}
\usepackage{amsmath}

\usepackage{mathptmx}
\usepackage{mathrsfs}

\DeclareMathAlphabet{\mathcal}{OMS}{cmsy}{m}{n}

\begin{document}

Some text $A\cap B\in\mathscr{P}(X)\ne\mathcal{P}(X)$ and some text

\end{document}

ここに画像の説明を入力してください

newtxtext,newtxmath

\documentclass{article}
\usepackage{amsmath}

\usepackage{newtxtext,newtxmath}

\begin{document}

Some text $A\cap B\in\mathscr{P}(X)\ne\mathcal{P}(X)$ and some text

\end{document}

ここに画像の説明を入力してください

stix2

\documentclass{article}
\usepackage{amsmath}

\usepackage{stix2}
\usepackage{mathrsfs}

\begin{document}

Some text $A\cap B\in\mathscr{P}(X)\ne\mathcal{P}(X)$ and some text

\end{document}

ここに画像の説明を入力してください

関連情報