0

I am using the eledmac package to compose a document that will have verse interspersed with prose. Because of the way eledmac functions, I can't use the "verse" environment and have it come out correctly if I want eledmac to number the text. The reason is that eledmac doesn't recognize environments within text it is meant to number. So, I have to format the verses manually. The verse has to be more indented than a normal paragraph indentation. So, my question is: is there a command similar to \indent that will indent the text but with an option for how much you want to indent it? I was expecting that the \indent command should have some kind of option such that one could, for example, input \indent[3cm] to make a 3 cm indent, but no such luck. Thank you.

3
  • Hi, you can simply use \hspace{3cm}, but if you put the information you gave with so many words into a minimal working example (i.e. code), somebody may come up with a better solution.
    – Johannes_B
    Nov 22, 2014 at 12:55
  • you can put this before the first line of a paragraph of the verse: \noindent\hangindent 3cm \hspace*{3cm}% and then end every line with \\ . Nov 22, 2014 at 14:17
  • How to make a minimal working example (MWE).
    – cfr
    Nov 22, 2014 at 18:09

1 Answer 1

2

Use the stanza tools of eledmac. See this MWE

\beginnumbering
\setcounter{stanzaindentsrepetition}{2}
\setstanzaindents{8,0,1}
\stanza
Lorem ipsum dolor sit amet, consectetur adipisicing elit,&
sed do eiusmod tempor incididunt ut labore et dolore&
magna aliqua. Ut enim ad minim veniam, quis nostrud&
exercitation ullamco laboris nisi&
\edtext{ut aliquip}{\Afootnote{ut aliliquip}} consequat ut aliquip consequat irure dolor in reprehenderit irure dolor in reprehenderit&
\edtext{Duis aute}{\Bfootnote{Some comments}} irure dolor in reprehenderit&
in voluptate velit esse cillum dolore eu ur. Excepteur sint occaecat&
cupidatat non proident, sunt in culpa qui officia deserunt&
Duis aute irure dolor in reprehenderit&
in voluptate velit esse cillum dolore eu fugiat nulla&
pariatur. Excepteur sint occaecat\&
\endnumbering

and also the handbook

11
  • Thank you for this, I should have seen this in the eledmac manual before. I searched for "verse" in the manual and didn't find anything so I assumed there was nothing like this; I didn't think to search for "stanza." Out of curiosity -- in the standard "verse" environment there is whitespace included before and after the text in verse. The eledmac '\stanza' command doesn't provide this; I have been doing it manually with '\vspace' instead. Do you know if there is an option for this in eledmac?
    – Paul
    Nov 23, 2014 at 15:22
  • The section 5 of the handbook has the title "verse". You can define a \startstanzahook command to add your \vspace.
    – Maïeul
    Nov 23, 2014 at 15:30
  • please validate the answer if ok
    – Maïeul
    Nov 23, 2014 at 18:55
  • Oh, then I don't know how I missed the "Verse" section in the manual! In any case, the \startstanzahook command does work for adding space before the verse, but it doesn't do anything at the end of the section of verse in \stanza mode.
    – Paul
    Nov 24, 2014 at 11:15
  • use the ` \newverse. § 5.7 and example text-between-verses-in-parallel.tex`
    – Maïeul
    Nov 24, 2014 at 18:23

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.