I need the number of the sixth list element to be (στ)
Asked
Active
Viewed 134 times
1
1 Answers
2
You first want to remove the ʹ at the end of numbers, then to patch the relevant macros that produces the stigma to do “sigma tau”.
\documentclass[a4paper]{article}
\usepackage{polyglossia}
\usepackage{enumitem}
\setmainlanguage{greek}
\setmainfont{Libertinus Serif}
\makeatletter
\patchcmd{\anw@true}{ʹ}{}{}{}
\patchcmd{\gr@num@i}{Ϛ}{στ}{}{}
\patchcmd{\gr@Num@i}{\MakeUppercase{Ϛ}}{ΣΤ}{}{}
\makeatother
\begin{document}
\begin{enumerate}
\item A
\begin{enumerate}
\item B
\item C
\item D
\item E
\item F
\item G
\item H
\end{enumerate}
\item B
\begin{enumerate}[label=(\Alph*)]
\item B
\item C
\item D
\item E
\item F
\item G
\item H
\end{enumerate}
\end{enumerate}
\end{document}
egreg
- 1,121,712
-
That's it! Works just perfect! Thank you egreg! I just need that piece of code! Thank you again! – miltos May 07 '22 at 12:21
-
How to fix the same way the Capitalized version of the 6th element so the number is (ΣΤ)? – miltos May 07 '22 at 12:47
-
I just found it! I should use \gr@Num@i instead of \gr@num@i. Is that correct? – miltos May 07 '22 at 12:50
-
-


pdflatex. – egreg May 07 '22 at 12:06