[Date Index] [Thread Index] [Author Index]
Re: mathematica modify code like?
On 06/05/2014 07:27, Walter Sívoli wrote: > 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, "A = ", > toStrg /@ t[[i, 1]], > spc[col - Plus @@ StringLength[toStrg /@ t[[i, 1]]]], "B = ", > toStrg /@ t[[i, 2]]]] > 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