killing_buddha” post=84462Ho un problema legato al fatto che devo (o meglio, vorrei) scrivere in greco usando il font mathptmx, e d’altra parte la resa dell’alfabeto se uso il metodo scemo (ovvero scrivere il greco in ambiente matematico) e’ orrenda: ecco un esempio minimo
`\documentclass[a4paper, twoside, 9pt]{article}
\usepackage[utf8]{inputenc}\usepackage{mathptmx}
\usepackage[T1]{fontenc}\begin{document}
I have to state my position on the most controversial question in the whole of topos theory: how to spell the plural of \emph{t\`opos}. The reader will already have observed that I use the English plural; I do so because (in its mathematical sense) the word is not a direct derivative of its Greek root $\tau \grave{o}\pi o\varsigma$, but a back-formation from topology. I have nothing further to say on the matter, except to ask those \emph{toposophers} who persist in talking about $\tau \grave{o}\pi o\iota$ whether, when they go out for a ramble on a cold day, they carry supplies of hot tea with them in $\theta\epsilon\rho\mu \grave{o}\iota$.
\end{document}`
Come faccio a migliorare la situazione?
Difficile migliorare qualcosa che usa mathptmx, l’ultimo pacchetto per font che considererei.
Prova questo:
`\documentclass{article}
\usepackage[LGRx,T1]{fontenc}
\usepackage{newtxtext,newtxmath}
\DeclareRobustCommand{\greco}[1]{%
{\fontencoding{LGR}\fontfamily{\greekfamily}\selectfont #1}}
\begin{document}
\def\mocktext{I have to state my position on the most controversial question in the whole
of topos theory: how to spell the plural of \emph{t\`opos}. The reader will already have
observed that I use the English plural; I do so because (in its mathematical sense) the
word is not a direct derivative of its Greek root \greco{t`opos} but a back-formation
from topology. I have nothing further to say on the matter, except to ask those
\emph{toposophers} who persist in talking about \greco{t`opoi} whether, when they go out
for a ramble on a cold day, they carry supplies of hot tea with them in \greco{jerm`oi}.}
\def\greekfamily{artemisia}\mocktext
\def\greekfamily{bodoni}\mocktext
\def\greekfamily{udidot}\mocktext
\def\greekfamily{porson}\mocktext
\end{document}`
Quando decidi quale dei quattro si adatta meglio a Times (forse udidot) cambia la definizione di [tt]\greco[/tt] sostituendo [tt]\greekfont[/tt] con [tt]udidot[/tt] o il nome della famiglia che preferisci.
Ciao
Enrico