Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

mathematica modify code like?

71 views
Skip to first unread message

Walter Sívoli

unread,
May 6, 2014, 2:27:06 AM5/6/14
to
hi

how to modify this line to
the letter remains in bold and can enlarge at will

(this is the last line of a larger code)

For[i = 1, i <= 20, i++,
Print[If[i < 10, "O", ""] <> ToString[i], spc[5], "A = ",
toStrg /@ t[[i, 1]],
spc[col - Plus @@ StringLength[toStrg /@ t[[i, 1]]]], "B = ",
toStrg /@ t[[i, 2]]]]

David Bailey

unread,
May 12, 2014, 12:44:43 AM5/12/14
to
You are clearly indexing an array 't', but you have not included its
definition. This makes it hard to see exactly what you want to do, but
if you want to print out information using various styles, you should
wrap them in the Style function (look it up in the help system).

(Clearly described problems get a much better response here!)

David Bailey
http://www.dbaileyconsultancy.co.uk


0 new messages