# How to output negative exponents always as fractions

GROUPS:
 Mark Butler 1 Vote I try to output expressions with negative exponents as fractions. I already triedNotation[ParsedBoxWrapper[FractionBox["1", SuperscriptBox["a_", "b_"]]] \[DoubleLongLeftArrow] ParsedBoxWrapper[RowBox[{"Power", "[", RowBox[{"a_", ",", RowBox[{"-", "b_"}]}], "]"}]]]This only seems to work for simple negative exponents, but not for negative exponents which include Products or Sums.So, is there a way to do this ?
 Mark,I found your question from a search because the title of your question is, I think, exactly what I want to ask. So, I don't know the answer and rather than asking another question with a similar title I'll just pile on to yours. I hope that you don't mind.Here is my question: I have a function that generates output with a negative exponent. I'd like to see it as a fraction instead. Here is a simple example:In[29]:= TimeValue[pv, rate, -nper]Out[29]= pv (1 + rate)^-nperI can force it to display as a fraction: In[22]:= FractionBox[Numerator[TimeValue[pv, rate, -nper]],    Denominator[TimeValue[pv, rate, -nper]]] // DisplayForm  Out[22]//DisplayForm= \!$$TagBox[ FractionBox["pv", SuperscriptBox[ RowBox[{"(", RowBox[{"1", "+", "rate"}], ")"}], "nper"]],DisplayForm]$$but that is a lot of work and doesn't really work for what I want to do. It seems like there should be an option somewhere to automatically display expressions with negative exponents as fractions in output without having to massage the input. Does such a setting exist somewhere?