I have this code for inputting my text:
A1Info = visual.TextStim(win=win, name='A1Info', text='Text text text text. \n\nMore text text text. etc.', #this is several lines of text or 'text-block font='Arial', pos(0,0), height=0.06, alignHoriz='center', wrapWidth=1.6, ori=0, color=[-1.000,-1.000,-1.000], colorSpace='rgb', opacity=1, languageStyle='LTR', depth=0.0)
The text always shows up as left-aligned. I’m trying to present text as centre-aligned on the screen. If I understand correctly, pos(0,0) tells the code that the middle position of the screen is 0,0. The ‘alignHoriz’ command left aligns the text-block to the left or right or in the centre of pos(0,0) but always with left alignment. Is there code to centre-align a block of text so that the centre of each line of text is in the middle of the screen or do I have to do each line separately?