## LaTeX forum ⇒ Math & Science ⇒ Dotted fraction line?

Information and discussion about LaTeX's math and science related features (e.g. formulas, graphs).
Sean
Posts: 2
Joined: Wed Dec 29, 2010 10:09 am

### Dotted fraction line?

Is it possible somehow to make the fraction line dotted instead of continuous? It would suit well if looked something like /cdots, but with the possibilty to write in the numerator and denominator.

west.logan
Posts: 87
Joined: Tue Sep 14, 2010 6:58 pm
Is it merely for single digit numerator and denominator? If so, then you could define your own command. Otherwise it would take a bit more effort. Will it be used in both display mode and inline mode? I'm not aware of a quick method to change anything but rule thickness in the fraction. I would suspect you'd have to find the frac definition if you wanted to change to dots instead of a rule.

frabjous
Posts: 2064
Joined: Fri Mar 06, 2009 12:20 am
Indeed, for a single digit you could just use \$\overset{a}{\underset{b}{\cdots}}\$. For more complicated constructions, probably you could look at the dashundergaps package.

west.logan
Posts: 87
Joined: Tue Sep 14, 2010 6:58 pm
How long have you been working with (La)TeX Frabjous? You seem to have an answer to nearly everything. My experience is getting better, but still a bit mimsy...

frabjous
Posts: 2064
Joined: Fri Mar 06, 2009 12:20 am
A couple years. 90% of what I know is from other members of this forum, however. But thanks!

Sean
Posts: 2
Joined: Wed Dec 29, 2010 10:09 am
Thanks a lot, the dashundergaps package solved it.
`\[{\dotuline{a+b}\atop c+d}\]`

localghost
Site Moderator
Posts: 9203
Joined: Fri Feb 02, 2007 12:06 pm
Now that the problem is solved, please be so kind and mark the topic (not the last post) accordingly as clearly written in the Board Rules (to be read before posting). Please keep that in mind for the future so that further reminders will not be necessary.

Best regards and welcome to the board
Thorsten
LaTeX Community Moderator

¹ System: openSUSE 42.2 (Linux 4.4.52), TeX Live 2016 (vanilla), TeXworks 0.6.1