\nicefrac{a}{b} typesets like

 a /
  / b

(actual image: nicefracab)

Is there a way to get

 \ a
b \ 

Use reflectbox from package graphicx:


\usepackage{graphicx, nicefrac}


% for math mode, you can use:



joe \nicefrac{a}{b} blow

joe \uglyfrac{a}{b} blow

$ joe\: \muglyfrac{a}{b}\: blow$


enter image description here

  • It does not seem to typeset correctly in math mode. Variables turn non-italic.
    – bas
    Sep 8 '17 at 11:53
  • See i.imgur.com/zvQdzQz.png
    – bas
    Sep 8 '17 at 11:54
  • See updated answer Sep 8 '17 at 11:59

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.