KTUG 한국 텍 사용자 그룹

Menu

KTUG :: Q&A 마당 › mathptmx 패키지를 사용하면서 원래 그리스 문자 글꼴 유지하기

mcpark | 2014.04.09 14:33:46 | 메뉴 건너뛰기 쓰기

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}

--------------------------------------------------------------------------------------------

위와 같은 소스 파일을 컴파일 하면 아래와 같은 결과를 얻습니다.

3.png


저는 calligraphic font를 바꾸고 싶지 않아서 다음과 같은 명령을 프리앰블에 추가했습니다.

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


그런데 그리스 문자는 어떻게 원래대로 돌려놓을 수 있을지 모르겠습니다. 즉 얻고싶은 결과는 아래와 같습니다.

1.png


위 결과는 아래 소스로부터 얻었습니다.

--------------------------------------------------------------------------------------------

\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 패키지를 불러온 효과를 주는 명령을 찾는 것이 더 근본적인 해결 방법인지도 모르겠네요.

첨부 [2]

댓글 [4]

댓글 쓰기

목록

KTUG 한국 텍 사용자 그룹