# Character on hanging list

I'm the maintainer of the ledmac package (for critical editions).

I would like to have the possibility to start all the lines with hanging indentation with some chosen character, like this (where this character would be [):

A very long, very long, very long,very long,
[very long, very long, very long line
[A hanged line
[Another hanged line
A very long, very long, very long,very long,
[very long, very long,very long line

-
What do you mean by "make a [character]"? Would you be able to provide a visual of what you're after? –  Werner Sep 10 '11 at 6:25
Welcome Maieul! Nice to see you here! Since you're here now, I added your profile to meta.tex.stackexchange.com/questions/1181/… :-) –  ℝaphink Sep 10 '11 at 6:43
Welcone Maieul! I too am a bit confused -- are you looking to start some lines with a raised or dropped enlarged letter? –  Mico Sep 10 '11 at 9:47
thank everybody ! I would like that some lines, whose are hanged, start with a caractère, like [. See an exemple of what I would like : partage.maieul.net/hanged.pdf –  Maïeul Sep 10 '11 at 19:57

I implemented something similar in the gmdoc-enhance package to have leading % signs on each comment line. It makes the space character active and expand in principle to \discretionary{}{\gmde@kommentarStart}{}~, where \gmde@kommentarStart puts a \hbox with the contents I want to show.
The problem here is that \gmde@kommentarStart will be evaluated for every space, not only for those that create a line break - but only for those the box will actually occur in the output. And also, I have to make sure that no other line breaks occur, which destroys most of TeX's line breaking algorithm (i.e. I essentially need \raggedright and no word-breaking). This is acceptable for my use case, but might not be for your one.