[texhax] Avoid paragraph indentation on new page?

Edsko de Vries edsko at edsko.net
Sat Nov 24 12:41:34 CET 2007


Hey,

> Your best bet for this is hijacking \everypar in combination with  
> something storing the position on the page such as \pdfsavepos which  
> exists in a more user-friendly incarnation in the zref package. So for  
> each new paragraph begun with \everypar, set a position marker with zref.  
> Then check the vertical position of the marker. If it falls on the top  
> line of the page, remove the paragraph indentation.
>
> {snip}

Thanks very much for the code snippet! It works perfectly. 

> And don't do it! :-)

I will try it on my final document and see whether I like it :) 

Thanks again,

Edsko


More information about the texhax mailing list