1

Here is a word I am trying to produce with textgreek:

enter image description here

So far, I have

\documentclass{book}
\usepackage[LGR,T1]{fontenc}
\newcommand{\textgreek}[1]{\begingroup\fontencoding{LGR}\selectfont#1\endgroup}
\usepackage{amsmath}
\usepackage[greek,english]{babel}

\begin{document} \thispagestyle{empty} \Huge \textbf{\textgreek{peirathoion}} \end{document}

which produces:

enter image description here

As you can see, the ``alpha'' does not appear as an a'; and, there is no mark under the first o' as the original picture indicates.

Can anyone provide help in modifying the code so that the original word is produced?

Thank you.

DDS
  • 8,816
  • 4
  • 9
  • 36
  • 2
    The word is actually πειρατήριον (gang of pirates); the letter following the eta is a rho (and you're missing an accent). – egreg Jun 18 '21 at 21:12
  • 2
    Try: https://ctan.org/pkg/betababel – DG' Jun 18 '21 at 21:12
  • 1
    \documentclass{article} \usepackage[greek,english]{babel} \begin{document} \textgreek{πειρατήριον} \end{document} – Ivan Jun 18 '21 at 21:30

1 Answers1

2

One alternative is to enter it as Unicode:

\documentclass{book}
\usepackage[LGR,T1]{fontenc}
\usepackage{amsmath}
\usepackage{textalpha}
\usepackage[greek,english]{babel}

\begin{document} \thispagestyle{empty} \Huge πειρατήριον \end{document}

Computer Modern font sample

You can do the same in LuaTeX or XeTeX by loading a font that supports Greek, such as \usepackage{newcomputermodern} or \usepackage{libertinus}.

If you want to use the Latin alphabet as your input method, you want either betababel or teubner. I also wrote a beta-code input method for XeTeX a little while back. To change fonts or enable full hyphenation whenever TeX sees Greek letters takes slightly more work

Davislor
  • 44,045