Is there a way to apply iota subscripts to arbitrary alphabets in the math mode?
An example is ῳ.
TeX - LaTeX Stack Exchange is a question and answer site for users of TeX, LaTeX, ConTeXt, and related typesetting systems. It only takes a minute to sign up.
Sign up to join this communityIs there a way to apply iota subscripts to arbitrary alphabets in the math mode?
An example is ῳ.
You can basically use anything as a centered subscript:
\documentclass{article}
\usepackage[LGR,T1]{fontenc}
\usepackage{amsmath}
\newcommand{\adscriptiota}{{%
\usefont{LGR}{cmr}{m}{n}\symbol{"7C}%
}}
\DeclareRobustCommand{\ai}[1]{{\mathpalette\doai{#1}}}
\newcommand{\doai}[2]{%
\oalign{%
$#1#2$\cr
\hidewidth$#1\text{\adscriptiota}$\hidewidth\cr
}%
}
\begin{document}
$\ai{\alpha}\ai{b}\ai{\gamma}$
\end{document}
If you want special positioning under particular letters, you have to do it by hand. The case of letters with descenders is tough, as exemplified by \gamma
.
cmr
, provided they have support for LGR.