# [OS X TeX] Fractional symbols

Michael Sharpe msharpe at ucsd.edu
Thu Sep 1 23:19:28 CEST 2016

> On Sep 1, 2016, at 2:12 PM, Herbert Schulz <herbs at wideopenwest.com> wrote:
>
> What font are you using? If you're using pdflatex and Computer Modern try using
>
> \usepackage{lmodern}
> \usepackage[T1]{fontenc}
> \usepackage{textcomp}
>
> and then you will probably be able to generate the command with the \textonehalf command.
>
> If you are using xelatex (or lualatex) you should be saving in UTF-8 and then, if you are using a font via the fontspec package that contains the character you should be able to just type it in from the keyboard.

\textonehalf does indeed work with the stix package in text mode with pdflatex. You will get an option clash error if you add \usepackage{textcomp} in this case.

Michael
----------- Please Consult the Following Before Posting -----------
TeX FAQ: http://www.tex.ac.uk/faq
List Reminders and Etiquette: https://www.esm.psu.edu/~gray/tex/
List Archives: http://dir.gmane.org/gmane.comp.tex.macosx
https://email.esm.psu.edu/pipermail/macosx-tex/
TeX on Mac OS X Website: http://mactex-wiki.tug.org/
List Info: https://email.esm.psu.edu/mailman/listinfo/macosx-tex