1. Limited time only! Sign up for a free 30min personal tutor trial with Chegg Tutors
    Dismiss Notice
Dismiss Notice
Join Physics Forums Today!
The friendliest, high quality science and math community on the planet! Everyone who loves science is here!

LaTeX question

  1. Aug 13, 2008 #1
    I have something like

    A \rightarrow B \rightarrow C

    I'd like to put function name's about the \rightarrow's, to replace the notation

    \phi : A \rightarrow B, \psi : B \rightarrow C.

    Is this possible? Thanks!
  2. jcsd
  3. Aug 13, 2008 #2


    User Avatar
    Science Advisor
    Homework Helper

    You can use \stackrel{}{}.

    A \stackrel{\phi}{\rightarrow} B \stackrel{\psi}{\rightarrow} C


    [tex]A \stackrel{\phi}{\rightarrow} B \stackrel{\psi}{\rightarrow} C[/tex]
  4. Aug 13, 2008 #3
    I think you can also use \overset{}{}

    [tex] A \overset{\phi}{\rightarrow} B \overset{\psi}{\rightarrow} C[/tex]

    Not sure what the difference is.
  5. Aug 14, 2008 #4
    Excellent. Thank you!
Share this great discussion with others via Reddit, Google+, Twitter, or Facebook