I want to define a function in Mathematica:
$$h(\tau_x)=\tau_x$$
$\tau_x$ has no special meaning. To be honest, it's totally OK if I use the function $h(x)=x$ to replace $h(\tau_x)=\tau_x$. It doesn't influence the final value I want. I just want to make this function look better.
Here is what I tried
In[85]:= h[Subscript[\[Tau], x]_]:=Subscript[\[Tau], x]
In[88]:= h[4]
Out[88]= 1
In[89]:= h[x_]:=x
In[90]:= h[4]
Out[90]= 4
In[91]:= <<Notation`
In[92]:= Symbolize[Subscript[\[Tau], x]]
In[93]:= h[Subscript[\[Tau], x]_]:=Subscript[\[Tau], x]
In[94]:= h[4]
Out[94]= Subscript[\[Tau], x]
Here is the image: