Bifurcating a Line: Expressing a Function without Horizontal Bar

  • Context:
  • Thread starter Thread starter caffeinemachine
  • Start date Start date
  • Tags Tags
    Line
Join the discussion
Registration is free. Ask a follow-up in this thread, or start your own.
1 reply · 2K views
caffeinemachine
Gold Member
MHB
Messages
799
Reaction score
15
Hello MHB.

Suppose I have a function $f:X\to Y$ which sends $a$ to $b$.

I want to express this as:

Consider a function $\frac{f:X\to Y}{a\xrightarrow{h}b}$.
OR
Consider a function $\frac{f:X\to Y}{f:a\mapsto b}$.
Only thing, I don't want the 'horizontal bar' which separates $f:X\to Y$ from $a\xrightarrow{h}b$ (or $f:a\mapsto b$).

Does anybody know how to do this?

Also, is there a way to write $h$ on top of $\mapsto$ just as I can right $h$ on top of $\rightarrow$?
 
Physics news on Phys.org
caffeinemachine said:
Hello MHB.

Suppose I have a function $f:X\to Y$ which sends $a$ to $b$.

I want to express this as:

Consider a function $\frac{f:X\to Y}{a\xrightarrow{h}b}$.
OR
Consider a function $\frac{f:X\to Y}{f:a\mapsto b}$.
Only thing, I don't want the 'horizontal bar' which separates $f:X\to Y$ from $a\xrightarrow{h}b$ (or $f:a\mapsto b$).

Does anybody know how to do this?

Also, is there a way to write $h$ on top of $\mapsto$ just as I can right $h$ on top of $\rightarrow$?

There are various ways to stack symbols on top of each other.
For instance \stackrel:
$$\stackrel{f:X\to Y}{a\xrightarrow{h}b}$$

To put a symbol on top of \mapsto, you can use \overset{f}{\mapsto}.
$${a\overset{f}{\mapsto} b}$$