%3F.png)
en unpregunta anteriorDescribí el espaciado incorrecto en los textos griegos escritos GFS Porson
después --
(pensé que dependía de \,
, lo cual no es así, como señaló Ulrike Fischer).
Para resumir: el espacio después del endash (siempre lo uso --
y siempre lo incluyo \,
) GFS Porson
es incorrecto. Como Hijo de Pac-Man se come el siguiente espacio. ¿Cómo puedo cambiarlo mejor, por ejemplo, según está definido GFS Didot
?
% -*- mode: latex; TeX-engine: luatex; coding: utf-8; -*-
\listfiles
\documentclass{article}
\usepackage{luatextra}
\usepackage{polyglossia}
\setmainlanguage[variant=ancient]{greek}
\setotherlanguage{german}
\newfontfamily\greekfont{GFS Porson}[Ligatures = TeX]
\newfontfamily\othergreekfont{GFS Didot}[Ligatures = TeX]
\newfontfamily\germanfont{TeX Gyre Pagella}[Ligatures = {Common,TeX}]
\RenewDocumentCommand{\,}{}{\thinspace\linebreak[1]}
\begin{document}
\foreignlanguage{german}{GFS Porson}\\
\setmainfont{GFS Porson}[Ligatures = {Common, TeX}]
Οὑτωσὶ\,--\,τοίνυν, ὦ παῖ\,--\,καλέ\,--\,, ἐν\,--\,νόησον, ὡς\,--\,ὁ
μὲν πρότερος ἦν \\
λόγος Φαίδρου\,--\,Τοῦ Πυ\,--\,Θοκλέους% , Μυρρινουσίου ἀνδρός·
Οὑτωσὶ \fbox{---} τοίνυν
Οὑτωσὶ \fbox{--} τοίνυν
\bigskip
\foreignlanguage{german}{GFS Didot}\\
\othergreekfont
Οὑτωσὶ\,--\,τοίνυν, ὦ παῖ\,--\,καλέ\,--\,, ἐν\,--\,νόησον, ὡς\,--\,ὁ
μὲν πρότερος ἦν \\
λόγος Φαίδρου\,--\,Τοῦ Πυ\,--\,Θοκλέους
Οὑτωσὶ \fbox{---} τοίνυν
Οὑτωσὶ \fbox{--} τοίνυν
\end{document}
Respuesta1
Una imagen aclara bien el tema.
\documentclass{article}
\usepackage{polyglossia}
\setmainlanguage[variant=ancient]{greek}
\newfontfamily\greekfont{GFS Porson}[Ligatures = TeX]
\newfontfamily\othergreekfont{GFS Didot}[Ligatures = TeX]
\begin{document}
\setlength{\fboxsep}{0pt} % just to show the problem
\fbox{--} Οὑτωσὶ--τοίνυν
\othergreekfont
\fbox{--} Οὑτωσὶ--τοίνυν
\end{document}
Como puede ver, el tablero en Porson está desplazado hacia la derecha. Un error en la fuente. El cambio es de aproximadamente 1 punto, como indica el código.
\setlength{\fboxsep}{0pt}\setlength{\fboxrule}{0.1pt}
\fbox{\kern -1pt --\kern 1pt}
muestra