
Windows7에서 Zurich 비머 테마를 사용하려고 하는데 이를 컴파일할 때(Xelatex를 선택함) 항상 다음과 같은 오류가 발생합니다.
! fontspec error: "font-not-found"
!
! The font "Gill Sans" cannot be found.
!
! See the fontspec documentation for further information.
!
! For immediate help type H <return>.
!...............................................
l.30 \setmainfont{Gill Sans}
^^I^^I% Beamer ignores "main font" in favor of s...
?
이 문제를 어떻게 해결할 수 있는지에 대한 아이디어가 있습니까?
답변1
Gillius No2
Gill Sans에서 영감을 받은 무료 오픈타입 글꼴을 사용해 볼 수 있습니다 . 또한 와 함께 사용할 수 있으며 (pdf)latex
MiKTeX뿐만 아니라 TeX Live에서도 사용할 수 있습니다. 버전 도 있습니다 condensed
.
편집하다:
MiKTeX에서 패키지가 와 함께 작동하도록 하려면 (pdf)latex
패키지를 설치한 후 updmap
관리자 권한으로 실행해야 합니다.
추가됨:
@Harish Kumar가 언급한 것처럼 에서는 끝에 beamerfontthemeZurich.sty
관련된 모든 줄을 주석 처리하고 교체해야 합니다 .Gill Sans
\newcommand{\handwriting}{\fontspec{augie}}
와 함께 \newcommand{\handwriting}{\fontspec{Augie}}
.
아래에 결과의 예를 들어 보겠습니다.
두 글꼴이 모두 있으므로 비교를 위한 작은 테스트는 다음과 같습니다.
\documentclass{article}
\usepackage{gillius2}
\usepackage{fontspec}
\setmainfont{Gillius ADF No2}
\usepackage{lipsum}
\pagestyle{empty}
\begin{document}
\sffamily
\llap{\texttt{Gillius ADF No2: \qquad}}\vskip-\baselineskip\lipsum[11]
\vskip4ex
{\itshape \lipsum[11]}
\vskip4ex
{\bfseries \lipsum[11]}
\vskip 4ex
\fontspec{Gill Sans Std}
\vskip4ex
\llap{\texttt{Gill Sans Std}: \qquad}\vskip-\baselineskip\lipsum[11]
\vskip4ex
{\itshape\lipsum[11]}
\vskip4ex
{\bfseries \lipsum[11]}
\end{document}
example-talk.tex
취리히 테마가 포함된 파일 의 결과는 다음과 같습니다 .