LaTeX forum ⇒ Math & ScienceDotted 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?

Postby Sean » Wed Dec 29, 2010 10:54 am

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

Postby west.logan » Tue Jan 04, 2011 6:10 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.

User avatar
frabjous
Posts: 2064
Joined: Fri Mar 06, 2009 12:20 am

Postby frabjous » Tue Jan 04, 2011 6:17 pm

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

Postby west.logan » Tue Jan 04, 2011 6:48 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...

User avatar
frabjous
Posts: 2064
Joined: Fri Mar 06, 2009 12:20 am

Postby frabjous » Tue Jan 04, 2011 7:14 pm

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

Postby Sean » Sun Jan 09, 2011 5:51 pm

Thanks a lot, the dashundergaps package solved it.
\[{\dotuline{a+b}\atop c+d}\]

User avatar
localghost
Site Moderator
Posts: 9203
Joined: Fri Feb 02, 2007 12:06 pm

Postby localghost » Wed Jan 12, 2011 7:39 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
How to make a "Minimal Example"
Board Rules
Avoidable Mistakes


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


Return to “Math & Science”

Who is online

Users browsing this forum: Baidu [Spider] and 2 guests