[texhax] Punctuation around inline diagrams

Axel E. Retif axel.retif at mac.com
Sat Jul 5 02:18:43 CEST 2008

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

>
> On Fri, 04 Jul 2008 18:28:51 -0500
> "Axel E. Retif" <axel.retif at mac.com> wrote:
>
>> On  4 Jul, 2008, at 09:54, Andy Farnell wrote:
>>
>>>
>>> Dear list,
>>>
>>> I have a problem that needs a little careful explanation as follows.
>>>
>>> Within my text I use diagrams as if they were words. Each diagram
>>> is a
>>> small iconic box corresponding to a software object. I will refer
>>> to them
>>> here as {object}.
>>>
>>> Where an {object} is followed by a comma or period and is typeset
>>> so that
>>> it appears at the end of a line, the punctuation often appears at
>>> the start
>>> of the next line.
>>
>> Would it work \mbox{{object},}?
>>
>> Best,
>>
>> Axel
>>
>
>
> --
> Use the source