[OS X TeX] <|produces -- on mac wireless keyboard (texlive2008)

Michael Sharpe msharpe at ucsd.edu
Fri Oct 24 01:54:15 CEST 2008


On Oct 23, 2008, at 4:15 PM, Neal Beck wrote:

>
> Hi
> When I type (for my class)
>
> P(data|chance)
>
> I see in the pdf (most recent texlive distribution, text entered via  
> aquaemacs)
>
> P(data--chance)  (single long dash)
>
> and I get similar gibberish with P<.05
>

Neal,

There's no way around using math mode for this, and the center item  
should be typed \mid rather than | to get correct spacing. If using  
\text bothers you, make a macro

\def\Pr#1#2{$P(\text{#1}\mid\text{#2})$}

and try

\Pr{data}{chance}

Michael





More information about the macostex-archives mailing list