I know about the possibility to use Style
in Print
to influence the color of the next item, e.g.
Print[
Style["this prints red ", Red],
"now back to default black ",
Style["this prints green ", Green]
]
I just want to print some lines in an extended output with some other color but I want to avoid to enclose every single item in e.g. Style[item, color]
.
What I am after:
Something to mix into a Print
statement that applies for the rest of this particular Print
statement up to the next style switching item in it but not beyond the end of this particular Print
statement. Something like the well known escape sequences control printers which use character fonts rather than graphics raster printing.