article class에서 mathptmx패키지를 불러올때 그리스 문자의 모양이 바뀌지 않게 할 수 있는 방법이 없을까요?
--------------------------------------------------------------------------------------------
\documentclass{article}
\usepackage{amsmath}
\usepackage{amssymb}
\usepackage{mathptmx}
\begin{document}
$y=f(x)$
$\mathcal{ABCD}$
$\mathbb{ABCD}$
$\alpha\beta\gamma\delta$
\end{document}
--------------------------------------------------------------------------------------------
위와 같은 소스 파일을 컴파일 하면 아래와 같은 결과를 얻습니다.
저는 calligraphic font를 바꾸고 싶지 않아서 다음과 같은 명령을 프리앰블에 추가했습니다.
\DeclareMathAlphabet{\mathcal}{OMS}{cmsy}{m}{n}
그런데 그리스 문자는 어떻게 원래대로 돌려놓을 수 있을지 모르겠습니다. 즉 얻고싶은 결과는 아래와 같습니다.
위 결과는 아래 소스로부터 얻었습니다.
--------------------------------------------------------------------------------------------
\documentclass{beamer}
\mode<presentation>
{
\usetheme{Warsaw}
\usefonttheme[onlymath]{serif}
}
\usepackage{times}
\begin{document}
\begin{frame}
$y=f(x)$
$\mathcal{ABCD}$
$\mathbb{ABCD}$
$\alpha\beta\gamma\delta$
\end{frame}
\end{document}
--------------------------------------------------------------------------------------------
아니면 처음부터 mathptmx 패키지를 불러오지 말고 일반 알파벳 글꼴에만 mathptmx 패키지를 불러온 효과를 주는 명령을 찾는 것이 더 근본적인 해결 방법인지도 모르겠네요.
KTUG 한국 텍 사용자 그룹