Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

[Q] Math symbol superposition?

190 views
Skip to first unread message

Robert A. G. Seely

unread,
Mar 3, 1995, 8:48:51 AM3/3/95
to
In article <3j5rni$3...@larch.cc.swarthmore.edu>,
Jonathan Birge <bi...@engin.swarthmore.edu> wrote:
>Hi,
> [ cuts ]
>answer to this question. I need to superimpose two math symbols (namely, the
>\bigcircle and Y to make a Turing machine return state symbol). Is there a way
>to do this without using TeX commands? Actually, I'll take ANYTHING, even TeX
>commands. Thanks for the help.
>


Try this - the main macro is taken fron TTN but I modified it to overlay a
circle with an upsidedown ampersand. I have altered it for you, but haven't
checked this, so cross your fingers!

= rags =

%%%%%

\makeatletter
\def\overlay#1#2{\mathpalette\@overlay{{#1}{#2}{\hfil}{\hfil}}}
\def\@overlay#1#2{\@@overlay#1#2}
\def\@@overlay#1#2#3#4#5{{%
\def\overlaystyle{#1}%
\setbox0=\hbox{\m@th$\overlaystyle#2$}%
\setbox1=\hbox{\m@th$\overlaystyle#3$}%
\ifdim \wd0<\wd1 \setbox2=\box1 \setbox1=\box0 \setbox0=\box2\fi
\rlap{\hbox to\wd0{#4\box1\relax#5}}\box0%
}}
\makeatother
\renewcommand{\Treturn}{{\overlay{Y}{\bigcirc}}}

Jonathan Birge

unread,
Mar 2, 1995, 8:34:42 PM3/2/95
to
Hi,

I've searched through the only LaTeX book our lab owns (A Guide to LaTeX by
Kopka and Daly--it really sucks so don't bother buying it) but can't find an

answer to this question. I need to superimpose two math symbols (namely, the
\bigcircle and Y to make a Turing machine return state symbol). Is there a way
to do this without using TeX commands? Actually, I'll take ANYTHING, even TeX
commands. Thanks for the help.

-Jonathan

--

Jonathan R. Birge phone: (610) 690-3922
500 College Avenue email: bi...@engin.swarthmore.edu
Swarthmore, PA 19081 http://www.engin.swarthmore.edu/~birge

Rolf Marvin Bo e Lindgren

unread,
Mar 5, 1995, 7:30:50 AM3/5/95
to

[Jonathan Birge]

| A Guide to LaTeX by Kopka and Daly--it really sucks so don't bother
| buying it
|

now, that's peculiar. I've got quite a selection of LaTeX books in my
office, but that's the one people tend to run off with.
--
Rolf Lindgren | "The opinions expressed above are
9111 Sogn Studentby | not necessarily those of anyone"
N-0858 OSLO | rolf.l...@psykologi.uio.no

Pedro Quaresma de Almeida

unread,
Mar 6, 1995, 11:05:16 AM3/6/95
to
In article <3j5rni$3...@larch.cc.swarthmore.edu> bi...@engin.swarthmore.edu (Jonathan Birge) writes:

> Hi,
>
> I've searched through the only LaTeX book our lab owns (A Guide to LaTeX by
> Kopka and Daly--it really sucks so don't bother buying it) but can't find an
> answer to this question. I need to superimpose two math symbols (namely, the
> \bigcircle and Y to make a Turing machine return state symbol). Is there a way
> to do this without using TeX commands? Actually, I'll take ANYTHING, even TeX
> commands. Thanks for the help.
>
> -Jonathan
>

Try

\def\circleX#1{{\bigcirc\kern-.8em\raise -.1em\hbox{\rm\footnotesize #1}}}

--
At\'e breve
===========

+------------------------------------------------------------+
| Pedro Quaresma de Almeida |
| Departamento de Matem\'atica |
| Faculdade de Ci\^encias e Tecnologia |
| Universidade de Coimbra |
| P-3000 COIMBRA --- PORTUGAL |
| e-mail: pe...@mat.uc.pt |
| www: http://www.mat.uc.pt/~pedro/pedro.html |
+------------------------------------------------------------+

PPA...@twsuvm.uc.twsu.edu

unread,
Mar 7, 1995, 3:36:23 PM3/7/95
to
>Date: 3 Mar 1995 01:34:42 GMT
>From: bi...@engin.swarthmore.edu (Jonathan Birge)
>Message-ID: <3j5rni$3...@larch.cc.swarthmore.edu>
>MIME-Version: 1.0
>Content-Type: text/plain; charset=US-ASCII
>Content-Transfer-Encoding: 7bit
>To: tex-...@SHSU.EDU

>
>Hi,
>
>I've searched through the only LaTeX book our lab owns (A Guide to LaTeX by
>Kopka and Daly--it really sucks so don't bother buying it) but can't find an

Now, why should we help anyone with such an attitude problem? There are
at least two methods given in K&D.

>answer to this question. I need to superimpose two math symbols (namely, the
>\bigcircle and Y to make a Turing machine return state symbol). Is there a way
>to do this without using TeX commands? Actually, I'll take ANYTHING, even TeX
>commands. Thanks for the help.
>

Finally remembers some semblance of politesse. Perhaps there's hope.

0 new messages