From: Richard F. <fa...@gm...> - 2022-03-19 01:12:09
|
There are several ways of doing this. If you are using wxmaxima, v[1] will display with a subscript. You can also read about declare_index_properties, which would allow you to, for example, display the 1 as a pre-superscript. You may also find that v_1 works. However, I suggest you use v0, v1, etc. Why? They are simpler to type, they are more compact, not using more vertical space, and you are not using them for anything else. If you are eventually obligated to have subscripts for typesetting, you can make appropriate substitutions of the right forms for your typesetting system, say TeX, after saving your interactions in a file. simplest is probably just v[1]. but if you assign a value to v[1] say v[1]:100, then typing v[1] will display as 100. 'v[1] may do what you want. On Fri, Mar 18, 2022 at 4:48 PM Fran_3 via Maxima-discuss < max...@li...> wrote: > 1) When naming a variable... > How can I create a sub script in WxMaxima? For example V at time zero or t > subscript 2, etc? > (I tried V(0):1; but that gave me an error so how to do this?) > 1a) Ditto for superscript > > 2) I went to "https://maxima.sourceforge.io/index.html" > and clicked on Documentation > and then clicked on Reference Manual PDF > And then did a Ctl-F to find > entered subscript > and found over 100 results > too many to plow through.. > > So hopefully some kind soul here will just tell me how to do it. > Thanks for any help. > > > _______________________________________________ > Maxima-discuss mailing list > Max...@li... > https://lists.sourceforge.net/lists/listinfo/maxima-discuss > |