If this template helps then use it. If not then just delete and start from scratch.
OS (e.g. Win10): win10
PsychoPy version (e.g. 1.84.x): v2022.2.4
What are you trying to achieve?:
I have sentences like: “flolp: There is a flolp.”. This is using pseudowords. I want to underline the “flolp” in sentences. Right now, I have several sentences in a column in an excel file and it is pulling the sentence and displaying it just fine. However, I cannot get the word to be underlined.
Right now it looks like this: flolp: There is a flolp.
I want it to look like this: flolp: There is a flolp.
What did you try to make it work?:
I tried to put \u0331 in the excel column, but that did’t work.
i tried to just underline it in excel and that didn’t transfer.
Is there a way to put a string of javascript or python in the excel column that will format this correctly?
Do I need to put the code in the psychpy more directly? If so, that is a little tough becuase I would have to split the sentence into parts in the excel but I guess that is not the end of the world. It would look something like
$sentp1 + ‘\u0332’.join(‘Sentp2’)+‘\u0332’ + sentp3
where:
sentp1 = flolp: There is a
sentp2 = flolp
senpt3 = EMPTY but in some examples there are words after the psedoword
I am kind of a beginner with all this, so any advice would be appreciated!