Hello, I hope you can help.
I am typing a mixed number in-text, and I want it to display the fractional part as 1/4, for example. I have tried the \tfrac command, but this produces a horizontal bar and not a solidus. Is there a way to get what I want so that, for example, 3 3/4 looks correctly typeset?
Many thanks
Math & Science ⇒ Mixed numbers
-
- Posts: 2
- Joined: Thu Mar 31, 2011 1:03 pm
Mixed numbers
Last edited by lutoslawski on Fri Apr 01, 2011 11:03 am, edited 1 time in total.
- Stefan Kottwitz
- Site Admin
- Posts: 10308
- Joined: Mon Mar 10, 2008 9:44 pm
Mixed numbers
LaTeX.org admin
-
- Posts: 2
- Joined: Thu Mar 31, 2011 1:03 pm
Re: Mixed numbers
Hi Stefan_K,
I tried nicefrac and it does just what I want.
Thanks for your help.
Jonathan
I tried nicefrac and it does just what I want.
Thanks for your help.
Jonathan
- localghost
- Site Moderator
- Posts: 9202
- Joined: Fri Feb 02, 2007 12:06 pm
Mixed numbers
Then please mark the topic (not the last post) accordingly as written in Section 3 of the Board Rules (to be read before posting).lutoslawski wrote:[…] I tried nicefrac and it does just what I want. […]
By the way, xfrac is the preferable solution since it uses future technologies of LaTeX3 by some xpackages.
Best regards and welcome to the board
Thorsten
How to make a "Minimal Example"
Board Rules
Avoidable Mistakes
¹ System: TeX Live 2025 (vanilla), TeXworks 0.6.10
Board Rules
Avoidable Mistakes
¹ System: TeX Live 2025 (vanilla), TeXworks 0.6.10