고대 그리스어의 발음 구별 부호 문제

고대 그리스어의 발음 구별 부호 문제

LaTeX(저는 XeLaTeX를 사용합니다)에서 그리스어 특수 문자를 입력해야 하는데 어떻게 해야 하는지 모르겠습니다.

\documentclass[14pt]{book}
\usepackage[a4paper,left=0.5cm,right=0.5cm,top=0.8cm,bottom=0.5cm,footskip=0.1cm,headsep=0.2cm]{geometry}
\usepackage{titlesec}
\usepackage{polyglossia}
\usepackage{fontspec}
%\defaultfontfeatures{Ligatures=TeX}
\setmainlanguage{english}
\usepackage{hyperref}
%\usepackage{longtable}
\usepackage{textcomp}
\usepackage{expex}
\usepackage{epltxfn}
\setmainfont{KadmosU}
\usepackage{covington} 
\makeatletter
\usepackage{url}
\pagenumbering{Roman}



\begin{document}

ῐ̔́


ῑ̔́

\twoacc['|\={ι}]

\twoacc[\'|\={ι}]





\end{document}

첫 번째와 두 번째를 입력하고 싶습니다(Wikipedia에서 방금 붙여넣었습니다). 마지막 두 개에는 "convington" 패키지를 사용하지만 세 개의 발음 구별 부호를 결합할 수 있는 위치를 찾지 못했습니다(단지 두 개로 이 작업을 수행할 수 있습니다! ).

그래서 저는 세 개의 (더 많은) 발음 구별 부호를 넣는 방법을 알고 싶습니다.

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

답변1

각 조합에 맞는 올바른 조정을 찾아야 할 것 같습니다. 매크로 \kk는 커닝을 추가하여 위쪽 악센트의 상대적 위치를 수정합니다.

\documentclass{article}
\usepackage{fontspec}

% since I don't have the font installed on my system, I placed it in the working directory
\setmainfont{KadmosU}[Extension=.ttf,Path=./]
% use the following line if you have it among the system fonts
%\setmainfont{KadmosU}

% adapted from https://tex.stackexchange.com/a/361120/4427
\DeclareRobustCommand{\combinedaccent}[2]{%
  \leavevmode\vbox{\offinterlineskip
    \ialign{\hfil##\hfil\cr
      \hidewidth#1\hidewidth\relax\cr
      \noalign{\vskip -1ex}
      #2\cr
    }%
  }%
}
\newcommand{\dasia}{\raisebox{0.15ex}{\symbol{"A0}\symbol{"0314}}}
\newcommand{\psili}{\raisebox{0.15ex}{\symbol{"A0}\symbol{"0313}}}
\newcommand{\barys}{\symbol{"A0}\symbol{"0300}}
\newcommand{\oxys}{\symbol{"A0}\symbol{"0301}}
\newcommand{\kk}[1]{\kern#1em\relax}


\begin{document}

\combinedaccent{\dasia\oxys\kk{-0.15}}{\u{ι}}
\combinedaccent{\dasia\oxys\kk{-0.15}}{\={ι}}
\combinedaccent{\dasia\oxys\kk{-0.15}}{\={ι}}
\combinedaccent{\kk{0.15}\psili}{\={ι}}
\combinedaccent{\kk{0.25}\oxys}{\={ι}}

\end{document}

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

관련 정보