Hi Jeremy,
in our experiment, we present participants with items consisting in a list of strings from a spreadsheet. Each part of the item, a sentence for example, is stored in a different column in a spreadsheet and concatenated during the trial. What I can’t figure out is how to make only the critical part of that sentence, say the variable.object
bold:
PennController. Template( PennController.GetTable( "my_table.csv"),
variable => PennController( "my_trials",
newText("example_sentence", variable.subject+" "+variable.verb+" "+variable.adjective +variable.object)
.settings.css("font-size", "25px")
.settings.center()
.settings.bold()
.print()
As it is now, the entire sentence is bold. Calling any variation of the .settings.bold() method on the individual variable doesn’t help and bold(variable.object) doesn’t work either. Is there any easy way to do this?
Thanks in advance 🙂