I am text-typing a set of poems in Greek polytonic and my problem is that the upper case letters alignment is being set according to the accents rather than the letters themselves. Here is an example where E is not properly aligned in the middle line:
\documentclass[12pt]{book}
%\font\1="Times New Roman"
%\usepackage{fontspec}
%\setmainfont{Times New Roman}
\usepackage{polyglossia}
\setdefaultlanguage{greek}
\setotherlanguage{english}
\newfontfamily\greekfont[Script=Greek,Ligatures=TeX]{Times New Roman}
%\usepackage[english,polutonikogreek]{babel}
%\usepackage[utf8x]{inputenx}
%\usepackage{fontspec}
%\setmainfont[Ligatures=TeX]{Linux Libertine O}
\usepackage{verse}
\usepackage{marginnote}
\newcommand{\en}[1]{\foreignlanguage{english}{#1}}
\usepackage{refcount}
\begin{document}
A\\
Eτοὺς τὸ πρὶν πεφυκότας\\
ἙΘεοῦ ζῶντος εἰργάσω\\
Εἀληθεῖς προσκυνητὰς\\
\end{document}
In a philological text editor I have used, there was an option called "smart line start" which enabled you to align by the letters and not the accents. After some search, I haven't found something similar for latex. Is anyone of you aware of a command / package which can deal with this? Some ideas on which terminology to use to search for this would also be helpful.
Up to now the best solution I've come up with is to define commands with \hspace{} for some of the combinations of letters and accents. This is a bit cumbersome, plus I am not aware of a way to program latex to do this automatically when meeting a capital letter in the beginning of a verse. Some guidance on this direction could also solve my problem.
Thanks in advance, Marios
PS: The new command I defined for E with the above is simply:
\newcommand{\pneumae}{\hspace{-0.57mm}}
which pushes the character to the left.
\documentclass{...}
and ending with\end{document}
. – yo' Feb 9 '14 at 23:01microtype
and (left margin) protrusion, but it requires computing the protrusion factors for each character. – egreg Feb 9 '14 at 23:13