Accento sulle lettere cirilliche

  • Creatore
    Topic
  • #87135
    Up
    0
    Down
    ::


    Ciao a tutti,
    sto facendo una tabella che aiuti (sia me che altri) nello studio dei casi in russo.
    Sono riuscito a creare la tabella senza problemi.

    Ho problemi nell’accentare la lettera “ya” della parola “Menya”. ho provato sia a scrivere “Men\’ya” che “Men\'{ya}” ma con scarsi risultati. Ciò che vorrei ottenere è porre l’accento sulla lettera “ya”.

    Questo è il codice che ho scritto:

    `

    \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{Menya} & \textcyr{Mo\'ei0} \\
    \textcyr{Ty} & \textcyr{Tebya} & \textcyr{Tvo\'ei0} \\
    \textcyr{On} & \textcyr{Eg\'o} & \textcyr{Eg\'o} \\
    \textcyr{On\'a} & \textcyr{Ee0} & \textcyr{Ee0} \\
    \textcyr{On\'o} & & \\
    \textcyr{My} & \textcyr{Nas} & \textcyr{N\'ashei0} \\
    \textcyr{Vy} & \textcyr{Vas} & \textcyr{V\'ashei0} \\
    \textcyr{vy} & \textcyr{vas} & \textcyr{v\'ashei0} \\
    \textcyr{On\'i} & \textcyr{Ih} & \textcyr{Ih} \\

    \end{tabular}
    \end{document}

    `

    Cosa devo fare?

    Grazie.

Visualizzazione 3 filoni di risposte
  • Autore
    Risposte
    • #87136
      Up
      0
      Down
      ::


      compilando il tuo codice a me funziona…

    • #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}

      `

    • #87138
      Up
      0
      Down
      ::

      artachende” post=86528Ciao a tutti,
      sto facendo una tabella che aiuti (sia me che altri) nello studio dei casi in russo.
      Sono riuscito a creare la tabella senza problemi.

      Ho problemi nell’accentare la lettera “ya” della parola “Menya”. ho provato sia a scrivere “Men\’ya” che “Men\'{ya}” ma con scarsi risultati. Ciò che vorrei ottenere è porre l’accento sulla lettera “ya”.

      Questo è il codice che ho scritto:

      `

      \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{Menya} & \textcyr{Mo\'ei0} \\
      \textcyr{Ty} & \textcyr{Tebya} & \textcyr{Tvo\'ei0} \\
      \textcyr{On} & \textcyr{Eg\'o} & \textcyr{Eg\'o} \\
      \textcyr{On\'a} & \textcyr{Ee0} & \textcyr{Ee0} \\
      \textcyr{On\'o} & & \\
      \textcyr{My} & \textcyr{Nas} & \textcyr{N\'ashei0} \\
      \textcyr{Vy} & \textcyr{Vas} & \textcyr{V\'ashei0} \\
      \textcyr{vy} & \textcyr{vas} & \textcyr{v\'ashei0} \\
      \textcyr{On\'i} & \textcyr{Ih} & \textcyr{Ih} \\

      \end{tabular}
      \end{document}

      `

      La codifica OT2 non prevede gli accenti; anche [tt]\'{ya}[/tt] non funziona perché l’elaborazione delle legature avviene a uno stadio seguente l’aggiunta degli accenti, quindi ottieni “ы́а” che non è quello che vuoi. Se ti serve spesso, puoi definire
      `\newcommand\acuteya{\'{\char'37}}`
      e scrivere [tt]\textcyr{Men\acuteya}[/tt] oppure usare direttamente
      `\'{\char'37}`
      per la tabella. Con [tt]\char’37[/tt] si sceglie il carattere in posizione ottale 37 (decimale 31).

      Come trovare gli altri? Qui c’è la tabella completa.

      [attachment=743]cyrtable.jpg[/attachment]

      Ciao
      Enrico

      Attachments:
      You must be logged in to view attached files.
    • #87139
      Up
      0
      Down
      ::


      Grazie mille Gregorio, funziona perfettamente!!!

Visualizzazione 3 filoni di risposte
  • Devi essere connesso per rispondere a questo topic.

Go to top