Re: Mathematical vertical bar symbol broken in pdfscreen?



Charlie Zender <zender@xxxxxxx> writes:
>Here is a minimal example of the pdfscreen problem which
>shows how vertical bars do not behave as expected in math mode:
>
>\documentclass[12pt]{article}
>\usepackage[screen,code]{pdfscreen}
>\begin{document}
>Math mode for \verb'$|\theta|$' produces $|\theta|$
>in pdfscreen because it has vertical bars in it
>Math mode for \verb'$\theta$' (which does not contain vertical bars)
>produces $\theta$.
>\end{document}
>
>I learned that removing the ``code'' mode argument to pdfscreen
>
>\usepackage[screen]{pdfscreen}
>
>fixes the problem, because ``code'' mode apparently changes the
>catcode of the vertical bar symbols (at least in math mode).
>Is there any way to get both ``code'' mode and vertical bars
>working in pdfcreen at the same time?

not simply, however:

\DeleteShortVerb\| \[ <your maths here> \] \MakeShortVerb\|

will override the effect of the | change while inside maths.

(as soon as i see the result of processing your example, i realised
what the problem is. what a joy.)
--
Robin Fairbairns, Cambridge
.