[texhax] Punctuation around inline diagrams

Axel E. Retif axel.retif at mac.com
Sat Jul 5 05:00:52 CEST 2008


Andy,

> Sorry Axel, I put that rather badly. What I mean is, I'm after
> a general solution. It's at that stage (40+ chapters, 600 pages)
> where I can't (reasonably) go through looking for every instance
> of an object being too close to a line end. And if I make any edits
> it may change.
>
> I guess what I want to say in TeX is:
>
> IF we just processed an object image AND the next char is a [comma,
> period, colon or semicolon] AND it's at the end of a line
>
> THEN temporarily make the penalty for putting the [comma,
> period, colon or semicolon] on a new line very high.
>
> Is that sort of thing possible to specify as a rule with document
> wide scope?

I can't think of anything, but I'm not a LaTeX guru at all. Let's  
hope someone has a solution, if there is one...

Best,

Axel



More information about the texhax mailing list