(*********************************************************************** Mathematica-Compatible Notebook This notebook can be used on any computer system with Mathematica 3.0, MathReader 3.0, or any compatible application. The data for the notebook starts with the line of stars above. To get the notebook into a Mathematica-compatible application, do one of the following: * Save the data starting with the line of stars above into a file with a name ending in .nb, then open the file inside the application; * Copy the data starting with the line of stars above to the clipboard, then use the Paste menu command inside the application. Data for notebooks contains only printable 7-bit ASCII and can be sent directly in email or through ftp in text mode. Newlines can be CR, LF or CRLF (Unix, Macintosh or MS-DOS style). NOTE: If you modify the data for this notebook not in a Mathematica- compatible application, you must delete the line below containing the word CacheID, otherwise Mathematica-compatible applications may try to use invalid cache data. For more information on notebooks and Mathematica-compatible applications, contact Wolfram Research: web: http://www.wolfram.com email: info@wolfram.com phone: +1-217-398-0700 (U.S.) Notebook reader applications are available free of charge from Wolfram Research. ***********************************************************************) (*CacheID: 232*) (*NotebookFileLineBreakTest NotebookFileLineBreakTest*) (*NotebookOptionsPosition[ 4968, 182]*) (*NotebookOutlinePosition[ 5762, 210]*) (* CellTagsIndexPosition[ 5718, 206]*) (*WindowFrame->Normal*) Notebook[{ Cell[CellGroupData[{ Cell[TextData[{ StyleBox["Mathematica", FontSlant->"Italic"], " Shortcuts and Tricks" }], "Title", TextAlignment->Center, TextJustification->0, FontSize->18], Cell[TextData[{ "In this notebook we'll compile useful ", StyleBox["Mathematica", FontSlant->"Italic"], " shortcuts and tricks." }], "Text"], Cell[CellGroupData[{ Cell["Clear symbols", "Section", Evaluatable->False, AspectRatioFixed->True], Cell["\<\ In order to avoid interference from symbols defined in other \ notebooks, we first Remove all symbols. We assume that the relevant symbols \ are in the Global` context. (Note: The \"Remove\" statement below will probably generate a warning/error \ message when first invoked.)\ \>", "Text", Evaluatable->False, AspectRatioFixed->True], Cell["Clear[\"Global`*\"]", "Input", AspectRatioFixed->True], Cell[CellGroupData[{ Cell["Remove[\"Global`*\"]", "Input", AspectRatioFixed->True], Cell[BoxData[ \(Remove::"rmnsm" \( : \ \) "There are no symbols matching \"\!\(\"Global`*\"\)\"."\)], "Message"] }, Open ]] }, Open ]], Cell[CellGroupData[{ Cell["Debugging: When things go wrong . . .", "Section", Evaluatable->False, AspectRatioFixed->True], Cell["\<\ The following is a list of possible problems and steps to take to \ fix them.\ \>", "Text", Evaluatable->False, AspectRatioFixed->True] }, Open ]], Cell[CellGroupData[{ Cell["Keyboard Shortcuts", "Section", Evaluatable->False, AspectRatioFixed->True], Cell[TextData[{ "In entering formulas, the biggest shortcut is that we can use TeX names \ for Greek letters,\ninfinity, \\leq, etc.! Just put an before AND \ after the TeX command. So \\alpha will produce \[Alpha]! \ \\leq gives \[LessEqual] and so on.\nAll the symbols (even \ \\Longrightarrow) seem to work. \n\nTo do superscripts, ^ to get into \ superscript mode and to get out.\nSo x^2 produces \ ", Cell[BoxData[ \(TraditionalForm\`x\^2\)]], "as expected. Use _ to get into subscript mode.\nUse / to get \ into fraction mode. It may take two commands to get out of \ the mode; you can tell visually. " }], "Text"] }, Open ]], Cell[CellGroupData[{ Cell["Abbreviations", "Section", Evaluatable->False, AspectRatioFixed->True], Cell["\<\ While we like to use the fancy symbols, typing them in slows up \ down a lot. So we can define compact versions of the name to be equal to the \ fancier version. The latter will be substituted automatically. (Problem: If we give a numerical value, we override the symbol. But I guess \ that is what we want!)\ \>", "Text"], Cell[CellGroupData[{ Cell[BoxData[ \(mpi\ = \ m\_\[Pi]\)], "Input"], Cell[BoxData[ \(m\_\[Pi]\)], "Output"] }, Open ]], Cell[CellGroupData[{ Cell[BoxData[ \(mpi^2\)], "Input"], Cell[BoxData[ \(m\_\[Pi]\%2\)], "Output"] }, Open ]] }, Open ]], Cell[CellGroupData[{ Cell["Grouping", "Section", Evaluatable->False, AspectRatioFixed->True], Cell["\<\ You can group statements together with ()'s. So you can define a \ set of commands, separated by semicolons to prevent output. Examples?\ \>", "Text"] }, Open ]] }, Open ]] }, FrontEndVersion->"X 3.0", ScreenRectangle->{{0, 1024}, {0, 768}}, WindowToolbars->{}, WindowSize->{520, 600}, WindowMargins->{{83, Automatic}, {22, Automatic}}, PrintingPageRange->{Automatic, Automatic}, PrintingOptions->{"PaperSize"->{612, 792}, "PaperOrientation"->"Portrait", "Magnification"->1} ] (*********************************************************************** Cached data follows. If you edit this Notebook file directly, not using Mathematica, you must remove the line containing CacheID at the top of the file. The cache data will then be recreated when you save this file from within Mathematica. ***********************************************************************) (*CellTagsOutline CellTagsIndex->{} *) (*CellTagsIndex CellTagsIndex->{} *) (*NotebookFileOutline Notebook[{ Cell[CellGroupData[{ Cell[1731, 51, 171, 7, 85, "Title"], Cell[1905, 60, 150, 5, 32, "Text"], Cell[CellGroupData[{ Cell[2080, 69, 80, 2, 52, "Section", Evaluatable->False], Cell[2163, 73, 349, 9, 86, "Text", Evaluatable->False], Cell[2515, 84, 62, 1, 27, "Input"], Cell[CellGroupData[{ Cell[2602, 89, 63, 1, 27, "Input"], Cell[2668, 92, 123, 2, 23, "Message"] }, Open ]] }, Open ]], Cell[CellGroupData[{ Cell[2840, 100, 105, 2, 52, "Section", Evaluatable->False], Cell[2948, 104, 149, 5, 32, "Text", Evaluatable->False] }, Open ]], Cell[CellGroupData[{ Cell[3134, 114, 85, 2, 52, "Section", Evaluatable->False], Cell[3222, 118, 726, 13, 176, "Text"] }, Open ]], Cell[CellGroupData[{ Cell[3985, 136, 80, 2, 52, "Section", Evaluatable->False], Cell[4068, 140, 336, 7, 104, "Text"], Cell[CellGroupData[{ Cell[4429, 151, 51, 1, 28, "Input"], Cell[4483, 154, 42, 1, 28, "Output"] }, Open ]], Cell[CellGroupData[{ Cell[4562, 160, 38, 1, 27, "Input"], Cell[4603, 163, 45, 1, 32, "Output"] }, Open ]] }, Open ]], Cell[CellGroupData[{ Cell[4697, 170, 75, 2, 52, "Section", Evaluatable->False], Cell[4775, 174, 165, 4, 50, "Text"] }, Open ]] }, Open ]] } ] *) (*********************************************************************** End of Mathematica Notebook file. ***********************************************************************)