[texhax] 'verbatim' inside 'raisebox'?

T Ziomek ctz001 at email.mot.com
Wed Jun 17 02:42:40 CEST 2009

Finally getting back to this after other distractions; sorry for the
delay in replying...

On Thu, Jun 11, 2009 at 08:39:46AM +0200, Uwe Lueck wrote:
> It is well known that verbatim environments are difficult ... 
>     http://mirror.ctan.org/macros/latex/contrib/fancybox/fancybox.pdf
> discusses this on pp. 18ff. and offers some solutions. 

Yes, thanks.  E. Krishnan referred to the same thing and that's what I
ended up using.

It is also referred to in the relevant FAQ entry,
<http://www.tex.ac.uk/cgi-bin/texfaq2html?label=verbwithin>, as Martin
Schroder referred to with "RTFAQ, please."  I unfortunately lost that
email and can't reply directly to it but, "Ack, yes, sorry".  I searched
but didn't find that, probably a/c of looking for for LaTeX FAQs but not

> However, for \raisebox with only *short* (part of line) verbatim text
> the problem may be much easier than with listings that verbatim etc.
> are made for: 
>     \newsavebox{\mybox}
>     \begin{lrbox}{\mybox}
>     \verb|\stuff|
>     \end{lrbox}
>     A\raisebox{1ex}{\usebox{\mybox}} B

I saw \verb before posting but since I'm doing multiline code listings
it wouldn't handle my needs.

Thanks all for the help,

P.S.  Are you aware your email client is not maintaining threading when
replying?  It causes your replies to appear "out of thread" in the ar-
chive.  For example this thread is at
<http://tug.org/pipermail/texhax/2009-June/thread.html#12646> and the
replies from Tom S, Martin S and E. Krishnan appear threaded but yours
appears as a new, separate thread.  My MUA (mutt) handles it better but
still indicates a break in the thread (that doesn't really exist).
    Just FYI...not a big deal but maybe worth fixing if practical.
A: Because it breaks the logical        |
    flow of the message.                |   Email to user 'CTZ001'
                                        |             at 'email.mot.com'
Q: Why is top posting frowned upon?     |

More information about the texhax mailing list