Making parts of formulae blinking
- To: mathgroup at smc.vnet.net
- Subject: [mg91171] Making parts of formulae blinking
- From: Alexei Boulbitch <Alexei.Boulbitch at iee.lu>
- Date: Fri, 8 Aug 2008 07:14:45 -0400 (EDT)
Dear MathGroup members, making presentations on Mathematics or Physics, sometimes I need to discuss independently of one another certain parts of mathematical expressions belonging to the same formula. This requires to separate them out or somehow to highlight them. Such an aim may be achieved in several ways. Say, below a simple mathematical formula is defined. It consists of two parts. By a mouse click one of the parts is blended while the other changes its color to a more striking: part1 = Graphics[ Text[Style["AB+", "Times New Roman", Italic, 22, FontColor -> Dynamic[col1]]], ImageSize -> {80, 70}]; part2 = Graphics[ Text[Style["xy", "Times New Roman", Italic, 22, FontColor -> Dynamic[col2]]], ImageSize -> {80, 70}]; collst1 = {Black, Black}; collst2 = {Blue, Gray}; collst3 = {Gray, Blue}; DynamicModule[{col1 = Black, col2 = Black}, EventHandler[ GraphicsRow[{part1, part2}, Spacings -> -35], {"MouseClicked" :> ({col1, col2} = {col1, col2} /.{collst3 -> collst1, collst1 -> collst2, collst2 -> collst3})}]] Now comes my question: It would still better catch the eye, if (before the part in question will definitely change its color to Blue) it blinks few times. Say, it may change few times its color between blue and gray, or it may increase and decrease its size few times or so. Have you an idea of how to reach such a result? My system is Windows XP/Mathematica 6.0.1 Thank you, Alexei -- Alexei Boulbitch, Dr., Habil. Senior Scientist IEE S.A. ZAE Weiergewan 11, rue Edmond Reuter L-5326 Contern Luxembourg Phone: +352 2454 2566 Fax: +352 2454 3566 Website: www.iee.lu This e-mail may contain trade secrets or privileged, undisclosed or otherwise confidential information. If you are not the intended recipient and have received this e-mail in error, you are hereby notified that any review, copying or distribution of it is strictly prohibited. Please inform us immediately and destroy the original transmittal from your system. Thank you for your co-operation.