
Adobe Typekit 글꼴은 응용 프로그램 글꼴 목록(Word, InDesign 등)에 자동으로 설치되지만 Mac Fontbook에는 설치되지 않습니다. 그들은 임대되었으므로 이것이 라이센스 조건을 시행하는 방법입니다.
디렉토리 구조에 효과적으로 숨겨져 있기 때문에 Fontspec 패키지가 있는 Latex 문서에서 이를 사용하는 방법을 찾을 수 없습니다.
이 문제를 해결하고 글꼴 사양과 함께 사용할 수 있는 사람이 있습니까??
답변1
그만큼지도 시간Andrew Cashner의 의견에 있는 stackoverflow 답변에서 참조한 내용은 필요한 대부분을 제공합니다. TypeKit과 글꼴을 동기화한 후 Adobe 지원 디렉토리 중 하나에 숨겨진 파일을 찾아야 합니다.
다음은 터미널의 단계에 대한 간략한 요약입니다.
defaults write com.apple.finder AppleShowAllFiles TRUE
cd ~/Library/Application\ Support/Adobe/CoreSync/plugins/livetype/.r/
open .
그러면 파인더 창이 열리고 글꼴 이름을 볼 수 있도록 파일에 대한 "정보 가져오기"가 필요합니다. 예를 들어, ".22140.otf"가 실제로 Petalo Pro Bold라는 것을 알았습니다.
cp .22140.otf ~/myproject/petalo-pro-bold.otf
그렇다면 가장 쉽게 사용하는 방법은 XeLaTeX를 사용하는 것입니다. 다음 코드는 TexShop과 함께 제공되는 템플릿 중 하나에서 가져온 것입니다.
% XeLaTeX can use any Mac OS X font. See the setromanfont command below.
% Input to XeLaTeX is full Unicode, so Unicode characters can be typed directly into the source.
% The next lines tell TeXShop to typeset with xelatex, and to open and save the source with Unicode encoding.
%!TEX TS-program = xelatex
%!TEX encoding = UTF-8 Unicode
\documentclass[12pt]{article}
\usepackage{geometry} % See geometry.pdf to learn the layout options. There are lots.
\geometry{letterpaper} % ... or a4paper or a5paper or ...
%\geometry{landscape} % Activate for for rotated page geometry
%\usepackage[parfill]{parskip} % Activate to begin paragraphs with an empty line rather than an indent
\usepackage{graphicx}
\usepackage{amssymb}
% Will Robertson's fontspec.sty can be used to simplify font choices.
% To experiment, open /Applications/Font Book to examine the fonts provided on Mac OS X,
% and change "Hoefler Text" to any of these choices.
\usepackage{fontspec,xunicode}
\setmainfont{petalo-pro-bold.otf}
\title{Brief Article}
\author{The Author}
\begin{document}
\maketitle
\end{document}
이 PDF를 생성합니다.