\cdot

235 views
Skip to first unread message

Benjamin Morris

unread,
Oct 2, 2016, 8:38:21 PM10/2/16
to Numbas Users
I scoured the help docs and couldn't find anywhere how to add the dot for multiplication. The LaTex \cdot doesn't work. Help?

Christian Lawson-Perfect

unread,
Oct 3, 2016, 7:41:14 AM10/3/16
to Numbas Users
Do you mean instead of the \times symbol, when creating an expression using \simplify? If so, there's no easy way at the moment of saying you want \cdot instead of \times. I could add it as an option, though that's opening a can of worms - people have different, and contradictory, opinions on which contexts should use \cdot instead of \times, and treating it systematically could get complicated quickly.
If that's not what you mean, or what I said doesn't make any sense, can you point me to the question you're working on, so I can see what you're trying to achieve?

On Mon, 3 Oct 2016 at 01:38 Benjamin Morris <benjaminc...@gmail.com> wrote:
I scoured the help docs and couldn't find anywhere how to add the dot for multiplication. The LaTex \cdot doesn't work. Help?

--
You received this message because you are subscribed to the Google Groups "Numbas Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to numbas-users...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Benjamin Morris

unread,
Oct 3, 2016, 7:58:33 AM10/3/16
to numbas...@googlegroups.com

That is what I meant. I was writing a problem, multiplying two fractions. Where I teach, the appropriate symbol between these would be the dot... I understand if it  is not doable. I could always put the fractions in parentheses.

Thanks,
Ben


To unsubscribe from this group and stop receiving emails from it, send an email to numbas-users+unsubscribe@googlegroups.com.

For more options, visit https://groups.google.com/d/optout.

--
You received this message because you are subscribed to a topic in the Google Groups "Numbas Users" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/numbas-users/RNPLo-GBxpg/unsubscribe.
To unsubscribe from this group and all its topics, send an email to numbas-users+unsubscribe@googlegroups.com.

David Martin

unread,
Oct 3, 2016, 10:38:29 AM10/3/16
to Numbas Users
so $\frac{a}{n}\cdot\frac{c}{d}$ doesn't give you the desired output? It seems to work for me.

..d


On Monday, 3 October 2016 12:58:33 UTC+1, Benjamin Morris wrote:

That is what I meant. I was writing a problem, multiplying two fractions. Where I teach, the appropriate symbol between these would be the dot... I understand if it  is not doable. I could always put the fractions in parentheses.

Thanks,
Ben

On Oct 3, 2016 7:41 AM, "Christian Lawson-Perfect" <christia...@gmail.com> wrote:
Do you mean instead of the \times symbol, when creating an expression using \simplify? If so, there's no easy way at the moment of saying you want \cdot instead of \times. I could add it as an option, though that's opening a can of worms - people have different, and contradictory, opinions on which contexts should use \cdot instead of \times, and treating it systematically could get complicated quickly.
If that's not what you mean, or what I said doesn't make any sense, can you point me to the question you're working on, so I can see what you're trying to achieve?

On Mon, 3 Oct 2016 at 01:38 Benjamin Morris <benjaminc...@gmail.com> wrote:
I scoured the help docs and couldn't find anywhere how to add the dot for multiplication. The LaTex \cdot doesn't work. Help?

--
You received this message because you are subscribed to the Google Groups "Numbas Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to numbas-users...@googlegroups.com.

For more options, visit https://groups.google.com/d/optout.

--
You received this message because you are subscribed to a topic in the Google Groups "Numbas Users" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/numbas-users/RNPLo-GBxpg/unsubscribe.
To unsubscribe from this group and all its topics, send an email to numbas-users...@googlegroups.com.

Christian Lawson-Perfect

unread,
Oct 3, 2016, 11:01:42 AM10/3/16
to Numbas Users
David, the problem is getting the dot to appear inside a \simplify expression. 
For example, $\simplify{ (a/b) * (c/d) }$ is rendered as $\frac{a}{b} \frac{c}{d}$ - Numbas doesn't think an explicit multiplication symbol is necessary between two fractions.

Dr David Martin

unread,
Oct 3, 2016, 11:19:21 AM10/3/16
to numbas...@googlegroups.com
I've never seen the point of using \simplify. I would expect there are some use cases that I don't find though.

Outside \simplify  it works fine.

Benjamin Morris

unread,
Oct 7, 2016, 8:31:50 AM10/7/16
to Numbas Users
It does work outside of simplify. Thanks. 
Reply all
Reply to author
Forward
0 new messages