TransWikia.com

How do you reduce the space between a poem and the poemline-counter

TeX - LaTeX Asked on June 26, 2021

In the following part of a poetic text (Sophocles’ »Antigone«, ll. 1137–1142), the verses are quite short:

documentclass{scrartcl}

usepackage{fontspec}
usepackage{verse}
usepackage{libertine}

begin{document}

begin{verse}setcounter{poemline}{1137}poemlines{5}
τὰν ἐκ πασᾶν τιμᾷς 
ὑπερτάταν πόλεων 
ματρὶ σὺν κεραυνίᾳ· 
καὶ νῦν, ὡς βιαίας ἔχεται 
πάνδαμος πόλις ἐπὶ νόσου, 
μολεῖν καθαρσίῳ ποδὶ Παρνασίαν
end{verse}

end{document}

How do you reduce the space between the poemline-counter and the text?

Sophocles, Antigone 1137–42

One Answer

In the documentation of the verse-package, it says: »By default the numbers are typeset at the distance vrightskip into the right margin.«

Therefore it is possible to change this length, e.g.:

documentclass{scrartcl}

usepackage{fontspec}
usepackage{verse}
usepackage{libertine}

begin{document}

setlength{vrightskip}{-15em}

begin{verse}setcounter{poemline}{1137}poemlines{5}
τὰν ἐκ πασᾶν τιμᾷς 
ὑπερτάταν πόλεων 
ματρὶ σὺν κεραυνίᾳ· 
καὶ νῦν, ὡς βιαίας ἔχεται 
πάνδαμος πόλις ἐπὶ νόσου, 
μολεῖν καθαρσίῳ ποδὶ Παρνασίαν 
ὑπὲρ κλιτύν, ἢ στονόεντα πορθμόν.
end{verse}

end{document}

enter image description here

Correct answer by Kubo on June 26, 2021

Add your own answers!

Ask a Question

Get help from others!

© 2024 TransWikia.com. All rights reserved. Sites we Love: PCI Database, UKBizDB, Menu Kuliner, Sharing RPP