In the above link, @joharr explains about how we can get the verses numbered within the verse
environment.
My Question: How can we get Devanagari numbers (instead of Roman numbers) at the end of every 4 lines?
TeX - LaTeX Stack Exchange is a question and answer site for users of TeX, LaTeX, ConTeXt, and related typesetting systems. It only takes a minute to sign up.
Sign up to join this communityIn the above link, @joharr explains about how we can get the verses numbered within the verse
environment.
My Question: How can we get Devanagari numbers (instead of Roman numbers) at the end of every 4 lines?
You can try using polyglossia
. The following example uses marathi
language with Shobhika font. You can do something similar for Hindi too. This needs XeLaTeX.
% !TeX-program xelatex
\documentclass{article}
\usepackage{url,verse}
\usepackage{polyglossia}
\setdefaultlanguage{marathi}
\setmainfont[Script=Devanagari,Mapping=devanagarinumerals]{Shobhika}
\begin{document}
\begin{verse}[13em]
\poemlines{4}
\begin{altverse}
त्या व्याकुळ संध्यासमयी\\
शब्दांचा जीव वितळतो\\
डोळ्यांत कुणाच्या क्षितिजे\\
मी अपुले हात उजळतो\\[1ex]
तू आठवणीतुन माझ्या\\
कधि रंगित वाट पसरशी,\\
अंधार-व्रताची समई\\
कधि असते माझ्यापाशी\\[1ex]
पदराला बांधुन स्वप्ने\\
तू एकट संध्यासमयी,\\
तुकयाच्या हातांमधला\\
मी अभंग उचलुन घेई\\[1ex]
तू मला कुशीला घ्यावे\\
अंधार हळू ढवळावा\\
संन्यस्त सुखाच्या काठी\\
वळिवाचा पाऊस यावा\\[1ex]
\end{altverse}
\end{verse}
\end{document}
polyglossia
and post what problems do you get with examples. I am sure people will help you with the problems you face.
poemline
counter that theverse
package uses to number lines.