This question is similar to what I'm looking for, but not quite the same: How do I right-align the last line of a justified paragraph? (And BTW I'm not writing in an RTL language.)
I'm writing a glossary in which I would like entries to look like this:
dog: a cute animal
warthog: an animal that is kind of
ugly-cute, sort of like a dog but
not as cuddly
If I take the accepted answer from the question linked above and apply it in my LTR language, single-line entries are right-aligned, which is not what I want:
dog: a cute animal
How can I accomplish this? Thanks!
Peter Wilson says: "I think that there is a problem here. You want the first lines to be justified but the last to be ragged right. But you also want the first line to be left justified if there are no further lines." That's correct. When you say that's a problem, do you mean that you think it's hard to accomplish that, or do you mean that you think there is something ill-defined or contradictory about what I'm trying to do?
The solution to this question seems very similar to what I want, but is for verse rather than prose, and ragged-right text: How to Left-align first line in a paragraph, right-align others