[texhax] Punctuation around inline diagrams

Andy Farnell padawan12 at obiwannabe.co.uk
Sat Jul 5 04:27:31 CEST 2008



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?

Cheers,

Andy




On Sat, 5 Jul 2008 02:06:07 +0100
Andy Farnell <padawan12 at obiwannabe.co.uk> wrote:

> 
> 
> Hi Axel, 
> 
> I understand. Thanks for the suggestion, in this case the problem is 
> the comma or period that follows an inline object, which is not part
> of the object. So I think I need another solution.
> 
> Thanks,
> 
> Andy
> 
> On Fri, 04 Jul 2008 19:18:43 -0500
> "Axel E. Retif" <axel.retif at mac.com> wrote:
> 
> > Andy,
> > 
> > > Hi Axel,
> > >
> > > How would an \mbox help? I chose \raisebox because the
> > > objects were a bit too low and I wanted to vertically
> > > align them with the text.
> > >
> > > Cheers,
> > >
> > > Andy
> > 
> > No, not as a substitute of \raisebox in your macro, but in your text:  
> > whatever you put inside a \mbox will not break across lines.
> > 
> > Best,
> > 
> > Axel
> 
> 
> 
> -- 
> Use the source
> _______________________________________________
> TeX FAQ: http://www.tex.ac.uk/faq
> Mailing list archives: http://tug.org/pipermail/texhax/
> More links: http://tug.org/begin.html
> 
> Automated subscription management: http://tug.org/mailman/listinfo/texhax
> Human mailing list managers: postmaster at tug.org


-- 
Use the source


More information about the texhax mailing list