Re: Accento sulle lettere cirilliche

#87137
Up
0
Down
::


Il codice funziona, non è questo il problema, però, se sostituisci \textcyr{Men\'{ya}} a \textcyr{Menya} non ottieni ya accentato, ma ottieni ‘ia.

Se provo a mettere questo codice

`

\textcyr{Men\'{ya}}

`

al posto di

`

\textcyr{Menya}

`

Non ottengo lo stesso risultato.

Ecco il codice completo:

`

\documentclass[a4paper]{article}
\usepackage[OT2,T1]{fontenc}
\usepackage[utf8]{inputenc}
\usepackage[italian]{babel}
\usepackage{caption}
\captionsetup{tableposition=top,figureposition=bottom,font=small}

\newlanguage\fakelanguage
\newcommand\cyr{\fontencoding{OT2}\fontfamily{wncyr}\selectfont
\language\fakelanguage}
\DeclareTextFontCommand{\textcyr}{\cyr}

\begin{document}

\begin{tabular}{lll}
Nominativo & Genitivo & Dativo \\
\textcyr{Ya} & \textcyr{Men\'{ya}} & \textcyr{Mo\'{e}i0} \\
\textcyr{Ty} & \textcyr{Teb\'{ya}} & \textcyr{Tvo\'{e}i0} \\
\textcyr{On} & \textcyr{Eg\'o} & \textcyr{Eg\'o} \\
\textcyr{On\'a} & \textcyr{Ee0} & \textcyr{Ee0} \\
\textcyr{On\'o} & – & – \\
\textcyr{My} & \textcyr{Nas} & \textcyr{N\'{a}shei0} \\
\textcyr{Vy} & \textcyr{Vas} & \textcyr{V\'{a}shei0} \\
\textcyr{vy} & \textcyr{vas} & \textcyr{v\'{a}shei0} \\
\textcyr{On\'i} & \textcyr{Ih} & \textcyr{Ih} \\

\end{tabular}
\end{document}

`

Go to top