Math & ScienceDotted fraction line?

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

Dotted fraction line?

Post by Sean »

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.

Recommended reading 2024:

LaTeXguide.org • LaTeX-Cookbook.net • TikZ.org

NEW: TikZ book now 40% off at Amazon.com for a short time.

west.logan
Posts: 87
Joined: Tue Sep 14, 2010 6:58 pm

Re: Dotted fraction line?

Post by west.logan »

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.
User avatar
frabjous
Posts: 2064
Joined: Fri Mar 06, 2009 12:20 am

Dotted fraction line?

Post by frabjous »

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

Re: Dotted fraction line?

Post by west.logan »

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...
User avatar
frabjous
Posts: 2064
Joined: Fri Mar 06, 2009 12:20 am

Re: Dotted fraction line?

Post by frabjous »

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

Dotted fraction line?

Post by Sean »

Thanks a lot, the dashundergaps package solved it.

Code: Select all

\[{\dotuline{a+b}\atop c+d}\]
User avatar
localghost
Site Moderator
Posts: 9202
Joined: Fri Feb 02, 2007 12:06 pm

Dotted fraction line?

Post by localghost »

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
Post Reply