Is there an analogue of \ignorespaces which will also ignore the following \pars?
|
|
||||
|
|
|
Here two macros which either ignore all spaces and implicit paragraphs (empty separation line) or also explicit I came up with this solution while thinking about how to optimize Leo's answer for my applications.
|
|||
|
|
Result:
|
|||||
|
Note: You may take any penalties more than 10000. The 10001 and the 10003 is choosen because I believe that the probability that the 10001 and 10003 are usually found in a row is very low. More simple case:
Edit: no fail if there're more than one blank lines.
|
|||||
|
|
