[texhax] [solved] Re: Negated relation
Rodolfo Medina
rodolfo.medina at gmail.com
Tue Jan 4 15:50:14 CET 2011
Rodolfo Medina <rodolfo.medina at gmail.com> writes:
> Rodolfo Medina <rodolfo.medina at gmail.com> writes:
>
>> With plain TeX: I want to negate the symbol $\Re$, but I don't like the
>> result of $\not \Re$: the symbol `\not' would need to be arised a bit. I
>> couldn't find the negated `\Re' among the various negated relations symbols
>> that are reported here and there, also in the large file `symbols-a4.pdf'
>> that I downloaded from the Ctan archives.
>>
>> Please help with issue.
>
>
> The following code seems to go fine:
>
> \catcode`@=\letter
> \def\myc at ncel#1#2{%
> \m at th\ooalign{$\hfil#1\mkern2mu\raise0.5mm\hbox{/}\hfil$\crcr$#1#2$}}
> \def\notRe{\mathpalette\myc at ncel\Re}
"Philip Taylor (Webmaster, Ret'd)" <P.Taylor at Rhul.Ac.Uk> writes:
> Tried that, Rodolfo, but my version of PdfTeX has never
> heard of \letter, so I modified it as follows and also
> replace the "0.5mm" with "0,235 ex" so as to try to make
> it independent of font size.
>
> Philip Taylor
>
> \catcode `@ = \catcode `\a
> \def \myc at ncel #1#2%
> {%
> \m at th \ooalign {$\hfil #1\mkern 2mu \raise 0,235 ex \hbox {/}\hfil $\crcr $#1#2$}%
> }
> \def \notRe {\mathpalette \myc at ncel \Re}
> $$\notRe$$
> \end
Thanks. Yes, `\letter' is a macro from eplainTeX, that I use in order to have
cross references.
Bye
Rodolfo
More information about the texhax
mailing list