我想在英文字母上使用希腊语变音符号。更具体地说,我想使用希腊语“粗呼吸”变音符号,
https://en.wikipedia.org/wiki/Rough_breathing
但我不想把它放在希腊字母上,而是放在英文字母 $x$ 上。Babel 似乎只允许我将这种变音符号放在希腊元音上。
答案1
您可以使用 LGR 编码提供的重音符号:
\documentclass{article}
\usepackage[LGR,T1]{fontenc} % or OT1
\DeclareTextAccentDefault{\accdialytika}{LGR}
\DeclareTextAccentDefault{\acctonos}{LGR}
\DeclareTextAccentDefault{\accdasia}{LGR}
\DeclareTextAccentDefault{\accpsili}{LGR}
\DeclareTextAccentDefault{\accvaria}{LGR}
\DeclareTextAccentDefault{\accperispomeni}{LGR}
\DeclareTextAccentDefault{\accdialytikaperispomeni}{LGR}
\DeclareTextAccentDefault{\accdialytikatonos}{LGR}
\DeclareTextAccentDefault{\accdasiaperispomeni}{LGR}
\DeclareTextAccentDefault{\accdasiavaria}{LGR}
\DeclareTextAccentDefault{\accdasiaoxia}{LGR}
\DeclareTextAccentDefault{\accpsiliperispomeni}{LGR}
\DeclareTextAccentDefault{\accpsilioxia}{LGR}
\DeclareTextAccentDefault{\accpsilivaria}{LGR}
\DeclareTextAccentDefault{\accinvertedbrevebelow}{LGR}
\DeclareTextAccentDefault{\accbrevebelow}{LGR}
\begin{document}
\accdialytika{x}
\acctonos{x}
\accdasia{x}
\accpsili{x}
\accvaria{x}
\accperispomeni{x}
\accdialytikaperispomeni{x}
\accdialytikatonos{x}
\accdasiaperispomeni{x}
\accdasiavaria{x}
\accdasiaoxia{x}
\accpsiliperispomeni{x}
\accpsilioxia{x}
\accpsilivaria{x}
\accinvertedbrevebelow{x}
\accbrevebelow{x}
\end{document}
选择您需要的。您也可以\newcommand{\rb}[1]{\accdasia{#1}}
直接输入\rb{x}
。
如果您需要数学模式下的 dasia,那就更简单了:
\documentclass{article}
\usepackage[LGR,T1]{fontenc} % or OT1
\DeclareSymbolFont{greekletters}{LGR}{\familydefault}{m}{n}
% lgrenc.def has
% \DeclareTextAccent{\accdasia}{LGR}{60} % δασεῖα spiritus asper (rough breathing)
\DeclareMathAccent{\rb}{\mathord}{greekletters}{60}
\begin{document}
$\rb{x}$
\end{document}
答案2
也许是这样的?
\documentclass{article}
\usepackage[T1]{fontenc}
\usepackage[polutonikogreek,english]{babel}
\usepackage{tipa}
\usepackage{stackengine,graphicx}
\newcommand\rb[1]{\stackengine{1pt}{#1}{\scalebox{-1}[.7]{\reflectbox{$\scriptscriptstyle
\prime$}\kern-1pt\raisebox{2pt}{,}}}{O}{c}{F}{F}{S}}
\begin{document}
{\greektext{<'otan}}
\rb x\greektext{tan}
\end{document}