Printing NewText with parts of the text colored/bolded Posted byKateK February 13, 2023 PennController for IBEX › Forums › Support › Printing NewText with parts of the text colored/bolded Tagged: aesthetics, bolding, colored text This topic has 2 replies, 2 voices, and was last updated 3 years ago by KateK. Viewing 3 posts - 1 through 3 (of 3 total) Author Posts February 13, 2023 at 3:36 pm #9927 KateKParticipant Hi again! I am having a couple of small hiccups in getting the aesthetics right for my experiment. After printing a question, I want the following text to print: “Please press F for YES [text in GREEN] (space) J for NO [text in RED]” Is there a way to put space between the two options and bold/color certain portions of the text? Thank you so much! Kate February 13, 2023 at 6:07 pm #9928 JeremyKeymaster Hi Kate, You can use HTML in Text elements, like this: newText("Please press<br><span style='color:green;margin-right:5em;'><strong>F</strong> for <strong>YES</strong></span> <span style='color:red;'><strong>J</strong> for <strong>NO</strong></span>") Jeremy February 14, 2023 at 10:51 am #9930 KateKParticipant Hi Jeremy! This is great, thanks! Kate Author Posts Viewing 3 posts - 1 through 3 (of 3 total) You must be logged in to reply to this topic. Log In Username: Password: Keep me signed in Log In