Tag Info

New answers tagged


Here is what I got using V10.3: As you can see, V10.3 maintains all of the formatting when converting to pdf. I checked, just to make sure, and the PrintingStyleEnvironment is set to "PrintOut".


Consider this simple case. w[x_, y_] := 1 + x y t[x_, y_, z_] := w[x, y]/z Then t[2, 3, 5] gives 7/5 which shows Mathematica recognized and evaluated the reference to w[x, y] in the definition of t, substituted the correct values of x and y, and got the correct result for t[2, 3, 5]. It will do the same for your definitions.


I think you are getting confused due to the naming convention you are using. For T you can use any symbol to represent the function W in T. It is perhaps best not to use the symbol W in T's definition because it is confusing you. Try using f instead. ClearAll[T, W]; W[L_, r_] := 1 + 3 L + 2 L^2 - 6 r*L - 6 L (r*L) + 6 (r*L)^2 T[L_, r_, d_, koff_, u_, f_] ...


This answer is focussed at more experienced users, to provide a way for them to find out more information. I do not discuss how anything works. Information in this answer corresponds to version 10.3 Despite the fact that PrintDefinitions@SyntaxInformation gives nothing, we can still see how the function works, by doing << GeneralUtilites` ...


SyntaxInformation accepts undocumented "OptionNames" property. Using it we can explicitly define list of option names that will not be colored red. ClearAll[f] Options[f] = {foo -> 1}; SyntaxInformation[f] = { "ArgumentsPattern" -> {OptionsPattern[]}, "OptionNames" -> {"bar"} }; With simple helper function extracting relevant option ...

Top 50 recent answers are included