I would like to add a character (e.g. $\hookleftarrow$) at the end of each line in a paragraph, in particular in a tabular cell, only if the paragraph has more than one line.

How can this be coded?


1 Answer 1


Using the link provided by @GustavoMezzetti I've solved my question. The modified code is:


   \advance\count0 -1
   \ifnum\count0 > 0


\noindent\ppp{one line only}

Thank @GustavoMezzetti and @touhami. The post linked by @touhami is very interesting.

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .