Style

Contents  Previous  Next

QuickInfo

The style code is a number that identifies a particular style (e.g., font, colours, rt parameters) for the trial. Styles are stored in a .DRT style file. Edit style files by double clicking on them, or open the style editor from the DirectRT main program window (select Edit->Style File)

Details

To save time, you can store font, colour, alignment and miscellaneous RT information in a Styles (.DRT) file. Combinations of such variables can be created and saved with a single style code. In the style column of each trial, specify the style you want to use for the trial by using the numeric style code from the style file you're using.

Hints

You can (and probably should) have different style files for different experiments. You can copy, modify and rename any style file and locate it in the same folder as your input file-making it unique to the experiment you are currently working on. DirectRT will first look for a style file located in your experiment folder. If it doesn't find one, it will use the default "styles.drt" file in the main program folder. Note thought that using the default style file can lead to unpredictable results if you change the default styles for another experiment and then try the current experiment again. For this reason it's usually best to copy a style file to your experiment folder and modify it as needed for that particular experiment. This way, the styles will be unaffected by changes in the default settings. For example, you'll see that every sample folder has its own unique style file.

Another useful hint is that you can change styles in the middle of a trial. To change a style part way through a trial, put the style in the Stim column surrounded by < > like this:

style1

In the above example, each of these trials starts out using Style 1 but switches to Style 5 for the second stimulus.

Note you can also switch style settings in the same way within any text file you present (i.e., by placing style codes within the text). See Text Files for more details.

See Also

See more detailed information on Styles and the Style Editor