업데이트

업데이트

chemgreekTeX Gyre 글꼴을 사용할 때 일부 그리스 문자가 패키지와 함께 인쇄되지 않습니다 .

테스트 코드:

\documentclass{article}

\usepackage{fontspec}
\newfontfamily\termes{texgyretermes-regular.otf}
\newfontfamily\schola{texgyreschola-regular.otf}
\newfontfamily\libertine{LinLibertine_R.otf}

\usepackage{chemgreek}
\selectchemgreekmapping{fontspec}

\begin{document}
{\termes Termes: \printchemgreekalphabet}
{\schola Schola: \printchemgreekalphabet}
{\libertine Linux Libertine: \printchemgreekalphabet}
\end{document}

LuaTeX를 사용한 결과: LuaTeX를 사용한 chemgreek + TeX Gyre 테스트 결과

XeTeX를 사용한 결과: XeTeX를 이용한 chemgreek + TeX Gyre 테스트 결과

결과는 엔진마다 약간 다르게 보이지만 둘 다 Linux Libertine을 제외하고 감마, 엡실론, iota 및 phi가 부족합니다.

나는 발견했다TeX Gyre에서 완전한 그리스어 지원이 부족하다는 답변하지만 이 글꼴에는 위의 "기본" 그리스어 문자가 포함되어 있음을 확인했습니다.

chemgreek문자 누락 없이 TeX Gyre를 사용할 수 있나요 ?

답변1

업데이트

chemgreek이 동작은 1.1(2016/12/20) 릴리스에서 수정된 문제로 인해 발생합니다 . 가능하다면TeX 배포판을 업데이트하세요현재 릴리스를 설치합니다. 이것이 가능하지 않은 경우, 예를 들어 이 패키지 하나만 변경하려는 경우 또는 전체 배포판을 업데이트할 권한이 없는 경우 다음을 수행해야 합니다.패키지를 로컬로 설치. 더 복잡한 패키지의 경우 로컬 설치를 더 복잡하고 오류가 발생하기 쉽게 만드는 패키지 종속성이 있을 수 있으므로 이 옵션은 최후의 수단으로 고려해야 합니다.


원래 답변

패키지 chemgreek는 몇 가지 잘못된 가정을 합니다. , 및 매핑이 그리스 문자로 가정되지만 \textgammaIPA 문자 \textepsilon( 각각 라틴 소문자 gamma, epsilon, iota 및 phi)로 정의되므로 그렇지 않습니다 .\textiota\textphixunicode.sty

적어도 관련된 한 chemgreek잘못된 대상을 다시 매핑하여 이 문제를 해결할 수 있습니다.

\documentclass{article}

\usepackage{fontspec}
\newfontfamily\termes{texgyretermes-regular.otf}
\newfontfamily\schola{texgyreschola-regular.otf}
\newfontfamily\libertine{LinLibertine_R.otf}
\newfontfamily\tempora{Tempora}

\RenewDocumentCommand{\textgamma}{}{\symbol{"03B3}}
\RenewDocumentCommand{\textepsilon}{}{\symbol{"03B5}}
\RenewDocumentCommand{\textiota}{}{\symbol{"03B9}}
\RenewDocumentCommand{\textphi}{}{\symbol{"03C6}}

\usepackage{chemgreek}
\selectchemgreekmapping{fontspec}

\begin{document}

{\termes Termes: \printchemgreekalphabet}

{\tempora Tempora: \printchemgreekalphabet}

{\schola Schola: \printchemgreekalphabet}

{\libertine Linux Libertine: \printchemgreekalphabet}
\end{document}

Tempora도 추가했는데 TeX Gyre 글꼴로도 커버리지가 완성된 것을 볼 수 있습니다.

여기에 이미지 설명을 입력하세요

그건 그렇고, chemgreekpsi 뒤에 chi가 있어서 알파벳 순서가 잘못되었습니다.

관련 정보