如何打印带有某些变量结果的文本行,同时仍然编辑字体大小和字体颜色?像这样:
Style[
"The equation result was ", Returns,
"% running from ",DateString[TableDate[[1]],
{"MonthName", " ", "DayShort", ", ", "Year"}]
, 15, Red]
我想要这样的东西:方程结果为 35%,从 2000 年 1 月 15 日开始运行
但是红色和更大的字体大小!可能吗?
谢谢
Returns = 35;
TableDate = {{2000, 1, 15}};
Style[StringJoin["The equation result was ", ToString@Returns,
"% running from ", DateString[TableDate[[1]],
{"MonthName", " ", "DayShort", ", ", "Year"}]], 20, Red]